@frontegg/js 6.151.0 → 6.152.0-alpha.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.
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.151.0
1
+ /** @license Frontegg v6.152.0-alpha.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 v6.151.0
1
+ /** @license Frontegg v6.152.0-alpha.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/version.js CHANGED
@@ -5,6 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- cdnVersion: '6.151.0'
8
+ cdnVersion: '6.152.0-alpha.0'
9
9
  };
10
10
  exports["default"] = _default;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@frontegg/js",
3
- "version": "6.151.0",
3
+ "version": "6.152.0-alpha.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
- "@frontegg/types": "6.151.0"
9
+ "@frontegg/types": "6.152.0-alpha.0"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [
@@ -1414,7 +1414,7 @@ __webpack_require__.r(__webpack_exports__);
1414
1414
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1415
1415
  /* harmony export */ });
1416
1416
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1417
- cdnVersion: '6.151.0'
1417
+ cdnVersion: '6.152.0-alpha.0'
1418
1418
  });
1419
1419
 
1420
1420
  /***/ }),
@@ -9887,7 +9887,8 @@ function* verifyMfaMock({
9887
9887
  mfaDevices = {
9888
9888
  webauthn: [],
9889
9889
  phones: [],
9890
- authenticators: []
9890
+ authenticators: [],
9891
+ emails: []
9891
9892
  }
9892
9893
  } = yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(state => state.auth.mfaState);
9893
9894
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_reducer__WEBPACK_IMPORTED_MODULE_4__.actions.setMfaState({
@@ -9956,7 +9957,8 @@ function* disableMfaMock({
9956
9957
  mfaDevices = {
9957
9958
  webauthn: [],
9958
9959
  phones: [],
9959
- authenticators: []
9960
+ authenticators: [],
9961
+ emails: []
9960
9962
  }
9961
9963
  } = yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(state => state.auth.mfaState);
9962
9964
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_reducer__WEBPACK_IMPORTED_MODULE_4__.actions.setMfaState({
@@ -10005,7 +10007,8 @@ function* disableMfaSmsMock({
10005
10007
  mfaDevices = {
10006
10008
  webauthn: [],
10007
10009
  phones: [],
10008
- authenticators: []
10010
+ authenticators: [],
10011
+ emails: []
10009
10012
  }
10010
10013
  } = yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(state => state.auth.mfaState);
10011
10014
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_reducer__WEBPACK_IMPORTED_MODULE_4__.actions.setMfaState({
@@ -10049,7 +10052,8 @@ function* enrollMfaSmsMock(_ref11) {
10049
10052
  mfaDevices = {
10050
10053
  webauthn: [],
10051
10054
  phones: [],
10052
- authenticators: []
10055
+ authenticators: [],
10056
+ emails: []
10053
10057
  }
10054
10058
  } = yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(state => state.auth.mfaState);
10055
10059
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_reducer__WEBPACK_IMPORTED_MODULE_4__.actions.setMfaState({
@@ -23245,7 +23249,7 @@ __webpack_require__.r(__webpack_exports__);
23245
23249
  /* harmony export */ });
23246
23250
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
23247
23251
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
23248
- /** @license Frontegg v6.151.0
23252
+ /** @license Frontegg v6.152.0-alpha.0
23249
23253
  *
23250
23254
  * This source code is licensed under the MIT license found in the
23251
23255
  * LICENSE file in the root directory of this source tree.
@@ -24154,7 +24158,7 @@ function defaultFronteggAttributesMapper(jwt) {
24154
24158
  email: jwt.email,
24155
24159
  emailVerified: jwt.email_verified,
24156
24160
  tenantId: jwt.tenantId,
24157
- userId: jwt.userId,
24161
+ userId: jwt.id,
24158
24162
  };
24159
24163
  }
24160
24164
  exports.defaultFronteggAttributesMapper = defaultFronteggAttributesMapper;
@@ -24700,6 +24704,7 @@ __webpack_require__.r(__webpack_exports__);
24700
24704
  /* harmony export */ "generateLoginResponseFromOAuthResponseV2": () => (/* binding */ generateLoginResponseFromOAuthResponseV2),
24701
24705
  /* harmony export */ "generateLoginResponseV2": () => (/* binding */ generateLoginResponseV2),
24702
24706
  /* harmony export */ "generateLoginResponseV3": () => (/* binding */ generateLoginResponseV3),
24707
+ /* harmony export */ "generateStepupSession": () => (/* binding */ generateStepupSession),
24703
24708
  /* harmony export */ "getActivateAccountStrategy": () => (/* binding */ getActivateAccountStrategy),
24704
24709
  /* harmony export */ "getCaptchaPolicy": () => (/* reexport safe */ _secutiry_poilicy__WEBPACK_IMPORTED_MODULE_2__.getCaptchaPolicy),
24705
24710
  /* harmony export */ "getCurrentUserSession": () => (/* binding */ getCurrentUserSession),
@@ -25588,6 +25593,9 @@ async function getMeAndEntitlements() {
25588
25593
  entitlements
25589
25594
  });
25590
25595
  }
25596
+ async function generateStepupSession(body) {
25597
+ return (0,_fetch__WEBPACK_IMPORTED_MODULE_11__.Post)(`${_constants__WEBPACK_IMPORTED_MODULE_12__.urls.identity.auth.v1}/user/step-up/generate`, body);
25598
+ }
25591
25599
 
25592
25600
  /***/ }),
25593
25601
 
@@ -26992,7 +27000,7 @@ __webpack_require__.r(__webpack_exports__);
26992
27000
  /* harmony import */ var _users_interfaces__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./users/interfaces */ "../../node_modules/@frontegg/rest-api/users/interfaces.js");
26993
27001
  /* harmony import */ var _entitlements_interfaces__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./entitlements/interfaces */ "../../node_modules/@frontegg/rest-api/entitlements/interfaces.js");
26994
27002
  /* harmony import */ var _security_center_interfaces__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./security-center/interfaces */ "../../node_modules/@frontegg/rest-api/security-center/interfaces.js");
26995
- /** @license Frontegg v3.1.42
27003
+ /** @license Frontegg v3.1.47
26996
27004
  *
26997
27005
  * This source code is licensed under the MIT license found in the
26998
27006
  * LICENSE file in the root directory of this source tree.