node-lifx-lan-multi 1.1.3 → 1.1.5

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.
@@ -67,6 +67,7 @@ LifxLanUdp.prototype.init = function (config = {}) {
67
67
  reuseAddr: true
68
68
  });
69
69
  this._udp.once('error', (error) => {
70
+ console.error(error);
70
71
  reject(error);
71
72
  return;
72
73
  });
@@ -78,7 +79,8 @@ LifxLanUdp.prototype.init = function (config = {}) {
78
79
  this._receivePacket(buf, rinfo);
79
80
  });
80
81
  this._udp.bind({
81
- port: config.udp_receive_port ?? this._UDP_PORT
82
+ port: config.udp_receive_port ?? this._UDP_PORT,
83
+ exclusive: false
82
84
  });
83
85
  });
84
86
  return promise;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-lifx-lan-multi",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "The node-lifx-lan is a Node.js module which allows you to communicate with the Wi-Fi LED smart light products \"LIFX\" using the LAN protocol.",
5
5
  "main": "./lib/lifx-lan.js",
6
6
  "files": [