@frontegg/js 7.55.0 → 7.56.0-alpha.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-alpha.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-alpha.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-alpha.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-alpha.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-alpha.0"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [