@newtype-ai/nit-sdk 0.2.1 → 0.2.2

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/dist/index.d.ts +9 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -36,6 +36,10 @@ interface AgentCard {
36
36
  };
37
37
  skills: AgentCardSkill[];
38
38
  publicKey?: string;
39
+ wallet?: {
40
+ solana: string;
41
+ evm: string;
42
+ };
39
43
  iconUrl?: string;
40
44
  documentationUrl?: string;
41
45
  }
@@ -47,8 +51,11 @@ interface VerifySuccess {
47
51
  card: AgentCard | null;
48
52
  /** Which branch the card came from — the domain branch if pushed, otherwise 'main'. */
49
53
  branch: string;
50
- /** Solana wallet address derived from the agent's Ed25519 public key. */
51
- solanaAddress?: string;
54
+ /** Chain wallet addresses derived from the agent's Ed25519 keypair. */
55
+ wallet?: {
56
+ solana: string;
57
+ evm: string;
58
+ } | null;
52
59
  /** HMAC-signed read token for fetching the agent's domain branch card. 30-day expiry. */
53
60
  readToken: string;
54
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newtype-ai/nit-sdk",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Verify agent identity with one function call",
5
5
  "type": "module",
6
6
  "license": "MIT",