From d41f600587553779cd0188ebe12293a031fa0537 Mon Sep 17 00:00:00 2001 From: Ahmad <103906421+ahmadk953@users.noreply.github.com> Date: Wed, 2 Oct 2024 17:17:29 -0400 Subject: [PATCH] Bump Stripe --- lib/stripe.ts | 2 +- package.json | 2 +- yarn.lock | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/stripe.ts b/lib/stripe.ts index be782d0..e6bdbba 100644 --- a/lib/stripe.ts +++ b/lib/stripe.ts @@ -1,6 +1,6 @@ import Stripe from 'stripe'; export const stripe = new Stripe(process.env.STRIPE_API_KEY!, { - apiVersion: '2024-06-20', + apiVersion: '2024-09-30.acacia', typescript: true, }); diff --git a/package.json b/package.json index 56f7beb..d041cc3 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "react-dom": "^19.0.0-rc.0", "sharp": "^0.33.5", "sonner": "^1.5.0", - "stripe": "^16.12.0", + "stripe": "^17.0.0", "tailwind-merge": "^2.5.2", "tailwindcss-animate": "^1.0.7", "unsplash-js": "^7.0.19", diff --git a/yarn.lock b/yarn.lock index 034ba81..642df3c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6236,13 +6236,13 @@ __metadata: languageName: node linkType: hard -"stripe@npm:^16.12.0": - version: 16.12.0 - resolution: "stripe@npm:16.12.0" +"stripe@npm:^17.0.0": + version: 17.0.0 + resolution: "stripe@npm:17.0.0" dependencies: "@types/node": "npm:>=8.1.0" qs: "npm:^6.11.0" - checksum: 10c0/0db277eb92236d7ea811a9100b7d9c5abdc663e0f72f73893bb8c78869c1b937aa4f8a16eea6c61365a5f8d3617ff1f2f3ae6a7aee4c8cacd6dcab8f3bdaab48 + checksum: 10c0/5dcaa5a82962a095867e15363302fe524768d9d92cacbe4ffcba2d23ddafaf8bfae3d74f5cfb71be739e9f2e27cb11be3d8f295503d509729c864b1c979519e5 languageName: node linkType: hard @@ -6438,7 +6438,7 @@ __metadata: react-dom: "npm:^19.0.0-rc.0" sharp: "npm:^0.33.5" sonner: "npm:^1.5.0" - stripe: "npm:^16.12.0" + stripe: "npm:^17.0.0" tailwind-merge: "npm:^2.5.2" tailwindcss: "npm:^3.4.13" tailwindcss-animate: "npm:^1.0.7"