telemersive-bus 0.6.15 → 0.6.16
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 +2 -0
- package/package.json +1 -1
package/lib/BusManager.js
CHANGED
|
@@ -178,6 +178,8 @@ class BusManager {
|
|
|
178
178
|
console.log(` -> housekeeping -> pinging all rooms ...`);
|
|
179
179
|
const keys = Object.keys(this.rooms);
|
|
180
180
|
|
|
181
|
+
// clean up auto-generated subscriptions from prior cycles before subscribing again
|
|
182
|
+
await this.communicator.unsubscribe(this.busTopics.baseRoomAlivePing("+").build());
|
|
181
183
|
// subscribe to all room ping alive topic
|
|
182
184
|
await this.communicator.subscribe(new BusMsgSub(this.busTopics.baseRoomAlivePing("+").build(), this.onRoomAlive, PeerCredentials, 0));
|
|
183
185
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "telemersive-bus",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.16",
|
|
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": {
|