@stripe/connect-js 3.4.9-preview.0 → 3.4.9-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.
|
@@ -204,7 +204,7 @@ export declare const ConnectElementCustomMethodConfig: {
|
|
|
204
204
|
setResumeInitiatedApplication: (_resumeInitiatedApplication: boolean | undefined) => void;
|
|
205
205
|
};
|
|
206
206
|
"capital-financing-manual-payment": {
|
|
207
|
-
setPresentationMode: (_presentationMode: CapitalFinancingManualPaymentPresentationMode) => void;
|
|
207
|
+
setPresentationMode: (_presentationMode: CapitalFinancingManualPaymentPresentationMode | undefined) => void;
|
|
208
208
|
setOnManualPaymentSubmitted: (_listener: (() => void) | undefined) => void;
|
|
209
209
|
setOnOverlayClosed: (_listener: (() => void) | undefined) => void;
|
|
210
210
|
};
|
package/dist/connect.esm.js
CHANGED
|
@@ -249,7 +249,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
249
249
|
element[method] = function (value) {
|
|
250
250
|
stripeConnectInstance.then(() => {
|
|
251
251
|
if (!this[`${method}InternalOnly`]) {
|
|
252
|
-
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.4.9-preview.
|
|
252
|
+
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.4.9-preview.1`);
|
|
253
253
|
}
|
|
254
254
|
this[`${method}InternalOnly`](value);
|
|
255
255
|
});
|
|
@@ -303,7 +303,7 @@ const createWrapper = stripeConnect => {
|
|
|
303
303
|
sdk: true,
|
|
304
304
|
sdkOptions: {
|
|
305
305
|
// This will be replaced by the npm package version when bundling
|
|
306
|
-
sdkVersion: "3.4.9-preview.
|
|
306
|
+
sdkVersion: "3.4.9-preview.1"
|
|
307
307
|
}
|
|
308
308
|
})
|
|
309
309
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -253,7 +253,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
253
253
|
element[method] = function (value) {
|
|
254
254
|
stripeConnectInstance.then(() => {
|
|
255
255
|
if (!this[`${method}InternalOnly`]) {
|
|
256
|
-
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.4.9-preview.
|
|
256
|
+
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.4.9-preview.1`);
|
|
257
257
|
}
|
|
258
258
|
this[`${method}InternalOnly`](value);
|
|
259
259
|
});
|
|
@@ -307,7 +307,7 @@ const createWrapper = stripeConnect => {
|
|
|
307
307
|
sdk: true,
|
|
308
308
|
sdkOptions: {
|
|
309
309
|
// This will be replaced by the npm package version when bundling
|
|
310
|
-
sdkVersion: "3.4.9-preview.
|
|
310
|
+
sdkVersion: "3.4.9-preview.1"
|
|
311
311
|
}
|
|
312
312
|
})
|
|
313
313
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -249,7 +249,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
249
249
|
element[method] = function (value) {
|
|
250
250
|
stripeConnectInstance.then(() => {
|
|
251
251
|
if (!this[`${method}InternalOnly`]) {
|
|
252
|
-
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.4.9-preview.
|
|
252
|
+
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.4.9-preview.1`);
|
|
253
253
|
}
|
|
254
254
|
this[`${method}InternalOnly`](value);
|
|
255
255
|
});
|
|
@@ -303,7 +303,7 @@ const createWrapper = stripeConnect => {
|
|
|
303
303
|
sdk: true,
|
|
304
304
|
sdkOptions: {
|
|
305
305
|
// This will be replaced by the npm package version when bundling
|
|
306
|
-
sdkVersion: "3.4.9-preview.
|
|
306
|
+
sdkVersion: "3.4.9-preview.1"
|
|
307
307
|
}
|
|
308
308
|
})
|
|
309
309
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -253,7 +253,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
253
253
|
element[method] = function (value) {
|
|
254
254
|
stripeConnectInstance.then(() => {
|
|
255
255
|
if (!this[`${method}InternalOnly`]) {
|
|
256
|
-
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.4.9-preview.
|
|
256
|
+
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.4.9-preview.1`);
|
|
257
257
|
}
|
|
258
258
|
this[`${method}InternalOnly`](value);
|
|
259
259
|
});
|
|
@@ -307,7 +307,7 @@ const createWrapper = stripeConnect => {
|
|
|
307
307
|
sdk: true,
|
|
308
308
|
sdkOptions: {
|
|
309
309
|
// This will be replaced by the npm package version when bundling
|
|
310
|
-
sdkVersion: "3.4.9-preview.
|
|
310
|
+
sdkVersion: "3.4.9-preview.1"
|
|
311
311
|
}
|
|
312
312
|
})
|
|
313
313
|
}));
|
package/package.json
CHANGED
|
@@ -420,7 +420,9 @@ export const ConnectElementCustomMethodConfig = {
|
|
|
420
420
|
},
|
|
421
421
|
"capital-financing-manual-payment": {
|
|
422
422
|
setPresentationMode: (
|
|
423
|
-
_presentationMode:
|
|
423
|
+
_presentationMode:
|
|
424
|
+
| CapitalFinancingManualPaymentPresentationMode
|
|
425
|
+
| undefined
|
|
424
426
|
): void => {},
|
|
425
427
|
setOnManualPaymentSubmitted: (
|
|
426
428
|
_listener: (() => void) | undefined
|