telemersive-bus 0.6.12 → 0.6.13

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.
package/lib/BusManager.js CHANGED
@@ -209,7 +209,7 @@ class BusManager {
209
209
 
210
210
  // if even one joined peer replies to the room ping,
211
211
  // the room can be removed from this list
212
- if (this.roomHousekeep[_message.roomName] !== null) {
212
+ if (_message.roomName in this.roomHousekeep) {
213
213
  delete this.roomHousekeep[_message.roomName];
214
214
  }
215
215
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "telemersive-bus",
3
- "version": "0.6.12",
3
+ "version": "0.6.13",
4
4
  "description": "MQTT based data protocol to manage unlimited peers, connected by rooms, where all peers joined to a room can exchange private data. It provides a simple chat mechanism, latency pinging, publish-subscribe mechanism (based on mqtt) and a OSC-like data stream. ",
5
5
  "main": "index.js",
6
6
  "directories": {