TooTallNate / node-proxy-agent

Maps proxy protocols to `http.Agent` implementations
285 stars 69 forks source link

Fix type definitions to account for transparent proxy discovery #57

Closed nulltoken closed 3 years ago

nulltoken commented 3 years ago

ProxyAgent constructor can be invoked without a parameter. In that case, the proxy uri is retrieved from environment variables.

This PR updates the TypeScript type definitions to account for this.

Relevant:

nulltoken commented 3 years ago

@TooTallNate Kind bump?

TooTallNate commented 3 years ago

Nice catch, thanks!