Interface SynapseConfig

interface SynapseConfig {
    apiKey: string;
    debug?: boolean;
    endpoint: string;
    retry?: {
        attempts: number;
        backoff: number;
    };
    timeout?: number;
    wsEndpoint?: string;
}

Properties

apiKey: string

API key for authentication

debug?: boolean

Enable debug logging

endpoint: string

Gateway endpoint URL

retry?: {
    attempts: number;
    backoff: number;
}

Retry configuration

timeout?: number

Request timeout in ms (default: 30000)

wsEndpoint?: string

WebSocket endpoint (optional)