@frontegg/js 7.50.0 → 7.52.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.
@@ -293,14 +293,9 @@ export var FronteggApp = /*#__PURE__*/function () {
293
293
  } catch (e) {
294
294
  console.error('Failed to add frontegg-loading to body classList');
295
295
  }
296
-
297
- // feature flags loading should be called before requestAuthorize because it uses ff
298
296
  _context4.next = 9;
299
- return this.loadFeatureFlags();
297
+ return Promise.all([this.loadFeatureFlags(), this.loadAdminBoxMetadata(), this.requestAuthorize()]);
300
298
  case 9:
301
- _context4.next = 11;
302
- return Promise.all([this.loadAdminBoxMetadata(), this.requestAuthorize()]);
303
- case 11:
304
299
  if (!this.options.previewMode && !this.options.customLoginBox) {
305
300
  this.loadLoginBox();
306
301
  loadGTM(this.name);
@@ -308,7 +303,7 @@ export var FronteggApp = /*#__PURE__*/function () {
308
303
  if (!this.options.lazyLoadAdminPortal) {
309
304
  this.loadScript('FronteggAdminPortal');
310
305
  }
311
- case 13:
306
+ case 11:
312
307
  case "end":
313
308
  return _context4.stop();
314
309
  }
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.50.0
1
+ /** @license Frontegg v7.52.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.
@@ -300,14 +300,9 @@ var FronteggApp = /*#__PURE__*/function () {
300
300
  } catch (e) {
301
301
  console.error('Failed to add frontegg-loading to body classList');
302
302
  }
303
-
304
- // feature flags loading should be called before requestAuthorize because it uses ff
305
303
  _context4.next = 9;
306
- return this.loadFeatureFlags();
304
+ return Promise.all([this.loadFeatureFlags(), this.loadAdminBoxMetadata(), this.requestAuthorize()]);
307
305
  case 9:
308
- _context4.next = 11;
309
- return Promise.all([this.loadAdminBoxMetadata(), this.requestAuthorize()]);
310
- case 11:
311
306
  if (!this.options.previewMode && !this.options.customLoginBox) {
312
307
  this.loadLoginBox();
313
308
  (0, _utils2.loadGTM)(this.name);
@@ -315,7 +310,7 @@ var FronteggApp = /*#__PURE__*/function () {
315
310
  if (!this.options.lazyLoadAdminPortal) {
316
311
  this.loadScript('FronteggAdminPortal');
317
312
  }
318
- case 13:
313
+ case 11:
319
314
  case "end":
320
315
  return _context4.stop();
321
316
  }
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.50.0
1
+ /** @license Frontegg v7.52.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.50.0'
8
+ cdnVersion: '7.52.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.50.0",
3
+ "version": "7.52.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.50.0"
9
+ "@frontegg/types": "7.52.0"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [
@@ -634,14 +634,9 @@ var FronteggApp = /*#__PURE__*/function () {
634
634
  } catch (e) {
635
635
  console.error('Failed to add frontegg-loading to body classList');
636
636
  }
637
-
638
- // feature flags loading should be called before requestAuthorize because it uses ff
639
637
  _context4.next = 9;
640
- return this.loadFeatureFlags();
638
+ return Promise.all([this.loadFeatureFlags(), this.loadAdminBoxMetadata(), this.requestAuthorize()]);
641
639
  case 9:
642
- _context4.next = 11;
643
- return Promise.all([this.loadAdminBoxMetadata(), this.requestAuthorize()]);
644
- case 11:
645
640
  if (!this.options.previewMode && !this.options.customLoginBox) {
646
641
  this.loadLoginBox();
647
642
  (0,_utils__WEBPACK_IMPORTED_MODULE_9__.loadGTM)(this.name);
@@ -649,7 +644,7 @@ var FronteggApp = /*#__PURE__*/function () {
649
644
  if (!this.options.lazyLoadAdminPortal) {
650
645
  this.loadScript('FronteggAdminPortal');
651
646
  }
652
- case 13:
647
+ case 11:
653
648
  case "end":
654
649
  return _context4.stop();
655
650
  }
@@ -1625,7 +1620,7 @@ __webpack_require__.r(__webpack_exports__);
1625
1620
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1626
1621
  /* harmony export */ });
1627
1622
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1628
- cdnVersion: '7.50.0'
1623
+ cdnVersion: '7.52.0'
1629
1624
  });
1630
1625
 
1631
1626
  /***/ }),
@@ -18044,7 +18039,7 @@ __webpack_require__.r(__webpack_exports__);
18044
18039
  /* harmony import */ var _subscriptions_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./subscriptions/interfaces */ "../../dist/@frontegg/redux-store/subscriptions/interfaces.js");
18045
18040
  /* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/redux-store/vendor/index.js");
18046
18041
  /* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/redux-store/audits/index.js");
18047
- /** @license Frontegg v7.50.0
18042
+ /** @license Frontegg v7.52.0
18048
18043
  *
18049
18044
  * This source code is licensed under the MIT license found in the
18050
18045
  * LICENSE file in the root directory of this source tree.
@@ -28088,7 +28083,7 @@ __webpack_require__.r(__webpack_exports__);
28088
28083
  /* harmony import */ var _security_center_interfaces__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./security-center/interfaces */ "../../dist/@frontegg/rest-api/security-center/interfaces.js");
28089
28084
  /* harmony import */ var _applications_interfaces__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./applications/interfaces */ "../../dist/@frontegg/rest-api/applications/interfaces.js");
28090
28085
  /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./constants */ "../../dist/@frontegg/rest-api/constants.js");
28091
- /** @license Frontegg v7.50.0
28086
+ /** @license Frontegg v7.52.0
28092
28087
  *
28093
28088
  * This source code is licensed under the MIT license found in the
28094
28089
  * LICENSE file in the root directory of this source tree.
@@ -30718,7 +30713,7 @@ __webpack_require__.r(__webpack_exports__);
30718
30713
  /* harmony export */ });
30719
30714
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
30720
30715
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
30721
- /** @license Frontegg v7.50.0
30716
+ /** @license Frontegg v7.52.0
30722
30717
  *
30723
30718
  * This source code is licensed under the MIT license found in the
30724
30719
  * LICENSE file in the root directory of this source tree.