@transitive-sdk/utils-web 0.14.3 → 0.14.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.
- package/dist/utils-web.js +2 -2
- package/package.json +1 -1
package/dist/utils-web.js
CHANGED
|
@@ -788,7 +788,7 @@ var require_MqttSync = __commonJS({
|
|
|
788
788
|
} else {
|
|
789
789
|
this.receivedTopics.add(topic);
|
|
790
790
|
let path = topicToPath2(topic);
|
|
791
|
-
log2.debug("processing message", topic
|
|
791
|
+
log2.debug("processing message", topic);
|
|
792
792
|
if (sliceTopic) {
|
|
793
793
|
path = path.slice(sliceTopic);
|
|
794
794
|
topic = pathToTopic2(path);
|
|
@@ -807,7 +807,7 @@ var require_MqttSync = __commonJS({
|
|
|
807
807
|
} else if (this.isSubscribed(topic)) {
|
|
808
808
|
const json = mqttParsePayload(payload);
|
|
809
809
|
log2.debug("applying received update", topic);
|
|
810
|
-
const changes = this.data.update(topic, json);
|
|
810
|
+
const changes = this.data.update(topic, json, { external: true });
|
|
811
811
|
onChange && Object.keys(changes).length > 0 && onChange(changes);
|
|
812
812
|
}
|
|
813
813
|
}
|