mol_wire_lib 1.0.1282 → 1.0.1284

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.mjs CHANGED
@@ -318,7 +318,7 @@ var $;
318
318
  const pos = this.data[cursor + 1];
319
319
  sub.pub_off(pos);
320
320
  }
321
- this.sub_from = this.pub_from;
321
+ this.data.length = this.sub_from;
322
322
  this.cursor = this.pub_from;
323
323
  this.track_cut();
324
324
  this.cursor = $mol_wire_cursor.final;
package/node.test.js CHANGED
@@ -309,7 +309,7 @@ var $;
309
309
  const pos = this.data[cursor + 1];
310
310
  sub.pub_off(pos);
311
311
  }
312
- this.sub_from = this.pub_from;
312
+ this.data.length = this.sub_from;
313
313
  this.cursor = this.pub_from;
314
314
  this.track_cut();
315
315
  this.cursor = $mol_wire_cursor.final;