diff --git a/src/utils/makeProxyAgent.ts b/src/utils/makeProxyAgent.ts index 4f555c19..c2848292 100644 --- a/src/utils/makeProxyAgent.ts +++ b/src/utils/makeProxyAgent.ts @@ -1,6 +1,6 @@ -import { ProxyAgent } from 'undici'; import { HttpsProxyAgent } from 'https-proxy-agent'; import { SocksProxyAgent } from 'socks-proxy-agent'; +import { ProxyAgent } from 'undici'; type Proxy = { host: string; @@ -81,4 +81,4 @@ export function makeProxyAgentUndici(proxy: Proxy | string): ProxyAgent | SocksP default: throw new Error(`Unsupported proxy protocol: ${protocol}`); } -} \ No newline at end of file +}