@stripe/stripe-js 1.44.1 → 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
package/dist/pure.js
CHANGED
package/dist/stripe.esm.js
CHANGED
package/dist/stripe.js
CHANGED
package/package.json
CHANGED
|
@@ -69,10 +69,7 @@ export interface StripeElements {
|
|
|
69
69
|
/////////////////////////////
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
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;
|
|
@@ -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
|
|
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 =
|
|
284
|
+
export type PaymentRequestWallet =
|
|
285
|
+
| 'applePay'
|
|
286
|
+
| 'googlePay'
|
|
287
|
+
| 'link'
|
|
288
|
+
| 'browserCard';
|
|
285
289
|
|
|
286
290
|
export type PaymentRequestCompleteStatus =
|
|
287
291
|
/**
|