@stripe/connect-js 3.3.37-preview-1 → 3.3.38-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.
@@ -301,7 +301,7 @@ const createWrapper = stripeConnect => {
301
301
  sdk: true,
302
302
  sdkOptions: {
303
303
  // This will be replaced by the npm package version when bundling
304
- sdkVersion: "3.3.37-preview-1"
304
+ sdkVersion: "3.3.38-preview-1"
305
305
  }
306
306
  })
307
307
  }));
package/dist/connect.js CHANGED
@@ -305,7 +305,7 @@ const createWrapper = stripeConnect => {
305
305
  sdk: true,
306
306
  sdkOptions: {
307
307
  // This will be replaced by the npm package version when bundling
308
- sdkVersion: "3.3.37-preview-1"
308
+ sdkVersion: "3.3.38-preview-1"
309
309
  }
310
310
  })
311
311
  }));
package/dist/pure.esm.js CHANGED
@@ -301,7 +301,7 @@ const createWrapper = stripeConnect => {
301
301
  sdk: true,
302
302
  sdkOptions: {
303
303
  // This will be replaced by the npm package version when bundling
304
- sdkVersion: "3.3.37-preview-1"
304
+ sdkVersion: "3.3.38-preview-1"
305
305
  }
306
306
  })
307
307
  }));
package/dist/pure.js CHANGED
@@ -305,7 +305,7 @@ const createWrapper = stripeConnect => {
305
305
  sdk: true,
306
306
  sdkOptions: {
307
307
  // This will be replaced by the npm package version when bundling
308
- sdkVersion: "3.3.37-preview-1"
308
+ sdkVersion: "3.3.38-preview-1"
309
309
  }
310
310
  })
311
311
  }));
@@ -214,7 +214,9 @@ export declare const ConnectElementCustomMethodConfig: {
214
214
  setDisplayCountries: (_countries: string[] | undefined) => void;
215
215
  };
216
216
  "product-tax-code-selector": {
217
- setOnTaxCodeSelect: (_listener: ((taxCode: string) => void) | undefined) => void;
217
+ setOnTaxCodeSelect: (_listener: ((taxCode: string, { analyticsName }: {
218
+ analyticsName: string;
219
+ }) => void) | undefined) => void;
218
220
  setHideDescription: (_hideDescription: boolean | undefined) => void;
219
221
  setDisabled: (_disabled: boolean | undefined) => void;
220
222
  setInitialTaxCode: (_initialTaxCode: string | undefined) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/connect-js",
3
- "version": "3.3.37-preview-1",
3
+ "version": "3.3.38-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
@@ -384,7 +384,12 @@ export const ConnectElementCustomMethodConfig = {
384
384
  },
385
385
  "product-tax-code-selector": {
386
386
  setOnTaxCodeSelect: (
387
- _listener: ((taxCode: string) => void) | undefined
387
+ _listener:
388
+ | ((
389
+ taxCode: string,
390
+ { analyticsName }: { analyticsName: string }
391
+ ) => void)
392
+ | undefined
388
393
  ): void => {},
389
394
  setHideDescription: (_hideDescription: boolean | undefined): void => {},
390
395
  setDisabled: (_disabled: boolean | undefined): void => {},