splitch

DocsSDKoptions.md

Options.

endpoint, timeoutMs, retries, logger, transport.

Every option is documented in the shipped type declarations (dist/index.d.ts). These are the ones worth knowing before you read them.

OptionDefaultNotes
endpointhttps://edge.splitch.devoverride for self-hosted or preview targets
timeoutMs5000per-call timeout; a timeout is an ERROR, not a default
retries0must stay 0; reuse idempotencyKey instead
loggerconsolereceives every fail-loud report
transportbuilt-in fetch adapterinjectable seam for tests

Options that throw

These are validated at construction so a misconfigured client fails on the first line rather than corrupting Exposure data at request time.