@stripe/stripe-js 5.0.0 → 5.1.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 +1 -1
- package/dist/index.mjs +1 -1
- package/dist/pure.js +1 -1
- package/dist/pure.mjs +1 -1
- package/dist/stripe-js/checkout.d.mts +5 -0
- package/dist/stripe-js/checkout.d.ts +5 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/dist/pure.js
CHANGED
package/dist/pure.mjs
CHANGED
|
@@ -454,6 +454,11 @@ export interface StripeCheckout {
|
|
|
454
454
|
redirect?: StripeCheckoutRedirectBehavior;
|
|
455
455
|
paymentMethod?: string;
|
|
456
456
|
savePaymentMethod?: boolean;
|
|
457
|
+
email?: string;
|
|
458
|
+
phoneNumber?: string;
|
|
459
|
+
billingAddress?: StripeCheckoutContact;
|
|
460
|
+
shippingAddress?: StripeCheckoutContact;
|
|
461
|
+
expressCheckoutConfirmEvent?: StripeExpressCheckoutElementConfirmEvent;
|
|
457
462
|
}) => Promise<StripeCheckoutConfirmResult>;
|
|
458
463
|
session: () => StripeCheckoutSession;
|
|
459
464
|
on: (event: 'change', handler: StripeCheckoutUpdateHandler) => void;
|
|
@@ -454,6 +454,11 @@ export interface StripeCheckout {
|
|
|
454
454
|
redirect?: StripeCheckoutRedirectBehavior;
|
|
455
455
|
paymentMethod?: string;
|
|
456
456
|
savePaymentMethod?: boolean;
|
|
457
|
+
email?: string;
|
|
458
|
+
phoneNumber?: string;
|
|
459
|
+
billingAddress?: StripeCheckoutContact;
|
|
460
|
+
shippingAddress?: StripeCheckoutContact;
|
|
461
|
+
expressCheckoutConfirmEvent?: StripeExpressCheckoutElementConfirmEvent;
|
|
457
462
|
}) => Promise<StripeCheckoutConfirmResult>;
|
|
458
463
|
session: () => StripeCheckoutSession;
|
|
459
464
|
on: (event: 'change', handler: StripeCheckoutUpdateHandler) => void;
|