@stripe/connect-js 3.3.45-preview-1 → 3.3.46-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 +4 -3
- package/dist/connect.js +4 -3
- package/dist/pure.esm.js +4 -3
- package/dist/pure.js +4 -3
- package/dist/src/shared.d.ts +1 -1
- package/package.json +1 -1
- package/src/shared.ts +3 -1
- package/types/shared.d.ts +2 -1
package/dist/connect.esm.js
CHANGED
|
@@ -158,7 +158,8 @@ const componentNameMapping = {
|
|
|
158
158
|
"app-install": "stripe-connect-app-install",
|
|
159
159
|
"app-viewport": "stripe-connect-app-viewport",
|
|
160
160
|
"reporting-chart": "stripe-connect-reporting-chart",
|
|
161
|
-
"check-scanning": "stripe-connect-check-scanning"
|
|
161
|
+
"check-scanning": "stripe-connect-check-scanning",
|
|
162
|
+
"agentic-commerce-settings": "stripe-connect-agentic-commerce-settings"
|
|
162
163
|
};
|
|
163
164
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
164
165
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -255,7 +256,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
255
256
|
element[method] = function (value) {
|
|
256
257
|
stripeConnectInstance.then(() => {
|
|
257
258
|
if (!this[`${method}InternalOnly`]) {
|
|
258
|
-
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.
|
|
259
|
+
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.46-preview-1`);
|
|
259
260
|
}
|
|
260
261
|
this[`${method}InternalOnly`](value);
|
|
261
262
|
});
|
|
@@ -309,7 +310,7 @@ const createWrapper = stripeConnect => {
|
|
|
309
310
|
sdk: true,
|
|
310
311
|
sdkOptions: {
|
|
311
312
|
// This will be replaced by the npm package version when bundling
|
|
312
|
-
sdkVersion: "3.3.
|
|
313
|
+
sdkVersion: "3.3.46-preview-1"
|
|
313
314
|
}
|
|
314
315
|
})
|
|
315
316
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -162,7 +162,8 @@ const componentNameMapping = {
|
|
|
162
162
|
"app-install": "stripe-connect-app-install",
|
|
163
163
|
"app-viewport": "stripe-connect-app-viewport",
|
|
164
164
|
"reporting-chart": "stripe-connect-reporting-chart",
|
|
165
|
-
"check-scanning": "stripe-connect-check-scanning"
|
|
165
|
+
"check-scanning": "stripe-connect-check-scanning",
|
|
166
|
+
"agentic-commerce-settings": "stripe-connect-agentic-commerce-settings"
|
|
166
167
|
};
|
|
167
168
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
168
169
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -259,7 +260,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
259
260
|
element[method] = function (value) {
|
|
260
261
|
stripeConnectInstance.then(() => {
|
|
261
262
|
if (!this[`${method}InternalOnly`]) {
|
|
262
|
-
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.
|
|
263
|
+
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.46-preview-1`);
|
|
263
264
|
}
|
|
264
265
|
this[`${method}InternalOnly`](value);
|
|
265
266
|
});
|
|
@@ -313,7 +314,7 @@ const createWrapper = stripeConnect => {
|
|
|
313
314
|
sdk: true,
|
|
314
315
|
sdkOptions: {
|
|
315
316
|
// This will be replaced by the npm package version when bundling
|
|
316
|
-
sdkVersion: "3.3.
|
|
317
|
+
sdkVersion: "3.3.46-preview-1"
|
|
317
318
|
}
|
|
318
319
|
})
|
|
319
320
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -158,7 +158,8 @@ const componentNameMapping = {
|
|
|
158
158
|
"app-install": "stripe-connect-app-install",
|
|
159
159
|
"app-viewport": "stripe-connect-app-viewport",
|
|
160
160
|
"reporting-chart": "stripe-connect-reporting-chart",
|
|
161
|
-
"check-scanning": "stripe-connect-check-scanning"
|
|
161
|
+
"check-scanning": "stripe-connect-check-scanning",
|
|
162
|
+
"agentic-commerce-settings": "stripe-connect-agentic-commerce-settings"
|
|
162
163
|
};
|
|
163
164
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
164
165
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -255,7 +256,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
255
256
|
element[method] = function (value) {
|
|
256
257
|
stripeConnectInstance.then(() => {
|
|
257
258
|
if (!this[`${method}InternalOnly`]) {
|
|
258
|
-
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.
|
|
259
|
+
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.46-preview-1`);
|
|
259
260
|
}
|
|
260
261
|
this[`${method}InternalOnly`](value);
|
|
261
262
|
});
|
|
@@ -309,7 +310,7 @@ const createWrapper = stripeConnect => {
|
|
|
309
310
|
sdk: true,
|
|
310
311
|
sdkOptions: {
|
|
311
312
|
// This will be replaced by the npm package version when bundling
|
|
312
|
-
sdkVersion: "3.3.
|
|
313
|
+
sdkVersion: "3.3.46-preview-1"
|
|
313
314
|
}
|
|
314
315
|
})
|
|
315
316
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -162,7 +162,8 @@ const componentNameMapping = {
|
|
|
162
162
|
"app-install": "stripe-connect-app-install",
|
|
163
163
|
"app-viewport": "stripe-connect-app-viewport",
|
|
164
164
|
"reporting-chart": "stripe-connect-reporting-chart",
|
|
165
|
-
"check-scanning": "stripe-connect-check-scanning"
|
|
165
|
+
"check-scanning": "stripe-connect-check-scanning",
|
|
166
|
+
"agentic-commerce-settings": "stripe-connect-agentic-commerce-settings"
|
|
166
167
|
};
|
|
167
168
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
168
169
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -259,7 +260,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
259
260
|
element[method] = function (value) {
|
|
260
261
|
stripeConnectInstance.then(() => {
|
|
261
262
|
if (!this[`${method}InternalOnly`]) {
|
|
262
|
-
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.
|
|
263
|
+
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.46-preview-1`);
|
|
263
264
|
}
|
|
264
265
|
this[`${method}InternalOnly`](value);
|
|
265
266
|
});
|
|
@@ -313,7 +314,7 @@ const createWrapper = stripeConnect => {
|
|
|
313
314
|
sdk: true,
|
|
314
315
|
sdkOptions: {
|
|
315
316
|
// This will be replaced by the npm package version when bundling
|
|
316
|
-
sdkVersion: "3.3.
|
|
317
|
+
sdkVersion: "3.3.46-preview-1"
|
|
317
318
|
}
|
|
318
319
|
})
|
|
319
320
|
}));
|
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";
|
|
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";
|
|
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
|
@@ -46,7 +46,8 @@ export type ConnectElementHTMLName =
|
|
|
46
46
|
| "stripe-connect-app-install"
|
|
47
47
|
| "stripe-connect-app-viewport"
|
|
48
48
|
| "stripe-connect-reporting-chart"
|
|
49
|
-
| "stripe-connect-check-scanning"
|
|
49
|
+
| "stripe-connect-check-scanning"
|
|
50
|
+
| "stripe-connect-agentic-commerce-settings";
|
|
50
51
|
|
|
51
52
|
export const componentNameMapping: Record<
|
|
52
53
|
ConnectElementTagName,
|
|
@@ -87,6 +88,7 @@ export const componentNameMapping: Record<
|
|
|
87
88
|
"app-viewport": "stripe-connect-app-viewport",
|
|
88
89
|
"reporting-chart": "stripe-connect-reporting-chart",
|
|
89
90
|
"check-scanning": "stripe-connect-check-scanning",
|
|
91
|
+
"agentic-commerce-settings": "stripe-connect-agentic-commerce-settings",
|
|
90
92
|
};
|
|
91
93
|
|
|
92
94
|
type StripeConnectInstanceExtended = StripeConnectInstance & {
|
package/types/shared.d.ts
CHANGED