@stripe/connect-js 3.3.41-preview-1 → 3.3.42-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/types/config.d.ts +3 -0
- package/package.json +1 -1
- package/types/config.ts +3 -0
package/dist/connect.esm.js
CHANGED
|
@@ -103,7 +103,8 @@ const ConnectElementCustomMethodConfig = {
|
|
|
103
103
|
},
|
|
104
104
|
"tax-registrations": {
|
|
105
105
|
setOnAfterTaxRegistrationAdded: _listener => {},
|
|
106
|
-
setDisplayCountries: _countries => {}
|
|
106
|
+
setDisplayCountries: _countries => {},
|
|
107
|
+
setOnAfterTaxRegistrationExpired: _listener => {}
|
|
107
108
|
},
|
|
108
109
|
"tax-threshold-monitoring": {
|
|
109
110
|
setDisplayCountries: _countries => {}
|
|
@@ -250,7 +251,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
250
251
|
element[method] = function (value) {
|
|
251
252
|
stripeConnectInstance.then(() => {
|
|
252
253
|
if (!this[`${method}InternalOnly`]) {
|
|
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.3.
|
|
254
|
+
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.42-preview-1`);
|
|
254
255
|
}
|
|
255
256
|
this[`${method}InternalOnly`](value);
|
|
256
257
|
});
|
|
@@ -304,7 +305,7 @@ const createWrapper = stripeConnect => {
|
|
|
304
305
|
sdk: true,
|
|
305
306
|
sdkOptions: {
|
|
306
307
|
// This will be replaced by the npm package version when bundling
|
|
307
|
-
sdkVersion: "3.3.
|
|
308
|
+
sdkVersion: "3.3.42-preview-1"
|
|
308
309
|
}
|
|
309
310
|
})
|
|
310
311
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -107,7 +107,8 @@ const ConnectElementCustomMethodConfig = {
|
|
|
107
107
|
},
|
|
108
108
|
"tax-registrations": {
|
|
109
109
|
setOnAfterTaxRegistrationAdded: _listener => {},
|
|
110
|
-
setDisplayCountries: _countries => {}
|
|
110
|
+
setDisplayCountries: _countries => {},
|
|
111
|
+
setOnAfterTaxRegistrationExpired: _listener => {}
|
|
111
112
|
},
|
|
112
113
|
"tax-threshold-monitoring": {
|
|
113
114
|
setDisplayCountries: _countries => {}
|
|
@@ -254,7 +255,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
254
255
|
element[method] = function (value) {
|
|
255
256
|
stripeConnectInstance.then(() => {
|
|
256
257
|
if (!this[`${method}InternalOnly`]) {
|
|
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.3.
|
|
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.42-preview-1`);
|
|
258
259
|
}
|
|
259
260
|
this[`${method}InternalOnly`](value);
|
|
260
261
|
});
|
|
@@ -308,7 +309,7 @@ const createWrapper = stripeConnect => {
|
|
|
308
309
|
sdk: true,
|
|
309
310
|
sdkOptions: {
|
|
310
311
|
// This will be replaced by the npm package version when bundling
|
|
311
|
-
sdkVersion: "3.3.
|
|
312
|
+
sdkVersion: "3.3.42-preview-1"
|
|
312
313
|
}
|
|
313
314
|
})
|
|
314
315
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -103,7 +103,8 @@ const ConnectElementCustomMethodConfig = {
|
|
|
103
103
|
},
|
|
104
104
|
"tax-registrations": {
|
|
105
105
|
setOnAfterTaxRegistrationAdded: _listener => {},
|
|
106
|
-
setDisplayCountries: _countries => {}
|
|
106
|
+
setDisplayCountries: _countries => {},
|
|
107
|
+
setOnAfterTaxRegistrationExpired: _listener => {}
|
|
107
108
|
},
|
|
108
109
|
"tax-threshold-monitoring": {
|
|
109
110
|
setDisplayCountries: _countries => {}
|
|
@@ -250,7 +251,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
250
251
|
element[method] = function (value) {
|
|
251
252
|
stripeConnectInstance.then(() => {
|
|
252
253
|
if (!this[`${method}InternalOnly`]) {
|
|
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.3.
|
|
254
|
+
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.42-preview-1`);
|
|
254
255
|
}
|
|
255
256
|
this[`${method}InternalOnly`](value);
|
|
256
257
|
});
|
|
@@ -304,7 +305,7 @@ const createWrapper = stripeConnect => {
|
|
|
304
305
|
sdk: true,
|
|
305
306
|
sdkOptions: {
|
|
306
307
|
// This will be replaced by the npm package version when bundling
|
|
307
|
-
sdkVersion: "3.3.
|
|
308
|
+
sdkVersion: "3.3.42-preview-1"
|
|
308
309
|
}
|
|
309
310
|
})
|
|
310
311
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -107,7 +107,8 @@ const ConnectElementCustomMethodConfig = {
|
|
|
107
107
|
},
|
|
108
108
|
"tax-registrations": {
|
|
109
109
|
setOnAfterTaxRegistrationAdded: _listener => {},
|
|
110
|
-
setDisplayCountries: _countries => {}
|
|
110
|
+
setDisplayCountries: _countries => {},
|
|
111
|
+
setOnAfterTaxRegistrationExpired: _listener => {}
|
|
111
112
|
},
|
|
112
113
|
"tax-threshold-monitoring": {
|
|
113
114
|
setDisplayCountries: _countries => {}
|
|
@@ -254,7 +255,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
254
255
|
element[method] = function (value) {
|
|
255
256
|
stripeConnectInstance.then(() => {
|
|
256
257
|
if (!this[`${method}InternalOnly`]) {
|
|
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.3.
|
|
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.42-preview-1`);
|
|
258
259
|
}
|
|
259
260
|
this[`${method}InternalOnly`](value);
|
|
260
261
|
});
|
|
@@ -308,7 +309,7 @@ const createWrapper = stripeConnect => {
|
|
|
308
309
|
sdk: true,
|
|
309
310
|
sdkOptions: {
|
|
310
311
|
// This will be replaced by the npm package version when bundling
|
|
311
|
-
sdkVersion: "3.3.
|
|
312
|
+
sdkVersion: "3.3.42-preview-1"
|
|
312
313
|
}
|
|
313
314
|
})
|
|
314
315
|
}));
|
package/dist/types/config.d.ts
CHANGED
|
@@ -214,6 +214,9 @@ export declare const ConnectElementCustomMethodConfig: {
|
|
|
214
214
|
id: string;
|
|
215
215
|
}) => void) | undefined) => void;
|
|
216
216
|
setDisplayCountries: (_countries: string[] | undefined) => void;
|
|
217
|
+
setOnAfterTaxRegistrationExpired: (_listener: (({ id }: {
|
|
218
|
+
id: string;
|
|
219
|
+
}) => void) | undefined) => void;
|
|
217
220
|
};
|
|
218
221
|
"tax-threshold-monitoring": {
|
|
219
222
|
setDisplayCountries: (_countries: string[] | undefined) => void;
|
package/package.json
CHANGED
package/types/config.ts
CHANGED
|
@@ -385,6 +385,9 @@ export const ConnectElementCustomMethodConfig = {
|
|
|
385
385
|
_listener: (({ id }: { id: string }) => void) | undefined
|
|
386
386
|
): void => {},
|
|
387
387
|
setDisplayCountries: (_countries: string[] | undefined): void => {},
|
|
388
|
+
setOnAfterTaxRegistrationExpired: (
|
|
389
|
+
_listener: (({ id }: { id: string }) => void) | undefined
|
|
390
|
+
): void => {},
|
|
388
391
|
},
|
|
389
392
|
"tax-threshold-monitoring": {
|
|
390
393
|
setDisplayCountries: (_countries: string[] | undefined): void => {},
|