arn-browser 0.1.45 → 0.1.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arn-browser",
3
- "version": "0.1.45",
3
+ "version": "0.1.46",
4
4
  "description": "A lightweight, browser autmation helper.",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -1,4 +1,4 @@
1
- import ProxyChain from "proxy-chain";
1
+ import { Server } from "proxy-chain";
2
2
  import net from "net";
3
3
  import https from "https";
4
4
  import http from "http";
@@ -269,7 +269,7 @@ export async function startProxyServer({
269
269
  return null;
270
270
  }
271
271
 
272
- server = new ProxyChain.Server({
272
+ server = new Server({
273
273
  port: candidatePort,
274
274
  host: "127.0.0.1",
275
275
  verbose: debug,