@xpoz/xpoz 0.6.9 → 0.6.10
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 +5 -1
- 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
|
@@ -84,10 +84,14 @@ const client = new XpozClient({ apiKey: "your-api-key", timeoutMs: 600_000 });
|
|
|
84
84
|
Want to try the SDK before signing up? Mint a free trial token (no account needed, valid for 5 days):
|
|
85
85
|
|
|
86
86
|
```bash
|
|
87
|
-
curl -X POST https://api.xpoz.ai/api/trial/token
|
|
87
|
+
curl -X POST https://api.xpoz.ai/api/trial/token \
|
|
88
|
+
-H "Content-Type: application/json" \
|
|
89
|
+
-d '{"source": "sdk"}'
|
|
88
90
|
# -> { "success": true, "data": { "accessKey": "TRIAL...", "expiresInSeconds": 432000 }, ... }
|
|
89
91
|
```
|
|
90
92
|
|
|
93
|
+
The `source` field is required — it identifies where the trial token request came from (e.g. `skills`, a specific page, `sdk`, `cli`).
|
|
94
|
+
|
|
91
95
|
Then use the returned token (it starts with `TRIAL`) as your API key:
|
|
92
96
|
|
|
93
97
|
```typescript
|
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED