@frontegg/js 6.126.0-alpha.1 → 6.127.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.126.0-alpha.1
1
+ /** @license Frontegg v6.127.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.126.0-alpha.1
1
+ /** @license Frontegg v6.127.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.126.0-alpha.1'
8
+ cdnVersion: '6.127.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.126.0-alpha.1",
3
+ "version": "6.127.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.126.0-alpha.1"
9
+ "@frontegg/types": "6.127.0-alpha.0"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [
@@ -1304,7 +1304,7 @@ __webpack_require__.r(__webpack_exports__);
1304
1304
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1305
1305
  /* harmony export */ });
1306
1306
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1307
- cdnVersion: '6.126.0-alpha.1'
1307
+ cdnVersion: '6.127.0-alpha.0'
1308
1308
  });
1309
1309
 
1310
1310
  /***/ }),
@@ -4063,7 +4063,7 @@ const getEntitlementsHelper = (keyEntitlements, missingKeyEnum) => {
4063
4063
  }
4064
4064
  return {
4065
4065
  isEntitled: false,
4066
- justification: keyEntitlements.notEntitledReason
4066
+ justification: keyEntitlements.justification
4067
4067
  };
4068
4068
  };
4069
4069
 
@@ -4075,7 +4075,7 @@ const getEntitlementsHelper = (keyEntitlements, missingKeyEnum) => {
4075
4075
  */
4076
4076
  const getPermissionEntitlements = (entitlements, key) => {
4077
4077
  var _entitlements$permiss;
4078
- return getEntitlementsHelper(entitlements == null ? void 0 : (_entitlements$permiss = entitlements.permissions) == null ? void 0 : _entitlements$permiss[key], _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__.NotEntitledReason.MISSING_PERMISSION);
4078
+ return getEntitlementsHelper(entitlements == null ? void 0 : (_entitlements$permiss = entitlements.permissions) == null ? void 0 : _entitlements$permiss[key], _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__.NotEntitledJustification.MISSING_PERMISSION);
4079
4079
  };
4080
4080
 
4081
4081
  /**
@@ -4086,7 +4086,7 @@ const getPermissionEntitlements = (entitlements, key) => {
4086
4086
  */
4087
4087
  const getFeatureEntitlements = (entitlements, key) => {
4088
4088
  var _entitlements$feature;
4089
- return getEntitlementsHelper(entitlements == null ? void 0 : (_entitlements$feature = entitlements.features) == null ? void 0 : _entitlements$feature[key], _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__.NotEntitledReason.MISSING_FEATURE);
4089
+ return getEntitlementsHelper(entitlements == null ? void 0 : (_entitlements$feature = entitlements.features) == null ? void 0 : _entitlements$feature[key], _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__.NotEntitledJustification.MISSING_FEATURE);
4090
4090
  };
4091
4091
 
4092
4092
  /**
@@ -12991,8 +12991,8 @@ __webpack_require__.r(__webpack_exports__);
12991
12991
  const securityCenterState = {
12992
12992
  loaders: {},
12993
12993
  errors: {},
12994
- recommendations: [],
12995
- insights: [],
12994
+ recommendations: undefined,
12995
+ insights: undefined,
12996
12996
  score: 0
12997
12997
  };
12998
12998
  const reducers = {
@@ -13005,7 +13005,8 @@ const reducers = {
13005
13005
  };
13006
13006
  const actions = {
13007
13007
  loadRecommendations: (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_1__.createAction)(`${_constants__WEBPACK_IMPORTED_MODULE_2__.authStoreName}/loadRecommendations`),
13008
- loadInsights: (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_1__.createAction)(`${_constants__WEBPACK_IMPORTED_MODULE_2__.authStoreName}/loadInsights`)
13008
+ loadInsights: (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_1__.createAction)(`${_constants__WEBPACK_IMPORTED_MODULE_2__.authStoreName}/loadInsights`),
13009
+ sendResetBreachedPasswordEmails: (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_1__.createAction)(`${_constants__WEBPACK_IMPORTED_MODULE_2__.authStoreName}/sendResetBreachedPasswordEmails`)
13009
13010
  };
13010
13011
 
13011
13012
  /**
@@ -17086,6 +17087,8 @@ __webpack_require__.r(__webpack_exports__);
17086
17087
  /* harmony import */ var _CustomLoginState__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./CustomLoginState */ "../../dist/@frontegg/redux-store/auth/CustomLoginState/index.js");
17087
17088
  /* harmony import */ var _MSP_AllAccountsState__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./MSP/AllAccountsState */ "../../dist/@frontegg/redux-store/auth/MSP/AllAccountsState/index.js");
17088
17089
  /* harmony import */ var _MSP_AllAccountsState_allAccountsDialogsState__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./MSP/AllAccountsState/allAccountsDialogsState */ "../../dist/@frontegg/redux-store/auth/MSP/AllAccountsState/allAccountsDialogsState.js");
17090
+ /* harmony import */ var _SecurityCenterState__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./SecurityCenterState */ "../../dist/@frontegg/redux-store/auth/SecurityCenterState/index.js");
17091
+
17089
17092
 
17090
17093
 
17091
17094
 
@@ -17143,7 +17146,8 @@ const reinitializeState = {
17143
17146
  provisioningState: _Provisioning__WEBPACK_IMPORTED_MODULE_23__.provisioningState,
17144
17147
  passkeysState: _PasskeysState__WEBPACK_IMPORTED_MODULE_24__.passkeysState,
17145
17148
  allAccountsState: _MSP_AllAccountsState__WEBPACK_IMPORTED_MODULE_25__.allAccountsState,
17146
- allAccountsDialogsState: _MSP_AllAccountsState_allAccountsDialogsState__WEBPACK_IMPORTED_MODULE_26__.allAccountsDialogsState
17149
+ allAccountsDialogsState: _MSP_AllAccountsState_allAccountsDialogsState__WEBPACK_IMPORTED_MODULE_26__.allAccountsDialogsState,
17150
+ securityCenterState: _SecurityCenterState__WEBPACK_IMPORTED_MODULE_27__.securityCenterState
17147
17151
  };
17148
17152
  const initialState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
17149
17153
  routes: {
@@ -21955,7 +21959,7 @@ __webpack_require__.r(__webpack_exports__);
21955
21959
  /* harmony export */ });
21956
21960
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
21957
21961
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
21958
- /** @license Frontegg v6.126.0-alpha.1
21962
+ /** @license Frontegg v6.127.0-alpha.0
21959
21963
  *
21960
21964
  * This source code is licensed under the MIT license found in the
21961
21965
  * LICENSE file in the root directory of this source tree.
@@ -23826,15 +23830,15 @@ async function loadEntitlements() {
23826
23830
  __webpack_require__.r(__webpack_exports__);
23827
23831
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23828
23832
  /* harmony export */ "ADMIN_PORTAL_ENTITLEMENTS_FF": () => (/* binding */ ADMIN_PORTAL_ENTITLEMENTS_FF),
23829
- /* harmony export */ "NotEntitledReason": () => (/* binding */ NotEntitledReason)
23833
+ /* harmony export */ "NotEntitledJustification": () => (/* binding */ NotEntitledJustification)
23830
23834
  /* harmony export */ });
23831
- let NotEntitledReason;
23835
+ let NotEntitledJustification;
23832
23836
 
23833
- (function (NotEntitledReason) {
23834
- NotEntitledReason["MISSING_PERMISSION"] = "MISSING_PERMISSION";
23835
- NotEntitledReason["MISSING_FEATURE"] = "MISSING_FEATURE";
23836
- NotEntitledReason["BUNDLE_EXPIRED"] = "BUNDLE_EXPIRED";
23837
- })(NotEntitledReason || (NotEntitledReason = {}));
23837
+ (function (NotEntitledJustification) {
23838
+ NotEntitledJustification["MISSING_PERMISSION"] = "MISSING_PERMISSION";
23839
+ NotEntitledJustification["MISSING_FEATURE"] = "MISSING_FEATURE";
23840
+ NotEntitledJustification["BUNDLE_EXPIRED"] = "BUNDLE_EXPIRED";
23841
+ })(NotEntitledJustification || (NotEntitledJustification = {}));
23838
23842
 
23839
23843
  const ADMIN_PORTAL_ENTITLEMENTS_FF = 'admin_portal_entitlements';
23840
23844
 
@@ -24353,7 +24357,7 @@ __webpack_require__.r(__webpack_exports__);
24353
24357
  /* harmony export */ "InsightCode": () => (/* reexport safe */ _security_center_interfaces__WEBPACK_IMPORTED_MODULE_11__.InsightCode),
24354
24358
  /* harmony export */ "MFAStrategyEnum": () => (/* reexport safe */ _auth_interfaces__WEBPACK_IMPORTED_MODULE_1__.MFAStrategyEnum),
24355
24359
  /* harmony export */ "MachineToMachineAuthStrategy": () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_33__.MachineToMachineAuthStrategy),
24356
- /* harmony export */ "NotEntitledReason": () => (/* reexport safe */ _entitlements_interfaces__WEBPACK_IMPORTED_MODULE_10__.NotEntitledReason),
24360
+ /* harmony export */ "NotEntitledJustification": () => (/* reexport safe */ _entitlements_interfaces__WEBPACK_IMPORTED_MODULE_10__.NotEntitledJustification),
24357
24361
  /* harmony export */ "PaginationOrderEnum": () => (/* reexport safe */ _interfaces__WEBPACK_IMPORTED_MODULE_0__.PaginationOrderEnum),
24358
24362
  /* harmony export */ "PaymentMethodType": () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_34__.PaymentMethodType),
24359
24363
  /* harmony export */ "ProviderType": () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_34__.ProviderType),
@@ -24424,7 +24428,7 @@ __webpack_require__.r(__webpack_exports__);
24424
24428
  /* harmony import */ var _users_interfaces__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./users/interfaces */ "../../node_modules/@frontegg/rest-api/users/interfaces.js");
24425
24429
  /* harmony import */ var _entitlements_interfaces__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./entitlements/interfaces */ "../../node_modules/@frontegg/rest-api/entitlements/interfaces.js");
24426
24430
  /* harmony import */ var _security_center_interfaces__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./security-center/interfaces */ "../../node_modules/@frontegg/rest-api/security-center/interfaces.js");
24427
- /** @license Frontegg v3.1.5
24431
+ /** @license Frontegg v3.1.7
24428
24432
  *
24429
24433
  * This source code is licensed under the MIT license found in the
24430
24434
  * LICENSE file in the root directory of this source tree.
@@ -25073,7 +25077,8 @@ let SecurityCategory;
25073
25077
  SecurityCategory["SESSIONS"] = "SESSIONS";
25074
25078
  SecurityCategory["PASSWORD"] = "PASSWORD";
25075
25079
  SecurityCategory["INACTIVITY"] = "INACTIVITY";
25076
- SecurityCategory["RESTRICTIONS"] = "RESTRICTIONS";
25080
+ SecurityCategory["IP"] = "IP";
25081
+ SecurityCategory["DOMAIN"] = "DOMAIN";
25077
25082
  })(SecurityCategory || (SecurityCategory = {}));
25078
25083
 
25079
25084
  /***/ }),