@frontegg/redux-store 7.72.0 → 7.73.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.
@@ -6,5 +6,5 @@
6
6
  import { AuthStrategyEnum } from '@frontegg/rest-api';
7
7
  import { LoginStep } from './interfaces';
8
8
  import { AuthPageRoutes } from '../interfaces';
9
- export declare const authStrategyLoginStepMap: Record<Exclude<AuthStrategyEnum, AuthStrategyEnum.NoLocalAuthentication>, LoginStep>;
9
+ export declare const authStrategyLoginStepMap: Record<Exclude<AuthStrategyEnum, AuthStrategyEnum.NoLocalAuthentication | AuthStrategyEnum.WebAuthN>, LoginStep>;
10
10
  export declare const defaultFronteggRoutes: AuthPageRoutes;
@@ -9,7 +9,11 @@ export const authStrategyLoginStepMap = {
9
9
  [AuthStrategyEnum.Code]: LoginStep.loginWithOtc,
10
10
  [AuthStrategyEnum.EmailAndPassword]: LoginStep.loginWithPassword,
11
11
  [AuthStrategyEnum.MagicLink]: LoginStep.magicLinkPreLoginSuccess,
12
- [AuthStrategyEnum.SmsCode]: LoginStep.loginWithSmsOtc
12
+ [AuthStrategyEnum.SmsCode]: LoginStep.loginWithSmsOtc,
13
+ [AuthStrategyEnum.UsernameAndPassword]: LoginStep.loginWithPassword,
14
+ [AuthStrategyEnum.UsernameAndMagicLink]: LoginStep.magicLinkPreLoginSuccess,
15
+ [AuthStrategyEnum.UsernameAndCode]: LoginStep.loginWithOtc,
16
+ [AuthStrategyEnum.UsernameAndSms]: LoginStep.loginWithSmsOtc
13
17
  };
14
18
 
15
19
  // don't remove this object because it is used in next js middleware (notice top of the file)
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.72.0
1
+ /** @license Frontegg v7.73.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.
@@ -16,7 +16,11 @@ const authStrategyLoginStepMap = {
16
16
  [_restApi.AuthStrategyEnum.Code]: _interfaces.LoginStep.loginWithOtc,
17
17
  [_restApi.AuthStrategyEnum.EmailAndPassword]: _interfaces.LoginStep.loginWithPassword,
18
18
  [_restApi.AuthStrategyEnum.MagicLink]: _interfaces.LoginStep.magicLinkPreLoginSuccess,
19
- [_restApi.AuthStrategyEnum.SmsCode]: _interfaces.LoginStep.loginWithSmsOtc
19
+ [_restApi.AuthStrategyEnum.SmsCode]: _interfaces.LoginStep.loginWithSmsOtc,
20
+ [_restApi.AuthStrategyEnum.UsernameAndPassword]: _interfaces.LoginStep.loginWithPassword,
21
+ [_restApi.AuthStrategyEnum.UsernameAndMagicLink]: _interfaces.LoginStep.magicLinkPreLoginSuccess,
22
+ [_restApi.AuthStrategyEnum.UsernameAndCode]: _interfaces.LoginStep.loginWithOtc,
23
+ [_restApi.AuthStrategyEnum.UsernameAndSms]: _interfaces.LoginStep.loginWithSmsOtc
20
24
  };
21
25
 
22
26
  // don't remove this object because it is used in next js middleware (notice top of the file)
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.72.0
1
+ /** @license Frontegg v7.73.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,13 +1,13 @@
1
1
  {
2
2
  "name": "@frontegg/redux-store",
3
- "version": "7.72.0",
3
+ "version": "7.73.0",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "author": "Frontegg LTD",
7
7
  "dependencies": {
8
8
  "@babel/runtime": "^7.18.6",
9
9
  "@frontegg/entitlements-javascript-commons": "1.1.2",
10
- "@frontegg/rest-api": "7.72.0",
10
+ "@frontegg/rest-api": "7.73.0",
11
11
  "fast-deep-equal": "3.1.3",
12
12
  "get-value": "^3.0.1",
13
13
  "proxy-compare": "^3.0.0",