Request & mutation options
RequestOptions#
interface RequestOptions { signal?: AbortSignal; timeoutMs?: number;}| Field | Required | Behavior |
|---|---|---|
| signal | No | Cancels local fetch and response reading. |
| timeoutMs | No | Positive 32-bit integer; overrides the client default. |
These options apply to public directory requests, catalogue requests and demo launches.
MutationOptions#
interface MutationOptions extends RequestOptions { idempotencyKey: string;}The key must be 8–255 printable ASCII characters without spaces. Persist one key and exact request for each logical create-player, funded-launch or free-round operation before dispatch.
Example#
const operation = { user_username: 'player-1001', currency: 'USD',};// Persist operation and this key in your own operation store first.const result = await client.createPlayer(operation, { idempotencyKey: 'persisted-player-operation-001', timeoutMs: 30_000,});There is no retry option. The SDK never creates operation keys or automatically retries. Read-only and demo requests reject mutation keys. Cancellation after dispatch does not reverse upstream work.