claude-sdk 0.1.2 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,6 +6,9 @@ SDK for managing Solana wallets with an AI agent (Claude).
6
6
  ```bash
7
7
  npm i claude-sdk
8
8
  ```
9
+ ## Usage
10
+
11
+ ```ts
9
12
  import { Connection } from "@solana/web3.js";
10
13
  import { ClaudeAgent, keypairFromSource, getBalanceLamports } from "claude-sdk";
11
14
 
@@ -22,3 +25,4 @@ const payer = keypairFromSource({
22
25
 
23
26
  const bal = await getBalanceLamports(conn, payer.publicKey);
24
27
  console.log("balance lamports:", bal);
28
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-sdk",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Claude SDK: manage Solana wallets with an AI agent",
5
5
  "license": "MIT",
6
6
  "type": "module",