Skip to content

Commit 63a2809

Browse files
committed
Upgrade stripe lib
1 parent 9613a50 commit 63a2809

File tree

3 files changed

+7
-17
lines changed

3 files changed

+7
-17
lines changed

backend/package-lock.json

Lines changed: 5 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"@types/serverless": "^3.12.16",
4141
"@types/sharp": "^0.31.0",
4242
"@types/source-map-support": "^0.5.6",
43-
"@types/stripe": "^8.0.296",
4443
"@typescript-eslint/eslint-plugin": "^5.61.0",
4544
"@typescript-eslint/parser": "^5.61.1",
4645
"eslint": "^8.52.0",
@@ -85,7 +84,7 @@
8584
"serverless-http": "^3.2.0",
8685
"sharp": "^0.31.3",
8786
"source-map-support": "^0.5.21",
88-
"stripe": "^11.4.0",
87+
"stripe": "^17.7.0",
8988
"tsoa": "^4.1.3",
9089
"typeorm": "^0.3.17",
9190
"typeorm-naming-strategies": "^4.1.0"

backend/src/api/stripe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Stripe from 'stripe';
33
const { STRIPE_SK } = process.env;
44

55
const stripe = new Stripe(STRIPE_SK || '', {
6-
apiVersion: '2022-11-15',
6+
apiVersion: '2025-02-24.acacia',
77
});
88

99
export default stripe;

0 commit comments

Comments
 (0)