umbrella-context 0.1.39 → 0.1.40

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.
@@ -25,7 +25,7 @@ function detectMixedSavedConnection(umbrellaUrl, serverUrl) {
25
25
  const backend = new URL(serverUrl);
26
26
  const umbrellaIsLoopback = isLocalOnlyServerUrl(umbrellaUrl);
27
27
  const backendIsLoopback = isLocalOnlyServerUrl(serverUrl);
28
- const differentHosts = umbrella.hostname !== backend.hostname || umbrella.port !== backend.port;
28
+ const differentHosts = umbrella.hostname !== backend.hostname;
29
29
  if (!differentHosts && umbrellaIsLoopback === backendIsLoopback) {
30
30
  return null;
31
31
  }
@@ -27,7 +27,7 @@ export function buildConnectionPresentation(config, authSnapshot = getStoredUmbr
27
27
  const backend = new URL(config.serverUrl);
28
28
  const umbrellaIsLoopback = ["127.0.0.1", "localhost"].includes(umbrella.hostname.toLowerCase());
29
29
  const backendIsLoopback = ["127.0.0.1", "localhost"].includes(backend.hostname.toLowerCase());
30
- if (umbrella.hostname !== backend.hostname || umbrella.port !== backend.port) {
30
+ if (umbrella.hostname !== backend.hostname) {
31
31
  warnings.push(`The saved Umbrella app URL (${config.umbrellaUrl}) and Context backend URL (${config.serverUrl}) point to different places.`);
32
32
  }
33
33
  if (umbrellaIsLoopback !== backendIsLoopback) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umbrella-context",
3
- "version": "0.1.39",
3
+ "version": "0.1.40",
4
4
  "description": "Umbrella Context CLI for connecting a device to company context spaces, querying saved context, and syncing MCP access.",
5
5
  "type": "module",
6
6
  "bin": {