@asbjornenge/zombie-swarm-node
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -8,3 +8,6 @@ 'use strict'; | ||
exports.default = function (args) { | ||
var mdns = (0, _multicastDns2.default)(); | ||
var mdns = (0, _multicastDns2.default)({ | ||
multicast: true, | ||
interface: args.address | ||
}); | ||
mdns.on('query', function (q) { | ||
@@ -11,0 +14,0 @@ var swarmQuery = q.questions.reduce(function (found, question) { |
import _mdns from 'multicast-dns' | ||
export default function(args) { | ||
let mdns = _mdns() | ||
let mdns = _mdns({ | ||
multicast: true, | ||
interface: args.address | ||
}) | ||
mdns.on('query', q => { | ||
@@ -6,0 +9,0 @@ let swarmQuery = q.questions.reduce((found, question) => { |
{ | ||
"name": "@asbjornenge/zombie-swarm-node", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
6779
184