@stripe/stripe-js 9.2.0 → 9.3.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/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/dist/pure.js +2 -2
- package/dist/pure.mjs +2 -2
- package/dist/stripe-js/elements/payment-form.d.mts +1 -0
- package/dist/stripe-js/elements/payment-form.d.ts +1 -0
- package/dist/stripe-js/elements-group.d.mts +16 -0
- package/dist/stripe-js/elements-group.d.ts +16 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -71,7 +71,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
|
|
|
71
71
|
|
|
72
72
|
stripe._registerWrapper({
|
|
73
73
|
name: 'stripe-js',
|
|
74
|
-
version: "9.
|
|
74
|
+
version: "9.3.0",
|
|
75
75
|
startTime: startTime
|
|
76
76
|
});
|
|
77
77
|
};
|
|
@@ -172,7 +172,7 @@ var initStripe = function initStripe(maybeStripe, args, startTime) {
|
|
|
172
172
|
var expectedVersion = RELEASE_TRAIN;
|
|
173
173
|
|
|
174
174
|
if (isTestKey && version !== expectedVersion) {
|
|
175
|
-
console.warn("Stripe.js@".concat(version, " was loaded on the page, but @stripe/stripe-js@").concat("9.
|
|
175
|
+
console.warn("Stripe.js@".concat(version, " was loaded on the page, but @stripe/stripe-js@").concat("9.3.0", " expected Stripe.js@").concat(expectedVersion, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
var stripe = maybeStripe.apply(undefined, args);
|
package/dist/index.mjs
CHANGED
|
@@ -67,7 +67,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
|
|
|
67
67
|
|
|
68
68
|
stripe._registerWrapper({
|
|
69
69
|
name: 'stripe-js',
|
|
70
|
-
version: "9.
|
|
70
|
+
version: "9.3.0",
|
|
71
71
|
startTime: startTime
|
|
72
72
|
});
|
|
73
73
|
};
|
|
@@ -168,7 +168,7 @@ var initStripe = function initStripe(maybeStripe, args, startTime) {
|
|
|
168
168
|
var expectedVersion = RELEASE_TRAIN;
|
|
169
169
|
|
|
170
170
|
if (isTestKey && version !== expectedVersion) {
|
|
171
|
-
console.warn("Stripe.js@".concat(version, " was loaded on the page, but @stripe/stripe-js@").concat("9.
|
|
171
|
+
console.warn("Stripe.js@".concat(version, " was loaded on the page, but @stripe/stripe-js@").concat("9.3.0", " expected Stripe.js@").concat(expectedVersion, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
var stripe = maybeStripe.apply(undefined, args);
|
package/dist/pure.js
CHANGED
|
@@ -71,7 +71,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
|
|
|
71
71
|
|
|
72
72
|
stripe._registerWrapper({
|
|
73
73
|
name: 'stripe-js',
|
|
74
|
-
version: "9.
|
|
74
|
+
version: "9.3.0",
|
|
75
75
|
startTime: startTime
|
|
76
76
|
});
|
|
77
77
|
};
|
|
@@ -172,7 +172,7 @@ var initStripe = function initStripe(maybeStripe, args, startTime) {
|
|
|
172
172
|
var expectedVersion = RELEASE_TRAIN;
|
|
173
173
|
|
|
174
174
|
if (isTestKey && version !== expectedVersion) {
|
|
175
|
-
console.warn("Stripe.js@".concat(version, " was loaded on the page, but @stripe/stripe-js@").concat("9.
|
|
175
|
+
console.warn("Stripe.js@".concat(version, " was loaded on the page, but @stripe/stripe-js@").concat("9.3.0", " expected Stripe.js@").concat(expectedVersion, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
var stripe = maybeStripe.apply(undefined, args);
|
package/dist/pure.mjs
CHANGED
|
@@ -67,7 +67,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
|
|
|
67
67
|
|
|
68
68
|
stripe._registerWrapper({
|
|
69
69
|
name: 'stripe-js',
|
|
70
|
-
version: "9.
|
|
70
|
+
version: "9.3.0",
|
|
71
71
|
startTime: startTime
|
|
72
72
|
});
|
|
73
73
|
};
|
|
@@ -168,7 +168,7 @@ var initStripe = function initStripe(maybeStripe, args, startTime) {
|
|
|
168
168
|
var expectedVersion = RELEASE_TRAIN;
|
|
169
169
|
|
|
170
170
|
if (isTestKey && version !== expectedVersion) {
|
|
171
|
-
console.warn("Stripe.js@".concat(version, " was loaded on the page, but @stripe/stripe-js@").concat("9.
|
|
171
|
+
console.warn("Stripe.js@".concat(version, " was loaded on the page, but @stripe/stripe-js@").concat("9.3.0", " expected Stripe.js@").concat(expectedVersion, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
var stripe = maybeStripe.apply(undefined, args);
|
|
@@ -1027,6 +1027,22 @@ export interface StripeElementsUpdateOptions {
|
|
|
1027
1027
|
*/
|
|
1028
1028
|
allowedPaymentMethodTypes?: string[];
|
|
1029
1029
|
|
|
1030
|
+
/**
|
|
1031
|
+
* When using automatic payment methods (omitting paymentMethodTypes), provide a
|
|
1032
|
+
* payment method configuration ID for deriving payment methods.
|
|
1033
|
+
*
|
|
1034
|
+
* @docs https://stripe.com/docs/connect/payment-method-configurations
|
|
1035
|
+
*/
|
|
1036
|
+
paymentMethodConfiguration?: string;
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* When using automatic payment methods (omitting payment_method_types), provide a
|
|
1040
|
+
* payment method configuration ID for deriving payment methods.
|
|
1041
|
+
*
|
|
1042
|
+
* @docs https://stripe.com/docs/connect/payment-method-configurations
|
|
1043
|
+
*/
|
|
1044
|
+
payment_method_configuration?: string;
|
|
1045
|
+
|
|
1030
1046
|
/**
|
|
1031
1047
|
* The Stripe account ID which is the business of record.
|
|
1032
1048
|
*
|
|
@@ -1027,6 +1027,22 @@ export interface StripeElementsUpdateOptions {
|
|
|
1027
1027
|
*/
|
|
1028
1028
|
allowedPaymentMethodTypes?: string[];
|
|
1029
1029
|
|
|
1030
|
+
/**
|
|
1031
|
+
* When using automatic payment methods (omitting paymentMethodTypes), provide a
|
|
1032
|
+
* payment method configuration ID for deriving payment methods.
|
|
1033
|
+
*
|
|
1034
|
+
* @docs https://stripe.com/docs/connect/payment-method-configurations
|
|
1035
|
+
*/
|
|
1036
|
+
paymentMethodConfiguration?: string;
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* When using automatic payment methods (omitting payment_method_types), provide a
|
|
1040
|
+
* payment method configuration ID for deriving payment methods.
|
|
1041
|
+
*
|
|
1042
|
+
* @docs https://stripe.com/docs/connect/payment-method-configurations
|
|
1043
|
+
*/
|
|
1044
|
+
payment_method_configuration?: string;
|
|
1045
|
+
|
|
1030
1046
|
/**
|
|
1031
1047
|
* The Stripe account ID which is the business of record.
|
|
1032
1048
|
*
|