busabase-sdk 0.9.18 → 0.10.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -0
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -3077,6 +3077,9 @@ var busabaseContractRoutes = {
3077
3077
  live: {
3078
3078
  // RPC-only by design: no `.route(...)`, so OpenAPI generation and MCP tool
3079
3079
  // discovery skip this long-lived Event Iterator while `/api/rpc` stays typed.
3080
+ // (MCP discovery only skips it because `discoverOpenApiTools` now requires a
3081
+ // route with a method or path — omitting `.route()` still leaves `route: {}`,
3082
+ // which is truthy, and that used to publish this as a callable REST tool.)
3080
3083
  subscribe: oc.output(eventIterator(liveEventSchema))
3081
3084
  },
3082
3085
  bases: baseContract,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "busabase-sdk",
3
- "version": "0.9.18",
3
+ "version": "0.10.0",
4
4
  "description": "Typed TypeScript/JavaScript SDK for the Busabase OpenAPI REST API. Talks to a local or remote `busabase server` (or Busabase Cloud).",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/busabase/busabase/tree/main/apps/busabase-sdk",
@@ -41,9 +41,9 @@
41
41
  "tsx": "^4.20.5",
42
42
  "typescript": "^5.9.3",
43
43
  "vitest": "^2.1.8",
44
- "busabase-contract": "0.9.18",
45
- "open-domains": "0.0.2",
46
- "openlib": "0.1.1"
44
+ "openlib": "0.1.1",
45
+ "busabase-contract": "0.10.0",
46
+ "open-domains": "0.0.2"
47
47
  },
48
48
  "engines": {
49
49
  "node": ">=24.18.0"