@frontegg/js 6.155.0-alpha.3 → 6.155.0-alpha.4

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.155.0-alpha.3
1
+ /** @license Frontegg v6.155.0-alpha.4
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.155.0-alpha.3
1
+ /** @license Frontegg v6.155.0-alpha.4
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.155.0-alpha.3'
8
+ cdnVersion: '6.155.0-alpha.4'
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.155.0-alpha.3",
3
+ "version": "6.155.0-alpha.4",
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.155.0-alpha.3"
9
+ "@frontegg/types": "6.155.0-alpha.4"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [
@@ -1414,7 +1414,7 @@ __webpack_require__.r(__webpack_exports__);
1414
1414
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1415
1415
  /* harmony export */ });
1416
1416
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1417
- cdnVersion: '6.155.0-alpha.3'
1417
+ cdnVersion: '6.155.0-alpha.4'
1418
1418
  });
1419
1419
 
1420
1420
  /***/ }),
@@ -16342,12 +16342,13 @@ function* handleError(error) {
16342
16342
  }));
16343
16343
  return;
16344
16344
  }
16345
- yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_0__.put)(_reducer__WEBPACK_IMPORTED_MODULE_3__.actions.logout());
16346
16345
  window.localStorage.setItem(_consts__WEBPACK_IMPORTED_MODULE_6__.SHOULD_STEP_UP_KEY, 'true');
16347
16346
  const {
16348
16347
  routes
16349
16348
  } = yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_0__.select)(state => state.auth);
16350
- _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_7__.ContextHolder.onRedirectTo(routes.loginUrl);
16349
+ _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_7__.ContextHolder.onRedirectTo(routes.logoutUrl, {
16350
+ preserveQueryParams: true
16351
+ });
16351
16352
  }
16352
16353
 
16353
16354
  /**
@@ -24341,7 +24342,7 @@ __webpack_require__.r(__webpack_exports__);
24341
24342
  /* harmony export */ });
24342
24343
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
24343
24344
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
24344
- /** @license Frontegg v6.155.0-alpha.3
24345
+ /** @license Frontegg v6.155.0-alpha.4
24345
24346
  *
24346
24347
  * This source code is licensed under the MIT license found in the
24347
24348
  * LICENSE file in the root directory of this source tree.