@stripe/stripe-js 1.53.0 → 1.54.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/pure.esm.js CHANGED
@@ -54,7 +54,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
54
54
 
55
55
  stripe._registerWrapper({
56
56
  name: 'stripe-js',
57
- version: "1.53.0",
57
+ version: "1.54.0",
58
58
  startTime: startTime
59
59
  });
60
60
  };
package/dist/pure.js CHANGED
@@ -58,7 +58,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
58
58
 
59
59
  stripe._registerWrapper({
60
60
  name: 'stripe-js',
61
- version: "1.53.0",
61
+ version: "1.54.0",
62
62
  startTime: startTime
63
63
  });
64
64
  };
@@ -38,7 +38,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
38
38
 
39
39
  stripe._registerWrapper({
40
40
  name: 'stripe-js',
41
- version: "1.53.0",
41
+ version: "1.54.0",
42
42
  startTime: startTime
43
43
  });
44
44
  };
package/dist/stripe.js CHANGED
@@ -42,7 +42,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
42
42
 
43
43
  stripe._registerWrapper({
44
44
  name: 'stripe-js',
45
- version: "1.53.0",
45
+ version: "1.54.0",
46
46
  startTime: startTime
47
47
  });
48
48
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/stripe-js",
3
- "version": "1.53.0",
3
+ "version": "1.54.0",
4
4
  "description": "Stripe.js loading utility",
5
5
  "main": "dist/stripe.js",
6
6
  "module": "dist/stripe.esm.js",
@@ -188,7 +188,7 @@ export type StripeExpressCheckoutElement = StripeElementBase & {
188
188
  ): StripeExpressCheckoutElement;
189
189
  };
190
190
 
191
- export type PaymentMethodType = 'google_pay' | 'apple_pay' | 'link';
191
+ export type ExpressPaymentType = 'google_pay' | 'apple_pay' | 'link' | 'paypal';
192
192
 
193
193
  export type ExpressCheckoutPartialAddress = {
194
194
  city: string;
@@ -420,7 +420,7 @@ export interface StripeExpressCheckoutElementClickEvent {
420
420
  /**
421
421
  * The payment method associated with the button that was clicked.
422
422
  */
423
- paymentMethodType: PaymentMethodType;
423
+ expressPaymentType: ExpressPaymentType;
424
424
 
425
425
  /**
426
426
  * Callback to configure the details shown on a payment interface, including which fields to collect.
@@ -443,7 +443,7 @@ export interface StripeExpressCheckoutElementConfirmEvent {
443
443
 
444
444
  shippingRate?: ShippingRate;
445
445
 
446
- paymentMethodType: PaymentMethodType;
446
+ expressPaymentType: ExpressPaymentType;
447
447
  }
448
448
 
449
449
  export type ChangeResolveDetails = {