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 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
- res.push(this.data[i]);
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 equired for watching'));
1250
+ $mol_fail(new Error('Atom is required for watching'));
1250
1251
  }
1251
1252
  }
1252
1253
  $.$mol_wire_watch = $mol_wire_watch;