Skip to content

Commit

Permalink
bump sdk to latest beta and remove unecessary ts-ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
cmochrie-stripe committed Feb 5, 2025
1 parent 127953d commit 8286f89
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 0 additions & 4 deletions app/api/account_session/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ export async function POST(req: NextRequest) {
disable_stripe_user_authentication: isCustom,
},
},
// @ts-ignore
payment_method_settings: {enabled: true},
documents: {enabled: true},
notification_banner: {
Expand All @@ -144,15 +143,12 @@ export async function POST(req: NextRequest) {
enabled: true,
},
...(hasIssuingAndTreasury ? issuingAndTreasuryComponents : {}),
// @ts-ignore
tax_settings: {
enabled: true,
},
// @ts-ignore
tax_registrations: {
enabled: true,
},
// @ts-ignore
tax_threshold_monitoring: {
enabled: true,
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"react-dom": "^18",
"react-hook-form": "^7.51.1",
"sharp": "^0.33.4",
"stripe": "^17.3.0-beta.1",
"stripe": "v17.6.0-beta.3",
"tailwind-merge": "^2.2.2",
"tailwindcss-animate": "^1.0.7",
"yarn": "^1.22.22",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4573,10 +4573,10 @@ strip-json-comments@^3.1.1:
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006"
integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==

stripe@^17.3.0-beta.1:
version "17.3.0-beta.1"
resolved "https://registry.yarnpkg.com/stripe/-/stripe-17.3.0-beta.1.tgz#4d7a3843e8e272f66973ed26de72b30b06946cfa"
integrity sha512-qi/ChW82ElFIe9Tz7mdPI+rx8neHmYoBGODeJ0QNfP9hdyx7F06nBjxriCWO9Y3poL+XQ8WXGOPjyhRgWVa34A==
stripe@v17.6.0-beta.3:
version "17.6.0-beta.3"
resolved "https://registry.yarnpkg.com/stripe/-/stripe-17.6.0-beta.3.tgz#17bde5be2e443fab9074feb11741663b4a2133aa"
integrity sha512-ZPCDpboFc5y+ZxDc2mvil+zjUvodKFrlFueHS2USS/5sRHtr5F3np6qFoUv+l1Y6J6eFi9P5knli25mvTiMFlA==
dependencies:
"@types/node" ">=8.1.0"
qs "^6.11.0"
Expand Down

0 comments on commit 8286f89

Please sign in to comment.