@stripe/connect-js 3.3.10 → 3.3.11

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.
@@ -31,7 +31,9 @@ const componentNameMapping = {
31
31
  balances: "stripe-connect-balances",
32
32
  "account-management": "stripe-connect-account-management",
33
33
  "notification-banner": "stripe-connect-notification-banner",
34
- documents: "stripe-connect-documents"
34
+ documents: "stripe-connect-documents",
35
+ "tax-registrations": "stripe-connect-tax-registrations",
36
+ "tax-settings": "stripe-connect-tax-settings"
35
37
  };
36
38
  const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
37
39
  const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
@@ -175,7 +177,7 @@ const createWrapper = stripeConnect => {
175
177
  sdk: true,
176
178
  sdkOptions: {
177
179
  // This will be replaced by the npm package version when bundling
178
- sdkVersion: "3.3.10"
180
+ sdkVersion: "3.3.11"
179
181
  }
180
182
  })
181
183
  }));
package/dist/connect.js CHANGED
@@ -35,7 +35,9 @@ const componentNameMapping = {
35
35
  balances: "stripe-connect-balances",
36
36
  "account-management": "stripe-connect-account-management",
37
37
  "notification-banner": "stripe-connect-notification-banner",
38
- documents: "stripe-connect-documents"
38
+ documents: "stripe-connect-documents",
39
+ "tax-registrations": "stripe-connect-tax-registrations",
40
+ "tax-settings": "stripe-connect-tax-settings"
39
41
  };
40
42
  const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
41
43
  const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
@@ -179,7 +181,7 @@ const createWrapper = stripeConnect => {
179
181
  sdk: true,
180
182
  sdkOptions: {
181
183
  // This will be replaced by the npm package version when bundling
182
- sdkVersion: "3.3.10"
184
+ sdkVersion: "3.3.11"
183
185
  }
184
186
  })
185
187
  }));
package/dist/pure.esm.js CHANGED
@@ -31,7 +31,9 @@ const componentNameMapping = {
31
31
  balances: "stripe-connect-balances",
32
32
  "account-management": "stripe-connect-account-management",
33
33
  "notification-banner": "stripe-connect-notification-banner",
34
- documents: "stripe-connect-documents"
34
+ documents: "stripe-connect-documents",
35
+ "tax-registrations": "stripe-connect-tax-registrations",
36
+ "tax-settings": "stripe-connect-tax-settings"
35
37
  };
36
38
  const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
37
39
  const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
@@ -175,7 +177,7 @@ const createWrapper = stripeConnect => {
175
177
  sdk: true,
176
178
  sdkOptions: {
177
179
  // This will be replaced by the npm package version when bundling
178
- sdkVersion: "3.3.10"
180
+ sdkVersion: "3.3.11"
179
181
  }
180
182
  })
181
183
  }));
package/dist/pure.js CHANGED
@@ -35,7 +35,9 @@ const componentNameMapping = {
35
35
  balances: "stripe-connect-balances",
36
36
  "account-management": "stripe-connect-account-management",
37
37
  "notification-banner": "stripe-connect-notification-banner",
38
- documents: "stripe-connect-documents"
38
+ documents: "stripe-connect-documents",
39
+ "tax-registrations": "stripe-connect-tax-registrations",
40
+ "tax-settings": "stripe-connect-tax-settings"
39
41
  };
40
42
  const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
41
43
  const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
@@ -179,7 +181,7 @@ const createWrapper = stripeConnect => {
179
181
  sdk: true,
180
182
  sdkOptions: {
181
183
  // This will be replaced by the npm package version when bundling
182
- sdkVersion: "3.3.10"
184
+ sdkVersion: "3.3.11"
183
185
  }
184
186
  })
185
187
  }));
@@ -1,6 +1,6 @@
1
1
  import { IStripeConnectInitParams, StripeConnectInstance, ConnectElementTagName } from "../types";
2
2
  export type LoadConnectAndInitialize = (initParams: IStripeConnectInitParams) => StripeConnectInstance;
3
- type ConnectElementHTMLName = "stripe-connect-account-onboarding" | "stripe-connect-payments" | "stripe-connect-payment-details" | "stripe-connect-account-management" | "stripe-connect-notification-banner" | "stripe-connect-payouts" | "stripe-connect-payouts-list" | "stripe-connect-balances" | "stripe-connect-documents";
3
+ type ConnectElementHTMLName = "stripe-connect-account-onboarding" | "stripe-connect-payments" | "stripe-connect-payment-details" | "stripe-connect-account-management" | "stripe-connect-notification-banner" | "stripe-connect-payouts" | "stripe-connect-payouts-list" | "stripe-connect-balances" | "stripe-connect-documents" | "stripe-connect-tax-registrations" | "stripe-connect-tax-settings";
4
4
  export declare const componentNameMapping: Record<ConnectElementTagName, ConnectElementHTMLName>;
5
5
  type StripeConnectInstanceExtended = StripeConnectInstance & {
6
6
  debugInstance: () => Promise<StripeConnectInstance>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/connect-js",
3
- "version": "3.3.10",
3
+ "version": "3.3.11",
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
@@ -19,7 +19,9 @@ type ConnectElementHTMLName =
19
19
  | "stripe-connect-payouts"
20
20
  | "stripe-connect-payouts-list"
21
21
  | "stripe-connect-balances"
22
- | "stripe-connect-documents";
22
+ | "stripe-connect-documents"
23
+ | "stripe-connect-tax-registrations"
24
+ | "stripe-connect-tax-settings";
23
25
 
24
26
  export const componentNameMapping: Record<
25
27
  ConnectElementTagName,
@@ -33,7 +35,9 @@ export const componentNameMapping: Record<
33
35
  balances: "stripe-connect-balances",
34
36
  "account-management": "stripe-connect-account-management",
35
37
  "notification-banner": "stripe-connect-notification-banner",
36
- documents: "stripe-connect-documents"
38
+ documents: "stripe-connect-documents",
39
+ "tax-registrations": "stripe-connect-tax-registrations",
40
+ "tax-settings": "stripe-connect-tax-settings"
37
41
  };
38
42
 
39
43
  type StripeConnectInstanceExtended = StripeConnectInstance & {
package/types/shared.d.ts CHANGED
@@ -455,4 +455,6 @@ export type ConnectElementTagName =
455
455
  | "payouts"
456
456
  | "payouts-list"
457
457
  | "balances"
458
- | "documents";
458
+ | "documents"
459
+ | "tax-registrations"
460
+ | "tax-settings";