Skip to content

Commit 8e30c44

Browse files
authored
Update OSS readme for versioning (#736)
1 parent 79f3ac7 commit 8e30c44

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,17 @@ Use `npm` to install the Stripe.js module:
3030
npm install @stripe/stripe-js
3131
```
3232

33+
## Versioning
34+
35+
Each `@stripe/stripe-js` version is pinned to a specific
36+
[Stripe.js version](https://docs.stripe.com/sdks/stripejs-versioning). The
37+
pinned versions are as follows:
38+
39+
| **@stripe/stripe-js** | **Stripe.js** |
40+
| --------------------- | ------------- |
41+
| <6 | v3 |
42+
| v6 | acacia |
43+
3344
## Usage
3445

3546
### `loadStripe`
@@ -111,7 +122,7 @@ one. When you call `loadStripe`, it will use the existing script tag.
111122

112123
```html
113124
<!-- Somewhere in your site's <head> -->
114-
<script src="https://js.stripe.com/v3" async></script>
125+
<script src="https://js.stripe.com/acacia/stripe.js" async></script>
115126
```
116127

117128
### Importing `loadStripe` without side effects

0 commit comments

Comments
 (0)