hyoo_sync_client 0.0.51 → 0.0.52

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
@@ -32,7 +32,7 @@ $.$$ = $
32
32
  //hyoo/hyoo.ts
33
33
  ;
34
34
  "use strict";
35
- let $hyoo_sync_revision = "d9c542d";
35
+ let $hyoo_sync_revision = "3406820";
36
36
  //hyoo/sync/-meta.tree/revision.meta.tree.ts
37
37
  ;
38
38
  "use strict";
@@ -2602,8 +2602,8 @@ var $;
2602
2602
  "use strict";
2603
2603
  var $;
2604
2604
  (function ($) {
2605
- async function $hyoo_sync_peer(path) {
2606
- let serial = $mol_state_local.value('$hyoo_sync_peer');
2605
+ async function $hyoo_sync_peer(path, next) {
2606
+ let serial = $mol_state_local.value('$hyoo_sync_peer', next);
2607
2607
  if (typeof serial === 'string') {
2608
2608
  return await $hyoo_crowd_peer.restore(serial);
2609
2609
  }
@@ -3721,8 +3721,8 @@ var $;
3721
3721
  log_pack(data) {
3722
3722
  return data;
3723
3723
  }
3724
- peer() {
3725
- return $mol_wire_sync($hyoo_sync_peer)(this + '.peer()');
3724
+ peer(next) {
3725
+ return $mol_wire_sync($hyoo_sync_peer)(this + '.peer()', next);
3726
3726
  }
3727
3727
  world() {
3728
3728
  $mol_wire_solid();