oceanalt-aml-mcp 0.7.0 → 0.7.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/server.mjs +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oceanalt-aml-mcp",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "mcpName": "com.oceanalt/aml",
5
5
  "description": "Should this payment go to this address? MCP server for pre-settlement payment compliance: screen a payee address for OFAC sanctions, mixers, scam and hack lists and on-chain risk across 7 EVM chains, Tron and Solana — with click-through evidence, not a black-box score. Free tools need no API key. Paid x402 tools add gateway verdicts, taint tracing and batch screening.",
6
6
  "type": "module",
package/server.mjs CHANGED
@@ -47,10 +47,10 @@ async function apiGet(path) {
47
47
  } finally { clearTimeout(t); }
48
48
  }
49
49
 
50
- // 版本号从 package.json 读,不写死。
51
- // 2026-09-08:这里曾经写死 "0.4.0",而启动日志写死 "v0.3",package.json 又是第三个数 ——
52
- // 三处各说各话,发布时还漏过一次版本号(commit 52f351c)。单一事实源之后不会再漂。
53
- // npm 打包永远会带上 package.json,所以正常情况读得到;万一读不到也不能让 server 起不来。
50
+ // Read the version from package.json instead of hard-coding it.
51
+ // 2026-09-08: this used to say "0.4.0" while the startup log said "v0.3" and package.json a third number,
52
+ // and one release went out with the wrong version (commit 52f351c). One source of truth stops the drift.
53
+ // npm always packs package.json, so this normally works; if it cannot be read the server must still start.
54
54
  const PKG_VERSION = (() => {
55
55
  try { return JSON.parse(readFileSync(new URL("./package.json", import.meta.url), "utf8")).version; }
56
56
  catch { return "0.0.0-unknown"; }