@stripe/stripe-js 2.1.3 → 2.1.4

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.3",
57
+ version: "2.1.4",
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.3",
61
+ version: "2.1.4",
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.3",
41
+ version: "2.1.4",
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.3",
45
+ version: "2.1.4",
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.3",
3
+ "version": "2.1.4",
4
4
  "description": "Stripe.js loading utility",
5
5
  "main": "dist/stripe.js",
6
6
  "module": "dist/stripe.esm.js",
@@ -745,6 +745,22 @@ export interface StripeElementsOptionsMode extends BaseStripeElementsOptions {
745
745
  */
746
746
  payment_method_types?: string[];
747
747
 
748
+ /**
749
+ * When using automatic payment methods (omitting paymentMethodTypes), provide a
750
+ * payment method configuration ID for deriving payment methods.
751
+ *
752
+ * @docs https://stripe.com/docs/connect/payment-method-configurations
753
+ */
754
+ paymentMethodConfiguration?: string;
755
+
756
+ /**
757
+ * When using automatic payment methods (omitting payment_method_types), provide a
758
+ * payment method configuration ID for deriving payment methods.
759
+ *
760
+ * @docs https://stripe.com/docs/connect/payment-method-configurations
761
+ */
762
+ payment_method_configuration?: string;
763
+
748
764
  /**
749
765
  * Allows PaymentMethods to be created from the Elements instance.
750
766
  */