@frontegg/js 6.155.0-alpha.0 → 6.155.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.
@@ -81,14 +81,16 @@ export var FronteggApp = /*#__PURE__*/function () {
81
81
  case 0:
82
82
  shouldRequestHostedLoginAuthorize = (_this$options$authOpt = _this.options.authOptions) == null ? void 0 : (_this$options$authOpt2 = _this$options$authOpt.hostedLoginOptions) == null ? void 0 : _this$options$authOpt2.loadUserOnFirstLoad;
83
83
  if (!_this.options.builderMode && _this.options.framework !== 'nextjs') {
84
- if (_this.options.hostedLoginBox && !_this.options.customLoginBox && shouldRequestHostedLoginAuthorize) {
85
- _this.store.dispatch({
86
- type: 'auth/requestHostedLoginAuthorizeV2',
87
- payload: {
88
- shouldRedirectToLogin: false,
89
- firstTime: true
90
- }
91
- });
84
+ if (_this.options.hostedLoginBox && !_this.options.customLoginBox) {
85
+ if (shouldRequestHostedLoginAuthorize) {
86
+ _this.store.dispatch({
87
+ type: 'auth/requestHostedLoginAuthorizeV2',
88
+ payload: {
89
+ shouldRedirectToLogin: false,
90
+ firstTime: true
91
+ }
92
+ });
93
+ }
92
94
  } else {
93
95
  _this.store.dispatch({
94
96
  type: 'auth/requestAuthorize',
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.155.0-alpha.0
1
+ /** @license Frontegg v6.155.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.
@@ -88,14 +88,16 @@ var FronteggApp = /*#__PURE__*/function () {
88
88
  case 0:
89
89
  shouldRequestHostedLoginAuthorize = (_this$options$authOpt = _this.options.authOptions) == null ? void 0 : (_this$options$authOpt2 = _this$options$authOpt.hostedLoginOptions) == null ? void 0 : _this$options$authOpt2.loadUserOnFirstLoad;
90
90
  if (!_this.options.builderMode && _this.options.framework !== 'nextjs') {
91
- if (_this.options.hostedLoginBox && !_this.options.customLoginBox && shouldRequestHostedLoginAuthorize) {
92
- _this.store.dispatch({
93
- type: 'auth/requestHostedLoginAuthorizeV2',
94
- payload: {
95
- shouldRedirectToLogin: false,
96
- firstTime: true
97
- }
98
- });
91
+ if (_this.options.hostedLoginBox && !_this.options.customLoginBox) {
92
+ if (shouldRequestHostedLoginAuthorize) {
93
+ _this.store.dispatch({
94
+ type: 'auth/requestHostedLoginAuthorizeV2',
95
+ payload: {
96
+ shouldRedirectToLogin: false,
97
+ firstTime: true
98
+ }
99
+ });
100
+ }
99
101
  } else {
100
102
  _this.store.dispatch({
101
103
  type: 'auth/requestAuthorize',
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.155.0-alpha.0
1
+ /** @license Frontegg v6.155.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: '6.155.0-alpha.0'
8
+ cdnVersion: '6.155.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": "6.155.0-alpha.0",
3
+ "version": "6.155.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": "6.155.0-alpha.0"
9
+ "@frontegg/types": "6.155.0"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [