mol_jsx_lib 0.0.1146 → 0.0.1148
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.js +2 -2
- package/node.js.map +1 -1
- package/node.mjs +2 -2
- package/node.test.js +2 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.js +2 -2
- package/web.js.map +1 -1
- package/web.mjs +2 -2
package/node.js
CHANGED
|
@@ -686,7 +686,7 @@ var $;
|
|
|
686
686
|
const pos = this.data[cursor + 1];
|
|
687
687
|
sub.pub_off(pos);
|
|
688
688
|
}
|
|
689
|
-
this.
|
|
689
|
+
this.data.length = this.sub_from;
|
|
690
690
|
this.cursor = this.pub_from;
|
|
691
691
|
this.track_cut();
|
|
692
692
|
this.cursor = $mol_wire_cursor.final;
|
|
@@ -700,7 +700,7 @@ var $;
|
|
|
700
700
|
const pub = this.data[cursor];
|
|
701
701
|
pub?.sub_off(this.data[cursor + 1]);
|
|
702
702
|
end -= 2;
|
|
703
|
-
if (this.sub_from
|
|
703
|
+
if (this.sub_from <= end)
|
|
704
704
|
this.peer_move(end, cursor);
|
|
705
705
|
}
|
|
706
706
|
this.data.length = end;
|