@frontegg/js 7.55.0 → 7.56.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.
@@ -65,6 +65,11 @@ export declare class FronteggApp {
65
65
  addOnLoadedListener(listener: () => void): void;
66
66
  ready(listener: () => void): void;
67
67
  loginWithRedirect(additionalParams?: Record<string, any>): void;
68
+ loginWithRedirectV2(payload?: {
69
+ additionalParams: Record<string, string>;
70
+ shouldRedirectToLogin?: boolean;
71
+ firstTime?: boolean;
72
+ }): void;
68
73
  logout(): void;
69
74
  loadScript(component: string): Promise<unknown>;
70
75
  loadLoginBox(): Promise<void>;
@@ -356,6 +356,14 @@ export var FronteggApp = /*#__PURE__*/function () {
356
356
  payload: additionalParams
357
357
  });
358
358
  }
359
+ }, {
360
+ key: "loginWithRedirectV2",
361
+ value: function loginWithRedirectV2(payload) {
362
+ this.store.dispatch({
363
+ type: 'auth/requestHostedLoginAuthorizeV2',
364
+ payload: payload
365
+ });
366
+ }
359
367
  }, {
360
368
  key: "logout",
361
369
  value: function logout() {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.55.0
1
+ /** @license Frontegg v7.56.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.
@@ -363,6 +363,14 @@ var FronteggApp = /*#__PURE__*/function () {
363
363
  payload: additionalParams
364
364
  });
365
365
  }
366
+ }, {
367
+ key: "loginWithRedirectV2",
368
+ value: function loginWithRedirectV2(payload) {
369
+ this.store.dispatch({
370
+ type: 'auth/requestHostedLoginAuthorizeV2',
371
+ payload: payload
372
+ });
373
+ }
366
374
  }, {
367
375
  key: "logout",
368
376
  value: function logout() {
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.55.0
1
+ /** @license Frontegg v7.56.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.55.0'
8
+ cdnVersion: '7.56.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.55.0",
3
+ "version": "7.56.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.55.0"
9
+ "@frontegg/types": "7.56.0"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [
@@ -697,6 +697,14 @@ var FronteggApp = /*#__PURE__*/function () {
697
697
  payload: additionalParams
698
698
  });
699
699
  }
700
+ }, {
701
+ key: "loginWithRedirectV2",
702
+ value: function loginWithRedirectV2(payload) {
703
+ this.store.dispatch({
704
+ type: 'auth/requestHostedLoginAuthorizeV2',
705
+ payload: payload
706
+ });
707
+ }
700
708
  }, {
701
709
  key: "logout",
702
710
  value: function logout() {
@@ -1620,7 +1628,7 @@ __webpack_require__.r(__webpack_exports__);
1620
1628
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1621
1629
  /* harmony export */ });
1622
1630
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1623
- cdnVersion: '7.55.0'
1631
+ cdnVersion: '7.56.0'
1624
1632
  });
1625
1633
 
1626
1634
  /***/ }),
@@ -18064,7 +18072,7 @@ __webpack_require__.r(__webpack_exports__);
18064
18072
  /* harmony import */ var _subscriptions_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./subscriptions/interfaces */ "../../dist/@frontegg/redux-store/subscriptions/interfaces.js");
18065
18073
  /* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/redux-store/vendor/index.js");
18066
18074
  /* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/redux-store/audits/index.js");
18067
- /** @license Frontegg v7.55.0
18075
+ /** @license Frontegg v7.56.0
18068
18076
  *
18069
18077
  * This source code is licensed under the MIT license found in the
18070
18078
  * LICENSE file in the root directory of this source tree.
@@ -28111,7 +28119,7 @@ __webpack_require__.r(__webpack_exports__);
28111
28119
  /* harmony import */ var _security_center_interfaces__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./security-center/interfaces */ "../../dist/@frontegg/rest-api/security-center/interfaces.js");
28112
28120
  /* harmony import */ var _applications_interfaces__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./applications/interfaces */ "../../dist/@frontegg/rest-api/applications/interfaces.js");
28113
28121
  /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./constants */ "../../dist/@frontegg/rest-api/constants.js");
28114
- /** @license Frontegg v7.55.0
28122
+ /** @license Frontegg v7.56.0
28115
28123
  *
28116
28124
  * This source code is licensed under the MIT license found in the
28117
28125
  * LICENSE file in the root directory of this source tree.
@@ -30741,7 +30749,7 @@ __webpack_require__.r(__webpack_exports__);
30741
30749
  /* harmony export */ });
30742
30750
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
30743
30751
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
30744
- /** @license Frontegg v7.55.0
30752
+ /** @license Frontegg v7.56.0
30745
30753
  *
30746
30754
  * This source code is licensed under the MIT license found in the
30747
30755
  * LICENSE file in the root directory of this source tree.