@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 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? Use the public trial token as your API key:
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: "K3FG1WG8Hzxd5aAXG1fIpcb1KjArTNQMmh1vFpjd4g8ER6ecrSRkRs3LqlnMaNTZoy7MFT9",
96
+ apiKey: "TRIAL...", // the token from the curl response above
90
97
  });
91
98
  await client.connect();
92
99
 
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.7";
301
+ var VERSION = "0.6.8";
302
302
 
303
303
  // src/mcp/transport.ts
304
304
  var USER_AGENT = `xpoz-ts-sdk/${VERSION}`;
package/dist/index.d.cts CHANGED
@@ -778,7 +778,7 @@ declare class OperationCancelledError extends XpozError {
778
778
  constructor(operationId: string);
779
779
  }
780
780
 
781
- declare const VERSION = "0.6.7";
781
+ declare const VERSION = "0.6.8";
782
782
 
783
783
  declare function checkForUpdates(): Promise<void>;
784
784
 
package/dist/index.d.ts CHANGED
@@ -778,7 +778,7 @@ declare class OperationCancelledError extends XpozError {
778
778
  constructor(operationId: string);
779
779
  }
780
780
 
781
- declare const VERSION = "0.6.7";
781
+ declare const VERSION = "0.6.8";
782
782
 
783
783
  declare function checkForUpdates(): Promise<void>;
784
784
 
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.7";
251
+ var VERSION = "0.6.8";
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.7",
3
+ "version": "0.6.8",
4
4
  "description": "TypeScript SDK for the Xpoz social media intelligence platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",