@frontegg/js 7.111.0-alpha.2 → 7.111.0-alpha.4

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 v7.111.0-alpha.2
1
+ /** @license Frontegg v7.111.0-alpha.4
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.111.0-alpha.2
1
+ /** @license Frontegg v7.111.0-alpha.4
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: '7.111.0-alpha.2'
8
+ cdnVersion: '7.111.0-alpha.4'
9
9
  };
10
10
  exports["default"] = _default;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@frontegg/js",
3
- "version": "7.111.0-alpha.2",
3
+ "version": "7.111.0-alpha.4",
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": "7.111.0-alpha.2"
9
+ "@frontegg/types": "7.111.0-alpha.4"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [
@@ -1924,7 +1924,7 @@ __webpack_require__.r(__webpack_exports__);
1924
1924
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1925
1925
  /* harmony export */ });
1926
1926
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1927
- cdnVersion: '7.111.0-alpha.2'
1927
+ cdnVersion: '7.111.0-alpha.4'
1928
1928
  });
1929
1929
 
1930
1930
  /***/ }),
@@ -6528,23 +6528,27 @@ const _excluded = ["callback", "error"],
6528
6528
  }, 2000);
6529
6529
  }
6530
6530
  } else {
6531
- var _ref5;
6532
- await ssoPreloginFailed({
6533
- email: (_ref5 = email != null ? email : username) != null ? _ref5 : '',
6531
+ await ssoPreloginFailed((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, username ? {
6532
+ username
6533
+ } : {
6534
+ email: email != null ? email : ''
6535
+ }, {
6534
6536
  recaptchaToken,
6535
6537
  callback,
6536
6538
  invitationToken
6537
- });
6539
+ }));
6538
6540
  }
6539
6541
  } catch (e) {
6540
- var _ref6;
6541
- await ssoPreloginFailed({
6542
- email: (_ref6 = email != null ? email : username) != null ? _ref6 : '',
6542
+ await ssoPreloginFailed((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, username ? {
6543
+ username
6544
+ } : {
6545
+ email: email != null ? email : ''
6546
+ }, {
6543
6547
  recaptchaToken,
6544
6548
  callback,
6545
6549
  invitationToken,
6546
6550
  error: e
6547
- });
6551
+ }));
6548
6552
  }
6549
6553
  };
6550
6554
  const postLogin = async payload => {
@@ -7492,11 +7496,11 @@ const _excluded = ["callback", "error"],
7492
7496
  preserveQueryParams: true
7493
7497
  });
7494
7498
  } else {
7495
- var _ref7;
7499
+ var _ref5;
7496
7500
  if (user.id) {
7497
7501
  localStorage.setItem('userId', user.id);
7498
7502
  }
7499
- const quickLoginToRegister = (_ref7 = localStorage.getItem('register-quick-login')) != null ? _ref7 : loginState.quickLoginToRegister;
7503
+ const quickLoginToRegister = (_ref5 = localStorage.getItem('register-quick-login')) != null ? _ref5 : loginState.quickLoginToRegister;
7500
7504
  const shouldNavigateToRegisterQuickLogin = __shouldNavigateToRegisterQuickLogin(user);
7501
7505
  actions.afterAuthenticationStateUpdate({
7502
7506
  user: updatedUser,
@@ -20253,7 +20257,7 @@ __webpack_require__.r(__webpack_exports__);
20253
20257
  /* harmony import */ var _subscriptions_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./subscriptions/interfaces */ "../../dist/@frontegg/redux-store/subscriptions/interfaces.js");
20254
20258
  /* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/redux-store/vendor/index.js");
20255
20259
  /* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/redux-store/audits/index.js");
20256
- /** @license Frontegg v7.111.0-alpha.2
20260
+ /** @license Frontegg v7.111.0-alpha.4
20257
20261
  *
20258
20262
  * This source code is licensed under the MIT license found in the
20259
20263
  * LICENSE file in the root directory of this source tree.
@@ -30789,7 +30793,7 @@ __webpack_require__.r(__webpack_exports__);
30789
30793
  /* harmony import */ var _security_center_interfaces__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./security-center/interfaces */ "../../dist/@frontegg/rest-api/security-center/interfaces.js");
30790
30794
  /* harmony import */ var _applications_interfaces__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./applications/interfaces */ "../../dist/@frontegg/rest-api/applications/interfaces.js");
30791
30795
  /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./constants */ "../../dist/@frontegg/rest-api/constants.js");
30792
- /** @license Frontegg v7.111.0-alpha.2
30796
+ /** @license Frontegg v7.111.0-alpha.4
30793
30797
  *
30794
30798
  * This source code is licensed under the MIT license found in the
30795
30799
  * LICENSE file in the root directory of this source tree.
@@ -33586,7 +33590,7 @@ __webpack_require__.r(__webpack_exports__);
33586
33590
  /* harmony export */ });
33587
33591
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
33588
33592
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
33589
- /** @license Frontegg v7.111.0-alpha.2
33593
+ /** @license Frontegg v7.111.0-alpha.4
33590
33594
  *
33591
33595
  * This source code is licensed under the MIT license found in the
33592
33596
  * LICENSE file in the root directory of this source tree.