Skip to content

Commit

Permalink
update dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcibotari committed Feb 17, 2025
1 parent 5d022c3 commit fe0251b
Show file tree
Hide file tree
Showing 5 changed files with 140 additions and 146 deletions.
40 changes: 20 additions & 20 deletions functions/package-lock.json

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

10 changes: 5 additions & 5 deletions functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@
"@google-cloud/translate": "^8.5.0",
"compressing": "^1.10.1",
"cors": "^2.8.5",
"deepl-node": "^1.15.0",
"deepl-node": "^1.16.0",
"exiftool-vendored": "^29.1.0",
"express": "^4.21.2",
"firebase-admin": "^13.0.2",
"firebase-functions": "^6.2.0",
"firebase-admin": "^13.1.0",
"firebase-functions": "^6.3.2",
"fluent-ffmpeg": "^2.1.3",
"sharp": "^0.33.5",
"stripe": "^17.4.0",
"stripe": "^17.6.0",
"uuid": "^11.0.5",
"zod": "^3.24.1"
"zod": "^3.24.2"
},
"devDependencies": {
"@types/express": "^4.17.21",
Expand Down
6 changes: 3 additions & 3 deletions functions/src/plugins/stripe/stripe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ expressApp.post('/api/stripe/2024-06-20/spaces/:spaceId/webhook', express.raw({
res.status(404).send(new HttpsError('not-found', 'configuration not found'));
return;
}
const stripe = new Stripe(apiSecretKey, { apiVersion: '2024-11-20.acacia' });
const stripe = new Stripe(apiSecretKey, { apiVersion: '2025-01-27.acacia' });
let event: Stripe.Event;
try {
event = stripe.webhooks.constructEvent((req as any).rawBody, sig, webhookSigningSecret);
Expand Down Expand Up @@ -122,7 +122,7 @@ const productSync = onCall<PluginActionData>(async request => {
if (apiSecretKey === undefined) {
throw new HttpsError('failed-precondition', 'API Secret Key not configured.');
}
const stripe = new Stripe(apiSecretKey, { apiVersion: '2024-11-20.acacia' });
const stripe = new Stripe(apiSecretKey, { apiVersion: '2025-01-27.acacia' });
const batch = firestoreService.batch();
let count = 0;
let active: boolean | undefined = true;
Expand Down Expand Up @@ -180,7 +180,7 @@ const priceSync = onCall<PluginActionData>(async request => {
if (apiSecretKey === undefined) {
throw new HttpsError('failed-precondition', 'API Secret Key not configured.');
}
const stripe = new Stripe(apiSecretKey, { apiVersion: '2024-11-20.acacia' });
const stripe = new Stripe(apiSecretKey, { apiVersion: '2025-01-27.acacia' });
const batch = firestoreService.batch();
let count = 0;
let active: boolean | undefined = true;
Expand Down
Loading

0 comments on commit fe0251b

Please sign in to comment.