@stripe/connect-js 3.3.30 → 3.3.31
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
|
@@ -60,7 +60,8 @@ const ConnectElementCustomMethodConfig = {
|
|
|
60
60
|
},
|
|
61
61
|
"tax-registrations": {
|
|
62
62
|
setOnAfterTaxRegistrationAdded: _listener => {},
|
|
63
|
-
setDisplayCountries: _countries => {}
|
|
63
|
+
setDisplayCountries: _countries => {},
|
|
64
|
+
setOnAfterTaxRegistrationExpired: _listener => {}
|
|
64
65
|
},
|
|
65
66
|
"payout-details": {
|
|
66
67
|
setPayout: _payout => {},
|
|
@@ -184,7 +185,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
184
185
|
element[method] = function (value) {
|
|
185
186
|
stripeConnectInstance.then(() => {
|
|
186
187
|
if (!this[`${method}InternalOnly`]) {
|
|
187
|
-
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.
|
|
188
|
+
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.31`);
|
|
188
189
|
}
|
|
189
190
|
this[`${method}InternalOnly`](value);
|
|
190
191
|
});
|
|
@@ -238,7 +239,7 @@ const createWrapper = stripeConnect => {
|
|
|
238
239
|
sdk: true,
|
|
239
240
|
sdkOptions: {
|
|
240
241
|
// This will be replaced by the npm package version when bundling
|
|
241
|
-
sdkVersion: "3.3.
|
|
242
|
+
sdkVersion: "3.3.31"
|
|
242
243
|
}
|
|
243
244
|
})
|
|
244
245
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -64,7 +64,8 @@ const ConnectElementCustomMethodConfig = {
|
|
|
64
64
|
},
|
|
65
65
|
"tax-registrations": {
|
|
66
66
|
setOnAfterTaxRegistrationAdded: _listener => {},
|
|
67
|
-
setDisplayCountries: _countries => {}
|
|
67
|
+
setDisplayCountries: _countries => {},
|
|
68
|
+
setOnAfterTaxRegistrationExpired: _listener => {}
|
|
68
69
|
},
|
|
69
70
|
"payout-details": {
|
|
70
71
|
setPayout: _payout => {},
|
|
@@ -188,7 +189,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
188
189
|
element[method] = function (value) {
|
|
189
190
|
stripeConnectInstance.then(() => {
|
|
190
191
|
if (!this[`${method}InternalOnly`]) {
|
|
191
|
-
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.
|
|
192
|
+
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.31`);
|
|
192
193
|
}
|
|
193
194
|
this[`${method}InternalOnly`](value);
|
|
194
195
|
});
|
|
@@ -242,7 +243,7 @@ const createWrapper = stripeConnect => {
|
|
|
242
243
|
sdk: true,
|
|
243
244
|
sdkOptions: {
|
|
244
245
|
// This will be replaced by the npm package version when bundling
|
|
245
|
-
sdkVersion: "3.3.
|
|
246
|
+
sdkVersion: "3.3.31"
|
|
246
247
|
}
|
|
247
248
|
})
|
|
248
249
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -60,7 +60,8 @@ const ConnectElementCustomMethodConfig = {
|
|
|
60
60
|
},
|
|
61
61
|
"tax-registrations": {
|
|
62
62
|
setOnAfterTaxRegistrationAdded: _listener => {},
|
|
63
|
-
setDisplayCountries: _countries => {}
|
|
63
|
+
setDisplayCountries: _countries => {},
|
|
64
|
+
setOnAfterTaxRegistrationExpired: _listener => {}
|
|
64
65
|
},
|
|
65
66
|
"payout-details": {
|
|
66
67
|
setPayout: _payout => {},
|
|
@@ -184,7 +185,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
184
185
|
element[method] = function (value) {
|
|
185
186
|
stripeConnectInstance.then(() => {
|
|
186
187
|
if (!this[`${method}InternalOnly`]) {
|
|
187
|
-
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.
|
|
188
|
+
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.31`);
|
|
188
189
|
}
|
|
189
190
|
this[`${method}InternalOnly`](value);
|
|
190
191
|
});
|
|
@@ -238,7 +239,7 @@ const createWrapper = stripeConnect => {
|
|
|
238
239
|
sdk: true,
|
|
239
240
|
sdkOptions: {
|
|
240
241
|
// This will be replaced by the npm package version when bundling
|
|
241
|
-
sdkVersion: "3.3.
|
|
242
|
+
sdkVersion: "3.3.31"
|
|
242
243
|
}
|
|
243
244
|
})
|
|
244
245
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -64,7 +64,8 @@ const ConnectElementCustomMethodConfig = {
|
|
|
64
64
|
},
|
|
65
65
|
"tax-registrations": {
|
|
66
66
|
setOnAfterTaxRegistrationAdded: _listener => {},
|
|
67
|
-
setDisplayCountries: _countries => {}
|
|
67
|
+
setDisplayCountries: _countries => {},
|
|
68
|
+
setOnAfterTaxRegistrationExpired: _listener => {}
|
|
68
69
|
},
|
|
69
70
|
"payout-details": {
|
|
70
71
|
setPayout: _payout => {},
|
|
@@ -188,7 +189,7 @@ const initStripeConnect = (stripePromise, initParams) => {
|
|
|
188
189
|
element[method] = function (value) {
|
|
189
190
|
stripeConnectInstance.then(() => {
|
|
190
191
|
if (!this[`${method}InternalOnly`]) {
|
|
191
|
-
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.
|
|
192
|
+
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.31`);
|
|
192
193
|
}
|
|
193
194
|
this[`${method}InternalOnly`](value);
|
|
194
195
|
});
|
|
@@ -242,7 +243,7 @@ const createWrapper = stripeConnect => {
|
|
|
242
243
|
sdk: true,
|
|
243
244
|
sdkOptions: {
|
|
244
245
|
// This will be replaced by the npm package version when bundling
|
|
245
|
-
sdkVersion: "3.3.
|
|
246
|
+
sdkVersion: "3.3.31"
|
|
246
247
|
}
|
|
247
248
|
})
|
|
248
249
|
}));
|
package/dist/types/config.d.ts
CHANGED
|
@@ -157,6 +157,9 @@ export declare const ConnectElementCustomMethodConfig: {
|
|
|
157
157
|
id: string;
|
|
158
158
|
}) => void) | undefined) => void;
|
|
159
159
|
setDisplayCountries: (_countries: string[] | undefined) => void;
|
|
160
|
+
setOnAfterTaxRegistrationExpired: (_listener: (({ id }: {
|
|
161
|
+
id: string;
|
|
162
|
+
}) => void) | undefined) => void;
|
|
160
163
|
};
|
|
161
164
|
"payout-details": {
|
|
162
165
|
setPayout: (_payout: string | undefined) => void;
|
package/package.json
CHANGED
package/types/config.ts
CHANGED
|
@@ -289,6 +289,9 @@ export const ConnectElementCustomMethodConfig = {
|
|
|
289
289
|
_listener: (({ id }: { id: string }) => void) | undefined
|
|
290
290
|
): void => {},
|
|
291
291
|
setDisplayCountries: (_countries: string[] | undefined): void => {},
|
|
292
|
+
setOnAfterTaxRegistrationExpired: (
|
|
293
|
+
_listener: (({ id }: { id: string }) => void) | undefined
|
|
294
|
+
): void => {},
|
|
292
295
|
},
|
|
293
296
|
"payout-details": {
|
|
294
297
|
setPayout: (_payout: string | undefined): void => {},
|