@stripe/connect-js 3.3.36 → 3.3.37

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.
@@ -68,7 +68,7 @@ const ConnectElementCustomMethodConfig = {
68
68
  setOnClose: _listener => {}
69
69
  },
70
70
  payoutReconciliationReport: {
71
- setOnNotAvailable: _listener => {}
71
+ setOnReportAvailabilityLoaded: _listener => {}
72
72
  }
73
73
  };
74
74
 
@@ -190,7 +190,7 @@ const initStripeConnect = (stripePromise, initParams) => {
190
190
  element[method] = function (value) {
191
191
  stripeConnectInstance.then(() => {
192
192
  if (!this[`${method}InternalOnly`]) {
193
- 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.36`);
193
+ 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.37`);
194
194
  }
195
195
  this[`${method}InternalOnly`](value);
196
196
  });
@@ -244,7 +244,7 @@ const createWrapper = stripeConnect => {
244
244
  sdk: true,
245
245
  sdkOptions: {
246
246
  // This will be replaced by the npm package version when bundling
247
- sdkVersion: "3.3.36"
247
+ sdkVersion: "3.3.37"
248
248
  }
249
249
  })
250
250
  }));
package/dist/connect.js CHANGED
@@ -72,7 +72,7 @@ const ConnectElementCustomMethodConfig = {
72
72
  setOnClose: _listener => {}
73
73
  },
74
74
  payoutReconciliationReport: {
75
- setOnNotAvailable: _listener => {}
75
+ setOnReportAvailabilityLoaded: _listener => {}
76
76
  }
77
77
  };
78
78
 
@@ -194,7 +194,7 @@ const initStripeConnect = (stripePromise, initParams) => {
194
194
  element[method] = function (value) {
195
195
  stripeConnectInstance.then(() => {
196
196
  if (!this[`${method}InternalOnly`]) {
197
- 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.36`);
197
+ 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.37`);
198
198
  }
199
199
  this[`${method}InternalOnly`](value);
200
200
  });
@@ -248,7 +248,7 @@ const createWrapper = stripeConnect => {
248
248
  sdk: true,
249
249
  sdkOptions: {
250
250
  // This will be replaced by the npm package version when bundling
251
- sdkVersion: "3.3.36"
251
+ sdkVersion: "3.3.37"
252
252
  }
253
253
  })
254
254
  }));
package/dist/pure.esm.js CHANGED
@@ -68,7 +68,7 @@ const ConnectElementCustomMethodConfig = {
68
68
  setOnClose: _listener => {}
69
69
  },
70
70
  payoutReconciliationReport: {
71
- setOnNotAvailable: _listener => {}
71
+ setOnReportAvailabilityLoaded: _listener => {}
72
72
  }
73
73
  };
74
74
 
@@ -190,7 +190,7 @@ const initStripeConnect = (stripePromise, initParams) => {
190
190
  element[method] = function (value) {
191
191
  stripeConnectInstance.then(() => {
192
192
  if (!this[`${method}InternalOnly`]) {
193
- 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.36`);
193
+ 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.37`);
194
194
  }
195
195
  this[`${method}InternalOnly`](value);
196
196
  });
@@ -244,7 +244,7 @@ const createWrapper = stripeConnect => {
244
244
  sdk: true,
245
245
  sdkOptions: {
246
246
  // This will be replaced by the npm package version when bundling
247
- sdkVersion: "3.3.36"
247
+ sdkVersion: "3.3.37"
248
248
  }
249
249
  })
250
250
  }));
package/dist/pure.js CHANGED
@@ -72,7 +72,7 @@ const ConnectElementCustomMethodConfig = {
72
72
  setOnClose: _listener => {}
73
73
  },
74
74
  payoutReconciliationReport: {
75
- setOnNotAvailable: _listener => {}
75
+ setOnReportAvailabilityLoaded: _listener => {}
76
76
  }
77
77
  };
78
78
 
@@ -194,7 +194,7 @@ const initStripeConnect = (stripePromise, initParams) => {
194
194
  element[method] = function (value) {
195
195
  stripeConnectInstance.then(() => {
196
196
  if (!this[`${method}InternalOnly`]) {
197
- 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.36`);
197
+ 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.37`);
198
198
  }
199
199
  this[`${method}InternalOnly`](value);
200
200
  });
@@ -248,7 +248,7 @@ const createWrapper = stripeConnect => {
248
248
  sdk: true,
249
249
  sdkOptions: {
250
250
  // This will be replaced by the npm package version when bundling
251
- sdkVersion: "3.3.36"
251
+ sdkVersion: "3.3.37"
252
252
  }
253
253
  })
254
254
  }));
@@ -170,6 +170,6 @@ export declare const ConnectElementCustomMethodConfig: {
170
170
  setOnClose: (_listener: (() => void) | undefined) => void;
171
171
  };
172
172
  payoutReconciliationReport: {
173
- setOnNotAvailable: (_listener: (() => void) | undefined) => void;
173
+ setOnReportAvailabilityLoaded: (_listener: (() => void) | undefined) => void;
174
174
  };
175
175
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/connect-js",
3
- "version": "3.3.36",
3
+ "version": "3.3.37",
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
@@ -302,6 +302,8 @@ export const ConnectElementCustomMethodConfig = {
302
302
  setOnClose: (_listener: (() => void) | undefined): void => {},
303
303
  },
304
304
  payoutReconciliationReport: {
305
- setOnNotAvailable: (_listener: (() => void) | undefined): void => {},
305
+ setOnReportAvailabilityLoaded: (
306
+ _listener: (() => void) | undefined
307
+ ): void => {},
306
308
  },
307
309
  };