@frontegg/js 6.201.0-alpha.2 → 6.201.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.201.0-alpha.2
1
+ /** @license Frontegg v6.201.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.201.0-alpha.2
1
+ /** @license Frontegg v6.201.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.201.0-alpha.2'
8
+ cdnVersion: '6.201.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.201.0-alpha.2",
3
+ "version": "6.201.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.201.0-alpha.2"
9
+ "@frontegg/types": "6.201.0"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [
@@ -1574,7 +1574,7 @@ __webpack_require__.r(__webpack_exports__);
1574
1574
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1575
1575
  /* harmony export */ });
1576
1576
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1577
- cdnVersion: '6.201.0-alpha.2'
1577
+ cdnVersion: '6.201.0'
1578
1578
  });
1579
1579
 
1580
1580
  /***/ }),
@@ -6921,7 +6921,6 @@ function* refreshOrRequestHostedLoginAuthorizeV2({
6921
6921
  }
6922
6922
  }
6923
6923
  function* requestHostedLoginAuthorize(additionalParams) {
6924
- var _ContextHolder$getBas;
6925
6924
  const {
6926
6925
  routes,
6927
6926
  context,
@@ -6948,7 +6947,8 @@ function* requestHostedLoginAuthorize(additionalParams) {
6948
6947
 
6949
6948
  // We are saving the verifier in session storage to be able to validate the response
6950
6949
  localStorage.setItem(_constants__WEBPACK_IMPORTED_MODULE_18__.HOSTED_LOGIN_VERIFIER_KEY, code_verifier);
6951
- let redirectUrl = `${window.location.origin}${urlStrategy === 'path' ? '' : '#'}${(_ContextHolder$getBas = _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_6__.ContextHolder.getBasename()) != null ? _ContextHolder$getBas : ''}${routes.hostedLoginRedirectUrl}`;
6950
+ const basename = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getBaseNameWithoutSlashSuffix)();
6951
+ let redirectUrl = `${window.location.origin}${urlStrategy === 'path' ? '' : '#'}${basename != null ? basename : ''}${routes.hostedLoginRedirectUrl}`;
6952
6952
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.call)(_CustomLoginState_saga__WEBPACK_IMPORTED_MODULE_15__.loadCustomLoginRoutes);
6953
6953
  const customLoginSearchParam = yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(state => {
6954
6954
  var _state$auth$customLog;
@@ -26011,7 +26011,7 @@ __webpack_require__.r(__webpack_exports__);
26011
26011
  /* harmony export */ });
26012
26012
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
26013
26013
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
26014
- /** @license Frontegg v6.201.0-alpha.2
26014
+ /** @license Frontegg v6.201.0
26015
26015
  *
26016
26016
  * This source code is licensed under the MIT license found in the
26017
26017
  * LICENSE file in the root directory of this source tree.
@@ -30228,7 +30228,7 @@ __webpack_require__.r(__webpack_exports__);
30228
30228
  /* harmony import */ var _entitlements_interfaces__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./entitlements/interfaces */ "../../node_modules/@frontegg/rest-api/entitlements/interfaces.js");
30229
30229
  /* harmony import */ var _security_center_interfaces__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./security-center/interfaces */ "../../node_modules/@frontegg/rest-api/security-center/interfaces.js");
30230
30230
  /* harmony import */ var _applications_interfaces__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./applications/interfaces */ "../../node_modules/@frontegg/rest-api/applications/interfaces.js");
30231
- /** @license Frontegg v3.1.76-alpha.9762981322
30231
+ /** @license Frontegg v3.1.76
30232
30232
  *
30233
30233
  * This source code is licensed under the MIT license found in the
30234
30234
  * LICENSE file in the root directory of this source tree.