Skip to content

Commit

Permalink
fix(deps): update dependency stripe to v17 (#14781)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency stripe to v17

* setting a default value and adding API

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Julien Genestoux <[email protected]>
  • Loading branch information
renovate[bot] and julien51 authored Oct 30, 2024
1 parent 77f2a9d commit a7e2859
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion locksmith/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"sequelize": "6.37.3",
"sequelize-cli": "6.6.2",
"siwe": "2.3.2",
"stripe": "16.2.0",
"stripe": "17.2.1",
"unified": "11.0.5",
"unlock-abi-1-1": "1.1.1",
"vitest-fetch-mock": "0.3.0",
Expand Down
2 changes: 1 addition & 1 deletion locksmith/src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const config = {
logging: false,
dialect: 'postgres',
} as Options,
stripeSecret: process.env.STRIPE_SECRET,
stripeSecret: process.env.STRIPE_SECRET || 'stripeSecret',
defaultNetwork: 1,
purchaserCredentials:
process.env.PURCHASER_CREDENTIALS ||
Expand Down
2 changes: 1 addition & 1 deletion locksmith/src/config/stripe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Stripe from 'stripe'
import config from '../config/config'

const stripe = new Stripe(config.stripeSecret!, {
apiVersion: '2024-06-20',
apiVersion: '2024-09-30.acacia',
})

export default stripe
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21314,7 +21314,7 @@ __metadata:
sequelize: "npm:6.37.3"
sequelize-cli: "npm:6.6.2"
siwe: "npm:2.3.2"
stripe: "npm:16.2.0"
stripe: "npm:17.2.1"
supertest: "npm:7.0.0"
tsx: "npm:4.16.5"
typescript: "npm:5.5.4"
Expand Down Expand Up @@ -50979,13 +50979,13 @@ __metadata:
languageName: node
linkType: hard

"stripe@npm:16.2.0":
version: 16.2.0
resolution: "stripe@npm:16.2.0"
"stripe@npm:17.2.1":
version: 17.2.1
resolution: "stripe@npm:17.2.1"
dependencies:
"@types/node": "npm:>=8.1.0"
qs: "npm:^6.11.0"
checksum: 10/4d23d60bdc7a6f6e52a4865c91602621e664eec7a7b347c2f4d15ef2128a729fe9e28ed2ce029016bdc4643798647499e7797bf6b546b74f9771c2648bf9c2e3
checksum: 10/596c79a03600f115bfde0c59336db7352d6e0d439a6dfceca44032fdb29c65dcfde9e60363263b08395166a0bf136de0ef21557b3675b9c391f253fc2bea3935
languageName: node
linkType: hard

Expand Down

0 comments on commit a7e2859

Please sign in to comment.