Comparing version 0.6.1 to 0.6.2
{ | ||
"name": "synapsis", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "Automatic pub/sub over every possible network. It just works.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -16,2 +16,14 @@ | ||
this.config_swarm = Object.assign({ | ||
dns: { | ||
server: [ | ||
'discovery1.publicbits.org', | ||
'discovery2.publicbits.org' | ||
], | ||
interval: 1000 | ||
}, | ||
dht: false, | ||
utp: false | ||
}, opts.swarm) | ||
this._routes_v2 = {}; | ||
@@ -42,13 +54,3 @@ | ||
start() { | ||
this.command_swarm = Swarm({ | ||
dns : { | ||
server : [ | ||
'discovery1.publicbits.org', | ||
'discovery2.publicbits.org' | ||
], | ||
interval : 1000 | ||
}, | ||
dht : false, | ||
utp : false | ||
}); | ||
this.command_swarm = Swarm(this.config_swarm); | ||
@@ -55,0 +57,0 @@ this.command_swarm.listen(0); |
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
25186
795