From e03621db0bf394eedf01f491f115f348defc171a Mon Sep 17 00:00:00 2001 From: WebStreamr <210764791+webstreamr@users.noreply.github.com> Date: Tue, 15 Jul 2025 20:08:01 +0000 Subject: [PATCH] fix(fetcher): import correct Headers --- src/utils/Fetcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Fetcher.ts b/src/utils/Fetcher.ts index 5574fbc..a3074a8 100644 --- a/src/utils/Fetcher.ts +++ b/src/utils/Fetcher.ts @@ -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';