@clawdvault/sdk 0.1.2 → 0.2.0

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/README.md CHANGED
@@ -245,10 +245,13 @@ const { messages } = await client.getChat({
245
245
  limit: 50
246
246
  });
247
247
 
248
- // Send message (requires auth)
248
+ // Send message (requires session)
249
+ const { token } = await client.createSession();
250
+ client.setSessionToken(token);
251
+
249
252
  await client.sendChat({
250
253
  mint: 'MINT_ADDRESS',
251
- content: 'Hello world!'
254
+ message: 'Hello world!'
252
255
  });
253
256
 
254
257
  // Reactions