@ucm/mcp-server 0.3.1 → 0.3.2

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/client.js +1 -1
  2. package/package.json +1 -1
package/dist/client.js CHANGED
@@ -56,7 +56,7 @@ export class UCMClient {
56
56
  return this.bearerFetch('/v1/call', 'POST', {
57
57
  service_id: serviceId,
58
58
  endpoint,
59
- ...(body && Object.keys(body).length > 0 ? body : {}),
59
+ body: body ?? {},
60
60
  });
61
61
  }
62
62
  async buy(serviceId, plan) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ucm/mcp-server",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "MCP server for UCM — Agent-Native API Marketplace. Gives AI agents access to discover, purchase, and use API services.",
5
5
  "type": "module",
6
6
  "license": "MIT",