@iblai/iblai-js 1.6.1 → 1.7.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.
@@ -153,6 +153,8 @@ function SsoLogin({ localStorageKeys, redirectPathKey = 'redirect-to', defaultRe
153
153
  // Debug: log localStorage right before redirect
154
154
  console.log('##################### BEFORE REDIRECT localStorage.tenant:', localStorage.getItem('tenant'));
155
155
  console.log('##################### BEFORE REDIRECT redirectPath:', redirectPath);
156
+ // Clear tenant switching cookie before redirect
157
+ deleteCookie('ibl_tenant_switching');
156
158
  // Redirect to the target path
157
159
  window.location.href = `${window.location.origin}${redirectPath}`;
158
160
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-js",
3
- "version": "1.6.1",
3
+ "version": "1.7.0",
4
4
  "description": "Unified JavaScript SDK for IBL.ai — re-exports data-layer, web-containers, and web-utils under a single package",
5
5
  "type": "module",
6
6
  "engines": {
@@ -62,9 +62,9 @@
62
62
  "dotenv": "16.6.1",
63
63
  "winston": "3.19.0",
64
64
  "@iblai/data-layer": "1.4.0",
65
- "@iblai/web-containers": "1.4.1",
66
- "@iblai/mcp": "1.4.1",
67
- "@iblai/web-utils": "1.4.0"
65
+ "@iblai/mcp": "1.4.2",
66
+ "@iblai/web-containers": "1.5.0",
67
+ "@iblai/web-utils": "1.5.0"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "@iblai/iblai-api": "4.166.0-ai",