@frontegg/types 7.123.0 → 7.124.0-alpha.0

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.
@@ -21,7 +21,8 @@ export interface AuthOptions extends Partial<Omit<AuthState, 'routes'>> {
21
21
  */
22
22
  clearIdleTimeoutAllowedOrigins?: string[];
23
23
  /**
24
- * skip loading user profile, tenants and permissions on application load
24
+ * skip loading user profile, tenants and permissions on application load.
25
+ * Ignored when `tenantSelection.enabled` is true — the tenant chooser requires the user's tenants to load.
25
26
  */
26
27
  skipUserLoading?: boolean;
27
28
  /**
@@ -44,6 +45,7 @@ export interface AuthOptions extends Partial<Omit<AuthState, 'routes'>> {
44
45
  * switchable tenant, the login-box routes to a tenant chooser after authentication (before finalizing).
45
46
  * Works in embedded and hosted modes; the hosted `prompt=select_account` flow sets this option via oauth-service.
46
47
  * Also gated by the `login-box-choose-tenant` feature flag.
48
+ * When `enabled` is true, `skipUserLoading` is ignored — the chooser requires the user's tenants to load.
47
49
  */
48
50
  tenantSelection?: {
49
51
  enabled?: boolean;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.123.0
1
+ /** @license Frontegg v7.124.0-alpha.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.123.0
1
+ /** @license Frontegg v7.124.0-alpha.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@frontegg/types",
3
- "version": "7.123.0",
3
+ "version": "7.124.0-alpha.0",
4
4
  "main": "./node/index.js",
5
5
  "author": "Frontegg LTD",
6
6
  "license": "MIT",
7
7
  "dependencies": {
8
8
  "@babel/runtime": "^7.18.6",
9
- "@frontegg/redux-store": "7.123.0",
9
+ "@frontegg/redux-store": "7.124.0-alpha.0",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },