fix(fetcher): import correct Headers

This commit is contained in:
WebStreamr 2025-07-15 20:08:01 +00:00
parent f701ed39ef
commit e03621db0b
No known key found for this signature in database

View file

@ -4,7 +4,7 @@ import { Mutex, Semaphore, SemaphoreInterface, withTimeout } from 'async-mutex';
import CachePolicy from 'http-cache-semantics';
import { LRUCache } from 'lru-cache';
import { Cookie, CookieJar } from 'tough-cookie';
import { fetch, RequestInit, Response } from 'undici';
import { fetch, Headers, RequestInit, Response } from 'undici';
import winston from 'winston';
import { BlockedError, HttpError, NotFoundError, QueueIsFullError, TimeoutError, TooManyRequestsError, TooManyTimeoutsError } from '../error';
import { BlockedReason, Context } from '../types';