@frontegg/rest-api 3.1.25 → 3.1.27
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.
- package/auth/interfaces.d.ts +4 -1
- package/auth/interfaces.js +1 -2
- package/constants.js +1 -1
- package/index.js +1 -1
- package/node/auth/interfaces.js +1 -2
- package/node/constants.js +1 -1
- package/node/index.js +1 -1
- package/package.json +1 -1
package/auth/interfaces.d.ts
CHANGED
|
@@ -361,7 +361,10 @@ export interface IEmailPasswordlessPreLogin extends IBasePasswordlessPreLogin {
|
|
|
361
361
|
export interface IUserIDPasswordlessPreLogin extends IBasePasswordlessPreLogin {
|
|
362
362
|
userId: string;
|
|
363
363
|
}
|
|
364
|
-
export
|
|
364
|
+
export interface IPhoneNumberPasswordlessPreLogin extends IBasePasswordlessPreLogin {
|
|
365
|
+
phoneNumber: string;
|
|
366
|
+
}
|
|
367
|
+
export declare type IPasswordlessPreLogin = IEmailPasswordlessPreLogin | IUserIDPasswordlessPreLogin | IPhoneNumberPasswordlessPreLogin;
|
|
365
368
|
export interface IPasswordlessPostLogin {
|
|
366
369
|
token: string;
|
|
367
370
|
recaptchaToken?: string;
|
package/auth/interfaces.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export * from "./secutiry-poilicy/interfaces";
|
|
2
|
-
;
|
|
3
2
|
export let SecondaryAuthStrategy;
|
|
4
3
|
|
|
5
4
|
(function (SecondaryAuthStrategy) {
|
|
@@ -27,4 +26,4 @@ export let MFAStrategyEnum;
|
|
|
27
26
|
MFAStrategyEnum["EmailCode"] = "EmailCode";
|
|
28
27
|
})(MFAStrategyEnum || (MFAStrategyEnum = {}));
|
|
29
28
|
|
|
30
|
-
export const LOAD_AUTHORIZATION_FF =
|
|
29
|
+
export const LOAD_AUTHORIZATION_FF = "admin_portal_should_load_authorization";
|
package/constants.js
CHANGED
package/index.js
CHANGED
package/node/auth/interfaces.js
CHANGED
|
@@ -24,7 +24,6 @@ Object.keys(_interfaces).forEach(function (key) {
|
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
});
|
|
27
|
-
;
|
|
28
27
|
let SecondaryAuthStrategy;
|
|
29
28
|
exports.SecondaryAuthStrategy = SecondaryAuthStrategy;
|
|
30
29
|
|
|
@@ -55,5 +54,5 @@ exports.MFAStrategyEnum = MFAStrategyEnum;
|
|
|
55
54
|
MFAStrategyEnum["EmailCode"] = "EmailCode";
|
|
56
55
|
})(MFAStrategyEnum || (exports.MFAStrategyEnum = MFAStrategyEnum = {}));
|
|
57
56
|
|
|
58
|
-
const LOAD_AUTHORIZATION_FF =
|
|
57
|
+
const LOAD_AUTHORIZATION_FF = "admin_portal_should_load_authorization";
|
|
59
58
|
exports.LOAD_AUTHORIZATION_FF = LOAD_AUTHORIZATION_FF;
|
package/node/constants.js
CHANGED
package/node/index.js
CHANGED