@frontegg/rest-api 3.1.31 → 3.1.32

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/auth/utils.js CHANGED
@@ -19,7 +19,7 @@ export function setTabTenantInSessionStorage(tenantId) {
19
19
  sessionStorage.setItem(FRONTEGG_SEPARATE_TABS_BY_TENANT, tenantId);
20
20
  }
21
21
  export function getTabTenantFromSessionStorage() {
22
- if (ContextHolder.isSessionPerTenantEnabled()) {
22
+ if (!ContextHolder.isSessionPerTenantEnabled()) {
23
23
  return null;
24
24
  }
25
25
 
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v3.1.31
1
+ /** @license Frontegg v3.1.32
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.
@@ -35,7 +35,7 @@ function setTabTenantInSessionStorage(tenantId) {
35
35
  }
36
36
 
37
37
  function getTabTenantFromSessionStorage() {
38
- if (_ContextHolder.ContextHolder.isSessionPerTenantEnabled()) {
38
+ if (!_ContextHolder.ContextHolder.isSessionPerTenantEnabled()) {
39
39
  return null;
40
40
  }
41
41
 
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v3.1.31
1
+ /** @license Frontegg v3.1.32
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontegg/rest-api",
3
- "version": "3.1.31",
3
+ "version": "3.1.32",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {