@gvnrdao/dh-mcp 0.0.7 → 0.0.8

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/index.js CHANGED
@@ -443,7 +443,7 @@ var LOGIN_TYPES_WITH_AUDIENCE = {
443
443
  ]
444
444
  };
445
445
  function loginDomain(chainId) {
446
- return { name: "Diamond Hands lit-ops-server", version: "1", chainId };
446
+ return { name: "Diamond Hands", version: "1", chainId };
447
447
  }
448
448
  function randomNonceHex() {
449
449
  return "0x" + Buffer.from(import_ethers6.ethers.randomBytes(32)).toString("hex");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gvnrdao/dh-mcp",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "MCP server for Diamond Hands Protocol",
5
5
  "bin": {
6
6
  "dh-mcp": "./dist/index.js"
@@ -12,7 +12,7 @@
12
12
  "prepublishOnly": "npm run typecheck && npm run build"
13
13
  },
14
14
  "dependencies": {
15
- "@gvnrdao/dh-sdk": "0.0.308",
15
+ "@gvnrdao/dh-sdk": "0.0.318",
16
16
  "@modelcontextprotocol/sdk": "^1.29.0",
17
17
  "bitcoinjs-lib": "^6.1.7",
18
18
  "ethers": "6.16.0",
@@ -35,8 +35,11 @@ const LOGIN_TYPES_WITH_AUDIENCE: Record<string, TypedDataField[]> = {
35
35
  ],
36
36
  };
37
37
 
38
+ // EIP-712 domain name the wallet displays as the signing app. Renamed
39
+ // "Diamond Hands lit-ops-server" -> "Diamond Hands"; the lit-ops-server dual-accepts
40
+ // the legacy name during the migration window.
38
41
  function loginDomain(chainId: number) {
39
- return { name: "Diamond Hands lit-ops-server", version: "1", chainId };
42
+ return { name: "Diamond Hands", version: "1", chainId };
40
43
  }
41
44
 
42
45
  function randomNonceHex(): string {