@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
package/dist/pure.js
CHANGED
package/dist/stripe.esm.js
CHANGED
package/dist/stripe.js
CHANGED
package/package.json
CHANGED
|
@@ -188,7 +188,7 @@ export type StripeExpressCheckoutElement = StripeElementBase & {
|
|
|
188
188
|
): StripeExpressCheckoutElement;
|
|
189
189
|
};
|
|
190
190
|
|
|
191
|
-
export type
|
|
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
|
-
|
|
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
|
-
|
|
446
|
+
expressPaymentType: ExpressPaymentType;
|
|
447
447
|
}
|
|
448
448
|
|
|
449
449
|
export type ChangeResolveDetails = {
|