@frontegg/js 6.111.0 → 6.112.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.111.0
1
+ /** @license Frontegg v6.112.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.111.0
1
+ /** @license Frontegg v6.112.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.111.0'
8
+ cdnVersion: '6.112.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.111.0",
3
+ "version": "6.112.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.111.0"
9
+ "@frontegg/types": "6.112.0"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [
@@ -1240,7 +1240,7 @@ __webpack_require__.r(__webpack_exports__);
1240
1240
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1241
1241
  /* harmony export */ });
1242
1242
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1243
- cdnVersion: '6.111.0'
1243
+ cdnVersion: '6.112.0'
1244
1244
  });
1245
1245
 
1246
1246
  /***/ }),
@@ -7453,6 +7453,9 @@ const allAccountsDialogsState = {
7453
7453
  jwt: ''
7454
7454
  },
7455
7455
  deleteSubAccountDialog: {
7456
+ accountId: '',
7457
+ accountName: '',
7458
+ isParentAccount: false,
7456
7459
  loading: false,
7457
7460
  open: false,
7458
7461
  error: false,
@@ -7477,7 +7480,11 @@ const allAccountsDialogsState = {
7477
7480
  editUserRolesDialog: {
7478
7481
  loading: false,
7479
7482
  open: false,
7480
- jwt: ''
7483
+ jwt: '',
7484
+ accountId: '',
7485
+ userId: '',
7486
+ userName: '',
7487
+ userRoles: []
7481
7488
  }
7482
7489
  };
7483
7490
  const reducers = {
@@ -15585,9 +15592,10 @@ function* loadTenants({
15585
15592
  }));
15586
15593
  try {
15587
15594
  var _payload$callback;
15588
- const tenants = yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_0__.call)(_frontegg_rest_api__WEBPACK_IMPORTED_MODULE_2__.api.tenants.getTenants);
15595
+ const userTenantsResponse = yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_0__.call)(_frontegg_rest_api__WEBPACK_IMPORTED_MODULE_2__.api.users.getCurrentUserTenantsV3);
15589
15596
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_0__.put)(_reducer__WEBPACK_IMPORTED_MODULE_1__.actions.setTenantsState({
15590
- tenants,
15597
+ tenants: userTenantsResponse.tenants,
15598
+ activeTenant: userTenantsResponse.activeTenant,
15591
15599
  loading: false
15592
15600
  }));
15593
15601
  payload == null ? void 0 : (_payload$callback = payload.callback) == null ? void 0 : _payload$callback.call(payload, []);
@@ -21325,7 +21333,7 @@ __webpack_require__.r(__webpack_exports__);
21325
21333
  /* harmony export */ });
21326
21334
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
21327
21335
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
21328
- /** @license Frontegg v6.111.0
21336
+ /** @license Frontegg v6.112.0
21329
21337
  *
21330
21338
  * This source code is licensed under the MIT license found in the
21331
21339
  * LICENSE file in the root directory of this source tree.