hyoo_sync_client 0.0.51 → 0.0.53

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.test.js CHANGED
@@ -24,7 +24,7 @@ $.$$ = $
24
24
  //hyoo/hyoo.ts
25
25
  ;
26
26
  "use strict";
27
- let $hyoo_sync_revision = "d9c542d";
27
+ let $hyoo_sync_revision = "3406820";
28
28
  //hyoo/sync/-meta.tree/revision.meta.tree.ts
29
29
  ;
30
30
  "use strict";
@@ -2594,8 +2594,8 @@ var $;
2594
2594
  "use strict";
2595
2595
  var $;
2596
2596
  (function ($) {
2597
- async function $hyoo_sync_peer(path) {
2598
- let serial = $mol_state_local.value('$hyoo_sync_peer');
2597
+ async function $hyoo_sync_peer(path, next) {
2598
+ let serial = $mol_state_local.value('$hyoo_sync_peer', next);
2599
2599
  if (typeof serial === 'string') {
2600
2600
  return await $hyoo_crowd_peer.restore(serial);
2601
2601
  }
@@ -3713,8 +3713,8 @@ var $;
3713
3713
  log_pack(data) {
3714
3714
  return data;
3715
3715
  }
3716
- peer() {
3717
- return $mol_wire_sync($hyoo_sync_peer)(this + '.peer()');
3716
+ peer(next) {
3717
+ return $mol_wire_sync($hyoo_sync_peer)(this + '.peer()', next);
3718
3718
  }
3719
3719
  world() {
3720
3720
  $mol_wire_solid();