@frontegg/js 6.154.0-alpha.0 → 6.154.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.154.0-alpha.0
1
+ /** @license Frontegg v6.154.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.154.0-alpha.0
1
+ /** @license Frontegg v6.154.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.154.0-alpha.0'
8
+ cdnVersion: '6.154.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.154.0-alpha.0",
3
+ "version": "6.154.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.154.0-alpha.0"
9
+ "@frontegg/types": "6.154.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.154.0-alpha.0'
1417
+ cdnVersion: '6.154.0'
1418
1418
  });
1419
1419
 
1420
1420
  /***/ }),
@@ -6688,9 +6688,6 @@ function* quickSmsPasswordlessPreLogin(_ref6) {
6688
6688
  callback == null ? void 0 : callback(e);
6689
6689
  }
6690
6690
  }
6691
- function isEmailPayload(payload) {
6692
- return 'email' in payload;
6693
- }
6694
6691
  function* passwordlessPreLogin(_ref7) {
6695
6692
  let {
6696
6693
  payload: {
@@ -6703,7 +6700,7 @@ function* passwordlessPreLogin(_ref7) {
6703
6700
  loading: true
6704
6701
  }));
6705
6702
  let email;
6706
- if (isEmailPayload(payload)) {
6703
+ if ((0,_utils__WEBPACK_IMPORTED_MODULE_9__.isEmailPayload)(payload)) {
6707
6704
  email = payload.email;
6708
6705
  }
6709
6706
 
@@ -7914,6 +7911,7 @@ __webpack_require__.r(__webpack_exports__);
7914
7911
  /* harmony export */ "getRedirectUrl": () => (/* binding */ getRedirectUrl),
7915
7912
  /* harmony export */ "getSearchParam": () => (/* binding */ getSearchParam),
7916
7913
  /* harmony export */ "getSearchParamsFromUrl": () => (/* binding */ getSearchParamsFromUrl),
7914
+ /* harmony export */ "isEmailPayload": () => (/* binding */ isEmailPayload),
7917
7915
  /* harmony export */ "isMfaRequired": () => (/* binding */ isMfaRequired),
7918
7916
  /* harmony export */ "isOauthCallbackRoute": () => (/* binding */ isOauthCallbackRoute)
7919
7917
  /* harmony export */ });
@@ -8046,6 +8044,9 @@ const getMfaStepForNotEnrolledUsers = mfaStrategies => {
8046
8044
  const isOauthCallbackRoute = activeUri => {
8047
8045
  return activeUri === '/oauth/callback';
8048
8046
  };
8047
+ function isEmailPayload(payload) {
8048
+ return 'email' in payload;
8049
+ }
8049
8050
 
8050
8051
  /***/ }),
8051
8052
 
@@ -23326,7 +23327,7 @@ __webpack_require__.r(__webpack_exports__);
23326
23327
  /* harmony export */ });
23327
23328
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
23328
23329
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
23329
- /** @license Frontegg v6.154.0-alpha.0
23330
+ /** @license Frontegg v6.154.0
23330
23331
  *
23331
23332
  * This source code is licensed under the MIT license found in the
23332
23333
  * LICENSE file in the root directory of this source tree.