@stripe/stripe-js 2.1.9 → 2.1.11
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
|
@@ -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;
|
|
@@ -230,10 +230,12 @@ export type ShippingRate = {
|
|
|
230
230
|
id: string;
|
|
231
231
|
amount: number;
|
|
232
232
|
displayName: string;
|
|
233
|
-
deliveryEstimate?:
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
233
|
+
deliveryEstimate?:
|
|
234
|
+
| string
|
|
235
|
+
| {
|
|
236
|
+
maximum?: DeliveryEstimate;
|
|
237
|
+
minimum?: DeliveryEstimate;
|
|
238
|
+
};
|
|
237
239
|
};
|
|
238
240
|
|
|
239
241
|
export type LayoutOption = {
|