@stripe/stripe-js 3.0.2 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,3 +1,11 @@
1
+ # ⚠️ v3.0.x Notice
2
+
3
+ We are aware of an issue impacting builds for some TypeScript users in our
4
+ package releases **v3.0.0**, **v3.0.1**, **v3.0.2** and recommend users to
5
+ upgrade to our latest package release
6
+ [**v3.0.3**](https://github.com/stripe/stripe-js/releases/tag/v3.0.3) which
7
+ contains a fix.
8
+
1
9
  # Stripe.js ES Module
2
10
 
3
11
  Use [Stripe.js](https://stripe.com/docs/stripe-js) as an ES module.
@@ -19,6 +27,7 @@ of features of Stripe.js.
19
27
  ## Minimum requirements
20
28
 
21
29
  - Node.js: v12.16
30
+ - TypeScript: v.3.1.1
22
31
 
23
32
  ## Installation
24
33
 
@@ -77,6 +86,18 @@ Note that we may release new [minor and patch](https://semver.org/) versions of
77
86
  `@stripe/stripe-js` with small but backwards-incompatible fixes to the type
78
87
  declarations. These changes will not affect Stripe.js itself.
79
88
 
89
+ ### [`moduleResolution`](https://www.typescriptlang.org/tsconfig#moduleResolution) support
90
+
91
+ This package supports the following module resolution strategies:
92
+
93
+ - `bundler`
94
+ - `node16`
95
+ - `nodenext`
96
+
97
+ This package does not support `node10` or `node` strategies, which do not
98
+ support ES6 modules. Using `node16` or `nodenext` is recommended as a
99
+ replacement configuration.
100
+
80
101
  ## Ensuring Stripe.js is available everywhere
81
102
 
82
103
  To best leverage Stripe’s advanced fraud functionality, ensure that Stripe.js is