@frontegg/js 6.114.0-alpha.2 → 6.115.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.114.0-alpha.2
1
+ /** @license Frontegg v6.115.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.114.0-alpha.2
1
+ /** @license Frontegg v6.115.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.114.0-alpha.2'
8
+ cdnVersion: '6.115.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.114.0-alpha.2",
3
+ "version": "6.115.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.114.0-alpha.2"
9
+ "@frontegg/types": "6.115.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.114.0-alpha.2'
1243
+ cdnVersion: '6.115.0'
1244
1244
  });
1245
1245
 
1246
1246
  /***/ }),
@@ -5859,6 +5859,7 @@ function* refreshTokenEmbeddedSocialLogins() {
5859
5859
  const shouldNavigateToRegisterQuickLogin = yield shouldNevigateToRegisterQuickLogin(user);
5860
5860
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_reducer__WEBPACK_IMPORTED_MODULE_8__.actions.setTenantsState({
5861
5861
  tenants,
5862
+ activeTenant,
5862
5863
  loading: false
5863
5864
  }));
5864
5865
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_reducer__WEBPACK_IMPORTED_MODULE_8__.actions.setState({
@@ -6972,7 +6973,8 @@ function* handleEnrollMFAResponse({
6972
6973
  }
6973
6974
  function* handleVerifyMFAResponse({
6974
6975
  user,
6975
- tenants
6976
+ tenants,
6977
+ activeTenant
6976
6978
  }) {
6977
6979
  const {
6978
6980
  loginState
@@ -6980,6 +6982,7 @@ function* handleVerifyMFAResponse({
6980
6982
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_reducer__WEBPACK_IMPORTED_MODULE_8__.actions.setUser(user));
6981
6983
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_reducer__WEBPACK_IMPORTED_MODULE_8__.actions.setTenantsState({
6982
6984
  tenants,
6985
+ activeTenant,
6983
6986
  loading: false
6984
6987
  }));
6985
6988
  if (user.id) {
@@ -15688,6 +15691,7 @@ function* loadTenantsMock() {
15688
15691
  yield (0,_utils__WEBPACK_IMPORTED_MODULE_4__.delay)();
15689
15692
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_0__.put)(_reducer__WEBPACK_IMPORTED_MODULE_1__.actions.setTenantsState({
15690
15693
  tenants: _dummy__WEBPACK_IMPORTED_MODULE_5__.tenantsDemo,
15694
+ activeTenant: _dummy__WEBPACK_IMPORTED_MODULE_5__.tenantsDemo[0],
15691
15695
  loading: false
15692
15696
  }));
15693
15697
  }
@@ -21353,7 +21357,7 @@ __webpack_require__.r(__webpack_exports__);
21353
21357
  /* harmony export */ });
21354
21358
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
21355
21359
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
21356
- /** @license Frontegg v6.114.0-alpha.2
21360
+ /** @license Frontegg v6.115.0
21357
21361
  *
21358
21362
  * This source code is licensed under the MIT license found in the
21359
21363
  * LICENSE file in the root directory of this source tree.