@solongate/proxy 0.4.7 → 0.4.8

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/dist/index.js CHANGED
@@ -545,7 +545,7 @@ function isAlreadyProtected(server) {
545
545
  for (const arg of args) {
546
546
  if (arg === "-y" || arg === "--yes") continue;
547
547
  if (arg === "@solongate/proxy" || arg === "solongate-proxy") return true;
548
- if (arg.endsWith("/proxy/dist/index.js") && arg.includes("solongate")) return true;
548
+ if (/[/\\]packages[/\\]proxy[/\\]dist[/\\]index\.js$/.test(arg)) return true;
549
549
  break;
550
550
  }
551
551
  return false;
package/dist/init.js CHANGED
@@ -40,7 +40,7 @@ function isAlreadyProtected(server) {
40
40
  for (const arg of args) {
41
41
  if (arg === "-y" || arg === "--yes") continue;
42
42
  if (arg === "@solongate/proxy" || arg === "solongate-proxy") return true;
43
- if (arg.endsWith("/proxy/dist/index.js") && arg.includes("solongate")) return true;
43
+ if (/[/\\]packages[/\\]proxy[/\\]dist[/\\]index\.js$/.test(arg)) return true;
44
44
  break;
45
45
  }
46
46
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solongate/proxy",
3
- "version": "0.4.7",
3
+ "version": "0.4.8",
4
4
  "description": "MCP security proxy — protect any MCP server with customizable policies, path/command constraints, rate limiting, and audit logging. Zero code changes required.",
5
5
  "type": "module",
6
6
  "bin": {