@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
@@ -54,7 +54,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
54
54
 
55
55
  stripe._registerWrapper({
56
56
  name: 'stripe-js',
57
- version: "2.1.9",
57
+ version: "2.1.11",
58
58
  startTime: startTime
59
59
  });
60
60
  };
package/dist/pure.js CHANGED
@@ -58,7 +58,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
58
58
 
59
59
  stripe._registerWrapper({
60
60
  name: 'stripe-js',
61
- version: "2.1.9",
61
+ version: "2.1.11",
62
62
  startTime: startTime
63
63
  });
64
64
  };
@@ -38,7 +38,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
38
38
 
39
39
  stripe._registerWrapper({
40
40
  name: 'stripe-js',
41
- version: "2.1.9",
41
+ version: "2.1.11",
42
42
  startTime: startTime
43
43
  });
44
44
  };
package/dist/stripe.js CHANGED
@@ -42,7 +42,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
42
42
 
43
43
  stripe._registerWrapper({
44
44
  name: 'stripe-js',
45
- version: "2.1.9",
45
+ version: "2.1.11",
46
46
  startTime: startTime
47
47
  });
48
48
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/stripe-js",
3
- "version": "2.1.9",
3
+ "version": "2.1.11",
4
4
  "description": "Stripe.js loading utility",
5
5
  "repository": "github:stripe/stripe-js",
6
6
  "main": "dist/stripe.js",
@@ -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
- maximum?: DeliveryEstimate;
235
- minimum?: DeliveryEstimate;
236
- };
233
+ deliveryEstimate?:
234
+ | string
235
+ | {
236
+ maximum?: DeliveryEstimate;
237
+ minimum?: DeliveryEstimate;
238
+ };
237
239
  };
238
240
 
239
241
  export type LayoutOption = {