@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 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
@@ -298,7 +298,7 @@ function coerce(value) {
298
298
  }
299
299
 
300
300
  // src/version.ts
301
- var VERSION = "0.6.9";
301
+ var VERSION = "0.6.10";
302
302
 
303
303
  // src/mcp/transport.ts
304
304
  var USER_AGENT = `xpoz-ts-sdk/${VERSION}`;
package/dist/index.d.cts CHANGED
@@ -817,7 +817,7 @@ declare class OperationCancelledError extends XpozError {
817
817
  constructor(operationId: string);
818
818
  }
819
819
 
820
- declare const VERSION = "0.6.9";
820
+ declare const VERSION = "0.6.10";
821
821
 
822
822
  declare function checkForUpdates(): Promise<void>;
823
823
 
package/dist/index.d.ts CHANGED
@@ -817,7 +817,7 @@ declare class OperationCancelledError extends XpozError {
817
817
  constructor(operationId: string);
818
818
  }
819
819
 
820
- declare const VERSION = "0.6.9";
820
+ declare const VERSION = "0.6.10";
821
821
 
822
822
  declare function checkForUpdates(): Promise<void>;
823
823
 
package/dist/index.js CHANGED
@@ -248,7 +248,7 @@ function coerce(value) {
248
248
  }
249
249
 
250
250
  // src/version.ts
251
- var VERSION = "0.6.9";
251
+ var VERSION = "0.6.10";
252
252
 
253
253
  // src/mcp/transport.ts
254
254
  var USER_AGENT = `xpoz-ts-sdk/${VERSION}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpoz/xpoz",
3
- "version": "0.6.9",
3
+ "version": "0.6.10",
4
4
  "description": "TypeScript SDK for the Xpoz social media intelligence platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",