Skip to content

Commit

Permalink
Merge 1356531 into 82fb3af
Browse files Browse the repository at this point in the history
  • Loading branch information
anniel-stripe committed Nov 9, 2022
2 parents 82fb3af + 1356531 commit f891363
Show file tree
Hide file tree
Showing 329 changed files with 983 additions and 5,947 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ jobs:
- "16"
- "14"
- "12"
- "10"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion API_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2022-08-01
2022-11-09
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ See [video demonstrations][youtube-playlist] covering how to use the library.

## Requirements

Node 8, 10 or higher.
Node 12 or higher.

## Installation

Expand Down Expand Up @@ -73,7 +73,7 @@ and instantiate it as `new Stripe()` with the latest API version.
```ts
import Stripe from 'stripe';
const stripe = new Stripe('sk_test_...', {
apiVersion: '2022-08-01',
apiVersion: '2022-11-09',
});

const createCustomer = async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import env from 'dotenv';
env.config();

const stripe = new Stripe(process.env.STRIPE_SECRET_KEY, {
apiVersion: '2022-08-01',
apiVersion: '2022-11-09',
});

const webhookSecret: string = process.env.STRIPE_WEBHOOK_SECRET;
Expand Down
8 changes: 7 additions & 1 deletion lib/Error.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 0 additions & 26 deletions lib/StripeMethod.basic.js

This file was deleted.

12 changes: 1 addition & 11 deletions lib/StripeResource.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 4 additions & 24 deletions lib/Webhooks.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/apiVersion.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions lib/resources.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions lib/resources/AccountLinks.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 21 additions & 22 deletions lib/resources/Accounts.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions lib/resources/ApplePayDomains.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 6 additions & 7 deletions lib/resources/ApplicationFees.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f891363

Please sign in to comment.