@stripe/stripe-js 2.1.8 → 2.1.10
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 +1 -1
- package/dist/pure.js +1 -1
- package/dist/stripe.esm.js +1 -1
- package/dist/stripe.js +1 -1
- package/package.json +1 -1
- package/types/stripe-js/custom-checkout.d.ts +2 -2
- package/types/stripe-js/stripe.d.ts +3 -2
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
|
@@ -59,10 +59,10 @@ export interface StripeCustomCheckoutActions {
|
|
|
59
59
|
) => Promise<StripeCustomCheckoutResult>;
|
|
60
60
|
removePromotionCode: () => Promise<StripeCustomCheckoutResult>;
|
|
61
61
|
updateShippingAddress: (
|
|
62
|
-
shippingAddress: StripeCustomCheckoutContact
|
|
62
|
+
shippingAddress: StripeCustomCheckoutContact | null
|
|
63
63
|
) => Promise<StripeCustomCheckoutResult>;
|
|
64
64
|
updateBillingAddress: (
|
|
65
|
-
billingAddress: StripeCustomCheckoutContact
|
|
65
|
+
billingAddress: StripeCustomCheckoutContact | null
|
|
66
66
|
) => Promise<StripeCustomCheckoutResult>;
|
|
67
67
|
updatePhoneNumber: (phoneNumber: string) => void;
|
|
68
68
|
updateEmail: (email: string) => void;
|
|
@@ -1211,8 +1211,9 @@ export interface Stripe {
|
|
|
1211
1211
|
): Promise<StripeCustomCheckout>;
|
|
1212
1212
|
|
|
1213
1213
|
/**
|
|
1214
|
-
*
|
|
1215
|
-
*
|
|
1214
|
+
* Use `stripe.initEmbeddedCheckout` to initialize an embedded Checkout instance
|
|
1215
|
+
*
|
|
1216
|
+
* * @docs https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=embedded-checkout
|
|
1216
1217
|
*/
|
|
1217
1218
|
initEmbeddedCheckout(
|
|
1218
1219
|
options: StripeEmbeddedCheckoutOptions
|