@decocms/runtime 1.0.0-alpha.13 → 1.0.0-alpha.14

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/bindings.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decocms/runtime",
3
- "version": "1.0.0-alpha.13",
3
+ "version": "1.0.0-alpha.14",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@cloudflare/workers-types": "^4.20250617.0",
package/src/bindings.ts CHANGED
@@ -61,7 +61,7 @@ function mcpClientFromState(
61
61
  : undefined;
62
62
  if (typeof connectionId !== "string" && "app_name" in binding) {
63
63
  // in case of a binding to an app name, we need to use the new apps/mcp endpoint which will proxy the request to the app but without any token
64
- throw new Error("Binding to an app name is not supported");
64
+ return undefined;
65
65
  }
66
66
  return mcpClientForConnectionId(connectionId, ctx);
67
67
  }