Per-provider credential slots; an AniLinkCredentials object.
OptionallegacyOptions: RequestOptions
Transport settings for the legacy AniList form; forwarded only to the AniList factory.
Typed clients for every registered provider, a ProviderClients object.
buildProviderClients builds every public provider client from isolated credential slots.
It invokes each ProviderFactory in PROVIDER_FACTORIES with its own AniLinkCredentials slot, producing ProviderClients with the AniList surface (
AniListApi) and the MyAnimeList surface (MyAnimeListApi). The optionallegacyOptionsargument exists only for the positionalnew AniLink(token, options)constructor form; provider-scoped credentials carry their own RequestOptions and never share them with another slot.