Updated Stripe API Version

This commit is contained in:
Ahmad 2024-04-11 18:10:44 -04:00
parent ee2851bdbc
commit 13c8c470ea
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
3 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
import Stripe from 'stripe'; import Stripe from 'stripe';
export const stripe = new Stripe(process.env.STRIPE_API_KEY!, { export const stripe = new Stripe(process.env.STRIPE_API_KEY!, {
apiVersion: '2023-10-16', apiVersion: '2024-04-10',
typescript: true, typescript: true,
}); });

View file

@ -41,7 +41,7 @@
"react-day-picker": "^8.10.0", "react-day-picker": "^8.10.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"sonner": "^1.4.41", "sonner": "^1.4.41",
"stripe": "^14.24.0", "stripe": "^15.0.0",
"tailwind-merge": "^2.2.2", "tailwind-merge": "^2.2.2",
"tailwindcss-animate": "^1.0.7", "tailwindcss-animate": "^1.0.7",
"unsplash-js": "^7.0.19", "unsplash-js": "^7.0.19",

View file

@ -3468,10 +3468,10 @@ strip-json-comments@^3.1.1:
resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz" resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz"
integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==
stripe@^14.24.0: stripe@^15.0.0:
version "14.24.0" version "15.0.0"
resolved "https://registry.npmjs.org/stripe/-/stripe-14.24.0.tgz" resolved "https://registry.yarnpkg.com/stripe/-/stripe-15.0.0.tgz#559f4abcbb70231c218df81abecd644e94c201a5"
integrity sha512-r0JWz2quThXsFbp1pevkAAoDk4sw3kFMQEc2qvxMFUOhw/SFGqtAGz4vQgP/fMWzO28ljBNEiz68KqRx0JS3dw== integrity sha512-QQ9JiLcKoGKT1/N0Ta5AsePGtdJejkKTWS9fnRWk9Z1Bcr6fiFkcdtlJwOg/hAQaDvXOB8cNc6J+UqXzH8ePCw==
dependencies: dependencies:
"@types/node" ">=8.1.0" "@types/node" ">=8.1.0"
qs "^6.11.0" qs "^6.11.0"