AniLink - v2.0.0
    Preparing search index...

    Type Alias AniLinkOptions

    AniLinkOptions: RequestOptions

    Transport settings accepted by an AniLink client: timeout, signal, automatic retries under the default policy (retry: false opts out), opt-in paceWithRateLimit pacing and circuitBreaker fast-fail, lifecycle hooks, and exposeRawAxiosError.

    Every operation method also accepts an optional trailing options argument of this type. It is merged shallowly over the instance-level settings for that one call — a field set on the per-request object wins, and unset fields keep the instance value:

    const aniLink = new AniLink("token", { timeout: 5_000 });

    // Uses the instance timeout of 5 seconds.
    await aniLink.anilist.query.media({ id: 1, type: "ANIME" });

    // Raises the timeout for this call only; everything else stays instance-scoped.
    await aniLink.anilist.query.mediaListCollection(
    { userId: 542244, type: "ANIME" },
    { timeout: 30_000 }
    );