mol_wire_lib 1.0.456 → 1.0.458
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/node.esm.js +3 -2
- package/node.esm.js.map +1 -1
- package/node.js +3 -2
- package/node.js.map +1 -1
- package/node.test.js +3 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.esm.js +3 -2
- package/web.esm.js.map +1 -1
- package/web.js +3 -2
- package/web.js.map +1 -1
package/node.esm.js
CHANGED
|
@@ -240,7 +240,8 @@ var $;
|
|
|
240
240
|
const res = [];
|
|
241
241
|
const max = this.cursor >= 0 ? this.cursor : this.sub_from;
|
|
242
242
|
for (let i = this.pub_from; i < max; i += 2) {
|
|
243
|
-
|
|
243
|
+
if (this.data[i])
|
|
244
|
+
res.push(this.data[i]);
|
|
244
245
|
}
|
|
245
246
|
return res;
|
|
246
247
|
}
|
|
@@ -1246,7 +1247,7 @@ var $;
|
|
|
1246
1247
|
atom.watch();
|
|
1247
1248
|
}
|
|
1248
1249
|
else {
|
|
1249
|
-
$mol_fail(new Error('Atom is
|
|
1250
|
+
$mol_fail(new Error('Atom is required for watching'));
|
|
1250
1251
|
}
|
|
1251
1252
|
}
|
|
1252
1253
|
$.$mol_wire_watch = $mol_wire_watch;
|