@stripe/stripe-js 2.4.0 → 3.0.0
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 +4 -0
- package/dist/pure.js +1 -1
- package/dist/{pure.esm.js → pure.mjs} +1 -1
- package/dist/stripe.js +1 -1
- package/dist/{stripe.esm.js → stripe.mjs} +1 -1
- package/package.json +17 -6
- package/pure.js +0 -1
- /package/{pure.d.ts → types/pure.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -16,6 +16,10 @@ of features of Stripe.js.
|
|
|
16
16
|
|
|
17
17
|
[](https://www.npmjs.com/package/@stripe/stripe-js)
|
|
18
18
|
|
|
19
|
+
## Minimum requirements
|
|
20
|
+
|
|
21
|
+
- Node.js: v12.16
|
|
22
|
+
|
|
19
23
|
## Installation
|
|
20
24
|
|
|
21
25
|
Use `npm` to install the Stripe.js module:
|
package/dist/pure.js
CHANGED
package/dist/stripe.js
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stripe/stripe-js",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Stripe.js loading utility",
|
|
5
5
|
"repository": "github:stripe/stripe-js",
|
|
6
6
|
"main": "dist/stripe.js",
|
|
7
|
-
"module": "dist/stripe.
|
|
8
|
-
"
|
|
7
|
+
"module": "dist/stripe.mjs",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/stripe.mjs",
|
|
11
|
+
"default": "./dist/stripe.js"
|
|
12
|
+
},
|
|
13
|
+
"./pure": {
|
|
14
|
+
"import": "./dist/pure.mjs",
|
|
15
|
+
"default": "./dist/pure.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"jsnext:main": "dist/stripe.mjs",
|
|
9
19
|
"types": "types/index.d.ts",
|
|
10
20
|
"typings": "types/index.d.ts",
|
|
11
21
|
"scripts": {
|
|
@@ -31,10 +41,11 @@
|
|
|
31
41
|
"files": [
|
|
32
42
|
"dist",
|
|
33
43
|
"src",
|
|
34
|
-
"types"
|
|
35
|
-
"pure.js",
|
|
36
|
-
"pure.d.ts"
|
|
44
|
+
"types"
|
|
37
45
|
],
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">=12.16"
|
|
48
|
+
},
|
|
38
49
|
"devDependencies": {
|
|
39
50
|
"@babel/core": "^7.7.2",
|
|
40
51
|
"@babel/preset-env": "^7.7.1",
|
package/pure.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require('./dist/pure.js');
|
|
File without changes
|