@frontegg/redux-store 6.158.0 → 6.159.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.
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.158.0
1
+ /** @license Frontegg v6.159.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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.158.0
1
+ /** @license Frontegg v6.159.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.
@@ -13,7 +13,7 @@ class FronteggNativeModule {
13
13
  action: 'loginWithSSO',
14
14
  payload: email
15
15
  }));
16
- } else if (!this.isJsInterfaceAvailable()) {
16
+ } else if (this.isJsInterfaceAvailable()) {
17
17
  var _window$FronteggNativ;
18
18
  (_window$FronteggNativ = window.FronteggNativeBridge) == null ? void 0 : _window$FronteggNativ.loginWithSSO(email);
19
19
  } else {
@@ -27,7 +27,7 @@ class FronteggNativeModule {
27
27
  action: 'loginWithSocialLogin',
28
28
  payload: url
29
29
  }));
30
- } else if (!this.isJsInterfaceAvailable()) {
30
+ } else if (this.isJsInterfaceAvailable()) {
31
31
  var _window$FronteggNativ2;
32
32
  (_window$FronteggNativ2 = window.FronteggNativeBridge) == null ? void 0 : _window$FronteggNativ2.loginWithSocialLogin(url);
33
33
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontegg/redux-store",
3
- "version": "6.158.0",
3
+ "version": "6.159.0",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "author": "Frontegg LTD",
@@ -7,7 +7,7 @@ class FronteggNativeModule {
7
7
  action: 'loginWithSSO',
8
8
  payload: email
9
9
  }));
10
- } else if (!this.isJsInterfaceAvailable()) {
10
+ } else if (this.isJsInterfaceAvailable()) {
11
11
  var _window$FronteggNativ;
12
12
  (_window$FronteggNativ = window.FronteggNativeBridge) == null ? void 0 : _window$FronteggNativ.loginWithSSO(email);
13
13
  } else {
@@ -21,7 +21,7 @@ class FronteggNativeModule {
21
21
  action: 'loginWithSocialLogin',
22
22
  payload: url
23
23
  }));
24
- } else if (!this.isJsInterfaceAvailable()) {
24
+ } else if (this.isJsInterfaceAvailable()) {
25
25
  var _window$FronteggNativ2;
26
26
  (_window$FronteggNativ2 = window.FronteggNativeBridge) == null ? void 0 : _window$FronteggNativ2.loginWithSocialLogin(url);
27
27
  } else {