@stripe/connect-js 3.3.37 → 3.3.38
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 -5
- package/dist/connect.js +5 -5
- package/dist/pure.esm.js +5 -5
- package/dist/pure.js +5 -5
- package/dist/types/config.d.ts +4 -2
- package/package.json +1 -1
- package/src/shared.ts +2 -2
- package/types/config.ts +4 -2
- package/types/shared.d.ts +2 -2
package/dist/connect.esm.js
CHANGED
|
@@ -67,7 +67,7 @@ const ConnectElementCustomMethodConfig = {
|
|
|
67
67
|
setPayout: _payout => {},
|
|
68
68
|
setOnClose: _listener => {}
|
|
69
69
|
},
|
|
70
|
-
|
|
70
|
+
"payout-reconciliation-report": {
|
|
71
71
|
setOnReportAvailabilityLoaded: _listener => {}
|
|
72
72
|
}
|
|
73
73
|
};
|
|
@@ -92,8 +92,8 @@ const componentNameMapping = {
|
|
|
92
92
|
documents: "stripe-connect-documents",
|
|
93
93
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
94
94
|
"tax-settings": "stripe-connect-tax-settings",
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
"balance-report": "stripe-connect-balance-report",
|
|
96
|
+
"payout-reconciliation-report": "stripe-connect-payout-reconciliation-report"
|
|
97
97
|
};
|
|
98
98
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
99
99
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -190,7 +190,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
190
190
|
element[method] = function (value) {
|
|
191
191
|
stripeConnectInstance.then(() => {
|
|
192
192
|
if (!this[`${method}InternalOnly`]) {
|
|
193
|
-
throw new Error(`Method ${method} is not available in the ${tagName} HTML element. Are you using a supported version of the "@stripe/connect-js" package? Using version: 3.3.
|
|
193
|
+
throw new Error(`Method ${method} is not available in the ${tagName} HTML element. Are you using a supported version of the "@stripe/connect-js" package? Using version: 3.3.38`);
|
|
194
194
|
}
|
|
195
195
|
this[`${method}InternalOnly`](value);
|
|
196
196
|
});
|
|
@@ -244,7 +244,7 @@ const createWrapper = stripeConnect => {
|
|
|
244
244
|
sdk: true,
|
|
245
245
|
sdkOptions: {
|
|
246
246
|
// This will be replaced by the npm package version when bundling
|
|
247
|
-
sdkVersion: "3.3.
|
|
247
|
+
sdkVersion: "3.3.38"
|
|
248
248
|
}
|
|
249
249
|
})
|
|
250
250
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -71,7 +71,7 @@ const ConnectElementCustomMethodConfig = {
|
|
|
71
71
|
setPayout: _payout => {},
|
|
72
72
|
setOnClose: _listener => {}
|
|
73
73
|
},
|
|
74
|
-
|
|
74
|
+
"payout-reconciliation-report": {
|
|
75
75
|
setOnReportAvailabilityLoaded: _listener => {}
|
|
76
76
|
}
|
|
77
77
|
};
|
|
@@ -96,8 +96,8 @@ const componentNameMapping = {
|
|
|
96
96
|
documents: "stripe-connect-documents",
|
|
97
97
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
98
98
|
"tax-settings": "stripe-connect-tax-settings",
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
"balance-report": "stripe-connect-balance-report",
|
|
100
|
+
"payout-reconciliation-report": "stripe-connect-payout-reconciliation-report"
|
|
101
101
|
};
|
|
102
102
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
103
103
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -194,7 +194,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
194
194
|
element[method] = function (value) {
|
|
195
195
|
stripeConnectInstance.then(() => {
|
|
196
196
|
if (!this[`${method}InternalOnly`]) {
|
|
197
|
-
throw new Error(`Method ${method} is not available in the ${tagName} HTML element. Are you using a supported version of the "@stripe/connect-js" package? Using version: 3.3.
|
|
197
|
+
throw new Error(`Method ${method} is not available in the ${tagName} HTML element. Are you using a supported version of the "@stripe/connect-js" package? Using version: 3.3.38`);
|
|
198
198
|
}
|
|
199
199
|
this[`${method}InternalOnly`](value);
|
|
200
200
|
});
|
|
@@ -248,7 +248,7 @@ const createWrapper = stripeConnect => {
|
|
|
248
248
|
sdk: true,
|
|
249
249
|
sdkOptions: {
|
|
250
250
|
// This will be replaced by the npm package version when bundling
|
|
251
|
-
sdkVersion: "3.3.
|
|
251
|
+
sdkVersion: "3.3.38"
|
|
252
252
|
}
|
|
253
253
|
})
|
|
254
254
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -67,7 +67,7 @@ const ConnectElementCustomMethodConfig = {
|
|
|
67
67
|
setPayout: _payout => {},
|
|
68
68
|
setOnClose: _listener => {}
|
|
69
69
|
},
|
|
70
|
-
|
|
70
|
+
"payout-reconciliation-report": {
|
|
71
71
|
setOnReportAvailabilityLoaded: _listener => {}
|
|
72
72
|
}
|
|
73
73
|
};
|
|
@@ -92,8 +92,8 @@ const componentNameMapping = {
|
|
|
92
92
|
documents: "stripe-connect-documents",
|
|
93
93
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
94
94
|
"tax-settings": "stripe-connect-tax-settings",
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
"balance-report": "stripe-connect-balance-report",
|
|
96
|
+
"payout-reconciliation-report": "stripe-connect-payout-reconciliation-report"
|
|
97
97
|
};
|
|
98
98
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
99
99
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -190,7 +190,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
190
190
|
element[method] = function (value) {
|
|
191
191
|
stripeConnectInstance.then(() => {
|
|
192
192
|
if (!this[`${method}InternalOnly`]) {
|
|
193
|
-
throw new Error(`Method ${method} is not available in the ${tagName} HTML element. Are you using a supported version of the "@stripe/connect-js" package? Using version: 3.3.
|
|
193
|
+
throw new Error(`Method ${method} is not available in the ${tagName} HTML element. Are you using a supported version of the "@stripe/connect-js" package? Using version: 3.3.38`);
|
|
194
194
|
}
|
|
195
195
|
this[`${method}InternalOnly`](value);
|
|
196
196
|
});
|
|
@@ -244,7 +244,7 @@ const createWrapper = stripeConnect => {
|
|
|
244
244
|
sdk: true,
|
|
245
245
|
sdkOptions: {
|
|
246
246
|
// This will be replaced by the npm package version when bundling
|
|
247
|
-
sdkVersion: "3.3.
|
|
247
|
+
sdkVersion: "3.3.38"
|
|
248
248
|
}
|
|
249
249
|
})
|
|
250
250
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -71,7 +71,7 @@ const ConnectElementCustomMethodConfig = {
|
|
|
71
71
|
setPayout: _payout => {},
|
|
72
72
|
setOnClose: _listener => {}
|
|
73
73
|
},
|
|
74
|
-
|
|
74
|
+
"payout-reconciliation-report": {
|
|
75
75
|
setOnReportAvailabilityLoaded: _listener => {}
|
|
76
76
|
}
|
|
77
77
|
};
|
|
@@ -96,8 +96,8 @@ const componentNameMapping = {
|
|
|
96
96
|
documents: "stripe-connect-documents",
|
|
97
97
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
98
98
|
"tax-settings": "stripe-connect-tax-settings",
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
"balance-report": "stripe-connect-balance-report",
|
|
100
|
+
"payout-reconciliation-report": "stripe-connect-payout-reconciliation-report"
|
|
101
101
|
};
|
|
102
102
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
103
103
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -194,7 +194,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
194
194
|
element[method] = function (value) {
|
|
195
195
|
stripeConnectInstance.then(() => {
|
|
196
196
|
if (!this[`${method}InternalOnly`]) {
|
|
197
|
-
throw new Error(`Method ${method} is not available in the ${tagName} HTML element. Are you using a supported version of the "@stripe/connect-js" package? Using version: 3.3.
|
|
197
|
+
throw new Error(`Method ${method} is not available in the ${tagName} HTML element. Are you using a supported version of the "@stripe/connect-js" package? Using version: 3.3.38`);
|
|
198
198
|
}
|
|
199
199
|
this[`${method}InternalOnly`](value);
|
|
200
200
|
});
|
|
@@ -248,7 +248,7 @@ const createWrapper = stripeConnect => {
|
|
|
248
248
|
sdk: true,
|
|
249
249
|
sdkOptions: {
|
|
250
250
|
// This will be replaced by the npm package version when bundling
|
|
251
|
-
sdkVersion: "3.3.
|
|
251
|
+
sdkVersion: "3.3.38"
|
|
252
252
|
}
|
|
253
253
|
})
|
|
254
254
|
}));
|
package/dist/types/config.d.ts
CHANGED
|
@@ -169,7 +169,9 @@ export declare const ConnectElementCustomMethodConfig: {
|
|
|
169
169
|
setPayout: (_payout: string | undefined) => void;
|
|
170
170
|
setOnClose: (_listener: (() => void) | undefined) => void;
|
|
171
171
|
};
|
|
172
|
-
|
|
173
|
-
setOnReportAvailabilityLoaded: (_listener: ((
|
|
172
|
+
"payout-reconciliation-report": {
|
|
173
|
+
setOnReportAvailabilityLoaded: (_listener: (({ isReportAvailable }: {
|
|
174
|
+
isReportAvailable: boolean;
|
|
175
|
+
}) => void) | undefined) => void;
|
|
174
176
|
};
|
|
175
177
|
};
|
package/package.json
CHANGED
package/src/shared.ts
CHANGED
|
@@ -60,8 +60,8 @@ export const componentNameMapping: Record<
|
|
|
60
60
|
documents: "stripe-connect-documents",
|
|
61
61
|
"tax-registrations": "stripe-connect-tax-registrations",
|
|
62
62
|
"tax-settings": "stripe-connect-tax-settings",
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
"balance-report": "stripe-connect-balance-report",
|
|
64
|
+
"payout-reconciliation-report": "stripe-connect-payout-reconciliation-report",
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
type StripeConnectInstanceExtended = StripeConnectInstance & {
|
package/types/config.ts
CHANGED
|
@@ -301,9 +301,11 @@ export const ConnectElementCustomMethodConfig = {
|
|
|
301
301
|
setPayout: (_payout: string | undefined): void => {},
|
|
302
302
|
setOnClose: (_listener: (() => void) | undefined): void => {},
|
|
303
303
|
},
|
|
304
|
-
|
|
304
|
+
"payout-reconciliation-report": {
|
|
305
305
|
setOnReportAvailabilityLoaded: (
|
|
306
|
-
_listener:
|
|
306
|
+
_listener:
|
|
307
|
+
| (({ isReportAvailable }: { isReportAvailable: boolean }) => void)
|
|
308
|
+
| undefined
|
|
307
309
|
): void => {},
|
|
308
310
|
},
|
|
309
311
|
};
|
package/types/shared.d.ts
CHANGED