@frontegg/js 6.126.0-alpha.1 → 6.126.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.126.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.126.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.126.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.126.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.126.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.126.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
  /**
@@ -21955,7 +21955,7 @@ __webpack_require__.r(__webpack_exports__);
21955
21955
  /* harmony export */ });
21956
21956
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
21957
21957
  /* 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
21958
+ /** @license Frontegg v6.126.0
21959
21959
  *
21960
21960
  * This source code is licensed under the MIT license found in the
21961
21961
  * LICENSE file in the root directory of this source tree.
@@ -23826,15 +23826,15 @@ async function loadEntitlements() {
23826
23826
  __webpack_require__.r(__webpack_exports__);
23827
23827
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23828
23828
  /* harmony export */ "ADMIN_PORTAL_ENTITLEMENTS_FF": () => (/* binding */ ADMIN_PORTAL_ENTITLEMENTS_FF),
23829
- /* harmony export */ "NotEntitledReason": () => (/* binding */ NotEntitledReason)
23829
+ /* harmony export */ "NotEntitledJustification": () => (/* binding */ NotEntitledJustification)
23830
23830
  /* harmony export */ });
23831
- let NotEntitledReason;
23831
+ let NotEntitledJustification;
23832
23832
 
23833
- (function (NotEntitledReason) {
23834
- NotEntitledReason["MISSING_PERMISSION"] = "MISSING_PERMISSION";
23835
- NotEntitledReason["MISSING_FEATURE"] = "MISSING_FEATURE";
23836
- NotEntitledReason["BUNDLE_EXPIRED"] = "BUNDLE_EXPIRED";
23837
- })(NotEntitledReason || (NotEntitledReason = {}));
23833
+ (function (NotEntitledJustification) {
23834
+ NotEntitledJustification["MISSING_PERMISSION"] = "MISSING_PERMISSION";
23835
+ NotEntitledJustification["MISSING_FEATURE"] = "MISSING_FEATURE";
23836
+ NotEntitledJustification["BUNDLE_EXPIRED"] = "BUNDLE_EXPIRED";
23837
+ })(NotEntitledJustification || (NotEntitledJustification = {}));
23838
23838
 
23839
23839
  const ADMIN_PORTAL_ENTITLEMENTS_FF = 'admin_portal_entitlements';
23840
23840
 
@@ -24353,7 +24353,7 @@ __webpack_require__.r(__webpack_exports__);
24353
24353
  /* harmony export */ "InsightCode": () => (/* reexport safe */ _security_center_interfaces__WEBPACK_IMPORTED_MODULE_11__.InsightCode),
24354
24354
  /* harmony export */ "MFAStrategyEnum": () => (/* reexport safe */ _auth_interfaces__WEBPACK_IMPORTED_MODULE_1__.MFAStrategyEnum),
24355
24355
  /* harmony export */ "MachineToMachineAuthStrategy": () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_33__.MachineToMachineAuthStrategy),
24356
- /* harmony export */ "NotEntitledReason": () => (/* reexport safe */ _entitlements_interfaces__WEBPACK_IMPORTED_MODULE_10__.NotEntitledReason),
24356
+ /* harmony export */ "NotEntitledJustification": () => (/* reexport safe */ _entitlements_interfaces__WEBPACK_IMPORTED_MODULE_10__.NotEntitledJustification),
24357
24357
  /* harmony export */ "PaginationOrderEnum": () => (/* reexport safe */ _interfaces__WEBPACK_IMPORTED_MODULE_0__.PaginationOrderEnum),
24358
24358
  /* harmony export */ "PaymentMethodType": () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_34__.PaymentMethodType),
24359
24359
  /* harmony export */ "ProviderType": () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_34__.ProviderType),
@@ -24424,7 +24424,7 @@ __webpack_require__.r(__webpack_exports__);
24424
24424
  /* harmony import */ var _users_interfaces__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./users/interfaces */ "../../node_modules/@frontegg/rest-api/users/interfaces.js");
24425
24425
  /* harmony import */ var _entitlements_interfaces__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./entitlements/interfaces */ "../../node_modules/@frontegg/rest-api/entitlements/interfaces.js");
24426
24426
  /* 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
24427
+ /** @license Frontegg v3.1.7
24428
24428
  *
24429
24429
  * This source code is licensed under the MIT license found in the
24430
24430
  * LICENSE file in the root directory of this source tree.
@@ -25073,7 +25073,8 @@ let SecurityCategory;
25073
25073
  SecurityCategory["SESSIONS"] = "SESSIONS";
25074
25074
  SecurityCategory["PASSWORD"] = "PASSWORD";
25075
25075
  SecurityCategory["INACTIVITY"] = "INACTIVITY";
25076
- SecurityCategory["RESTRICTIONS"] = "RESTRICTIONS";
25076
+ SecurityCategory["IP"] = "IP";
25077
+ SecurityCategory["DOMAIN"] = "DOMAIN";
25077
25078
  })(SecurityCategory || (SecurityCategory = {}));
25078
25079
 
25079
25080
  /***/ }),