@amigo-ai/sdk 0.60.0 → 0.62.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
@@ -17,6 +17,8 @@ npm install @amigo-ai/sdk
17
17
 
18
18
  ## Quick Start
19
19
 
20
+ ### ES Modules (ESM)
21
+
20
22
  ```typescript
21
23
  import { AmigoClient } from '@amigo-ai/sdk'
22
24
 
@@ -44,6 +46,19 @@ async function example() {
44
46
  example()
45
47
  ```
46
48
 
49
+ ### CommonJS (CJS)
50
+
51
+ ```javascript
52
+ const { AmigoClient } = require('@amigo-ai/sdk')
53
+
54
+ const client = new AmigoClient({
55
+ apiKey: 'your-api-key',
56
+ apiKeyId: 'your-api-key-id',
57
+ userId: 'user-id',
58
+ orgId: 'your-organization-id',
59
+ })
60
+ ```
61
+
47
62
  ## Examples
48
63
 
49
64
  - **Conversation management**: