OptionalmaxOptionaltimeoutPer-request timeout in milliseconds. Default 30 000.
Range: [1000, 300000] (1 second to 5 minutes).
OptionalcircuitCircuit breaker configuration. Pass false to disable the breaker
entirely (not recommended for production).
OptionalfetchCustom fetch implementation. Defaults to the global fetch.
Inject an undici Pool-backed fetch on Node.js to enable true
connection pooling and HTTP/2 multiplexing:
import { Pool } from "undici";
const pool = new Pool("https://cib.satim.dz");
const satim = new Satim(credentials, { fetch: pool.fetch.bind(pool) });
On edge runtimes (Cloudflare Workers, Vercel Edge) the global fetch already pools connections — leave this unset.
Optionalinit: RequestInitOptionalinit: RequestInit
Maximum retries on transient failures (5xx, timeout) for idempotent calls. Clamped to
[0, 10]. Default 2.