@oneie/mcp 0.4.1 → 0.4.3

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/dist/env.js CHANGED
@@ -1,7 +1,9 @@
1
1
  export function readEnv() {
2
2
  return {
3
+ // Accept ONE_* as a fallback for both (older docs used it) — the URL fallback
4
+ // mirrors the key's, so a ONE_API_URL set per the old example isn't silently dropped.
3
5
  apiKey: process.env.ONEIE_API_KEY ?? process.env.ONE_API_KEY,
4
- baseUrl: process.env.ONEIE_API_URL ?? "https://api.one.ie",
6
+ baseUrl: process.env.ONEIE_API_URL ?? process.env.ONE_API_URL ?? "https://api.one.ie",
5
7
  };
6
8
  }
7
9
  //# sourceMappingURL=env.js.map
package/dist/env.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"env.js","sourceRoot":"","sources":["../src/env.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,OAAO;IACrB,OAAO;QACL,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,aAAa,IAAI,OAAO,CAAC,GAAG,CAAC,WAAW;QAC5D,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,aAAa,IAAI,oBAAoB;KAC3D,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"env.js","sourceRoot":"","sources":["../src/env.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,OAAO;IACrB,OAAO;QACL,8EAA8E;QAC9E,sFAAsF;QACtF,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,aAAa,IAAI,OAAO,CAAC,GAAG,CAAC,WAAW;QAC5D,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,aAAa,IAAI,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,oBAAoB;KACtF,CAAC;AACJ,CAAC"}
package/dist/index.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneie/mcp",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "ONE substrate MCP server — 12 substrate verbs + 3 discovery tools.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -18,7 +18,7 @@
18
18
  "prepublishOnly": "bun run build"
19
19
  },
20
20
  "dependencies": {
21
- "@oneie/sdk": "0.10.0",
21
+ "@oneie/sdk": "^0.13.2",
22
22
  "@modelcontextprotocol/sdk": "^1.0.0"
23
23
  },
24
24
  "devDependencies": {