@frontegg/js 7.62.0 → 7.64.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.
@@ -70,7 +70,7 @@ export declare class FronteggApp {
70
70
  shouldRedirectToLogin?: boolean;
71
71
  firstTime?: boolean;
72
72
  }): void;
73
- logout(): void;
73
+ logout(callback?: () => void): void;
74
74
  loadScript(component: string): Promise<unknown>;
75
75
  loadLoginBox(): Promise<void>;
76
76
  showAdminPortal(options?: ShowAdminPortalOptions): Promise<void>;
@@ -368,7 +368,7 @@ export var FronteggApp = /*#__PURE__*/function () {
368
368
  }
369
369
  }, {
370
370
  key: "logout",
371
- value: function logout() {
371
+ value: function logout(callback) {
372
372
  this.store.dispatch({
373
373
  type: 'auth/setState',
374
374
  payload: {
@@ -376,7 +376,8 @@ export var FronteggApp = /*#__PURE__*/function () {
376
376
  }
377
377
  });
378
378
  this.store.dispatch({
379
- type: 'auth/logout'
379
+ type: 'auth/logout',
380
+ payload: callback
380
381
  });
381
382
  }
382
383
  }, {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.62.0
1
+ /** @license Frontegg v7.64.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.
@@ -375,7 +375,7 @@ var FronteggApp = /*#__PURE__*/function () {
375
375
  }
376
376
  }, {
377
377
  key: "logout",
378
- value: function logout() {
378
+ value: function logout(callback) {
379
379
  this.store.dispatch({
380
380
  type: 'auth/setState',
381
381
  payload: {
@@ -383,7 +383,8 @@ var FronteggApp = /*#__PURE__*/function () {
383
383
  }
384
384
  });
385
385
  this.store.dispatch({
386
- type: 'auth/logout'
386
+ type: 'auth/logout',
387
+ payload: callback
387
388
  });
388
389
  }
389
390
  }, {
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.62.0
1
+ /** @license Frontegg v7.64.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.62.0'
8
+ cdnVersion: '7.64.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.62.0",
3
+ "version": "7.64.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.62.0"
9
+ "@frontegg/types": "7.64.0"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [
@@ -709,7 +709,7 @@ var FronteggApp = /*#__PURE__*/function () {
709
709
  }
710
710
  }, {
711
711
  key: "logout",
712
- value: function logout() {
712
+ value: function logout(callback) {
713
713
  this.store.dispatch({
714
714
  type: 'auth/setState',
715
715
  payload: {
@@ -717,7 +717,8 @@ var FronteggApp = /*#__PURE__*/function () {
717
717
  }
718
718
  });
719
719
  this.store.dispatch({
720
- type: 'auth/logout'
720
+ type: 'auth/logout',
721
+ payload: callback
721
722
  });
722
723
  }
723
724
  }, {
@@ -1630,7 +1631,7 @@ __webpack_require__.r(__webpack_exports__);
1630
1631
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1631
1632
  /* harmony export */ });
1632
1633
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1633
- cdnVersion: '7.62.0'
1634
+ cdnVersion: '7.64.0'
1634
1635
  });
1635
1636
 
1636
1637
  /***/ }),
@@ -18259,7 +18260,7 @@ __webpack_require__.r(__webpack_exports__);
18259
18260
  /* harmony import */ var _subscriptions_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./subscriptions/interfaces */ "../../dist/@frontegg/redux-store/subscriptions/interfaces.js");
18260
18261
  /* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/redux-store/vendor/index.js");
18261
18262
  /* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/redux-store/audits/index.js");
18262
- /** @license Frontegg v7.62.0
18263
+ /** @license Frontegg v7.64.0
18263
18264
  *
18264
18265
  * This source code is licensed under the MIT license found in the
18265
18266
  * LICENSE file in the root directory of this source tree.
@@ -28367,7 +28368,7 @@ __webpack_require__.r(__webpack_exports__);
28367
28368
  /* harmony import */ var _security_center_interfaces__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./security-center/interfaces */ "../../dist/@frontegg/rest-api/security-center/interfaces.js");
28368
28369
  /* harmony import */ var _applications_interfaces__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./applications/interfaces */ "../../dist/@frontegg/rest-api/applications/interfaces.js");
28369
28370
  /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./constants */ "../../dist/@frontegg/rest-api/constants.js");
28370
- /** @license Frontegg v7.62.0
28371
+ /** @license Frontegg v7.64.0
28371
28372
  *
28372
28373
  * This source code is licensed under the MIT license found in the
28373
28374
  * LICENSE file in the root directory of this source tree.
@@ -30997,7 +30998,7 @@ __webpack_require__.r(__webpack_exports__);
30997
30998
  /* harmony export */ });
30998
30999
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
30999
31000
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
31000
- /** @license Frontegg v7.62.0
31001
+ /** @license Frontegg v7.64.0
31001
31002
  *
31002
31003
  * This source code is licensed under the MIT license found in the
31003
31004
  * LICENSE file in the root directory of this source tree.