Skip to content

Commit

Permalink
chore(stripe): lock stripe version
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedied committed Mar 5, 2024
1 parent b3aff39 commit c6059ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion packages/stripe/package.json
Expand Up @@ -26,7 +26,7 @@
"fastify-plugin": "^4.0.0",
"fastify-raw-body": "^4.2.0",
"node-fetch": "^3.3.0",
"stripe": "^14.7.0"
"stripe": "~14.11.0"
},
"devDependencies": {
"@types/node": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/stripe/src/plugins/stripe.ts
Expand Up @@ -9,7 +9,7 @@ export default fp(
if (!config.secretKey || !config.publicKey || !config.webhookSecret) {
fastify.decorate("stripe", undefined);
} else {
fastify.decorate("stripe", new Stripe(config.secretKey, { apiVersion: "2023-08-16" }));
fastify.decorate("stripe", new Stripe(config.secretKey, { apiVersion: "2023-10-16" }));
}
},
{
Expand Down

0 comments on commit c6059ef

Please sign in to comment.