@stripe/stripe-js 2.1.6 → 2.1.8
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 +2 -1
- package/types/stripe-js/elements-group.d.ts +26 -0
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
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stripe/stripe-js",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.8",
|
|
4
4
|
"description": "Stripe.js loading utility",
|
|
5
|
+
"repository": "github:stripe/stripe-js",
|
|
5
6
|
"main": "dist/stripe.js",
|
|
6
7
|
"module": "dist/stripe.esm.js",
|
|
7
8
|
"jsnext:main": "dist/stripe.esm.js",
|
|
@@ -617,6 +617,18 @@ export type StripeElementLocale =
|
|
|
617
617
|
| 'zh-HK'
|
|
618
618
|
| 'zh-TW';
|
|
619
619
|
|
|
620
|
+
type PaymentMethodOptions = {
|
|
621
|
+
card?: {require_cvc_recollection?: boolean};
|
|
622
|
+
us_bank_account?: {
|
|
623
|
+
financial_connections?: {
|
|
624
|
+
permissions?: Array<
|
|
625
|
+
'balances' | 'ownership' | 'payment_method' | 'transactions'
|
|
626
|
+
>;
|
|
627
|
+
};
|
|
628
|
+
verification_method?: 'automatic' | 'instant';
|
|
629
|
+
};
|
|
630
|
+
};
|
|
631
|
+
|
|
620
632
|
/**
|
|
621
633
|
* Options to create an `Elements` instance with.
|
|
622
634
|
*/
|
|
@@ -771,6 +783,20 @@ export interface StripeElementsOptionsMode extends BaseStripeElementsOptions {
|
|
|
771
783
|
*/
|
|
772
784
|
payment_method_creation?: 'manual';
|
|
773
785
|
|
|
786
|
+
/**
|
|
787
|
+
* Additional payment-method-specific options for configuring Payment Element behavior.
|
|
788
|
+
*
|
|
789
|
+
* @docs https://stripe.com/docs/js/elements_object/create_without_intent#stripe_elements_no_intent-options-paymentMethodOptions
|
|
790
|
+
*/
|
|
791
|
+
paymentMethodOptions?: PaymentMethodOptions;
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* Additional payment-method-specific options for configuring Payment Element behavior.
|
|
795
|
+
*
|
|
796
|
+
* @docs https://stripe.com/docs/js/elements_object/create_without_intent#stripe_elements_no_intent-options-paymentMethodOptions
|
|
797
|
+
*/
|
|
798
|
+
payment_method_options?: PaymentMethodOptions;
|
|
799
|
+
|
|
774
800
|
/**
|
|
775
801
|
* Either use mode or clientSecret when creating an Elements group
|
|
776
802
|
*/
|