bittorrent-relay
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -569,3 +569,5 @@ import Debug from 'debug' | ||
} | ||
socket.send(JSON.stringify({id: self.id, tracker: self.tracker, web: self.web, host: self.host, port: self.port, dht: self.dht, domain: self.domain, relays: self.relays, hashes: self.hashes, action: 'session'})) | ||
if(socket.server){ | ||
socket.send(JSON.stringify({id: self.id, tracker: self.tracker, web: self.web, host: self.host, port: self.port, dht: self.dht, domain: self.domain, relays: self.relays, hashes: self.hashes, action: 'session'})) | ||
} | ||
} | ||
@@ -572,0 +574,0 @@ if(message.action === 'web'){ |
{ | ||
"name": "bittorrent-relay", | ||
"description": "Uses the mainline dht to relay requests to other trackers in a swarm", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"bin": { | ||
@@ -6,0 +6,0 @@ "bittorrent-relay": "./bin/cmd.js" |
47647
1254