@stripe/connect-js 3.3.27-preview-1 → 3.3.29-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.
@@ -97,7 +97,14 @@ const ConnectElementCustomMethodConfig = {
97
97
  },
98
98
  "tax-threshold-monitoring": {
99
99
  setDisplayCountries: _countries => {}
100
- }
100
+ },
101
+ "product-tax-code-selector": {
102
+ setOnTaxCodeSelect: _listener => {},
103
+ setHideDescription: _hideDescription => {},
104
+ setDisabled: _disabled => {},
105
+ setInitialTaxCode: _initialTaxCode => {}
106
+ },
107
+ "export-tax-transactions": {}
101
108
  };
102
109
 
103
110
  const componentNameMapping = {
@@ -119,6 +126,8 @@ const componentNameMapping = {
119
126
  "capital-financing-promotion": "stripe-connect-capital-financing-promotion",
120
127
  "capital-overview": "stripe-connect-capital-overview",
121
128
  documents: "stripe-connect-documents",
129
+ "product-tax-code-selector": "stripe-connect-product-tax-code-selector",
130
+ "export-tax-transactions": "stripe-connect-export-tax-transactions",
122
131
  "tax-registrations": "stripe-connect-tax-registrations",
123
132
  "tax-settings": "stripe-connect-tax-settings",
124
133
  "tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
@@ -269,7 +278,7 @@ const createWrapper = stripeConnect => {
269
278
  sdk: true,
270
279
  sdkOptions: {
271
280
  // This will be replaced by the npm package version when bundling
272
- sdkVersion: "3.3.27-preview-1"
281
+ sdkVersion: "3.3.29-preview-1"
273
282
  }
274
283
  })
275
284
  }));
package/dist/connect.js CHANGED
@@ -101,7 +101,14 @@ const ConnectElementCustomMethodConfig = {
101
101
  },
102
102
  "tax-threshold-monitoring": {
103
103
  setDisplayCountries: _countries => {}
104
- }
104
+ },
105
+ "product-tax-code-selector": {
106
+ setOnTaxCodeSelect: _listener => {},
107
+ setHideDescription: _hideDescription => {},
108
+ setDisabled: _disabled => {},
109
+ setInitialTaxCode: _initialTaxCode => {}
110
+ },
111
+ "export-tax-transactions": {}
105
112
  };
106
113
 
107
114
  const componentNameMapping = {
@@ -123,6 +130,8 @@ const componentNameMapping = {
123
130
  "capital-financing-promotion": "stripe-connect-capital-financing-promotion",
124
131
  "capital-overview": "stripe-connect-capital-overview",
125
132
  documents: "stripe-connect-documents",
133
+ "product-tax-code-selector": "stripe-connect-product-tax-code-selector",
134
+ "export-tax-transactions": "stripe-connect-export-tax-transactions",
126
135
  "tax-registrations": "stripe-connect-tax-registrations",
127
136
  "tax-settings": "stripe-connect-tax-settings",
128
137
  "tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
@@ -273,7 +282,7 @@ const createWrapper = stripeConnect => {
273
282
  sdk: true,
274
283
  sdkOptions: {
275
284
  // This will be replaced by the npm package version when bundling
276
- sdkVersion: "3.3.27-preview-1"
285
+ sdkVersion: "3.3.29-preview-1"
277
286
  }
278
287
  })
279
288
  }));
package/dist/pure.esm.js CHANGED
@@ -97,7 +97,14 @@ const ConnectElementCustomMethodConfig = {
97
97
  },
98
98
  "tax-threshold-monitoring": {
99
99
  setDisplayCountries: _countries => {}
100
- }
100
+ },
101
+ "product-tax-code-selector": {
102
+ setOnTaxCodeSelect: _listener => {},
103
+ setHideDescription: _hideDescription => {},
104
+ setDisabled: _disabled => {},
105
+ setInitialTaxCode: _initialTaxCode => {}
106
+ },
107
+ "export-tax-transactions": {}
101
108
  };
102
109
 
103
110
  const componentNameMapping = {
@@ -119,6 +126,8 @@ const componentNameMapping = {
119
126
  "capital-financing-promotion": "stripe-connect-capital-financing-promotion",
120
127
  "capital-overview": "stripe-connect-capital-overview",
121
128
  documents: "stripe-connect-documents",
129
+ "product-tax-code-selector": "stripe-connect-product-tax-code-selector",
130
+ "export-tax-transactions": "stripe-connect-export-tax-transactions",
122
131
  "tax-registrations": "stripe-connect-tax-registrations",
123
132
  "tax-settings": "stripe-connect-tax-settings",
124
133
  "tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
@@ -269,7 +278,7 @@ const createWrapper = stripeConnect => {
269
278
  sdk: true,
270
279
  sdkOptions: {
271
280
  // This will be replaced by the npm package version when bundling
272
- sdkVersion: "3.3.27-preview-1"
281
+ sdkVersion: "3.3.29-preview-1"
273
282
  }
274
283
  })
275
284
  }));
package/dist/pure.js CHANGED
@@ -101,7 +101,14 @@ const ConnectElementCustomMethodConfig = {
101
101
  },
102
102
  "tax-threshold-monitoring": {
103
103
  setDisplayCountries: _countries => {}
104
- }
104
+ },
105
+ "product-tax-code-selector": {
106
+ setOnTaxCodeSelect: _listener => {},
107
+ setHideDescription: _hideDescription => {},
108
+ setDisabled: _disabled => {},
109
+ setInitialTaxCode: _initialTaxCode => {}
110
+ },
111
+ "export-tax-transactions": {}
105
112
  };
106
113
 
107
114
  const componentNameMapping = {
@@ -123,6 +130,8 @@ const componentNameMapping = {
123
130
  "capital-financing-promotion": "stripe-connect-capital-financing-promotion",
124
131
  "capital-overview": "stripe-connect-capital-overview",
125
132
  documents: "stripe-connect-documents",
133
+ "product-tax-code-selector": "stripe-connect-product-tax-code-selector",
134
+ "export-tax-transactions": "stripe-connect-export-tax-transactions",
126
135
  "tax-registrations": "stripe-connect-tax-registrations",
127
136
  "tax-settings": "stripe-connect-tax-settings",
128
137
  "tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
@@ -273,7 +282,7 @@ const createWrapper = stripeConnect => {
273
282
  sdk: true,
274
283
  sdkOptions: {
275
284
  // This will be replaced by the npm package version when bundling
276
- sdkVersion: "3.3.27-preview-1"
285
+ sdkVersion: "3.3.29-preview-1"
277
286
  }
278
287
  })
279
288
  }));
@@ -1,6 +1,6 @@
1
1
  import { IStripeConnectInitParams, StripeConnectInstance, ConnectElementTagName } from "../types";
2
2
  export type LoadConnectAndInitialize = (initParams: IStripeConnectInitParams) => StripeConnectInstance;
3
- export type ConnectElementHTMLName = "stripe-connect-payments" | "stripe-connect-payouts" | "stripe-connect-payment-details" | "stripe-connect-account-onboarding" | "stripe-connect-payment-method-settings" | "stripe-connect-account-management" | "stripe-connect-notification-banner" | "stripe-connect-instant-payouts" | "stripe-connect-issuing-card" | "stripe-connect-issuing-cards-list" | "stripe-connect-financial-account" | "stripe-connect-financial-account-transactions" | "stripe-connect-recipients" | "stripe-connect-capital-financing" | "stripe-connect-capital-financing-application" | "stripe-connect-capital-financing-promotion" | "stripe-connect-capital-overview" | "stripe-connect-documents" | "stripe-connect-tax-registrations" | "stripe-connect-tax-settings" | "stripe-connect-tax-threshold-monitoring" | "stripe-connect-balances" | "stripe-connect-payouts-list" | "stripe-connect-app-install" | "stripe-connect-app-viewport" | "stripe-connect-reporting-chart";
3
+ export type ConnectElementHTMLName = "stripe-connect-payments" | "stripe-connect-payouts" | "stripe-connect-payment-details" | "stripe-connect-account-onboarding" | "stripe-connect-payment-method-settings" | "stripe-connect-account-management" | "stripe-connect-notification-banner" | "stripe-connect-instant-payouts" | "stripe-connect-issuing-card" | "stripe-connect-issuing-cards-list" | "stripe-connect-financial-account" | "stripe-connect-financial-account-transactions" | "stripe-connect-recipients" | "stripe-connect-capital-financing" | "stripe-connect-capital-financing-application" | "stripe-connect-capital-financing-promotion" | "stripe-connect-capital-overview" | "stripe-connect-documents" | "stripe-connect-product-tax-code-selector" | "stripe-connect-export-tax-transactions" | "stripe-connect-tax-registrations" | "stripe-connect-tax-settings" | "stripe-connect-tax-threshold-monitoring" | "stripe-connect-balances" | "stripe-connect-payouts-list" | "stripe-connect-app-install" | "stripe-connect-app-viewport" | "stripe-connect-reporting-chart";
4
4
  export declare const componentNameMapping: Record<ConnectElementTagName, ConnectElementHTMLName>;
5
5
  type StripeConnectInstanceExtended = StripeConnectInstance & {
6
6
  debugInstance: () => Promise<StripeConnectInstance>;
@@ -197,4 +197,13 @@ export declare const ConnectElementCustomMethodConfig: {
197
197
  "tax-threshold-monitoring": {
198
198
  setDisplayCountries: (_countries: string[] | undefined) => void;
199
199
  };
200
+ "product-tax-code-selector": {
201
+ setOnTaxCodeSelect: (_listener: (({ taxCode }: {
202
+ taxCode: string;
203
+ }) => void) | undefined) => void;
204
+ setHideDescription: (_hideDescription: boolean | undefined) => void;
205
+ setDisabled: (_disabled: boolean | undefined) => void;
206
+ setInitialTaxCode: (_initialTaxCode: string | undefined) => void;
207
+ };
208
+ "export-tax-transactions": {};
200
209
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/connect-js",
3
- "version": "3.3.27-preview-1",
3
+ "version": "3.3.29-preview-1",
4
4
  "description": "Connect.js loading utility package",
5
5
  "main": "dist/connect.js",
6
6
  "module": "dist/connect.esm.js",
package/src/shared.ts CHANGED
@@ -32,6 +32,8 @@ export type ConnectElementHTMLName =
32
32
  | "stripe-connect-capital-financing-promotion"
33
33
  | "stripe-connect-capital-overview"
34
34
  | "stripe-connect-documents"
35
+ | "stripe-connect-product-tax-code-selector"
36
+ | "stripe-connect-export-tax-transactions"
35
37
  | "stripe-connect-tax-registrations"
36
38
  | "stripe-connect-tax-settings"
37
39
  | "stripe-connect-tax-threshold-monitoring"
@@ -65,6 +67,8 @@ export const componentNameMapping: Record<
65
67
  "capital-financing-promotion": "stripe-connect-capital-financing-promotion",
66
68
  "capital-overview": "stripe-connect-capital-overview",
67
69
  documents: "stripe-connect-documents",
70
+ "product-tax-code-selector": "stripe-connect-product-tax-code-selector",
71
+ "export-tax-transactions": "stripe-connect-export-tax-transactions",
68
72
  "tax-registrations": "stripe-connect-tax-registrations",
69
73
  "tax-settings": "stripe-connect-tax-settings",
70
74
  "tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
package/types/config.ts CHANGED
@@ -357,5 +357,14 @@ export const ConnectElementCustomMethodConfig = {
357
357
  },
358
358
  "tax-threshold-monitoring": {
359
359
  setDisplayCountries: (_countries: string[] | undefined): void => {}
360
- }
360
+ },
361
+ "product-tax-code-selector": {
362
+ setOnTaxCodeSelect: (
363
+ _listener: (({ taxCode }: { taxCode: string }) => void) | undefined
364
+ ): void => {},
365
+ setHideDescription: (_hideDescription: boolean | undefined): void => {},
366
+ setDisabled: (_disabled: boolean | undefined): void => {},
367
+ setInitialTaxCode: (_initialTaxCode: string | undefined): void => {}
368
+ },
369
+ "export-tax-transactions": {}
361
370
  };
package/types/shared.d.ts CHANGED
@@ -505,6 +505,8 @@ export type ConnectElementTagName =
505
505
  | "capital-financing-promotion"
506
506
  | "capital-overview"
507
507
  | "documents"
508
+ | "product-tax-code-selector"
509
+ | "export-tax-transactions"
508
510
  | "tax-registrations"
509
511
  | "tax-settings"
510
512
  | "tax-threshold-monitoring"