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.test.js
CHANGED
|
@@ -232,7 +232,8 @@ var $;
|
|
|
232
232
|
const res = [];
|
|
233
233
|
const max = this.cursor >= 0 ? this.cursor : this.sub_from;
|
|
234
234
|
for (let i = this.pub_from; i < max; i += 2) {
|
|
235
|
-
|
|
235
|
+
if (this.data[i])
|
|
236
|
+
res.push(this.data[i]);
|
|
236
237
|
}
|
|
237
238
|
return res;
|
|
238
239
|
}
|
|
@@ -1238,7 +1239,7 @@ var $;
|
|
|
1238
1239
|
atom.watch();
|
|
1239
1240
|
}
|
|
1240
1241
|
else {
|
|
1241
|
-
$mol_fail(new Error('Atom is
|
|
1242
|
+
$mol_fail(new Error('Atom is required for watching'));
|
|
1242
1243
|
}
|
|
1243
1244
|
}
|
|
1244
1245
|
$.$mol_wire_watch = $mol_wire_watch;
|