hyperswarm-proxy-ws
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "hyperswarm-proxy-ws", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Proxy hyperswarm connections over websockets with auto-reconnect logic", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -9,3 +9,3 @@ const HyperswarmProxyServer = require('hyperswarm-proxy/server') | ||
const { server } = opts | ||
if (server) this.listenOnServer() | ||
if (server) this.listenOnServer(server) | ||
} | ||
@@ -12,0 +12,0 @@ |
@@ -68,3 +68,3 @@ const hyperswarm = require('@hyperswarm/network') | ||
if(connectionCount++) return connection.end() | ||
if (connectionCount++) return connection.end() | ||
@@ -71,0 +71,0 @@ t.deepEqual(info.peer.topic, TEST_TOPIC, 'got connection in client') |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7251