From a43aed4bbf1a47af818b99cf9fc25de4b07b3302 Mon Sep 17 00:00:00 2001 From: Ahmad <103906421+ahmadk953@users.noreply.github.com> Date: Tue, 25 Jun 2024 22:40:08 -0400 Subject: [PATCH] Updated Stripe API Version --- 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 4400664..be782d0 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-04-10', + apiVersion: '2024-06-20', typescript: true, }); diff --git a/package.json b/package.json index c1c1e76..842e3e2 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "react-dom": "^19.0.0-rc.0", "sharp": "^0.33.4", "sonner": "^1.5.0", - "stripe": "^15.12.0", + "stripe": "^16.0.0", "tailwind-merge": "^2.3.0", "tailwindcss-animate": "^1.0.7", "unsplash-js": "^7.0.19", diff --git a/yarn.lock b/yarn.lock index 5f1b2cb..afd2492 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6183,13 +6183,13 @@ __metadata: languageName: node linkType: hard -"stripe@npm:^15.12.0": - version: 15.12.0 - resolution: "stripe@npm:15.12.0" +"stripe@npm:^16.0.0": + version: 16.0.0 + resolution: "stripe@npm:16.0.0" dependencies: "@types/node": "npm:>=8.1.0" qs: "npm:^6.11.0" - checksum: 10c0/95de07b108b98388d2ead2dedc3fc371df55287c9e926385f95890c680d655234ba2832a23e11e283e946d44dac01868eec823ccf878628eb75f5baa67f08175 + checksum: 10c0/161112ca3a00ff5ae67fd402c73e03735a3232385e3ac123617f8347a98f4d77982528018da9a32a51631198628173fc88d1d78a9b534219857c1a1aea390923 languageName: node linkType: hard @@ -6387,7 +6387,7 @@ __metadata: react-dom: "npm:^19.0.0-rc.0" sharp: "npm:^0.33.4" sonner: "npm:^1.5.0" - stripe: "npm:^15.12.0" + stripe: "npm:^16.0.0" tailwind-merge: "npm:^2.3.0" tailwindcss: "npm:^3.4.4" tailwindcss-animate: "npm:^1.0.7"