@stripe/connect-js 3.3.36-preview-1 → 3.3.38-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 +7 -2
- package/dist/connect.js +7 -2
- package/dist/pure.esm.js +7 -2
- package/dist/pure.js +7 -2
- package/dist/src/shared.d.ts +1 -1
- package/dist/types/config.d.ts +7 -1
- package/package.json +1 -1
- package/src/shared.ts +2 -0
- package/types/config.ts +10 -1
- package/types/shared.d.ts +1 -0
package/dist/connect.esm.js
CHANGED
|
@@ -114,7 +114,11 @@ const ConnectElementCustomMethodConfig = {
|
|
|
114
114
|
setDisabled: _disabled => {},
|
|
115
115
|
setInitialTaxCode: _initialTaxCode => {}
|
|
116
116
|
},
|
|
117
|
-
"export-tax-transactions": {}
|
|
117
|
+
"export-tax-transactions": {},
|
|
118
|
+
"payout-details": {
|
|
119
|
+
setPayout: _payout => {},
|
|
120
|
+
setOnClose: _listener => {}
|
|
121
|
+
}
|
|
118
122
|
};
|
|
119
123
|
|
|
120
124
|
const componentNameMapping = {
|
|
@@ -146,6 +150,7 @@ const componentNameMapping = {
|
|
|
146
150
|
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
|
147
151
|
balances: "stripe-connect-balances",
|
|
148
152
|
"payouts-list": "stripe-connect-payouts-list",
|
|
153
|
+
"payout-details": "stripe-connect-payout-details",
|
|
149
154
|
"app-install": "stripe-connect-app-install",
|
|
150
155
|
"app-viewport": "stripe-connect-app-viewport",
|
|
151
156
|
"reporting-chart": "stripe-connect-reporting-chart"
|
|
@@ -296,7 +301,7 @@ const createWrapper = stripeConnect => {
|
|
|
296
301
|
sdk: true,
|
|
297
302
|
sdkOptions: {
|
|
298
303
|
// This will be replaced by the npm package version when bundling
|
|
299
|
-
sdkVersion: "3.3.
|
|
304
|
+
sdkVersion: "3.3.38-preview-1"
|
|
300
305
|
}
|
|
301
306
|
})
|
|
302
307
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -118,7 +118,11 @@ const ConnectElementCustomMethodConfig = {
|
|
|
118
118
|
setDisabled: _disabled => {},
|
|
119
119
|
setInitialTaxCode: _initialTaxCode => {}
|
|
120
120
|
},
|
|
121
|
-
"export-tax-transactions": {}
|
|
121
|
+
"export-tax-transactions": {},
|
|
122
|
+
"payout-details": {
|
|
123
|
+
setPayout: _payout => {},
|
|
124
|
+
setOnClose: _listener => {}
|
|
125
|
+
}
|
|
122
126
|
};
|
|
123
127
|
|
|
124
128
|
const componentNameMapping = {
|
|
@@ -150,6 +154,7 @@ const componentNameMapping = {
|
|
|
150
154
|
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
|
151
155
|
balances: "stripe-connect-balances",
|
|
152
156
|
"payouts-list": "stripe-connect-payouts-list",
|
|
157
|
+
"payout-details": "stripe-connect-payout-details",
|
|
153
158
|
"app-install": "stripe-connect-app-install",
|
|
154
159
|
"app-viewport": "stripe-connect-app-viewport",
|
|
155
160
|
"reporting-chart": "stripe-connect-reporting-chart"
|
|
@@ -300,7 +305,7 @@ const createWrapper = stripeConnect => {
|
|
|
300
305
|
sdk: true,
|
|
301
306
|
sdkOptions: {
|
|
302
307
|
// This will be replaced by the npm package version when bundling
|
|
303
|
-
sdkVersion: "3.3.
|
|
308
|
+
sdkVersion: "3.3.38-preview-1"
|
|
304
309
|
}
|
|
305
310
|
})
|
|
306
311
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -114,7 +114,11 @@ const ConnectElementCustomMethodConfig = {
|
|
|
114
114
|
setDisabled: _disabled => {},
|
|
115
115
|
setInitialTaxCode: _initialTaxCode => {}
|
|
116
116
|
},
|
|
117
|
-
"export-tax-transactions": {}
|
|
117
|
+
"export-tax-transactions": {},
|
|
118
|
+
"payout-details": {
|
|
119
|
+
setPayout: _payout => {},
|
|
120
|
+
setOnClose: _listener => {}
|
|
121
|
+
}
|
|
118
122
|
};
|
|
119
123
|
|
|
120
124
|
const componentNameMapping = {
|
|
@@ -146,6 +150,7 @@ const componentNameMapping = {
|
|
|
146
150
|
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
|
147
151
|
balances: "stripe-connect-balances",
|
|
148
152
|
"payouts-list": "stripe-connect-payouts-list",
|
|
153
|
+
"payout-details": "stripe-connect-payout-details",
|
|
149
154
|
"app-install": "stripe-connect-app-install",
|
|
150
155
|
"app-viewport": "stripe-connect-app-viewport",
|
|
151
156
|
"reporting-chart": "stripe-connect-reporting-chart"
|
|
@@ -296,7 +301,7 @@ const createWrapper = stripeConnect => {
|
|
|
296
301
|
sdk: true,
|
|
297
302
|
sdkOptions: {
|
|
298
303
|
// This will be replaced by the npm package version when bundling
|
|
299
|
-
sdkVersion: "3.3.
|
|
304
|
+
sdkVersion: "3.3.38-preview-1"
|
|
300
305
|
}
|
|
301
306
|
})
|
|
302
307
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -118,7 +118,11 @@ const ConnectElementCustomMethodConfig = {
|
|
|
118
118
|
setDisabled: _disabled => {},
|
|
119
119
|
setInitialTaxCode: _initialTaxCode => {}
|
|
120
120
|
},
|
|
121
|
-
"export-tax-transactions": {}
|
|
121
|
+
"export-tax-transactions": {},
|
|
122
|
+
"payout-details": {
|
|
123
|
+
setPayout: _payout => {},
|
|
124
|
+
setOnClose: _listener => {}
|
|
125
|
+
}
|
|
122
126
|
};
|
|
123
127
|
|
|
124
128
|
const componentNameMapping = {
|
|
@@ -150,6 +154,7 @@ const componentNameMapping = {
|
|
|
150
154
|
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
|
151
155
|
balances: "stripe-connect-balances",
|
|
152
156
|
"payouts-list": "stripe-connect-payouts-list",
|
|
157
|
+
"payout-details": "stripe-connect-payout-details",
|
|
153
158
|
"app-install": "stripe-connect-app-install",
|
|
154
159
|
"app-viewport": "stripe-connect-app-viewport",
|
|
155
160
|
"reporting-chart": "stripe-connect-reporting-chart"
|
|
@@ -300,7 +305,7 @@ const createWrapper = stripeConnect => {
|
|
|
300
305
|
sdk: true,
|
|
301
306
|
sdkOptions: {
|
|
302
307
|
// This will be replaced by the npm package version when bundling
|
|
303
|
-
sdkVersion: "3.3.
|
|
308
|
+
sdkVersion: "3.3.38-preview-1"
|
|
304
309
|
}
|
|
305
310
|
})
|
|
306
311
|
}));
|
package/dist/src/shared.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { 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-payment-disputes" | "stripe-connect-disputes-list" | "stripe-connect-account-onboarding" | "stripe-connect-payment-method-settings" | "stripe-connect-account-management" | "stripe-connect-notification-banner" | "stripe-connect-instant-payouts" | "stripe-connect-instant-payouts-promotion" | "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-export-tax-transactions" | "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-payment-disputes" | "stripe-connect-disputes-list" | "stripe-connect-account-onboarding" | "stripe-connect-payment-method-settings" | "stripe-connect-account-management" | "stripe-connect-notification-banner" | "stripe-connect-instant-payouts" | "stripe-connect-instant-payouts-promotion" | "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-export-tax-transactions" | "stripe-connect-tax-registrations" | "stripe-connect-tax-settings" | "stripe-connect-tax-threshold-monitoring" | "stripe-connect-balances" | "stripe-connect-payouts-list" | "stripe-connect-payout-details" | "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
|
@@ -214,10 +214,16 @@ export declare const ConnectElementCustomMethodConfig: {
|
|
|
214
214
|
setDisplayCountries: (_countries: string[] | undefined) => void;
|
|
215
215
|
};
|
|
216
216
|
"product-tax-code-selector": {
|
|
217
|
-
setOnTaxCodeSelect: (_listener: ((taxCode: string
|
|
217
|
+
setOnTaxCodeSelect: (_listener: ((taxCode: string, { analyticsName }: {
|
|
218
|
+
analyticsName: string;
|
|
219
|
+
}) => void) | undefined) => void;
|
|
218
220
|
setHideDescription: (_hideDescription: boolean | undefined) => void;
|
|
219
221
|
setDisabled: (_disabled: boolean | undefined) => void;
|
|
220
222
|
setInitialTaxCode: (_initialTaxCode: string | undefined) => void;
|
|
221
223
|
};
|
|
222
224
|
"export-tax-transactions": {};
|
|
225
|
+
"payout-details": {
|
|
226
|
+
setPayout: (_payout: string | undefined) => void;
|
|
227
|
+
setOnClose: (_listener: (() => void) | undefined) => void;
|
|
228
|
+
};
|
|
223
229
|
};
|
package/package.json
CHANGED
package/src/shared.ts
CHANGED
|
@@ -42,6 +42,7 @@ export type ConnectElementHTMLName =
|
|
|
42
42
|
| "stripe-connect-tax-threshold-monitoring"
|
|
43
43
|
| "stripe-connect-balances"
|
|
44
44
|
| "stripe-connect-payouts-list"
|
|
45
|
+
| "stripe-connect-payout-details"
|
|
45
46
|
| "stripe-connect-app-install"
|
|
46
47
|
| "stripe-connect-app-viewport"
|
|
47
48
|
| "stripe-connect-reporting-chart";
|
|
@@ -80,6 +81,7 @@ export const componentNameMapping: Record<
|
|
|
80
81
|
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
|
81
82
|
balances: "stripe-connect-balances",
|
|
82
83
|
"payouts-list": "stripe-connect-payouts-list",
|
|
84
|
+
"payout-details": "stripe-connect-payout-details",
|
|
83
85
|
"app-install": "stripe-connect-app-install",
|
|
84
86
|
"app-viewport": "stripe-connect-app-viewport",
|
|
85
87
|
"reporting-chart": "stripe-connect-reporting-chart",
|
package/types/config.ts
CHANGED
|
@@ -384,11 +384,20 @@ export const ConnectElementCustomMethodConfig = {
|
|
|
384
384
|
},
|
|
385
385
|
"product-tax-code-selector": {
|
|
386
386
|
setOnTaxCodeSelect: (
|
|
387
|
-
_listener:
|
|
387
|
+
_listener:
|
|
388
|
+
| ((
|
|
389
|
+
taxCode: string,
|
|
390
|
+
{ analyticsName }: { analyticsName: string }
|
|
391
|
+
) => void)
|
|
392
|
+
| undefined
|
|
388
393
|
): void => {},
|
|
389
394
|
setHideDescription: (_hideDescription: boolean | undefined): void => {},
|
|
390
395
|
setDisabled: (_disabled: boolean | undefined): void => {},
|
|
391
396
|
setInitialTaxCode: (_initialTaxCode: string | undefined): void => {},
|
|
392
397
|
},
|
|
393
398
|
"export-tax-transactions": {},
|
|
399
|
+
"payout-details": {
|
|
400
|
+
setPayout: (_payout: string | undefined): void => {},
|
|
401
|
+
setOnClose: (_listener: (() => void) | undefined): void => {},
|
|
402
|
+
},
|
|
394
403
|
};
|