@xpoz/xpoz 0.6.7 → 0.6.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/README.md +9 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -81,12 +81,19 @@ const client = new XpozClient({ apiKey: "your-api-key", timeoutMs: 600_000 });
|
|
|
81
81
|
|
|
82
82
|
### Trial Access (No Sign-Up Required)
|
|
83
83
|
|
|
84
|
-
Want to try the SDK before signing up?
|
|
84
|
+
Want to try the SDK before signing up? Mint a free trial token (no account needed, valid for 5 days):
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
curl -X POST https://api.xpoz.ai/api/trial/token
|
|
88
|
+
# -> { "success": true, "data": { "accessKey": "TRIAL...", "expiresInSeconds": 432000 }, ... }
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Then use the returned token (it starts with `TRIAL`) as your API key:
|
|
85
92
|
|
|
86
93
|
```typescript
|
|
87
94
|
// Optional: try without your own account
|
|
88
95
|
const client = new XpozClient({
|
|
89
|
-
apiKey: "
|
|
96
|
+
apiKey: "TRIAL...", // the token from the curl response above
|
|
90
97
|
});
|
|
91
98
|
await client.connect();
|
|
92
99
|
|
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED