@stripe/connect-js 3.3.28-preview-1 → 3.3.30-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 +9 -2
- package/dist/connect.js +9 -2
- package/dist/pure.esm.js +9 -2
- package/dist/pure.js +9 -2
- package/dist/src/shared.d.ts +1 -1
- package/dist/types/config.d.ts +7 -0
- package/package.json +1 -1
- package/src/shared.ts +4 -0
- package/types/config.ts +8 -1
- package/types/shared.d.ts +2 -0
package/dist/connect.esm.js
CHANGED
|
@@ -12,6 +12,10 @@ const ConnectElementCustomMethodConfig = {
|
|
|
12
12
|
setPayment: _payment => {},
|
|
13
13
|
setOnClose: _listener => {}
|
|
14
14
|
},
|
|
15
|
+
"payment-disputes": {
|
|
16
|
+
setPayment: _payment => {},
|
|
17
|
+
setOnDisputesLoaded: _listener => {}
|
|
18
|
+
},
|
|
15
19
|
"account-onboarding": {
|
|
16
20
|
setFullTermsOfServiceUrl: _termOfServiceUrl => {},
|
|
17
21
|
setRecipientTermsOfServiceUrl: _recipientTermsOfServiceUrl => {},
|
|
@@ -103,13 +107,15 @@ const ConnectElementCustomMethodConfig = {
|
|
|
103
107
|
setHideDescription: _hideDescription => {},
|
|
104
108
|
setDisabled: _disabled => {},
|
|
105
109
|
setInitialTaxCode: _initialTaxCode => {}
|
|
106
|
-
}
|
|
110
|
+
},
|
|
111
|
+
"export-tax-transactions": {}
|
|
107
112
|
};
|
|
108
113
|
|
|
109
114
|
const componentNameMapping = {
|
|
110
115
|
payments: "stripe-connect-payments",
|
|
111
116
|
payouts: "stripe-connect-payouts",
|
|
112
117
|
"payment-details": "stripe-connect-payment-details",
|
|
118
|
+
"payment-disputes": "stripe-connect-payment-disputes",
|
|
113
119
|
"account-onboarding": "stripe-connect-account-onboarding",
|
|
114
120
|
"payment-method-settings": "stripe-connect-payment-method-settings",
|
|
115
121
|
"account-management": "stripe-connect-account-management",
|
|
@@ -126,6 +132,7 @@ const componentNameMapping = {
|
|
|
126
132
|
"capital-overview": "stripe-connect-capital-overview",
|
|
127
133
|
documents: "stripe-connect-documents",
|
|
128
134
|
"product-tax-code-selector": "stripe-connect-product-tax-code-selector",
|
|
135
|
+
"export-tax-transactions": "stripe-connect-export-tax-transactions",
|
|
129
136
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
130
137
|
"tax-settings": "stripe-connect-tax-settings",
|
|
131
138
|
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
|
@@ -276,7 +283,7 @@ const createWrapper = stripeConnect => {
|
|
|
276
283
|
sdk: true,
|
|
277
284
|
sdkOptions: {
|
|
278
285
|
// This will be replaced by the npm package version when bundling
|
|
279
|
-
sdkVersion: "3.3.
|
|
286
|
+
sdkVersion: "3.3.30-preview-1"
|
|
280
287
|
}
|
|
281
288
|
})
|
|
282
289
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -16,6 +16,10 @@ const ConnectElementCustomMethodConfig = {
|
|
|
16
16
|
setPayment: _payment => {},
|
|
17
17
|
setOnClose: _listener => {}
|
|
18
18
|
},
|
|
19
|
+
"payment-disputes": {
|
|
20
|
+
setPayment: _payment => {},
|
|
21
|
+
setOnDisputesLoaded: _listener => {}
|
|
22
|
+
},
|
|
19
23
|
"account-onboarding": {
|
|
20
24
|
setFullTermsOfServiceUrl: _termOfServiceUrl => {},
|
|
21
25
|
setRecipientTermsOfServiceUrl: _recipientTermsOfServiceUrl => {},
|
|
@@ -107,13 +111,15 @@ const ConnectElementCustomMethodConfig = {
|
|
|
107
111
|
setHideDescription: _hideDescription => {},
|
|
108
112
|
setDisabled: _disabled => {},
|
|
109
113
|
setInitialTaxCode: _initialTaxCode => {}
|
|
110
|
-
}
|
|
114
|
+
},
|
|
115
|
+
"export-tax-transactions": {}
|
|
111
116
|
};
|
|
112
117
|
|
|
113
118
|
const componentNameMapping = {
|
|
114
119
|
payments: "stripe-connect-payments",
|
|
115
120
|
payouts: "stripe-connect-payouts",
|
|
116
121
|
"payment-details": "stripe-connect-payment-details",
|
|
122
|
+
"payment-disputes": "stripe-connect-payment-disputes",
|
|
117
123
|
"account-onboarding": "stripe-connect-account-onboarding",
|
|
118
124
|
"payment-method-settings": "stripe-connect-payment-method-settings",
|
|
119
125
|
"account-management": "stripe-connect-account-management",
|
|
@@ -130,6 +136,7 @@ const componentNameMapping = {
|
|
|
130
136
|
"capital-overview": "stripe-connect-capital-overview",
|
|
131
137
|
documents: "stripe-connect-documents",
|
|
132
138
|
"product-tax-code-selector": "stripe-connect-product-tax-code-selector",
|
|
139
|
+
"export-tax-transactions": "stripe-connect-export-tax-transactions",
|
|
133
140
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
134
141
|
"tax-settings": "stripe-connect-tax-settings",
|
|
135
142
|
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
|
@@ -280,7 +287,7 @@ const createWrapper = stripeConnect => {
|
|
|
280
287
|
sdk: true,
|
|
281
288
|
sdkOptions: {
|
|
282
289
|
// This will be replaced by the npm package version when bundling
|
|
283
|
-
sdkVersion: "3.3.
|
|
290
|
+
sdkVersion: "3.3.30-preview-1"
|
|
284
291
|
}
|
|
285
292
|
})
|
|
286
293
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -12,6 +12,10 @@ const ConnectElementCustomMethodConfig = {
|
|
|
12
12
|
setPayment: _payment => {},
|
|
13
13
|
setOnClose: _listener => {}
|
|
14
14
|
},
|
|
15
|
+
"payment-disputes": {
|
|
16
|
+
setPayment: _payment => {},
|
|
17
|
+
setOnDisputesLoaded: _listener => {}
|
|
18
|
+
},
|
|
15
19
|
"account-onboarding": {
|
|
16
20
|
setFullTermsOfServiceUrl: _termOfServiceUrl => {},
|
|
17
21
|
setRecipientTermsOfServiceUrl: _recipientTermsOfServiceUrl => {},
|
|
@@ -103,13 +107,15 @@ const ConnectElementCustomMethodConfig = {
|
|
|
103
107
|
setHideDescription: _hideDescription => {},
|
|
104
108
|
setDisabled: _disabled => {},
|
|
105
109
|
setInitialTaxCode: _initialTaxCode => {}
|
|
106
|
-
}
|
|
110
|
+
},
|
|
111
|
+
"export-tax-transactions": {}
|
|
107
112
|
};
|
|
108
113
|
|
|
109
114
|
const componentNameMapping = {
|
|
110
115
|
payments: "stripe-connect-payments",
|
|
111
116
|
payouts: "stripe-connect-payouts",
|
|
112
117
|
"payment-details": "stripe-connect-payment-details",
|
|
118
|
+
"payment-disputes": "stripe-connect-payment-disputes",
|
|
113
119
|
"account-onboarding": "stripe-connect-account-onboarding",
|
|
114
120
|
"payment-method-settings": "stripe-connect-payment-method-settings",
|
|
115
121
|
"account-management": "stripe-connect-account-management",
|
|
@@ -126,6 +132,7 @@ const componentNameMapping = {
|
|
|
126
132
|
"capital-overview": "stripe-connect-capital-overview",
|
|
127
133
|
documents: "stripe-connect-documents",
|
|
128
134
|
"product-tax-code-selector": "stripe-connect-product-tax-code-selector",
|
|
135
|
+
"export-tax-transactions": "stripe-connect-export-tax-transactions",
|
|
129
136
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
130
137
|
"tax-settings": "stripe-connect-tax-settings",
|
|
131
138
|
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
|
@@ -276,7 +283,7 @@ const createWrapper = stripeConnect => {
|
|
|
276
283
|
sdk: true,
|
|
277
284
|
sdkOptions: {
|
|
278
285
|
// This will be replaced by the npm package version when bundling
|
|
279
|
-
sdkVersion: "3.3.
|
|
286
|
+
sdkVersion: "3.3.30-preview-1"
|
|
280
287
|
}
|
|
281
288
|
})
|
|
282
289
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -16,6 +16,10 @@ const ConnectElementCustomMethodConfig = {
|
|
|
16
16
|
setPayment: _payment => {},
|
|
17
17
|
setOnClose: _listener => {}
|
|
18
18
|
},
|
|
19
|
+
"payment-disputes": {
|
|
20
|
+
setPayment: _payment => {},
|
|
21
|
+
setOnDisputesLoaded: _listener => {}
|
|
22
|
+
},
|
|
19
23
|
"account-onboarding": {
|
|
20
24
|
setFullTermsOfServiceUrl: _termOfServiceUrl => {},
|
|
21
25
|
setRecipientTermsOfServiceUrl: _recipientTermsOfServiceUrl => {},
|
|
@@ -107,13 +111,15 @@ const ConnectElementCustomMethodConfig = {
|
|
|
107
111
|
setHideDescription: _hideDescription => {},
|
|
108
112
|
setDisabled: _disabled => {},
|
|
109
113
|
setInitialTaxCode: _initialTaxCode => {}
|
|
110
|
-
}
|
|
114
|
+
},
|
|
115
|
+
"export-tax-transactions": {}
|
|
111
116
|
};
|
|
112
117
|
|
|
113
118
|
const componentNameMapping = {
|
|
114
119
|
payments: "stripe-connect-payments",
|
|
115
120
|
payouts: "stripe-connect-payouts",
|
|
116
121
|
"payment-details": "stripe-connect-payment-details",
|
|
122
|
+
"payment-disputes": "stripe-connect-payment-disputes",
|
|
117
123
|
"account-onboarding": "stripe-connect-account-onboarding",
|
|
118
124
|
"payment-method-settings": "stripe-connect-payment-method-settings",
|
|
119
125
|
"account-management": "stripe-connect-account-management",
|
|
@@ -130,6 +136,7 @@ const componentNameMapping = {
|
|
|
130
136
|
"capital-overview": "stripe-connect-capital-overview",
|
|
131
137
|
documents: "stripe-connect-documents",
|
|
132
138
|
"product-tax-code-selector": "stripe-connect-product-tax-code-selector",
|
|
139
|
+
"export-tax-transactions": "stripe-connect-export-tax-transactions",
|
|
133
140
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
134
141
|
"tax-settings": "stripe-connect-tax-settings",
|
|
135
142
|
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
|
@@ -280,7 +287,7 @@ const createWrapper = stripeConnect => {
|
|
|
280
287
|
sdk: true,
|
|
281
288
|
sdkOptions: {
|
|
282
289
|
// This will be replaced by the npm package version when bundling
|
|
283
|
-
sdkVersion: "3.3.
|
|
290
|
+
sdkVersion: "3.3.30-preview-1"
|
|
284
291
|
}
|
|
285
292
|
})
|
|
286
293
|
}));
|
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-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";
|
|
3
|
+
export type ConnectElementHTMLName = "stripe-connect-payments" | "stripe-connect-payouts" | "stripe-connect-payment-details" | "stripe-connect-payment-disputes" | "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-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";
|
|
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
|
@@ -105,6 +105,12 @@ export declare const ConnectElementCustomMethodConfig: {
|
|
|
105
105
|
setPayment: (_payment: string | undefined) => void;
|
|
106
106
|
setOnClose: (_listener: (() => void) | undefined) => void;
|
|
107
107
|
};
|
|
108
|
+
"payment-disputes": {
|
|
109
|
+
setPayment: (_payment: string | undefined) => void;
|
|
110
|
+
setOnDisputesLoaded: (_listener: (({ total }: {
|
|
111
|
+
total: number;
|
|
112
|
+
}) => void) | undefined) => void;
|
|
113
|
+
};
|
|
108
114
|
"account-onboarding": {
|
|
109
115
|
setFullTermsOfServiceUrl: (_termOfServiceUrl: string | undefined) => void;
|
|
110
116
|
setRecipientTermsOfServiceUrl: (_recipientTermsOfServiceUrl: string | undefined) => void;
|
|
@@ -205,4 +211,5 @@ export declare const ConnectElementCustomMethodConfig: {
|
|
|
205
211
|
setDisabled: (_disabled: boolean | undefined) => void;
|
|
206
212
|
setInitialTaxCode: (_initialTaxCode: string | undefined) => void;
|
|
207
213
|
};
|
|
214
|
+
"export-tax-transactions": {};
|
|
208
215
|
};
|
package/package.json
CHANGED
package/src/shared.ts
CHANGED
|
@@ -17,6 +17,7 @@ export type ConnectElementHTMLName =
|
|
|
17
17
|
| "stripe-connect-payments"
|
|
18
18
|
| "stripe-connect-payouts"
|
|
19
19
|
| "stripe-connect-payment-details"
|
|
20
|
+
| "stripe-connect-payment-disputes"
|
|
20
21
|
| "stripe-connect-account-onboarding"
|
|
21
22
|
| "stripe-connect-payment-method-settings"
|
|
22
23
|
| "stripe-connect-account-management"
|
|
@@ -33,6 +34,7 @@ export type ConnectElementHTMLName =
|
|
|
33
34
|
| "stripe-connect-capital-overview"
|
|
34
35
|
| "stripe-connect-documents"
|
|
35
36
|
| "stripe-connect-product-tax-code-selector"
|
|
37
|
+
| "stripe-connect-export-tax-transactions"
|
|
36
38
|
| "stripe-connect-tax-registrations"
|
|
37
39
|
| "stripe-connect-tax-settings"
|
|
38
40
|
| "stripe-connect-tax-threshold-monitoring"
|
|
@@ -49,6 +51,7 @@ export const componentNameMapping: Record<
|
|
|
49
51
|
payments: "stripe-connect-payments",
|
|
50
52
|
payouts: "stripe-connect-payouts",
|
|
51
53
|
"payment-details": "stripe-connect-payment-details",
|
|
54
|
+
"payment-disputes": "stripe-connect-payment-disputes",
|
|
52
55
|
"account-onboarding": "stripe-connect-account-onboarding",
|
|
53
56
|
"payment-method-settings": "stripe-connect-payment-method-settings",
|
|
54
57
|
"account-management": "stripe-connect-account-management",
|
|
@@ -67,6 +70,7 @@ export const componentNameMapping: Record<
|
|
|
67
70
|
"capital-overview": "stripe-connect-capital-overview",
|
|
68
71
|
documents: "stripe-connect-documents",
|
|
69
72
|
"product-tax-code-selector": "stripe-connect-product-tax-code-selector",
|
|
73
|
+
"export-tax-transactions": "stripe-connect-export-tax-transactions",
|
|
70
74
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
71
75
|
"tax-settings": "stripe-connect-tax-settings",
|
|
72
76
|
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
|
package/types/config.ts
CHANGED
|
@@ -215,6 +215,12 @@ export const ConnectElementCustomMethodConfig = {
|
|
|
215
215
|
setPayment: (_payment: string | undefined): void => {},
|
|
216
216
|
setOnClose: (_listener: (() => void) | undefined): void => {}
|
|
217
217
|
},
|
|
218
|
+
"payment-disputes": {
|
|
219
|
+
setPayment: (_payment: string | undefined): void => {},
|
|
220
|
+
setOnDisputesLoaded: (
|
|
221
|
+
_listener: (({ total }: { total: number }) => void) | undefined
|
|
222
|
+
): void => {}
|
|
223
|
+
},
|
|
218
224
|
"account-onboarding": {
|
|
219
225
|
setFullTermsOfServiceUrl: (
|
|
220
226
|
_termOfServiceUrl: string | undefined
|
|
@@ -365,5 +371,6 @@ export const ConnectElementCustomMethodConfig = {
|
|
|
365
371
|
setHideDescription: (_hideDescription: boolean | undefined): void => {},
|
|
366
372
|
setDisabled: (_disabled: boolean | undefined): void => {},
|
|
367
373
|
setInitialTaxCode: (_initialTaxCode: string | undefined): void => {}
|
|
368
|
-
}
|
|
374
|
+
},
|
|
375
|
+
"export-tax-transactions": {}
|
|
369
376
|
};
|
package/types/shared.d.ts
CHANGED
|
@@ -490,6 +490,7 @@ export type ConnectElementTagName =
|
|
|
490
490
|
| "payments"
|
|
491
491
|
| "payouts"
|
|
492
492
|
| "payment-details"
|
|
493
|
+
| "payment-disputes"
|
|
493
494
|
| "account-onboarding"
|
|
494
495
|
| "payment-method-settings"
|
|
495
496
|
| "account-management"
|
|
@@ -506,6 +507,7 @@ export type ConnectElementTagName =
|
|
|
506
507
|
| "capital-overview"
|
|
507
508
|
| "documents"
|
|
508
509
|
| "product-tax-code-selector"
|
|
510
|
+
| "export-tax-transactions"
|
|
509
511
|
| "tax-registrations"
|
|
510
512
|
| "tax-settings"
|
|
511
513
|
| "tax-threshold-monitoring"
|