mol_wire_lib 1.0.1553 → 1.0.1555

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
@@ -448,7 +448,7 @@ var $;
448
448
  this.data.length = this.sub_from;
449
449
  this.cursor = this.pub_from;
450
450
  this.track_cut();
451
- this.cursor = $mol_wire_cursor.final;
451
+ this.cursor = $mol_wire_cursor.stale;
452
452
  }
453
453
  track_cut() {
454
454
  if (this.cursor < this.pub_from) {
@@ -1722,6 +1722,10 @@ var $;
1722
1722
  this.emit();
1723
1723
  return next;
1724
1724
  }
1725
+ destructor() {
1726
+ super.destructor();
1727
+ this.cursor = $mol_wire_cursor.final;
1728
+ }
1725
1729
  }
1726
1730
  $.$mol_wire_task = $mol_wire_task;
1727
1731
  })($ || ($ = {}));
package/node.test.js CHANGED
@@ -439,7 +439,7 @@ var $;
439
439
  this.data.length = this.sub_from;
440
440
  this.cursor = this.pub_from;
441
441
  this.track_cut();
442
- this.cursor = $mol_wire_cursor.final;
442
+ this.cursor = $mol_wire_cursor.stale;
443
443
  }
444
444
  track_cut() {
445
445
  if (this.cursor < this.pub_from) {
@@ -1713,6 +1713,10 @@ var $;
1713
1713
  this.emit();
1714
1714
  return next;
1715
1715
  }
1716
+ destructor() {
1717
+ super.destructor();
1718
+ this.cursor = $mol_wire_cursor.final;
1719
+ }
1716
1720
  }
1717
1721
  $.$mol_wire_task = $mol_wire_task;
1718
1722
  })($ || ($ = {}));