You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -436,20 +441,11 @@ See [undocumented params and properties](https://docs.stripe.com/sdks/server-sid
436
441
437
442
If you're writing a plugin that uses the library, we'd appreciate it if you instantiated your stripe client with `appInfo`, eg;
438
443
439
-
```js
440
-
conststripe=require('stripe')('sk_test_...', {
441
-
appInfo: {
442
-
name:'MyAwesomePlugin',
443
-
version:'1.2.34', // Optional
444
-
url:'https://myawesomeplugin.info', // Optional
445
-
},
446
-
});
447
-
```
448
-
449
-
Or using ES modules or TypeScript:
444
+
With ES modules or TypeScript:
450
445
451
446
```js
452
-
conststripe=newStripe(apiKey, {
447
+
importStripefrom'stripe';
448
+
conststripeClient=newStripe(apiKey, {
453
449
appInfo: {
454
450
name:'MyAwesomePlugin',
455
451
version:'1.2.34', // Optional
@@ -574,7 +570,7 @@ const stripe = new Stripe('sk_test_...', {
574
570
575
571
### Private Preview SDKs
576
572
577
-
Stripe has features in the [private preview phase](https://docs.stripe.com/release-phases) that can be accessed via versions of this package that have the `-alpha.X` suffix like `18.6.0-alpha.1`. These are invite-only features. Once invited, you can install the private preview SDKs by following the same instructions as for the [public preview SDKs](https://github.com/stripe/stripe-node?tab=readme-ov-file#public-preview-sdks) above and replacing the term `public-preview` with `private-preview`:
573
+
Stripe has features in the [private preview phase](https://docs.stripe.com/release-phases) that can be accessed via versions of this package that have the `-alpha.X` suffix like `18.6.0-alpha.1`. You can install the private preview SDKs by following the same instructions as for the [public preview SDKs](#public-preview-sdks) above and replacing the term `public-preview` with `private-preview`. Note that access to specific private preview API features may require separate approval:
578
574
579
575
```
580
576
npm install stripe@private-preview --save-exact
@@ -629,6 +625,9 @@ New features and bug fixes are released on the latest major version of the `stri
629
625
630
626
## Development
631
627
628
+
> [!WARNING]
629
+
> External contributions to this repo from first-time contributors are currently on hiatus. If you'd like to see a change made to the package, please open an issue.
630
+
632
631
[Contribution guidelines for this project](CONTRIBUTING.md)
633
632
634
633
The tests depend on [stripe-mock][stripe-mock], so make sure to fetch and
0 commit comments