@stripe/connect-js 3.3.54-preview-1 → 3.3.55-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 +6 -3
- package/dist/connect.js +6 -3
- package/dist/pure.esm.js +6 -3
- package/dist/pure.js +6 -3
- package/dist/src/shared.d.ts +1 -1
- package/package.json +1 -1
- package/src/shared.ts +8 -1
- package/types/shared.d.ts +4 -1
package/dist/connect.esm.js
CHANGED
|
@@ -174,7 +174,10 @@ const componentNameMapping = {
|
|
|
174
174
|
"terminal-hardware-shop": "stripe-connect-terminal-hardware-shop",
|
|
175
175
|
"network-cost-passthrough-report": "stripe-connect-network-cost-passthrough-report",
|
|
176
176
|
"balance-report": "stripe-connect-balance-report",
|
|
177
|
-
"payout-reconciliation-report": "stripe-connect-payout-reconciliation-report"
|
|
177
|
+
"payout-reconciliation-report": "stripe-connect-payout-reconciliation-report",
|
|
178
|
+
"recipients-list": "stripe-connect-recipients-list",
|
|
179
|
+
"financial-accounts": "stripe-connect-financial-accounts",
|
|
180
|
+
"financial-accounts-transactions": "stripe-connect-financial-accounts-transactions"
|
|
178
181
|
};
|
|
179
182
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
180
183
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -271,7 +274,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
271
274
|
element[method] = function (value) {
|
|
272
275
|
stripeConnectInstance.then(() => {
|
|
273
276
|
if (!this[`${method}InternalOnly`]) {
|
|
274
|
-
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.
|
|
277
|
+
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.55-preview-1`);
|
|
275
278
|
}
|
|
276
279
|
this[`${method}InternalOnly`](value);
|
|
277
280
|
});
|
|
@@ -325,7 +328,7 @@ const createWrapper = stripeConnect => {
|
|
|
325
328
|
sdk: true,
|
|
326
329
|
sdkOptions: {
|
|
327
330
|
// This will be replaced by the npm package version when bundling
|
|
328
|
-
sdkVersion: "3.3.
|
|
331
|
+
sdkVersion: "3.3.55-preview-1"
|
|
329
332
|
}
|
|
330
333
|
})
|
|
331
334
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -178,7 +178,10 @@ const componentNameMapping = {
|
|
|
178
178
|
"terminal-hardware-shop": "stripe-connect-terminal-hardware-shop",
|
|
179
179
|
"network-cost-passthrough-report": "stripe-connect-network-cost-passthrough-report",
|
|
180
180
|
"balance-report": "stripe-connect-balance-report",
|
|
181
|
-
"payout-reconciliation-report": "stripe-connect-payout-reconciliation-report"
|
|
181
|
+
"payout-reconciliation-report": "stripe-connect-payout-reconciliation-report",
|
|
182
|
+
"recipients-list": "stripe-connect-recipients-list",
|
|
183
|
+
"financial-accounts": "stripe-connect-financial-accounts",
|
|
184
|
+
"financial-accounts-transactions": "stripe-connect-financial-accounts-transactions"
|
|
182
185
|
};
|
|
183
186
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
184
187
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -275,7 +278,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
275
278
|
element[method] = function (value) {
|
|
276
279
|
stripeConnectInstance.then(() => {
|
|
277
280
|
if (!this[`${method}InternalOnly`]) {
|
|
278
|
-
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.
|
|
281
|
+
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.55-preview-1`);
|
|
279
282
|
}
|
|
280
283
|
this[`${method}InternalOnly`](value);
|
|
281
284
|
});
|
|
@@ -329,7 +332,7 @@ const createWrapper = stripeConnect => {
|
|
|
329
332
|
sdk: true,
|
|
330
333
|
sdkOptions: {
|
|
331
334
|
// This will be replaced by the npm package version when bundling
|
|
332
|
-
sdkVersion: "3.3.
|
|
335
|
+
sdkVersion: "3.3.55-preview-1"
|
|
333
336
|
}
|
|
334
337
|
})
|
|
335
338
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -174,7 +174,10 @@ const componentNameMapping = {
|
|
|
174
174
|
"terminal-hardware-shop": "stripe-connect-terminal-hardware-shop",
|
|
175
175
|
"network-cost-passthrough-report": "stripe-connect-network-cost-passthrough-report",
|
|
176
176
|
"balance-report": "stripe-connect-balance-report",
|
|
177
|
-
"payout-reconciliation-report": "stripe-connect-payout-reconciliation-report"
|
|
177
|
+
"payout-reconciliation-report": "stripe-connect-payout-reconciliation-report",
|
|
178
|
+
"recipients-list": "stripe-connect-recipients-list",
|
|
179
|
+
"financial-accounts": "stripe-connect-financial-accounts",
|
|
180
|
+
"financial-accounts-transactions": "stripe-connect-financial-accounts-transactions"
|
|
178
181
|
};
|
|
179
182
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
180
183
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -271,7 +274,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
271
274
|
element[method] = function (value) {
|
|
272
275
|
stripeConnectInstance.then(() => {
|
|
273
276
|
if (!this[`${method}InternalOnly`]) {
|
|
274
|
-
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.
|
|
277
|
+
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.55-preview-1`);
|
|
275
278
|
}
|
|
276
279
|
this[`${method}InternalOnly`](value);
|
|
277
280
|
});
|
|
@@ -325,7 +328,7 @@ const createWrapper = stripeConnect => {
|
|
|
325
328
|
sdk: true,
|
|
326
329
|
sdkOptions: {
|
|
327
330
|
// This will be replaced by the npm package version when bundling
|
|
328
|
-
sdkVersion: "3.3.
|
|
331
|
+
sdkVersion: "3.3.55-preview-1"
|
|
329
332
|
}
|
|
330
333
|
})
|
|
331
334
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -178,7 +178,10 @@ const componentNameMapping = {
|
|
|
178
178
|
"terminal-hardware-shop": "stripe-connect-terminal-hardware-shop",
|
|
179
179
|
"network-cost-passthrough-report": "stripe-connect-network-cost-passthrough-report",
|
|
180
180
|
"balance-report": "stripe-connect-balance-report",
|
|
181
|
-
"payout-reconciliation-report": "stripe-connect-payout-reconciliation-report"
|
|
181
|
+
"payout-reconciliation-report": "stripe-connect-payout-reconciliation-report",
|
|
182
|
+
"recipients-list": "stripe-connect-recipients-list",
|
|
183
|
+
"financial-accounts": "stripe-connect-financial-accounts",
|
|
184
|
+
"financial-accounts-transactions": "stripe-connect-financial-accounts-transactions"
|
|
182
185
|
};
|
|
183
186
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
184
187
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -275,7 +278,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
275
278
|
element[method] = function (value) {
|
|
276
279
|
stripeConnectInstance.then(() => {
|
|
277
280
|
if (!this[`${method}InternalOnly`]) {
|
|
278
|
-
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.
|
|
281
|
+
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.55-preview-1`);
|
|
279
282
|
}
|
|
280
283
|
this[`${method}InternalOnly`](value);
|
|
281
284
|
});
|
|
@@ -329,7 +332,7 @@ const createWrapper = stripeConnect => {
|
|
|
329
332
|
sdk: true,
|
|
330
333
|
sdkOptions: {
|
|
331
334
|
// This will be replaced by the npm package version when bundling
|
|
332
|
-
sdkVersion: "3.3.
|
|
335
|
+
sdkVersion: "3.3.55-preview-1"
|
|
333
336
|
}
|
|
334
337
|
})
|
|
335
338
|
}));
|
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-payout-details" | "stripe-connect-app-install" | "stripe-connect-app-viewport" | "stripe-connect-reporting-chart" | "stripe-connect-check-scanning" | "stripe-connect-agentic-commerce-settings" | "stripe-connect-terminal-hardware-orders" | "stripe-connect-terminal-hardware-shop" | "stripe-connect-network-cost-passthrough-report" | "stripe-connect-balance-report" | "stripe-connect-payout-reconciliation-report";
|
|
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" | "stripe-connect-check-scanning" | "stripe-connect-agentic-commerce-settings" | "stripe-connect-terminal-hardware-orders" | "stripe-connect-terminal-hardware-shop" | "stripe-connect-network-cost-passthrough-report" | "stripe-connect-balance-report" | "stripe-connect-payout-reconciliation-report" | "stripe-connect-recipients-list" | "stripe-connect-financial-accounts" | "stripe-connect-financial-accounts-transactions";
|
|
4
4
|
export declare const componentNameMapping: Record<ConnectElementTagName, ConnectElementHTMLName>;
|
|
5
5
|
type StripeConnectInstanceExtended = StripeConnectInstance & {
|
|
6
6
|
debugInstance: () => Promise<StripeConnectInstance>;
|
package/package.json
CHANGED
package/src/shared.ts
CHANGED
|
@@ -52,7 +52,10 @@ export type ConnectElementHTMLName =
|
|
|
52
52
|
| "stripe-connect-terminal-hardware-shop"
|
|
53
53
|
| "stripe-connect-network-cost-passthrough-report"
|
|
54
54
|
| "stripe-connect-balance-report"
|
|
55
|
-
| "stripe-connect-payout-reconciliation-report"
|
|
55
|
+
| "stripe-connect-payout-reconciliation-report"
|
|
56
|
+
| "stripe-connect-recipients-list"
|
|
57
|
+
| "stripe-connect-financial-accounts"
|
|
58
|
+
| "stripe-connect-financial-accounts-transactions";
|
|
56
59
|
|
|
57
60
|
export const componentNameMapping: Record<
|
|
58
61
|
ConnectElementTagName,
|
|
@@ -100,6 +103,10 @@ export const componentNameMapping: Record<
|
|
|
100
103
|
"stripe-connect-network-cost-passthrough-report",
|
|
101
104
|
"balance-report": "stripe-connect-balance-report",
|
|
102
105
|
"payout-reconciliation-report": "stripe-connect-payout-reconciliation-report",
|
|
106
|
+
"recipients-list": "stripe-connect-recipients-list",
|
|
107
|
+
"financial-accounts": "stripe-connect-financial-accounts",
|
|
108
|
+
"financial-accounts-transactions":
|
|
109
|
+
"stripe-connect-financial-accounts-transactions",
|
|
103
110
|
};
|
|
104
111
|
|
|
105
112
|
type StripeConnectInstanceExtended = StripeConnectInstance & {
|
package/types/shared.d.ts
CHANGED
|
@@ -682,4 +682,7 @@ export type ConnectElementTagName =
|
|
|
682
682
|
| "terminal-hardware-shop"
|
|
683
683
|
| "network-cost-passthrough-report"
|
|
684
684
|
| "balance-report"
|
|
685
|
-
| "payout-reconciliation-report"
|
|
685
|
+
| "payout-reconciliation-report"
|
|
686
|
+
| "recipients-list"
|
|
687
|
+
| "financial-accounts"
|
|
688
|
+
| "financial-accounts-transactions";
|