@edda-business/mcp 0.75.0 → 0.75.1

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/server.js +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edda-business/mcp",
3
- "version": "0.75.0",
3
+ "version": "0.75.1",
4
4
  "description": "Edda — the company data layer for AI agents.",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
package/src/server.js CHANGED
@@ -33,9 +33,13 @@
33
33
 
34
34
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
35
35
  import { z } from "zod";
36
+ import { createRequire } from "node:module";
36
37
  import { get, post, patch, postRaw, isReadOnly } from "./client.js";
37
38
 
38
- export const SERVER_VERSION = "0.66.0";
39
+ // Read from package.json, never retyped here. The constant said 0.66.0 for nine releases: every
40
+ // handshake, `--version` and /health answered with a version that had not shipped since June, which
41
+ // is the one number support asks for first.
42
+ export const SERVER_VERSION = createRequire(import.meta.url)("../package.json").version;
39
43
 
40
44
  // ─── helpers ──────────────────────────────────────────────────────────────────
41
45