@frontegg/types 7.119.0 → 7.121.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.
@@ -39,6 +39,15 @@ export interface AuthOptions extends Partial<Omit<AuthState, 'routes'>> {
39
39
  */
40
40
  loadUserOnFirstLoad?: boolean;
41
41
  };
42
+ /**
43
+ * Post-login "choose your organization" step. When `enabled` and the user belongs to more than one
44
+ * switchable tenant, the login-box routes to a tenant chooser after authentication (before finalizing).
45
+ * Works in embedded and hosted modes; the hosted `prompt=select_account` flow sets this option via oauth-service.
46
+ * Also gated by the `login-box-choose-tenant` feature flag.
47
+ */
48
+ tenantSelection?: {
49
+ enabled?: boolean;
50
+ };
42
51
  }
43
52
  export interface AuditsOptions extends Partial<AuditsState> {
44
53
  virtualScroll?: boolean;
@@ -363,6 +363,18 @@ export interface LoginLocalization {
363
363
  usePasskeys: string;
364
364
  continueToApp: string;
365
365
  dontAskMeAgain: string;
366
+ chooseTenantTitle: string;
367
+ chooseTenantSubtitle: string;
368
+ chooseTenantSearchPlaceholder: string;
369
+ chooseTenantCurrentBadge: string;
370
+ chooseTenantContinueButton: string;
371
+ chooseTenantErrorMessage: string;
372
+ chooseTenantContinueWithCurrentButton: string;
373
+ chooseTenantNoResults: string;
374
+ chooseTenantSwitchingMessage: string;
375
+ chooseTenantSuccessMessage: string;
376
+ chooseTenantLoadErrorMessage: string;
377
+ chooseTenantRetryButton: string;
366
378
  breachedPasswordTitle: string;
367
379
  breachedPasswordSubtitle: string;
368
380
  sendPasswordResetEmailButton: string;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.119.0
1
+ /** @license Frontegg v7.121.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.119.0
1
+ /** @license Frontegg v7.121.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.119.0",
3
+ "version": "7.121.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.119.0",
9
+ "@frontegg/redux-store": "7.121.0",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },