@stripe/connect-js 3.3.25-preview-1 → 3.3.28-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 +8 -1
- package/dist/connect.js +8 -1
- package/dist/pure.esm.js +8 -1
- package/dist/pure.js +8 -1
- package/dist/src/shared.d.ts +1 -1
- package/dist/types/config.d.ts +8 -0
- package/package.json +1 -1
- package/src/shared.ts +2 -0
- package/types/config.ts +8 -0
- package/types/shared.d.ts +1 -0
package/dist/connect.esm.js
CHANGED
|
@@ -97,6 +97,12 @@ const ConnectElementCustomMethodConfig = {
|
|
|
97
97
|
},
|
|
98
98
|
"tax-threshold-monitoring": {
|
|
99
99
|
setDisplayCountries: _countries => {}
|
|
100
|
+
},
|
|
101
|
+
"product-tax-code-selector": {
|
|
102
|
+
setOnTaxCodeSelect: _listener => {},
|
|
103
|
+
setHideDescription: _hideDescription => {},
|
|
104
|
+
setDisabled: _disabled => {},
|
|
105
|
+
setInitialTaxCode: _initialTaxCode => {}
|
|
100
106
|
}
|
|
101
107
|
};
|
|
102
108
|
|
|
@@ -119,6 +125,7 @@ const componentNameMapping = {
|
|
|
119
125
|
"capital-financing-promotion": "stripe-connect-capital-financing-promotion",
|
|
120
126
|
"capital-overview": "stripe-connect-capital-overview",
|
|
121
127
|
documents: "stripe-connect-documents",
|
|
128
|
+
"product-tax-code-selector": "stripe-connect-product-tax-code-selector",
|
|
122
129
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
123
130
|
"tax-settings": "stripe-connect-tax-settings",
|
|
124
131
|
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
|
@@ -269,7 +276,7 @@ const createWrapper = stripeConnect => {
|
|
|
269
276
|
sdk: true,
|
|
270
277
|
sdkOptions: {
|
|
271
278
|
// This will be replaced by the npm package version when bundling
|
|
272
|
-
sdkVersion: "3.3.
|
|
279
|
+
sdkVersion: "3.3.28-preview-1"
|
|
273
280
|
}
|
|
274
281
|
})
|
|
275
282
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -101,6 +101,12 @@ const ConnectElementCustomMethodConfig = {
|
|
|
101
101
|
},
|
|
102
102
|
"tax-threshold-monitoring": {
|
|
103
103
|
setDisplayCountries: _countries => {}
|
|
104
|
+
},
|
|
105
|
+
"product-tax-code-selector": {
|
|
106
|
+
setOnTaxCodeSelect: _listener => {},
|
|
107
|
+
setHideDescription: _hideDescription => {},
|
|
108
|
+
setDisabled: _disabled => {},
|
|
109
|
+
setInitialTaxCode: _initialTaxCode => {}
|
|
104
110
|
}
|
|
105
111
|
};
|
|
106
112
|
|
|
@@ -123,6 +129,7 @@ const componentNameMapping = {
|
|
|
123
129
|
"capital-financing-promotion": "stripe-connect-capital-financing-promotion",
|
|
124
130
|
"capital-overview": "stripe-connect-capital-overview",
|
|
125
131
|
documents: "stripe-connect-documents",
|
|
132
|
+
"product-tax-code-selector": "stripe-connect-product-tax-code-selector",
|
|
126
133
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
127
134
|
"tax-settings": "stripe-connect-tax-settings",
|
|
128
135
|
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
|
@@ -273,7 +280,7 @@ const createWrapper = stripeConnect => {
|
|
|
273
280
|
sdk: true,
|
|
274
281
|
sdkOptions: {
|
|
275
282
|
// This will be replaced by the npm package version when bundling
|
|
276
|
-
sdkVersion: "3.3.
|
|
283
|
+
sdkVersion: "3.3.28-preview-1"
|
|
277
284
|
}
|
|
278
285
|
})
|
|
279
286
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -97,6 +97,12 @@ const ConnectElementCustomMethodConfig = {
|
|
|
97
97
|
},
|
|
98
98
|
"tax-threshold-monitoring": {
|
|
99
99
|
setDisplayCountries: _countries => {}
|
|
100
|
+
},
|
|
101
|
+
"product-tax-code-selector": {
|
|
102
|
+
setOnTaxCodeSelect: _listener => {},
|
|
103
|
+
setHideDescription: _hideDescription => {},
|
|
104
|
+
setDisabled: _disabled => {},
|
|
105
|
+
setInitialTaxCode: _initialTaxCode => {}
|
|
100
106
|
}
|
|
101
107
|
};
|
|
102
108
|
|
|
@@ -119,6 +125,7 @@ const componentNameMapping = {
|
|
|
119
125
|
"capital-financing-promotion": "stripe-connect-capital-financing-promotion",
|
|
120
126
|
"capital-overview": "stripe-connect-capital-overview",
|
|
121
127
|
documents: "stripe-connect-documents",
|
|
128
|
+
"product-tax-code-selector": "stripe-connect-product-tax-code-selector",
|
|
122
129
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
123
130
|
"tax-settings": "stripe-connect-tax-settings",
|
|
124
131
|
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
|
@@ -269,7 +276,7 @@ const createWrapper = stripeConnect => {
|
|
|
269
276
|
sdk: true,
|
|
270
277
|
sdkOptions: {
|
|
271
278
|
// This will be replaced by the npm package version when bundling
|
|
272
|
-
sdkVersion: "3.3.
|
|
279
|
+
sdkVersion: "3.3.28-preview-1"
|
|
273
280
|
}
|
|
274
281
|
})
|
|
275
282
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -101,6 +101,12 @@ const ConnectElementCustomMethodConfig = {
|
|
|
101
101
|
},
|
|
102
102
|
"tax-threshold-monitoring": {
|
|
103
103
|
setDisplayCountries: _countries => {}
|
|
104
|
+
},
|
|
105
|
+
"product-tax-code-selector": {
|
|
106
|
+
setOnTaxCodeSelect: _listener => {},
|
|
107
|
+
setHideDescription: _hideDescription => {},
|
|
108
|
+
setDisabled: _disabled => {},
|
|
109
|
+
setInitialTaxCode: _initialTaxCode => {}
|
|
104
110
|
}
|
|
105
111
|
};
|
|
106
112
|
|
|
@@ -123,6 +129,7 @@ const componentNameMapping = {
|
|
|
123
129
|
"capital-financing-promotion": "stripe-connect-capital-financing-promotion",
|
|
124
130
|
"capital-overview": "stripe-connect-capital-overview",
|
|
125
131
|
documents: "stripe-connect-documents",
|
|
132
|
+
"product-tax-code-selector": "stripe-connect-product-tax-code-selector",
|
|
126
133
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
127
134
|
"tax-settings": "stripe-connect-tax-settings",
|
|
128
135
|
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
|
@@ -273,7 +280,7 @@ const createWrapper = stripeConnect => {
|
|
|
273
280
|
sdk: true,
|
|
274
281
|
sdkOptions: {
|
|
275
282
|
// This will be replaced by the npm package version when bundling
|
|
276
|
-
sdkVersion: "3.3.
|
|
283
|
+
sdkVersion: "3.3.28-preview-1"
|
|
277
284
|
}
|
|
278
285
|
})
|
|
279
286
|
}));
|
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-tax-threshold-monitoring" | "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-product-tax-code-selector" | "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
|
@@ -197,4 +197,12 @@ export declare const ConnectElementCustomMethodConfig: {
|
|
|
197
197
|
"tax-threshold-monitoring": {
|
|
198
198
|
setDisplayCountries: (_countries: string[] | undefined) => void;
|
|
199
199
|
};
|
|
200
|
+
"product-tax-code-selector": {
|
|
201
|
+
setOnTaxCodeSelect: (_listener: (({ taxCode }: {
|
|
202
|
+
taxCode: string;
|
|
203
|
+
}) => void) | undefined) => void;
|
|
204
|
+
setHideDescription: (_hideDescription: boolean | undefined) => void;
|
|
205
|
+
setDisabled: (_disabled: boolean | undefined) => void;
|
|
206
|
+
setInitialTaxCode: (_initialTaxCode: string | undefined) => void;
|
|
207
|
+
};
|
|
200
208
|
};
|
package/package.json
CHANGED
package/src/shared.ts
CHANGED
|
@@ -32,6 +32,7 @@ export type ConnectElementHTMLName =
|
|
|
32
32
|
| "stripe-connect-capital-financing-promotion"
|
|
33
33
|
| "stripe-connect-capital-overview"
|
|
34
34
|
| "stripe-connect-documents"
|
|
35
|
+
| "stripe-connect-product-tax-code-selector"
|
|
35
36
|
| "stripe-connect-tax-registrations"
|
|
36
37
|
| "stripe-connect-tax-settings"
|
|
37
38
|
| "stripe-connect-tax-threshold-monitoring"
|
|
@@ -65,6 +66,7 @@ export const componentNameMapping: Record<
|
|
|
65
66
|
"capital-financing-promotion": "stripe-connect-capital-financing-promotion",
|
|
66
67
|
"capital-overview": "stripe-connect-capital-overview",
|
|
67
68
|
documents: "stripe-connect-documents",
|
|
69
|
+
"product-tax-code-selector": "stripe-connect-product-tax-code-selector",
|
|
68
70
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
69
71
|
"tax-settings": "stripe-connect-tax-settings",
|
|
70
72
|
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
package/types/config.ts
CHANGED
|
@@ -357,5 +357,13 @@ export const ConnectElementCustomMethodConfig = {
|
|
|
357
357
|
},
|
|
358
358
|
"tax-threshold-monitoring": {
|
|
359
359
|
setDisplayCountries: (_countries: string[] | undefined): void => {}
|
|
360
|
+
},
|
|
361
|
+
"product-tax-code-selector": {
|
|
362
|
+
setOnTaxCodeSelect: (
|
|
363
|
+
_listener: (({ taxCode }: { taxCode: string }) => void) | undefined
|
|
364
|
+
): void => {},
|
|
365
|
+
setHideDescription: (_hideDescription: boolean | undefined): void => {},
|
|
366
|
+
setDisabled: (_disabled: boolean | undefined): void => {},
|
|
367
|
+
setInitialTaxCode: (_initialTaxCode: string | undefined): void => {}
|
|
360
368
|
}
|
|
361
369
|
};
|
package/types/shared.d.ts
CHANGED