@akiroz/thalamus
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -307,7 +307,7 @@ "use strict"; | ||
conn = this.servers.filter(function (s) { return s.connected; }); | ||
this.handlers.set(handler, h); | ||
this.emitter.on(topic, h); | ||
return [4 /*yield*/, Promise.all(conn.map(function (s) { return s.subscribeAsync(topic, { qos: 0 }); }))]; | ||
case 3: | ||
_a.sent(); | ||
this.handlers.set(handler, h); | ||
this.emitter.on(topic, h); | ||
_a.label = 4; | ||
@@ -314,0 +314,0 @@ case 4: return [2 /*return*/]; |
{ | ||
"name": "@akiroz/thalamus", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"repository": "github:akiroz/Thalamus", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |