@stripe/stripe-js
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -61,3 +61,3 @@ 'use strict'; | ||
name: 'stripe-js', | ||
version: "3.0.2", | ||
version: "3.0.3", | ||
startTime: startTime | ||
@@ -64,0 +64,0 @@ }); |
@@ -45,3 +45,3 @@ 'use strict'; | ||
name: 'stripe-js', | ||
version: "3.0.2", | ||
version: "3.0.3", | ||
startTime: startTime | ||
@@ -48,0 +48,0 @@ }); |
{ | ||
"name": "@stripe/stripe-js", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Stripe.js loading utility", | ||
@@ -11,7 +11,7 @@ "repository": "github:stripe/stripe-js", | ||
"import": { | ||
"types": "./types/index.d.mts", | ||
"types": "./dist/index.d.mts", | ||
"default": "./dist/stripe.mjs" | ||
}, | ||
"require": { | ||
"types": "./types/index.d.ts", | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/stripe.js" | ||
@@ -22,7 +22,7 @@ } | ||
"import": { | ||
"types": "./types/pure.d.mts", | ||
"types": "./dist/pure.d.mts", | ||
"default": "./dist/pure.mjs" | ||
}, | ||
"require": { | ||
"types": "./types/pure.d.ts", | ||
"types": "./dist/pure.d.ts", | ||
"default": "./dist/pure.js" | ||
@@ -83,2 +83,3 @@ } | ||
"rollup-plugin-babel": "^4.3.3", | ||
"rollup-plugin-dts": "^6.1.0", | ||
"rollup-plugin-typescript2": "^0.25.3", | ||
@@ -85,0 +86,0 @@ "ts-jest": "^24.3.0", |
@@ -0,1 +1,9 @@ | ||
# ⚠️ v3.0.x Notice | ||
We are aware of an issue impacting builds for some TypeScript users in our | ||
package releases **v3.0.0**, **v3.0.1**, **v3.0.2** and recommend users to | ||
upgrade to our latest package release | ||
[**v3.0.3**](https://github.com/stripe/stripe-js/releases/tag/v3.0.3) which | ||
contains a fix. | ||
# Stripe.js ES Module | ||
@@ -22,2 +30,3 @@ | ||
- Node.js: v12.16 | ||
- TypeScript: v.3.1.1 | ||
@@ -81,2 +90,14 @@ ## Installation | ||
### [`moduleResolution`](https://www.typescriptlang.org/tsconfig#moduleResolution) support | ||
This package supports the following module resolution strategies: | ||
- `bundler` | ||
- `node16` | ||
- `nodenext` | ||
This package does not support `node10` or `node` strategies, which do not | ||
support ES6 modules. Using `node16` or `nodenext` is recommended as a | ||
replacement configuration. | ||
## Ensuring Stripe.js is available everywhere | ||
@@ -83,0 +104,0 @@ |
@@ -1,5 +0,5 @@ | ||
///<reference path='./index.d.ts' /> | ||
import {loadStripe as _loadStripe} from './index'; | ||
export const loadStripe: typeof import('@stripe/stripe-js').loadStripe & { | ||
export const loadStripe: typeof _loadStripe & { | ||
setLoadParameters: (params: {advancedFraudSignals: boolean}) => void; | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2048258
75
34035
170
24