Skip to content

Commit e1a323a

Browse files
committed
More details in installation steps
1 parent cd84098 commit e1a323a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -527,10 +527,12 @@ const stripe = new Stripe('sk_test_...', {
527527

528528
Stripe has features in the [public preview phase](https://docs.stripe.com/release-phases) that can be accessed via the beta version of this package.
529529
We would love for you to try these as we incrementally release new features and improve them based on your feedback.
530-
The public preview SDKs can be installed in one of two ways
531530

532-
- To install the latest public preview SDK, run the command `npm install stripe@beta --save`
533-
- To install a specific public preview SDK version, replace the term "beta" in the above command with the version number like `npm install [email protected] --save`.
531+
The public preview SDKs are just a different version of the same package and are appended with `-beta.X` such as `45.0.0-beta.1`. To install, choose the version that includes support for the preview feature you are interested in by reviewing the [releases page](https://github.com/stripe/stripe-node/releases/) and use it in the below command
532+
533+
```
534+
npm install stripe@<beta version> --save
535+
```
534536

535537
> **Note**
536538
> There can be breaking changes between two versions of the public preview SDKs without a bump in the major version. Therefore we recommend pinning the package version to a specific version in your package.json file. This way you can install the same version each time without breaking changes unless you are intentionally looking for the latest public preview SDK.

0 commit comments

Comments
 (0)