Skip to content

PoTokenProviderOptions

Property Type Default value Description
fetch? (input, init?) => Promise<Response> undefined Runs the BotGuard challenge and integrity token requests; pass the fetch given to new Ytdl().
signal? AbortSignal undefined Aborting it disposes the provider.
timeoutMs? number 30000 Milliseconds a request may wait for its response headers or its next body chunk before minting fails with REQUEST_FAILED.