@stripe/stripe-js 1.44.0 → 1.45.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.44.0",
57
+ version: "1.45.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.44.0",
61
+ version: "1.45.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.44.0",
41
+ version: "1.45.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.44.0",
45
+ version: "1.45.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.44.0",
3
+ "version": "1.45.0",
4
4
  "description": "Stripe.js loading utility",
5
5
  "main": "dist/stripe.js",
6
6
  "module": "dist/stripe.esm.js",
@@ -69,10 +69,7 @@ export interface StripeElements {
69
69
  /////////////////////////////
70
70
 
71
71
  /**
72
- * Requires beta access:
73
- * Contact [Stripe support](https://support.stripe.com/) for more information.
74
- *
75
- * Creates a `AddressElement`.
72
+ * Creates an `AddressElement`.
76
73
  */
77
74
  create(
78
75
  elementType: 'address',
@@ -80,9 +77,6 @@ export interface StripeElements {
80
77
  ): StripeAddressElement;
81
78
 
82
79
  /**
83
- * Requires beta access:
84
- * Contact [Stripe support](https://support.stripe.com/) for more information.
85
- *
86
80
  * Looks up a previously created `Element` by its type.
87
81
  */
88
82
  getElement(elementType: 'address'): StripeAddressElement | null;
@@ -530,7 +524,7 @@ export type StripeElementType =
530
524
  | 'iban'
531
525
  | 'idealBank'
532
526
  | 'p24Bank'
533
- | 'payButtonElement'
527
+ | 'payButton'
534
528
  | 'payment'
535
529
  | 'paymentMethodMessaging'
536
530
  | 'paymentRequestButton'
@@ -221,8 +221,8 @@ export interface PaymentRequestOptions {
221
221
 
222
222
  /**
223
223
  * An array of wallet strings.
224
- * Can be one or more of `applePay`, `googlePay` and `browserCard`.
225
- * Use this option to disable Google Pay, Apple Pay and/or browser-saved cards.
224
+ * Can be one or more of `applePay`, `googlePay`, `link` and `browserCard`.
225
+ * Use this option to disable Apple Pay, Google Pay, Link and/or browser-saved cards.
226
226
  */
227
227
  disableWallets?: PaymentRequestWallet[];
228
228
 
@@ -281,7 +281,11 @@ export interface PaymentRequestShippingOption {
281
281
  amount: number;
282
282
  }
283
283
 
284
- export type PaymentRequestWallet = 'applePay' | 'googlePay' | 'browserCard';
284
+ export type PaymentRequestWallet =
285
+ | 'applePay'
286
+ | 'googlePay'
287
+ | 'link'
288
+ | 'browserCard';
285
289
 
286
290
  export type PaymentRequestCompleteStatus =
287
291
  /**