@stripe/connect-js 3.3.44-preview-1 → 3.3.45-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.
@@ -255,7 +255,7 @@ const initStripeConnect = (stripePromise, initParams) => {
255
255
  element[method] = function (value) {
256
256
  stripeConnectInstance.then(() => {
257
257
  if (!this[`${method}InternalOnly`]) {
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.44-preview-1`);
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.45-preview-1`);
259
259
  }
260
260
  this[`${method}InternalOnly`](value);
261
261
  });
@@ -309,7 +309,7 @@ const createWrapper = stripeConnect => {
309
309
  sdk: true,
310
310
  sdkOptions: {
311
311
  // This will be replaced by the npm package version when bundling
312
- sdkVersion: "3.3.44-preview-1"
312
+ sdkVersion: "3.3.45-preview-1"
313
313
  }
314
314
  })
315
315
  }));
package/dist/connect.js CHANGED
@@ -259,7 +259,7 @@ const initStripeConnect = (stripePromise, initParams) => {
259
259
  element[method] = function (value) {
260
260
  stripeConnectInstance.then(() => {
261
261
  if (!this[`${method}InternalOnly`]) {
262
- 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.44-preview-1`);
262
+ 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.45-preview-1`);
263
263
  }
264
264
  this[`${method}InternalOnly`](value);
265
265
  });
@@ -313,7 +313,7 @@ const createWrapper = stripeConnect => {
313
313
  sdk: true,
314
314
  sdkOptions: {
315
315
  // This will be replaced by the npm package version when bundling
316
- sdkVersion: "3.3.44-preview-1"
316
+ sdkVersion: "3.3.45-preview-1"
317
317
  }
318
318
  })
319
319
  }));
package/dist/pure.esm.js CHANGED
@@ -255,7 +255,7 @@ const initStripeConnect = (stripePromise, initParams) => {
255
255
  element[method] = function (value) {
256
256
  stripeConnectInstance.then(() => {
257
257
  if (!this[`${method}InternalOnly`]) {
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.44-preview-1`);
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.45-preview-1`);
259
259
  }
260
260
  this[`${method}InternalOnly`](value);
261
261
  });
@@ -309,7 +309,7 @@ const createWrapper = stripeConnect => {
309
309
  sdk: true,
310
310
  sdkOptions: {
311
311
  // This will be replaced by the npm package version when bundling
312
- sdkVersion: "3.3.44-preview-1"
312
+ sdkVersion: "3.3.45-preview-1"
313
313
  }
314
314
  })
315
315
  }));
package/dist/pure.js CHANGED
@@ -259,7 +259,7 @@ const initStripeConnect = (stripePromise, initParams) => {
259
259
  element[method] = function (value) {
260
260
  stripeConnectInstance.then(() => {
261
261
  if (!this[`${method}InternalOnly`]) {
262
- 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.44-preview-1`);
262
+ 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.45-preview-1`);
263
263
  }
264
264
  this[`${method}InternalOnly`](value);
265
265
  });
@@ -313,7 +313,7 @@ const createWrapper = stripeConnect => {
313
313
  sdk: true,
314
314
  sdkOptions: {
315
315
  // This will be replaced by the npm package version when bundling
316
- sdkVersion: "3.3.44-preview-1"
316
+ sdkVersion: "3.3.45-preview-1"
317
317
  }
318
318
  })
319
319
  }));
@@ -94,6 +94,10 @@ export type EmbeddedErrorType =
94
94
  * Too many requests hit the API too quickly.
95
95
  */
96
96
  | "rate_limit_error"
97
+ /**
98
+ * Failure to render the component, typically caused by browser extensions or network issues
99
+ */
100
+ | "render_error"
97
101
  /**
98
102
  * API errors covering any other type of problem (e.g., a temporary problem with Stripe's servers), and are extremely uncommon.
99
103
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/connect-js",
3
- "version": "3.3.44-preview-1",
3
+ "version": "3.3.45-preview-1",
4
4
  "description": "Connect.js loading utility package",
5
5
  "main": "dist/connect.js",
6
6
  "module": "dist/connect.esm.js",
package/types/config.ts CHANGED
@@ -198,6 +198,10 @@ export type EmbeddedErrorType =
198
198
  * Too many requests hit the API too quickly.
199
199
  */
200
200
  | "rate_limit_error"
201
+ /**
202
+ * Failure to render the component, typically caused by browser extensions or network issues
203
+ */
204
+ | "render_error"
201
205
  /**
202
206
  * API errors covering any other type of problem (e.g., a temporary problem with Stripe's servers), and are extremely uncommon.
203
207
  */