@stripe/connect-js 3.3.24-preview-1 → 3.3.25-preview-1
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/connect.esm.js +5 -1
- package/dist/connect.js +5 -1
- package/dist/pure.esm.js +5 -1
- package/dist/pure.js +5 -1
- package/dist/src/shared.d.ts +1 -1
- package/dist/types/config.d.ts +3 -0
- package/package.json +1 -1
- package/src/shared.ts +2 -0
- package/types/config.ts +3 -0
- package/types/shared.d.ts +1 -0
package/dist/connect.esm.js
CHANGED
|
@@ -94,6 +94,9 @@ const ConnectElementCustomMethodConfig = {
|
|
|
94
94
|
"tax-registrations": {
|
|
95
95
|
setOnAfterTaxRegistrationAdded: _listener => {},
|
|
96
96
|
setDisplayCountries: _countries => {}
|
|
97
|
+
},
|
|
98
|
+
"tax-threshold-monitoring": {
|
|
99
|
+
setDisplayCountries: _countries => {}
|
|
97
100
|
}
|
|
98
101
|
};
|
|
99
102
|
|
|
@@ -118,6 +121,7 @@ const componentNameMapping = {
|
|
|
118
121
|
documents: "stripe-connect-documents",
|
|
119
122
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
120
123
|
"tax-settings": "stripe-connect-tax-settings",
|
|
124
|
+
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
|
121
125
|
balances: "stripe-connect-balances",
|
|
122
126
|
"payouts-list": "stripe-connect-payouts-list",
|
|
123
127
|
"app-install": "stripe-connect-app-install",
|
|
@@ -265,7 +269,7 @@ const createWrapper = stripeConnect => {
|
|
|
265
269
|
sdk: true,
|
|
266
270
|
sdkOptions: {
|
|
267
271
|
// This will be replaced by the npm package version when bundling
|
|
268
|
-
sdkVersion: "3.3.
|
|
272
|
+
sdkVersion: "3.3.23-preview-1"
|
|
269
273
|
}
|
|
270
274
|
})
|
|
271
275
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -98,6 +98,9 @@ const ConnectElementCustomMethodConfig = {
|
|
|
98
98
|
"tax-registrations": {
|
|
99
99
|
setOnAfterTaxRegistrationAdded: _listener => {},
|
|
100
100
|
setDisplayCountries: _countries => {}
|
|
101
|
+
},
|
|
102
|
+
"tax-threshold-monitoring": {
|
|
103
|
+
setDisplayCountries: _countries => {}
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
106
|
|
|
@@ -122,6 +125,7 @@ const componentNameMapping = {
|
|
|
122
125
|
documents: "stripe-connect-documents",
|
|
123
126
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
124
127
|
"tax-settings": "stripe-connect-tax-settings",
|
|
128
|
+
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
|
125
129
|
balances: "stripe-connect-balances",
|
|
126
130
|
"payouts-list": "stripe-connect-payouts-list",
|
|
127
131
|
"app-install": "stripe-connect-app-install",
|
|
@@ -269,7 +273,7 @@ const createWrapper = stripeConnect => {
|
|
|
269
273
|
sdk: true,
|
|
270
274
|
sdkOptions: {
|
|
271
275
|
// This will be replaced by the npm package version when bundling
|
|
272
|
-
sdkVersion: "3.3.
|
|
276
|
+
sdkVersion: "3.3.23-preview-1"
|
|
273
277
|
}
|
|
274
278
|
})
|
|
275
279
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -94,6 +94,9 @@ const ConnectElementCustomMethodConfig = {
|
|
|
94
94
|
"tax-registrations": {
|
|
95
95
|
setOnAfterTaxRegistrationAdded: _listener => {},
|
|
96
96
|
setDisplayCountries: _countries => {}
|
|
97
|
+
},
|
|
98
|
+
"tax-threshold-monitoring": {
|
|
99
|
+
setDisplayCountries: _countries => {}
|
|
97
100
|
}
|
|
98
101
|
};
|
|
99
102
|
|
|
@@ -118,6 +121,7 @@ const componentNameMapping = {
|
|
|
118
121
|
documents: "stripe-connect-documents",
|
|
119
122
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
120
123
|
"tax-settings": "stripe-connect-tax-settings",
|
|
124
|
+
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
|
121
125
|
balances: "stripe-connect-balances",
|
|
122
126
|
"payouts-list": "stripe-connect-payouts-list",
|
|
123
127
|
"app-install": "stripe-connect-app-install",
|
|
@@ -265,7 +269,7 @@ const createWrapper = stripeConnect => {
|
|
|
265
269
|
sdk: true,
|
|
266
270
|
sdkOptions: {
|
|
267
271
|
// This will be replaced by the npm package version when bundling
|
|
268
|
-
sdkVersion: "3.3.
|
|
272
|
+
sdkVersion: "3.3.23-preview-1"
|
|
269
273
|
}
|
|
270
274
|
})
|
|
271
275
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -98,6 +98,9 @@ const ConnectElementCustomMethodConfig = {
|
|
|
98
98
|
"tax-registrations": {
|
|
99
99
|
setOnAfterTaxRegistrationAdded: _listener => {},
|
|
100
100
|
setDisplayCountries: _countries => {}
|
|
101
|
+
},
|
|
102
|
+
"tax-threshold-monitoring": {
|
|
103
|
+
setDisplayCountries: _countries => {}
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
106
|
|
|
@@ -122,6 +125,7 @@ const componentNameMapping = {
|
|
|
122
125
|
documents: "stripe-connect-documents",
|
|
123
126
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
124
127
|
"tax-settings": "stripe-connect-tax-settings",
|
|
128
|
+
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
|
125
129
|
balances: "stripe-connect-balances",
|
|
126
130
|
"payouts-list": "stripe-connect-payouts-list",
|
|
127
131
|
"app-install": "stripe-connect-app-install",
|
|
@@ -269,7 +273,7 @@ const createWrapper = stripeConnect => {
|
|
|
269
273
|
sdk: true,
|
|
270
274
|
sdkOptions: {
|
|
271
275
|
// This will be replaced by the npm package version when bundling
|
|
272
|
-
sdkVersion: "3.3.
|
|
276
|
+
sdkVersion: "3.3.23-preview-1"
|
|
273
277
|
}
|
|
274
278
|
})
|
|
275
279
|
}));
|
package/dist/src/shared.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IStripeConnectInitParams, StripeConnectInstance, ConnectElementTagName } from "../types";
|
|
2
2
|
export type LoadConnectAndInitialize = (initParams: IStripeConnectInitParams) => StripeConnectInstance;
|
|
3
|
-
export type ConnectElementHTMLName = "stripe-connect-payments" | "stripe-connect-payouts" | "stripe-connect-payment-details" | "stripe-connect-account-onboarding" | "stripe-connect-payment-method-settings" | "stripe-connect-account-management" | "stripe-connect-notification-banner" | "stripe-connect-instant-payouts" | "stripe-connect-issuing-card" | "stripe-connect-issuing-cards-list" | "stripe-connect-financial-account" | "stripe-connect-financial-account-transactions" | "stripe-connect-recipients" | "stripe-connect-capital-financing" | "stripe-connect-capital-financing-application" | "stripe-connect-capital-financing-promotion" | "stripe-connect-capital-overview" | "stripe-connect-documents" | "stripe-connect-tax-registrations" | "stripe-connect-tax-settings" | "stripe-connect-balances" | "stripe-connect-payouts-list" | "stripe-connect-app-install" | "stripe-connect-app-viewport" | "stripe-connect-reporting-chart";
|
|
3
|
+
export type ConnectElementHTMLName = "stripe-connect-payments" | "stripe-connect-payouts" | "stripe-connect-payment-details" | "stripe-connect-account-onboarding" | "stripe-connect-payment-method-settings" | "stripe-connect-account-management" | "stripe-connect-notification-banner" | "stripe-connect-instant-payouts" | "stripe-connect-issuing-card" | "stripe-connect-issuing-cards-list" | "stripe-connect-financial-account" | "stripe-connect-financial-account-transactions" | "stripe-connect-recipients" | "stripe-connect-capital-financing" | "stripe-connect-capital-financing-application" | "stripe-connect-capital-financing-promotion" | "stripe-connect-capital-overview" | "stripe-connect-documents" | "stripe-connect-tax-registrations" | "stripe-connect-tax-settings" | "stripe-connect-tax-threshold-monitoring" | "stripe-connect-balances" | "stripe-connect-payouts-list" | "stripe-connect-app-install" | "stripe-connect-app-viewport" | "stripe-connect-reporting-chart";
|
|
4
4
|
export declare const componentNameMapping: Record<ConnectElementTagName, ConnectElementHTMLName>;
|
|
5
5
|
type StripeConnectInstanceExtended = StripeConnectInstance & {
|
|
6
6
|
debugInstance: () => Promise<StripeConnectInstance>;
|
package/dist/types/config.d.ts
CHANGED
|
@@ -194,4 +194,7 @@ export declare const ConnectElementCustomMethodConfig: {
|
|
|
194
194
|
}) => void) | undefined) => void;
|
|
195
195
|
setDisplayCountries: (_countries: string[] | undefined) => void;
|
|
196
196
|
};
|
|
197
|
+
"tax-threshold-monitoring": {
|
|
198
|
+
setDisplayCountries: (_countries: string[] | undefined) => void;
|
|
199
|
+
};
|
|
197
200
|
};
|
package/package.json
CHANGED
package/src/shared.ts
CHANGED
|
@@ -34,6 +34,7 @@ export type ConnectElementHTMLName =
|
|
|
34
34
|
| "stripe-connect-documents"
|
|
35
35
|
| "stripe-connect-tax-registrations"
|
|
36
36
|
| "stripe-connect-tax-settings"
|
|
37
|
+
| "stripe-connect-tax-threshold-monitoring"
|
|
37
38
|
| "stripe-connect-balances"
|
|
38
39
|
| "stripe-connect-payouts-list"
|
|
39
40
|
| "stripe-connect-app-install"
|
|
@@ -66,6 +67,7 @@ export const componentNameMapping: Record<
|
|
|
66
67
|
documents: "stripe-connect-documents",
|
|
67
68
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
68
69
|
"tax-settings": "stripe-connect-tax-settings",
|
|
70
|
+
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
|
69
71
|
balances: "stripe-connect-balances",
|
|
70
72
|
"payouts-list": "stripe-connect-payouts-list",
|
|
71
73
|
"app-install": "stripe-connect-app-install",
|
package/types/config.ts
CHANGED
|
@@ -354,5 +354,8 @@ export const ConnectElementCustomMethodConfig = {
|
|
|
354
354
|
_listener: (({ id }: { id: string }) => void) | undefined
|
|
355
355
|
): void => {},
|
|
356
356
|
setDisplayCountries: (_countries: string[] | undefined): void => {}
|
|
357
|
+
},
|
|
358
|
+
"tax-threshold-monitoring": {
|
|
359
|
+
setDisplayCountries: (_countries: string[] | undefined): void => {}
|
|
357
360
|
}
|
|
358
361
|
};
|