@frontegg/js 6.82.0-alpha.1 → 6.82.0-alpha.2

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.82.0-alpha.1
1
+ /** @license Frontegg v6.82.0-alpha.2
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.82.0-alpha.1
1
+ /** @license Frontegg v6.82.0-alpha.2
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.
@@ -8,6 +8,7 @@ var mockFlagsList = {
8
8
  admin_portal_ip_restrictions: 'on',
9
9
  admin_portal_domain_restrictions: 'on',
10
10
  'new-mfa-pages': 'on',
11
- 'show-passkeys': 'off'
11
+ 'show-passkeys': 'off',
12
+ 'groups-admin-box': 'on'
12
13
  };
13
14
  exports.mockFlagsList = mockFlagsList;
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.82.0-alpha.1'
8
+ cdnVersion: '6.82.0-alpha.2'
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.82.0-alpha.1",
3
+ "version": "6.82.0-alpha.2",
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.82.0-alpha.1"
9
+ "@frontegg/types": "6.82.0-alpha.2"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [
@@ -1182,7 +1182,8 @@ var mockFlagsList = {
1182
1182
  admin_portal_ip_restrictions: 'on',
1183
1183
  admin_portal_domain_restrictions: 'on',
1184
1184
  'new-mfa-pages': 'on',
1185
- 'show-passkeys': 'off'
1185
+ 'show-passkeys': 'off',
1186
+ 'groups-admin-box': 'on'
1186
1187
  };
1187
1188
 
1188
1189
  /***/ }),
@@ -1199,7 +1200,7 @@ __webpack_require__.r(__webpack_exports__);
1199
1200
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1200
1201
  /* harmony export */ });
1201
1202
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1202
- cdnVersion: '6.82.0-alpha.1'
1203
+ cdnVersion: '6.82.0-alpha.2'
1203
1204
  });
1204
1205
 
1205
1206
  /***/ }),
@@ -7940,7 +7941,8 @@ function* saveProfile(_ref) {
7940
7941
  payload = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(_ref.payload, _excluded);
7941
7942
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_reducer__WEBPACK_IMPORTED_MODULE_3__.actions.setProfileState({
7942
7943
  saving: true,
7943
- error: null
7944
+ error: null,
7945
+ loading: true
7944
7946
  }));
7945
7947
  try {
7946
7948
  const oldProfileData = yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(state => state.auth.profileState.profile);
@@ -7966,13 +7968,15 @@ function* saveProfile(_ref) {
7966
7968
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_reducer__WEBPACK_IMPORTED_MODULE_3__.actions.setUser((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, currentUser, profile)));
7967
7969
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_reducer__WEBPACK_IMPORTED_MODULE_3__.actions.setProfileState({
7968
7970
  profile,
7969
- saving: false
7971
+ saving: false,
7972
+ loading: false
7970
7973
  }));
7971
7974
  callback == null ? void 0 : callback(newProfileData);
7972
7975
  } catch (e) {
7973
7976
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_reducer__WEBPACK_IMPORTED_MODULE_3__.actions.setProfileState({
7974
7977
  saving: false,
7975
- error: e.message
7978
+ error: e.message,
7979
+ loading: false
7976
7980
  }));
7977
7981
  callback == null ? void 0 : callback(null, e);
7978
7982
  }
@@ -18903,7 +18907,7 @@ __webpack_require__.r(__webpack_exports__);
18903
18907
  /* harmony export */ });
18904
18908
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
18905
18909
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
18906
- /** @license Frontegg v6.82.0-alpha.1
18910
+ /** @license Frontegg v6.82.0-alpha.2
18907
18911
  *
18908
18912
  * This source code is licensed under the MIT license found in the
18909
18913
  * LICENSE file in the root directory of this source tree.