@stripe/stripe-js 1.54.2 → 2.1.0
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/elements-group.d.ts +15 -1
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
|
@@ -723,6 +723,20 @@ export interface StripeElementsOptionsMode extends BaseStripeElementsOptions {
|
|
|
723
723
|
*/
|
|
724
724
|
capture_method?: 'manual' | 'automatic';
|
|
725
725
|
|
|
726
|
+
/**
|
|
727
|
+
* The Stripe account ID which is the business of record.
|
|
728
|
+
*
|
|
729
|
+
* @docs https://stripe.com/docs/js/elements_object/create_without_intent#stripe_elements_no_intent-options-onBehalfOf
|
|
730
|
+
*/
|
|
731
|
+
onBehalfOf?: string;
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* The Stripe account ID which is the business of record.
|
|
735
|
+
*
|
|
736
|
+
* @docs https://stripe.com/docs/js/elements_object/create_without_intent#stripe_elements_no_intent-options-onBehalfOf
|
|
737
|
+
*/
|
|
738
|
+
on_behalf_of?: string;
|
|
739
|
+
|
|
726
740
|
/**
|
|
727
741
|
* Instead of using automatic payment methods, declare specific payment methods to enable.
|
|
728
742
|
*
|
|
@@ -890,7 +904,7 @@ export interface CustomFontSource {
|
|
|
890
904
|
export interface Appearance {
|
|
891
905
|
disableAnimations?: boolean;
|
|
892
906
|
|
|
893
|
-
theme?: 'stripe' | 'night' | 'flat'
|
|
907
|
+
theme?: 'stripe' | 'night' | 'flat';
|
|
894
908
|
|
|
895
909
|
variables?: {
|
|
896
910
|
// General font styles
|