OptionalanilistOptionaldiagnosticsClient-level default for the diagnostics mode, applied to every
provider slot that does not define its own diagnostics. Lets
consumers silence the library's unsolicited diagnostics for the whole
client (for example "silent" in captured-console environments)
instead of repeating the setting on every slot.
OptionalmalOptionalonClient-level default for the onHookError lifecycle hook, applied to
every provider slot that does not define its own onHookError. Lets
consumers route hook failures to a real logger once per client instead
of repeating the wiring on every call or accepting uncorrelated
console.warn noise.
The per-provider credentials object accepted by the AniLink constructor.
Each key targets exactly one provider namespace (
aniLink.anilist,aniLink.mal, ...); credentials given under one key are never applied to another provider's requests. The optional top-levelonHookErroris a client-level default applied to every provider slot that does not define its own, so a single hook-error logger can be wired once instead of repeated per slot.See
ProviderCredentials