Skip to content

Commit 5e7e794

Browse files
committed
[FEATURE] Upgrade Pipedream Stripe App to Latest Stable API Version
1 parent 1d7ea34 commit 5e7e794

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

components/stripe/actions/create-customer/create-customer.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "stripe-create-customer",
66
name: "Create a Customer",
77
type: "action",
8-
version: "0.1.1",
8+
version: "0.1.2",
99
description: "Create a customer. [See the docs](https://stripe.com/docs/api/customers/create) " +
1010
"for more information",
1111
props: {

components/stripe/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"lodash.pick": "^4.4.0",
1414
"lodash.pickby": "^4.6.0",
15-
"stripe": "^8.168.0"
15+
"stripe": "^18.0.0"
1616
},
1717
"gitHead": "e12480b94cc03bed4808ebc6b13e7fdb3a1ba535",
1818
"publishConfig": {

components/stripe/stripe.app.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import stripe from "stripe";
1+
import Stripe from "stripe";
22

33
const createOptionsMethod = (collectionOrFn, keysOrFn) => async function ({
44
prevContext, ...opts
@@ -656,8 +656,8 @@ export default {
656656
_apiKey() {
657657
return this.$auth.api_key;
658658
},
659-
sdk(apiVersion = "2020-03-02") {
660-
return stripe(this._apiKey(), {
659+
sdk(apiVersion = "2025-03-31.basil") {
660+
return new Stripe(this._apiKey(), {
661661
apiVersion,
662662
maxNetworkRetries: 2,
663663
});

pnpm-lock.yaml

Lines changed: 8 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)