@frontegg/js 7.0.0-alpha.6 → 7.0.0-alpha.7

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.0.0-alpha.6
1
+ /** @license Frontegg v7.0.0-alpha.7
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.0.0-alpha.6
1
+ /** @license Frontegg v7.0.0-alpha.7
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.0.0-alpha.6'
8
+ cdnVersion: '7.0.0-alpha.7'
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.0.0-alpha.6",
3
+ "version": "7.0.0-alpha.7",
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.0.0-alpha.6"
9
+ "@frontegg/types": "7.0.0-alpha.7"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [
@@ -1533,7 +1533,7 @@ __webpack_require__.r(__webpack_exports__);
1533
1533
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1534
1534
  /* harmony export */ });
1535
1535
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1536
- cdnVersion: '7.0.0-alpha.6'
1536
+ cdnVersion: '7.0.0-alpha.7'
1537
1537
  });
1538
1538
 
1539
1539
  /***/ }),
@@ -3229,7 +3229,7 @@ __webpack_require__.r(__webpack_exports__);
3229
3229
  user
3230
3230
  }) => {
3231
3231
  var _store$auth6, _store$auth6$applicat, _apps$filter;
3232
- const [multiAppsFlag] = sharedActions.__getFeatureFlags(['multi-apps-admin-portal']);
3232
+ const [multiAppsFlag] = await sharedActions.__getFeatureFlags(['multi-apps-admin-portal']);
3233
3233
  if (!multiAppsFlag) {
3234
3234
  return;
3235
3235
  }
@@ -3255,7 +3255,7 @@ __webpack_require__.r(__webpack_exports__);
3255
3255
  shouldLoadApps,
3256
3256
  users
3257
3257
  }) => {
3258
- const [multiAppsFlag] = sharedActions.__getFeatureFlags(['multi-apps-admin-portal']);
3258
+ const [multiAppsFlag] = await sharedActions.__getFeatureFlags(['multi-apps-admin-portal']);
3259
3259
  if (!multiAppsFlag || !shouldLoadApps) {
3260
3260
  return users;
3261
3261
  }
@@ -14559,6 +14559,7 @@ const _excluded = ["callback", "appIds"],
14559
14559
  });
14560
14560
  callback == null ? void 0 : callback(users);
14561
14561
  } catch (e) {
14562
+ console.error('Failed to load users', e);
14562
14563
  actions.setTeamError({
14563
14564
  key: _interfaces__WEBPACK_IMPORTED_MODULE_3__.TeamStateKeys.USERS,
14564
14565
  value: (0,_helpers__WEBPACK_IMPORTED_MODULE_4__.errorHandler)(e)
@@ -14613,6 +14614,7 @@ const _excluded = ["callback", "appIds"],
14613
14614
  }
14614
14615
  });
14615
14616
  } catch (e) {
14617
+ console.error('Failed to add user', e);
14616
14618
  actions.setTeamState({
14617
14619
  addUserDialogState: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, teamState.addUserDialogState, {
14618
14620
  loading: false,
@@ -17223,7 +17225,7 @@ __webpack_require__.r(__webpack_exports__);
17223
17225
  /* harmony import */ var _subscriptions_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./subscriptions/interfaces */ "../../dist/@frontegg/redux-store/subscriptions/interfaces.js");
17224
17226
  /* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/redux-store/vendor/index.js");
17225
17227
  /* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/redux-store/audits/index.js");
17226
- /** @license Frontegg v7.0.0-alpha.6
17228
+ /** @license Frontegg v7.0.0-alpha.7
17227
17229
  *
17228
17230
  * This source code is licensed under the MIT license found in the
17229
17231
  * LICENSE file in the root directory of this source tree.
@@ -24572,7 +24574,7 @@ __webpack_require__.r(__webpack_exports__);
24572
24574
  /* harmony export */ });
24573
24575
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
24574
24576
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
24575
- /** @license Frontegg v7.0.0-alpha.6
24577
+ /** @license Frontegg v7.0.0-alpha.7
24576
24578
  *
24577
24579
  * This source code is licensed under the MIT license found in the
24578
24580
  * LICENSE file in the root directory of this source tree.