@frontegg/js 7.111.0 → 7.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 v7.111.0
1
+ /** @license Frontegg v7.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 v7.111.0
1
+ /** @license Frontegg v7.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: '7.111.0'
8
+ cdnVersion: '7.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": "7.111.0",
3
+ "version": "7.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": "7.111.0"
9
+ "@frontegg/types": "7.112.0"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [
@@ -1924,7 +1924,7 @@ __webpack_require__.r(__webpack_exports__);
1924
1924
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1925
1925
  /* harmony export */ });
1926
1926
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1927
- cdnVersion: '7.111.0'
1927
+ cdnVersion: '7.112.0'
1928
1928
  });
1929
1929
 
1930
1930
  /***/ }),
@@ -5877,7 +5877,7 @@ __webpack_require__.r(__webpack_exports__);
5877
5877
  const __requestHostedLoginSilentAuthorize = async () => {
5878
5878
  var _response;
5879
5879
  let response;
5880
- if (_toolkit__WEBPACK_IMPORTED_MODULE_1__["default"].isMobileSDK()) {
5880
+ if (_toolkit__WEBPACK_IMPORTED_MODULE_1__["default"].isGetTokensAvailable()) {
5881
5881
  const tokens = await _toolkit__WEBPACK_IMPORTED_MODULE_1__["default"].getTokens();
5882
5882
  response = await api.auth.silentOAuthRefreshTokenV3(tokens);
5883
5883
  } else {
@@ -5950,7 +5950,7 @@ __webpack_require__.r(__webpack_exports__);
5950
5950
  if (tenantId) {
5951
5951
  params['tenantId'] = tenantId;
5952
5952
  }
5953
- if (_toolkit__WEBPACK_IMPORTED_MODULE_1__["default"].isMobileSDK()) {
5953
+ if (_toolkit__WEBPACK_IMPORTED_MODULE_1__["default"].isAvailable('closeWindow')) {
5954
5954
  return _toolkit__WEBPACK_IMPORTED_MODULE_1__["default"].closeWindow('not_authorized');
5955
5955
  }
5956
5956
  const searchParams = new URLSearchParams(params);
@@ -6003,7 +6003,7 @@ __webpack_require__.r(__webpack_exports__);
6003
6003
  additionalParams = additionalParams || {};
6004
6004
  additionalParams['login_direct_action'] = btoa(JSON.stringify(loginDirectAction));
6005
6005
  }
6006
- if (_toolkit__WEBPACK_IMPORTED_MODULE_1__["default"].isMobileSDK()) {
6006
+ if (_toolkit__WEBPACK_IMPORTED_MODULE_1__["default"].isAvailable('requestAuthorize')) {
6007
6007
  return _toolkit__WEBPACK_IMPORTED_MODULE_1__["default"].requestAuthorize(payload);
6008
6008
  }
6009
6009
  if (((_additionalParams = additionalParams) == null ? void 0 : _additionalParams['prompt']) === 'login') {
@@ -20278,7 +20278,7 @@ __webpack_require__.r(__webpack_exports__);
20278
20278
  /* harmony import */ var _subscriptions_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./subscriptions/interfaces */ "../../dist/@frontegg/redux-store/subscriptions/interfaces.js");
20279
20279
  /* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/redux-store/vendor/index.js");
20280
20280
  /* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/redux-store/audits/index.js");
20281
- /** @license Frontegg v7.111.0
20281
+ /** @license Frontegg v7.112.0
20282
20282
  *
20283
20283
  * This source code is licensed under the MIT license found in the
20284
20284
  * LICENSE file in the root directory of this source tree.
@@ -30899,7 +30899,7 @@ __webpack_require__.r(__webpack_exports__);
30899
30899
  /* harmony import */ var _security_center_interfaces__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./security-center/interfaces */ "../../dist/@frontegg/rest-api/security-center/interfaces.js");
30900
30900
  /* harmony import */ var _applications_interfaces__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./applications/interfaces */ "../../dist/@frontegg/rest-api/applications/interfaces.js");
30901
30901
  /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./constants */ "../../dist/@frontegg/rest-api/constants.js");
30902
- /** @license Frontegg v7.111.0
30902
+ /** @license Frontegg v7.112.0
30903
30903
  *
30904
30904
  * This source code is licensed under the MIT license found in the
30905
30905
  * LICENSE file in the root directory of this source tree.
@@ -33696,7 +33696,7 @@ __webpack_require__.r(__webpack_exports__);
33696
33696
  /* harmony export */ });
33697
33697
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
33698
33698
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
33699
- /** @license Frontegg v7.111.0
33699
+ /** @license Frontegg v7.112.0
33700
33700
  *
33701
33701
  * This source code is licensed under the MIT license found in the
33702
33702
  * LICENSE file in the root directory of this source tree.