Skip to content

Commit

Permalink
update packages and fix egress handler permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
fforbeck committed Oct 24, 2024
1 parent 6ead67e commit 0cd043e
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 130 deletions.
2 changes: 1 addition & 1 deletion billing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@sentry/serverless": "^7.74.1",
"@ucanto/interface": "^10.0.1",
"@ucanto/server": "^10.0.0",
"@web3-storage/capabilities": "^17.1.1",
"@web3-storage/capabilities": "^17.4.0",
"big.js": "^6.2.1",
"lru-cache": "^11.0.0",
"multiformats": "^13.1.0",
Expand Down
191 changes: 69 additions & 122 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@
"@ucanto/validator": "^9.0.2",
"@web-std/blob": "^3.0.4",
"@web-std/fetch": "^4.1.0",
"@web3-storage/access": "^20.0.0",
"@web3-storage/access": "^20.1.0",
"@web3-storage/blob-index": "^1.0.2",
"@web3-storage/capabilities": "^17.2.0",
"@web3-storage/capabilities": "^17.4.0",
"@web3-storage/content-claims": "^5.1.0",
"@web3-storage/data-segment": "5.1.0",
"@web3-storage/filecoin-client": "^3.3.3",
"@web3-storage/upload-client": "^16.1.0",
"@web3-storage/w3up-client": "^14.1.1",
"@web3-storage/upload-client": "^17.1.0",
"@web3-storage/w3up-client": "^16.4.0",
"ava": "^4.3.3",
"chalk": "4.1.2",
"constructs": "10.3.0",
Expand Down
2 changes: 1 addition & 1 deletion stacks/billing-stack.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export function BillingStack ({ stack, app }) {

// Lambda that handles egress traffic tracking
const egressTrafficQueueHandler = new Function(stack, 'egress-traffic-queue-handler', {
permissions: [customerTable],
permissions: [customerTable, egressTrafficTable],
handler: 'billing/functions/egress-traffic-queue.handler',
timeout: '15 minutes',
bind: [stripeSecretKey],
Expand Down
Loading

0 comments on commit 0cd043e

Please sign in to comment.