@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.
@@ -361,7 +361,10 @@ export interface IEmailPasswordlessPreLogin extends IBasePasswordlessPreLogin {
361
361
  export interface IUserIDPasswordlessPreLogin extends IBasePasswordlessPreLogin {
362
362
  userId: string;
363
363
  }
364
- export declare type IPasswordlessPreLogin = IEmailPasswordlessPreLogin | IUserIDPasswordlessPreLogin;
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;
@@ -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 = 'admin_portal_should_load_authorization';
29
+ export const LOAD_AUTHORIZATION_FF = "admin_portal_should_load_authorization";
package/constants.js CHANGED
@@ -116,7 +116,7 @@ export const urls = {
116
116
  }
117
117
  },
118
118
  phoneNumbers: {
119
- v1: '/identity/resources/phoneNumbers/v1'
119
+ v1: '/identity/resources/phone-numbers/v1'
120
120
  }
121
121
  },
122
122
  team: {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v3.1.25
1
+ /** @license Frontegg v3.1.27
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.
@@ -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 = 'admin_portal_should_load_authorization';
57
+ const LOAD_AUTHORIZATION_FF = "admin_portal_should_load_authorization";
59
58
  exports.LOAD_AUTHORIZATION_FF = LOAD_AUTHORIZATION_FF;
package/node/constants.js CHANGED
@@ -122,7 +122,7 @@ const urls = {
122
122
  }
123
123
  },
124
124
  phoneNumbers: {
125
- v1: '/identity/resources/phoneNumbers/v1'
125
+ v1: '/identity/resources/phone-numbers/v1'
126
126
  }
127
127
  },
128
128
  team: {
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v3.1.25
1
+ /** @license Frontegg v3.1.27
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontegg/rest-api",
3
- "version": "3.1.25",
3
+ "version": "3.1.27",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {