@stripe/connect-js 3.4.9-preview.1 → 3.4.9-preview.2
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.
|
@@ -220,6 +220,7 @@ export declare const ConnectElementCustomMethodConfig: {
|
|
|
220
220
|
setDisableNestedCapitalFinancingApplication: (_disableNestedCapitalFinancingApplication: boolean | undefined) => void;
|
|
221
221
|
};
|
|
222
222
|
"reporting-chart": {
|
|
223
|
+
setHeight: (_height: string | undefined) => void;
|
|
223
224
|
setReportName: (_reportName: ReportName) => void;
|
|
224
225
|
setIntervalStart: (_intervalStart: Date | undefined) => void;
|
|
225
226
|
setIntervalEnd: (_intervalEnd: Date | undefined) => void;
|
package/dist/connect.esm.js
CHANGED
|
@@ -106,6 +106,7 @@ const ConnectElementCustomMethodConfig = {
|
|
|
106
106
|
setDisableNestedCapitalFinancingApplication: _disableNestedCapitalFinancingApplication => {}
|
|
107
107
|
},
|
|
108
108
|
"reporting-chart": {
|
|
109
|
+
setHeight: _height => {},
|
|
109
110
|
setReportName: _reportName => {},
|
|
110
111
|
setIntervalStart: _intervalStart => {},
|
|
111
112
|
setIntervalEnd: _intervalEnd => {},
|
|
@@ -249,7 +250,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
249
250
|
element[method] = function (value) {
|
|
250
251
|
stripeConnectInstance.then(() => {
|
|
251
252
|
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.
|
|
253
|
+
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.2`);
|
|
253
254
|
}
|
|
254
255
|
this[`${method}InternalOnly`](value);
|
|
255
256
|
});
|
|
@@ -303,7 +304,7 @@ const createWrapper = stripeConnect => {
|
|
|
303
304
|
sdk: true,
|
|
304
305
|
sdkOptions: {
|
|
305
306
|
// This will be replaced by the npm package version when bundling
|
|
306
|
-
sdkVersion: "3.4.9-preview.
|
|
307
|
+
sdkVersion: "3.4.9-preview.2"
|
|
307
308
|
}
|
|
308
309
|
})
|
|
309
310
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -110,6 +110,7 @@ const ConnectElementCustomMethodConfig = {
|
|
|
110
110
|
setDisableNestedCapitalFinancingApplication: _disableNestedCapitalFinancingApplication => {}
|
|
111
111
|
},
|
|
112
112
|
"reporting-chart": {
|
|
113
|
+
setHeight: _height => {},
|
|
113
114
|
setReportName: _reportName => {},
|
|
114
115
|
setIntervalStart: _intervalStart => {},
|
|
115
116
|
setIntervalEnd: _intervalEnd => {},
|
|
@@ -253,7 +254,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
253
254
|
element[method] = function (value) {
|
|
254
255
|
stripeConnectInstance.then(() => {
|
|
255
256
|
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.
|
|
257
|
+
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.2`);
|
|
257
258
|
}
|
|
258
259
|
this[`${method}InternalOnly`](value);
|
|
259
260
|
});
|
|
@@ -307,7 +308,7 @@ const createWrapper = stripeConnect => {
|
|
|
307
308
|
sdk: true,
|
|
308
309
|
sdkOptions: {
|
|
309
310
|
// This will be replaced by the npm package version when bundling
|
|
310
|
-
sdkVersion: "3.4.9-preview.
|
|
311
|
+
sdkVersion: "3.4.9-preview.2"
|
|
311
312
|
}
|
|
312
313
|
})
|
|
313
314
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -106,6 +106,7 @@ const ConnectElementCustomMethodConfig = {
|
|
|
106
106
|
setDisableNestedCapitalFinancingApplication: _disableNestedCapitalFinancingApplication => {}
|
|
107
107
|
},
|
|
108
108
|
"reporting-chart": {
|
|
109
|
+
setHeight: _height => {},
|
|
109
110
|
setReportName: _reportName => {},
|
|
110
111
|
setIntervalStart: _intervalStart => {},
|
|
111
112
|
setIntervalEnd: _intervalEnd => {},
|
|
@@ -249,7 +250,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
249
250
|
element[method] = function (value) {
|
|
250
251
|
stripeConnectInstance.then(() => {
|
|
251
252
|
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.
|
|
253
|
+
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.2`);
|
|
253
254
|
}
|
|
254
255
|
this[`${method}InternalOnly`](value);
|
|
255
256
|
});
|
|
@@ -303,7 +304,7 @@ const createWrapper = stripeConnect => {
|
|
|
303
304
|
sdk: true,
|
|
304
305
|
sdkOptions: {
|
|
305
306
|
// This will be replaced by the npm package version when bundling
|
|
306
|
-
sdkVersion: "3.4.9-preview.
|
|
307
|
+
sdkVersion: "3.4.9-preview.2"
|
|
307
308
|
}
|
|
308
309
|
})
|
|
309
310
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -110,6 +110,7 @@ const ConnectElementCustomMethodConfig = {
|
|
|
110
110
|
setDisableNestedCapitalFinancingApplication: _disableNestedCapitalFinancingApplication => {}
|
|
111
111
|
},
|
|
112
112
|
"reporting-chart": {
|
|
113
|
+
setHeight: _height => {},
|
|
113
114
|
setReportName: _reportName => {},
|
|
114
115
|
setIntervalStart: _intervalStart => {},
|
|
115
116
|
setIntervalEnd: _intervalEnd => {},
|
|
@@ -253,7 +254,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
253
254
|
element[method] = function (value) {
|
|
254
255
|
stripeConnectInstance.then(() => {
|
|
255
256
|
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.
|
|
257
|
+
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.2`);
|
|
257
258
|
}
|
|
258
259
|
this[`${method}InternalOnly`](value);
|
|
259
260
|
});
|
|
@@ -307,7 +308,7 @@ const createWrapper = stripeConnect => {
|
|
|
307
308
|
sdk: true,
|
|
308
309
|
sdkOptions: {
|
|
309
310
|
// This will be replaced by the npm package version when bundling
|
|
310
|
-
sdkVersion: "3.4.9-preview.
|
|
311
|
+
sdkVersion: "3.4.9-preview.2"
|
|
311
312
|
}
|
|
312
313
|
})
|
|
313
314
|
}));
|
package/package.json
CHANGED
|
@@ -460,6 +460,7 @@ export const ConnectElementCustomMethodConfig = {
|
|
|
460
460
|
): void => {},
|
|
461
461
|
},
|
|
462
462
|
"reporting-chart": {
|
|
463
|
+
setHeight: (_height: string | undefined): void => {},
|
|
463
464
|
setReportName: (_reportName: ReportName): void => {},
|
|
464
465
|
setIntervalStart: (_intervalStart: Date | undefined): void => {},
|
|
465
466
|
setIntervalEnd: (_intervalEnd: Date | undefined): void => {},
|