@stripe/connect-js 3.3.48-preview-1 → 3.3.50-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 +2 -2
- package/dist/connect.js +2 -2
- package/dist/pure.esm.js +2 -2
- package/dist/pure.js +2 -2
- package/dist/types/config.d.ts +2 -2
- package/package.json +1 -1
- package/types/config.ts +1 -1
package/dist/connect.esm.js
CHANGED
|
@@ -265,7 +265,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
265
265
|
element[method] = function (value) {
|
|
266
266
|
stripeConnectInstance.then(() => {
|
|
267
267
|
if (!this[`${method}InternalOnly`]) {
|
|
268
|
-
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.
|
|
268
|
+
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.50-preview-1`);
|
|
269
269
|
}
|
|
270
270
|
this[`${method}InternalOnly`](value);
|
|
271
271
|
});
|
|
@@ -319,7 +319,7 @@ const createWrapper = stripeConnect => {
|
|
|
319
319
|
sdk: true,
|
|
320
320
|
sdkOptions: {
|
|
321
321
|
// This will be replaced by the npm package version when bundling
|
|
322
|
-
sdkVersion: "3.3.
|
|
322
|
+
sdkVersion: "3.3.50-preview-1"
|
|
323
323
|
}
|
|
324
324
|
})
|
|
325
325
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -269,7 +269,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
269
269
|
element[method] = function (value) {
|
|
270
270
|
stripeConnectInstance.then(() => {
|
|
271
271
|
if (!this[`${method}InternalOnly`]) {
|
|
272
|
-
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.
|
|
272
|
+
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.50-preview-1`);
|
|
273
273
|
}
|
|
274
274
|
this[`${method}InternalOnly`](value);
|
|
275
275
|
});
|
|
@@ -323,7 +323,7 @@ const createWrapper = stripeConnect => {
|
|
|
323
323
|
sdk: true,
|
|
324
324
|
sdkOptions: {
|
|
325
325
|
// This will be replaced by the npm package version when bundling
|
|
326
|
-
sdkVersion: "3.3.
|
|
326
|
+
sdkVersion: "3.3.50-preview-1"
|
|
327
327
|
}
|
|
328
328
|
})
|
|
329
329
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -265,7 +265,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
265
265
|
element[method] = function (value) {
|
|
266
266
|
stripeConnectInstance.then(() => {
|
|
267
267
|
if (!this[`${method}InternalOnly`]) {
|
|
268
|
-
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.
|
|
268
|
+
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.50-preview-1`);
|
|
269
269
|
}
|
|
270
270
|
this[`${method}InternalOnly`](value);
|
|
271
271
|
});
|
|
@@ -319,7 +319,7 @@ const createWrapper = stripeConnect => {
|
|
|
319
319
|
sdk: true,
|
|
320
320
|
sdkOptions: {
|
|
321
321
|
// This will be replaced by the npm package version when bundling
|
|
322
|
-
sdkVersion: "3.3.
|
|
322
|
+
sdkVersion: "3.3.50-preview-1"
|
|
323
323
|
}
|
|
324
324
|
})
|
|
325
325
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -269,7 +269,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
269
269
|
element[method] = function (value) {
|
|
270
270
|
stripeConnectInstance.then(() => {
|
|
271
271
|
if (!this[`${method}InternalOnly`]) {
|
|
272
|
-
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.
|
|
272
|
+
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.50-preview-1`);
|
|
273
273
|
}
|
|
274
274
|
this[`${method}InternalOnly`](value);
|
|
275
275
|
});
|
|
@@ -323,7 +323,7 @@ const createWrapper = stripeConnect => {
|
|
|
323
323
|
sdk: true,
|
|
324
324
|
sdkOptions: {
|
|
325
325
|
// This will be replaced by the npm package version when bundling
|
|
326
|
-
sdkVersion: "3.3.
|
|
326
|
+
sdkVersion: "3.3.50-preview-1"
|
|
327
327
|
}
|
|
328
328
|
})
|
|
329
329
|
}));
|
package/dist/types/config.d.ts
CHANGED
|
@@ -244,8 +244,8 @@ export declare const ConnectElementCustomMethodConfig: {
|
|
|
244
244
|
}) => Promise<void>) => void;
|
|
245
245
|
};
|
|
246
246
|
"agentic-commerce-settings": {
|
|
247
|
-
setOnAgreementUpdated: (_listener: (({
|
|
248
|
-
|
|
247
|
+
setOnAgreementUpdated: (_listener: (({ agreementId }: {
|
|
248
|
+
agreementId: string;
|
|
249
249
|
}) => void) | undefined) => void;
|
|
250
250
|
};
|
|
251
251
|
"terminal-hardware-shop": {
|
package/package.json
CHANGED
package/types/config.ts
CHANGED
|
@@ -426,7 +426,7 @@ export const ConnectElementCustomMethodConfig = {
|
|
|
426
426
|
"agentic-commerce-settings": {
|
|
427
427
|
setOnAgreementUpdated: (
|
|
428
428
|
_listener:
|
|
429
|
-
| (({
|
|
429
|
+
| (({ agreementId }: { agreementId: string }) => void)
|
|
430
430
|
| undefined
|
|
431
431
|
): void => {},
|
|
432
432
|
},
|