@stonecrop/beam 0.3.6 → 0.3.8
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/beam.d.ts +1 -1
- package/dist/beam.js +3 -2
- package/dist/beam.js.map +1 -1
- package/dist/beam.umd.cjs +1 -1
- package/dist/beam.umd.cjs.map +1 -1
- package/dist/composables/mqtt.js +2 -2
- package/dist/src/composables/mqtt.d.ts +1 -1
- package/dist/src/composables/mqtt.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/composables/mqtt.ts +3 -3
package/dist/beam.d.ts
CHANGED
|
@@ -108,7 +108,7 @@ export { ToggleArrow }
|
|
|
108
108
|
* @returns MQTT stream messages
|
|
109
109
|
* @beta
|
|
110
110
|
*/
|
|
111
|
-
export declare const useMqttStream: (options
|
|
111
|
+
export declare const useMqttStream: (options: IMqttStream) => {
|
|
112
112
|
messages: Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
113
113
|
};
|
|
114
114
|
|
package/dist/beam.js
CHANGED
|
@@ -10572,7 +10572,7 @@ const dc = fc();
|
|
|
10572
10572
|
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
10573
10573
|
*/
|
|
10574
10574
|
const mc = (e) => {
|
|
10575
|
-
const n = Ot(
|
|
10575
|
+
const n = Ot(), t = Ot({});
|
|
10576
10576
|
return Hr(() => {
|
|
10577
10577
|
n.value = dc.connect(e), e.topics || (e.topics = ["#"]);
|
|
10578
10578
|
for (const a of e.topics)
|
|
@@ -10584,7 +10584,8 @@ const mc = (e) => {
|
|
|
10584
10584
|
t.value[a] || (t.value[a] = []), t.value[a].push(u.toString());
|
|
10585
10585
|
});
|
|
10586
10586
|
}), ji(() => {
|
|
10587
|
-
|
|
10587
|
+
var a;
|
|
10588
|
+
(a = n.value) == null || a.end();
|
|
10588
10589
|
}), { messages: t };
|
|
10589
10590
|
};
|
|
10590
10591
|
function bc(e) {
|