@frontegg/js 7.30.0-alpha.0 → 7.30.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 v7.30.0-alpha.0
1
+ /** @license Frontegg v7.30.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 v7.30.0-alpha.0
1
+ /** @license Frontegg v7.30.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/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.30.0-alpha.0'
8
+ cdnVersion: '7.30.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": "7.30.0-alpha.0",
3
+ "version": "7.30.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": "7.30.0-alpha.0"
9
+ "@frontegg/types": "7.30.0-alpha.2"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [
@@ -1618,7 +1618,7 @@ __webpack_require__.r(__webpack_exports__);
1618
1618
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1619
1619
  /* harmony export */ });
1620
1620
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1621
- cdnVersion: '7.30.0-alpha.0'
1621
+ cdnVersion: '7.30.0-alpha.2'
1622
1622
  });
1623
1623
 
1624
1624
  /***/ }),
@@ -5555,10 +5555,8 @@ const _excluded = ["callback"],
5555
5555
  const requestAuthorize = async firstTime => {
5556
5556
  const calls = [];
5557
5557
  const callsAfterRefresh = [];
5558
- calls.push(__refreshToken()); // refresh
5559
-
5558
+ calls.push(__refreshToken());
5560
5559
  if (firstTime) {
5561
- // TODO dont forget to use it only in specific pages / scenarios
5562
5560
  const getRetryWithBlockingCallbackPayload = requestName => {
5563
5561
  const callback = (_, error) => {
5564
5562
  if (!error) return;
@@ -5571,26 +5569,15 @@ const _excluded = ["callback"],
5571
5569
  callback
5572
5570
  });
5573
5571
  };
5574
-
5575
- // debugger
5576
5572
  actions.setAuthState({
5577
5573
  isLoading: true
5578
5574
  });
5579
- // identity/resources/sso/v2
5580
- // /identity/resources/sso/custom/v1
5581
5575
  calls.push(actions.loadSocialLoginsConfigurationV2((0,_helpers__WEBPACK_IMPORTED_MODULE_6__.withRetryConfig)()));
5582
- // identity/resources/configurations/v1/public
5583
- // custom login box: identity/resources/configurations/v1/auth/strategies/public
5584
5576
  calls.push(actions.loadAllowSignUps(getRetryWithBlockingCallbackPayload(_interfaces__WEBPACK_IMPORTED_MODULE_8__.REQUEST_NAME.LOAD_ALLOW_SIGNUPS)));
5585
- // identity/resources/configurations/v1/auth/strategies/public
5586
5577
  calls.push(actions.loadPublicAuthStrategiesPolicy(getRetryWithBlockingCallbackPayload(_interfaces__WEBPACK_IMPORTED_MODULE_8__.REQUEST_NAME.LOAD_PUBLIC_AUTH_STRATEGIES_POLICY)));
5587
- // team/resources/sso/v2/configurations/public
5588
5578
  calls.push(__loadSSOPublicConfigurationFunction(getRetryWithBlockingCallbackPayload(_interfaces__WEBPACK_IMPORTED_MODULE_8__.REQUEST_NAME.LOAD_SSO_PUBLIC_CONFIGURATION)));
5589
- // vendors/public
5590
5579
  calls.push(actions.loadVendorPublicInfo((0,_helpers__WEBPACK_IMPORTED_MODULE_6__.withRetryConfig)()));
5591
- // metadata?entityName=saml
5592
5580
  calls.push(__refreshMetadata((0,_helpers__WEBPACK_IMPORTED_MODULE_6__.withRetryConfig)()));
5593
- // custom login routes
5594
5581
  /*
5595
5582
  We will load custom login routes only if custom login is enabled
5596
5583
  to check if custom login is enabled without the tenant alias (search-param/subdomain)
@@ -17915,7 +17902,7 @@ __webpack_require__.r(__webpack_exports__);
17915
17902
  /* harmony import */ var _subscriptions_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./subscriptions/interfaces */ "../../dist/@frontegg/redux-store/subscriptions/interfaces.js");
17916
17903
  /* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/redux-store/vendor/index.js");
17917
17904
  /* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/redux-store/audits/index.js");
17918
- /** @license Frontegg v7.30.0-alpha.0
17905
+ /** @license Frontegg v7.30.0-alpha.2
17919
17906
  *
17920
17907
  * This source code is licensed under the MIT license found in the
17921
17908
  * LICENSE file in the root directory of this source tree.
@@ -27848,7 +27835,7 @@ __webpack_require__.r(__webpack_exports__);
27848
27835
  /* harmony import */ var _entitlements_interfaces__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./entitlements/interfaces */ "../../dist/@frontegg/rest-api/entitlements/interfaces.js");
27849
27836
  /* harmony import */ var _security_center_interfaces__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./security-center/interfaces */ "../../dist/@frontegg/rest-api/security-center/interfaces.js");
27850
27837
  /* harmony import */ var _applications_interfaces__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./applications/interfaces */ "../../dist/@frontegg/rest-api/applications/interfaces.js");
27851
- /** @license Frontegg v7.30.0-alpha.0
27838
+ /** @license Frontegg v7.30.0-alpha.2
27852
27839
  *
27853
27840
  * This source code is licensed under the MIT license found in the
27854
27841
  * LICENSE file in the root directory of this source tree.
@@ -30478,7 +30465,7 @@ __webpack_require__.r(__webpack_exports__);
30478
30465
  /* harmony export */ });
30479
30466
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
30480
30467
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
30481
- /** @license Frontegg v7.30.0-alpha.0
30468
+ /** @license Frontegg v7.30.0-alpha.2
30482
30469
  *
30483
30470
  * This source code is licensed under the MIT license found in the
30484
30471
  * LICENSE file in the root directory of this source tree.