mol_wire_lib 1.0.1281 → 1.0.1283
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
|
@@ -318,7 +318,7 @@ var $;
|
|
|
318
318
|
const pos = this.data[cursor + 1];
|
|
319
319
|
sub.pub_off(pos);
|
|
320
320
|
}
|
|
321
|
-
this.
|
|
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;
|
|
@@ -332,7 +332,7 @@ var $;
|
|
|
332
332
|
const pub = this.data[cursor];
|
|
333
333
|
pub?.sub_off(this.data[cursor + 1]);
|
|
334
334
|
end -= 2;
|
|
335
|
-
if (this.sub_from
|
|
335
|
+
if (this.sub_from <= end)
|
|
336
336
|
this.peer_move(end, cursor);
|
|
337
337
|
}
|
|
338
338
|
this.data.length = end;
|