@frontegg/types 7.88.0-alpha.0 → 7.88.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.
@@ -31,6 +31,13 @@ export interface LoginDisclaimerOptions {
31
31
  linkStyle?: ExtendedCSSProperties;
32
32
  };
33
33
  }
34
+ export type OperatorType = 'startWith' | 'endWith' | 'contains' | 'equals';
35
+ export interface DirectLoginActionConfig {
36
+ allowList?: {
37
+ operator: OperatorType;
38
+ value: string;
39
+ }[];
40
+ }
34
41
  export interface LoginPageComponentsTheme {
35
42
  /**
36
43
  * Showing a login page header title
@@ -195,6 +202,11 @@ export interface LoginPageComponentsTheme {
195
202
  mfaBackButtonStyle?: ExtendedCSSProperties;
196
203
  enrollMFAEmailCodeTitleStyle?: ExtendedCSSProperties;
197
204
  enrollMFAEmailCodeMessageStyle?: ExtendedCSSProperties;
205
+ /**
206
+ * Option to override direct login action config
207
+ * allowList - list of rules to enable direct login for specific urls
208
+ */
209
+ directLoginActionConfig?: DirectLoginActionConfig;
198
210
  }
199
211
  export interface LoginPageThemeOptions extends LoginBoxCommonThemeOptions, LoginPageComponentsTheme {
200
212
  }
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.88.0-alpha.0
1
+ /** @license Frontegg v7.88.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.88.0-alpha.0
1
+ /** @license Frontegg v7.88.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.88.0-alpha.0",
3
+ "version": "7.88.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.88.0-alpha.0",
9
+ "@frontegg/redux-store": "7.88.0",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },