This commit is contained in:
Jeferson Ramos 2025-11-19 14:09:07 -03:00
parent 067f0999b5
commit d3e3c458a0

View File

@ -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}`);
}
}
}