@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.
- package/package.json +1 -1
- package/src/server.js +5 -1
package/package.json
CHANGED
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
|
-
|
|
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
|
|