@transitive-sdk/utils-web 0.12.8 → 0.12.9
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/dist/utils-web.js +7 -0
- package/package.json +1 -1
package/dist/utils-web.js
CHANGED
|
@@ -882,6 +882,10 @@ var require_MqttSync = __commonJS({
|
|
|
882
882
|
} else {
|
|
883
883
|
log2.warn("Ignoring", prefix, "since it is not a string.");
|
|
884
884
|
}
|
|
885
|
+
const current = this.data.getByTopic(prefix);
|
|
886
|
+
_2.forEach(toFlatObject(current), (value, topic) => {
|
|
887
|
+
toDelete.push(topic);
|
|
888
|
+
});
|
|
885
889
|
});
|
|
886
890
|
const nullValue = typeof Buffer != "undefined" ? Buffer.alloc(0) : null;
|
|
887
891
|
this.waitForHeartbeatOnce(() => {
|
|
@@ -1163,6 +1167,9 @@ var require_MqttSync = __commonJS({
|
|
|
1163
1167
|
* log.debug(`Called /mySquare with arg 11 and got ${result}`);
|
|
1164
1168
|
* ```
|
|
1165
1169
|
* See the note about namespaces in `register`.
|
|
1170
|
+
*
|
|
1171
|
+
* Note: It is your responsibility to only call methods that exist (have been
|
|
1172
|
+
* registered). Calling a non-existent command just hangs.
|
|
1166
1173
|
*/
|
|
1167
1174
|
call(command, args, callback = void 0) {
|
|
1168
1175
|
const id = getRandomId();
|