@frontegg/js 6.87.0 → 6.88.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.87.0
1
+ /** @license Frontegg v6.88.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.87.0
1
+ /** @license Frontegg v6.88.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.87.0'
8
+ cdnVersion: '6.88.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.87.0",
3
+ "version": "6.88.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.87.0"
9
+ "@frontegg/types": "6.88.0"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [
@@ -1204,7 +1204,7 @@ __webpack_require__.r(__webpack_exports__);
1204
1204
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1205
1205
  /* harmony export */ });
1206
1206
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1207
- cdnVersion: '6.87.0'
1207
+ cdnVersion: '6.88.0'
1208
1208
  });
1209
1209
 
1210
1210
  /***/ }),
@@ -4598,6 +4598,48 @@ function* groupsSagasMock() {
4598
4598
 
4599
4599
  /***/ }),
4600
4600
 
4601
+ /***/ "../../dist/@frontegg/redux-store/auth/Helpers/index.js":
4602
+ /*!**************************************************************!*\
4603
+ !*** ../../dist/@frontegg/redux-store/auth/Helpers/index.js ***!
4604
+ \**************************************************************/
4605
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4606
+
4607
+ "use strict";
4608
+ __webpack_require__.r(__webpack_exports__);
4609
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4610
+ /* harmony export */ "isAuthRoute": () => (/* reexport safe */ _isAuthRoute__WEBPACK_IMPORTED_MODULE_0__.isAuthRoute)
4611
+ /* harmony export */ });
4612
+ /* harmony import */ var _isAuthRoute__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isAuthRoute */ "../../dist/@frontegg/redux-store/auth/Helpers/isAuthRoute.js");
4613
+
4614
+
4615
+ /***/ }),
4616
+
4617
+ /***/ "../../dist/@frontegg/redux-store/auth/Helpers/isAuthRoute.js":
4618
+ /*!********************************************************************!*\
4619
+ !*** ../../dist/@frontegg/redux-store/auth/Helpers/isAuthRoute.js ***!
4620
+ \********************************************************************/
4621
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4622
+
4623
+ "use strict";
4624
+ __webpack_require__.r(__webpack_exports__);
4625
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4626
+ /* harmony export */ "isAuthRoute": () => (/* binding */ isAuthRoute)
4627
+ /* harmony export */ });
4628
+ /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "../../node_modules/@babel/runtime/helpers/esm/extends.js");
4629
+ /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
4630
+ /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../.. */ "../../dist/@frontegg/redux-store/auth/initialState.js");
4631
+
4632
+
4633
+ const _excluded = ["authenticatedUrl"];
4634
+
4635
+ const isAuthRoute = (path, routes) => {
4636
+ const _authInitialState$rou = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, ___WEBPACK_IMPORTED_MODULE_2__.initialState.routes, routes),
4637
+ authRoutes = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(_authInitialState$rou, _excluded);
4638
+ return Object.values(authRoutes).includes(path);
4639
+ };
4640
+
4641
+ /***/ }),
4642
+
4601
4643
  /***/ "../../dist/@frontegg/redux-store/auth/ImpersonationState/index.js":
4602
4644
  /*!*************************************************************************!*\
4603
4645
  !*** ../../dist/@frontegg/redux-store/auth/ImpersonationState/index.js ***!
@@ -14492,12 +14534,12 @@ __webpack_require__.r(__webpack_exports__);
14492
14534
  /* harmony export */ "apiTokensActions": () => (/* reexport safe */ _ApiTokensState__WEBPACK_IMPORTED_MODULE_27__.apiTokensActions),
14493
14535
  /* harmony export */ "apiTokensReducers": () => (/* reexport safe */ _ApiTokensState__WEBPACK_IMPORTED_MODULE_27__.apiTokensReducers),
14494
14536
  /* harmony export */ "apiTokensState": () => (/* reexport safe */ _ApiTokensState__WEBPACK_IMPORTED_MODULE_27__.apiTokensState),
14495
- /* harmony export */ "authActions": () => (/* reexport safe */ _reducer__WEBPACK_IMPORTED_MODULE_38__.actions),
14496
- /* harmony export */ "authInitialState": () => (/* reexport safe */ _initialState__WEBPACK_IMPORTED_MODULE_39__.initialState),
14497
- /* harmony export */ "authMockSagas": () => (/* reexport safe */ _saga__WEBPACK_IMPORTED_MODULE_37__.mockSagas),
14498
- /* harmony export */ "authReducers": () => (/* reexport safe */ _reducer__WEBPACK_IMPORTED_MODULE_38__.reducer),
14499
- /* harmony export */ "authSagas": () => (/* reexport safe */ _saga__WEBPACK_IMPORTED_MODULE_37__.sagas),
14500
- /* harmony export */ "authStoreName": () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_40__.authStoreName),
14537
+ /* harmony export */ "authActions": () => (/* reexport safe */ _reducer__WEBPACK_IMPORTED_MODULE_39__.actions),
14538
+ /* harmony export */ "authInitialState": () => (/* reexport safe */ _initialState__WEBPACK_IMPORTED_MODULE_40__.initialState),
14539
+ /* harmony export */ "authMockSagas": () => (/* reexport safe */ _saga__WEBPACK_IMPORTED_MODULE_38__.mockSagas),
14540
+ /* harmony export */ "authReducers": () => (/* reexport safe */ _reducer__WEBPACK_IMPORTED_MODULE_39__.reducer),
14541
+ /* harmony export */ "authSagas": () => (/* reexport safe */ _saga__WEBPACK_IMPORTED_MODULE_38__.sagas),
14542
+ /* harmony export */ "authStoreName": () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_41__.authStoreName),
14501
14543
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
14502
14544
  /* harmony export */ "forgotPasswordActions": () => (/* reexport safe */ _ForgotPasswordState__WEBPACK_IMPORTED_MODULE_10__.forgotPasswordActions),
14503
14545
  /* harmony export */ "forgotPasswordReducers": () => (/* reexport safe */ _ForgotPasswordState__WEBPACK_IMPORTED_MODULE_10__.forgotPasswordReducers),
@@ -14512,6 +14554,7 @@ __webpack_require__.r(__webpack_exports__);
14512
14554
  /* harmony export */ "impersonateActions": () => (/* reexport safe */ _ImpersonationState__WEBPACK_IMPORTED_MODULE_6__.impersonateActions),
14513
14555
  /* harmony export */ "impersonateReducers": () => (/* reexport safe */ _ImpersonationState__WEBPACK_IMPORTED_MODULE_6__.impersonateReducers),
14514
14556
  /* harmony export */ "impersonateState": () => (/* reexport safe */ _ImpersonationState__WEBPACK_IMPORTED_MODULE_6__.impersonateState),
14557
+ /* harmony export */ "isAuthRoute": () => (/* reexport safe */ _Helpers__WEBPACK_IMPORTED_MODULE_37__.isAuthRoute),
14515
14558
  /* harmony export */ "loginActions": () => (/* reexport safe */ _LoginState__WEBPACK_IMPORTED_MODULE_2__.loginActions),
14516
14559
  /* harmony export */ "loginReducers": () => (/* reexport safe */ _LoginState__WEBPACK_IMPORTED_MODULE_2__.loginReducers),
14517
14560
  /* harmony export */ "loginState": () => (/* reexport safe */ _LoginState__WEBPACK_IMPORTED_MODULE_2__.loginState),
@@ -14561,10 +14604,10 @@ __webpack_require__.r(__webpack_exports__);
14561
14604
  /* harmony export */ "tenantsReducers": () => (/* reexport safe */ _TenantsState__WEBPACK_IMPORTED_MODULE_30__.tenantsReducers),
14562
14605
  /* harmony export */ "tenantsState": () => (/* reexport safe */ _TenantsState__WEBPACK_IMPORTED_MODULE_30__.tenantsState)
14563
14606
  /* harmony export */ });
14564
- /* harmony import */ var _reducer__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./reducer */ "../../dist/@frontegg/redux-store/auth/reducer.js");
14565
- /* harmony import */ var _saga__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./saga */ "../../dist/@frontegg/redux-store/auth/saga.js");
14566
- /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../constants */ "../../dist/@frontegg/redux-store/constants.js");
14567
- /* harmony import */ var _initialState__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./initialState */ "../../dist/@frontegg/redux-store/auth/initialState.js");
14607
+ /* harmony import */ var _reducer__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./reducer */ "../../dist/@frontegg/redux-store/auth/reducer.js");
14608
+ /* harmony import */ var _saga__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./saga */ "../../dist/@frontegg/redux-store/auth/saga.js");
14609
+ /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../constants */ "../../dist/@frontegg/redux-store/constants.js");
14610
+ /* harmony import */ var _initialState__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./initialState */ "../../dist/@frontegg/redux-store/auth/initialState.js");
14568
14611
  /* harmony import */ var _interfaces__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interfaces */ "../../dist/@frontegg/redux-store/auth/interfaces.js");
14569
14612
  /* harmony import */ var _LoginState_interfaces__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./LoginState/interfaces */ "../../dist/@frontegg/redux-store/auth/LoginState/interfaces.js");
14570
14613
  /* harmony import */ var _LoginState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./LoginState */ "../../dist/@frontegg/redux-store/auth/LoginState/index.js");
@@ -14602,6 +14645,7 @@ __webpack_require__.r(__webpack_exports__);
14602
14645
  /* harmony import */ var _RestrictionsState__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./RestrictionsState */ "../../dist/@frontegg/redux-store/auth/RestrictionsState/index.js");
14603
14646
  /* harmony import */ var _Provisioning__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./Provisioning */ "../../dist/@frontegg/redux-store/auth/Provisioning/index.js");
14604
14647
  /* harmony import */ var _PasskeysState__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./PasskeysState */ "../../dist/@frontegg/redux-store/auth/PasskeysState/index.js");
14648
+ /* harmony import */ var _Helpers__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./Helpers */ "../../dist/@frontegg/redux-store/auth/Helpers/index.js");
14605
14649
 
14606
14650
 
14607
14651
 
@@ -14655,16 +14699,17 @@ __webpack_require__.r(__webpack_exports__);
14655
14699
 
14656
14700
 
14657
14701
 
14702
+
14658
14703
 
14659
14704
 
14660
14705
  // export store
14661
14706
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
14662
- sagas: _saga__WEBPACK_IMPORTED_MODULE_37__.sagas,
14663
- mockSagas: _saga__WEBPACK_IMPORTED_MODULE_37__.mockSagas,
14664
- storeName: _constants__WEBPACK_IMPORTED_MODULE_40__.authStoreName,
14665
- initialState: _initialState__WEBPACK_IMPORTED_MODULE_39__.initialState,
14666
- reducer: _reducer__WEBPACK_IMPORTED_MODULE_38__.reducer,
14667
- actions: _reducer__WEBPACK_IMPORTED_MODULE_38__.actions
14707
+ sagas: _saga__WEBPACK_IMPORTED_MODULE_38__.sagas,
14708
+ mockSagas: _saga__WEBPACK_IMPORTED_MODULE_38__.mockSagas,
14709
+ storeName: _constants__WEBPACK_IMPORTED_MODULE_41__.authStoreName,
14710
+ initialState: _initialState__WEBPACK_IMPORTED_MODULE_40__.initialState,
14711
+ reducer: _reducer__WEBPACK_IMPORTED_MODULE_39__.reducer,
14712
+ actions: _reducer__WEBPACK_IMPORTED_MODULE_39__.actions
14668
14713
  });
14669
14714
 
14670
14715
  /***/ }),
@@ -19026,7 +19071,7 @@ __webpack_require__.r(__webpack_exports__);
19026
19071
  /* harmony export */ });
19027
19072
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
19028
19073
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
19029
- /** @license Frontegg v6.87.0
19074
+ /** @license Frontegg v6.88.0
19030
19075
  *
19031
19076
  * This source code is licensed under the MIT license found in the
19032
19077
  * LICENSE file in the root directory of this source tree.