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.d.ts CHANGED
@@ -671,7 +671,7 @@ declare namespace $ {
671
671
  }
672
672
 
673
673
  declare namespace $ {
674
- function $hyoo_sync_peer(path: string): Promise<$hyoo_crowd_peer>;
674
+ function $hyoo_sync_peer(path: string, next?: string): Promise<$hyoo_crowd_peer>;
675
675
  }
676
676
 
677
677
  declare namespace $ {
@@ -924,7 +924,7 @@ declare namespace $ {
924
924
  class $hyoo_sync_yard<Line> extends $mol_object2 {
925
925
  db_unit_persisted: WeakSet<$hyoo_crowd_unit>;
926
926
  log_pack(data: any): any;
927
- peer(): $hyoo_crowd_peer;
927
+ peer(next?: string): $hyoo_crowd_peer;
928
928
  world(): $hyoo_crowd_world;
929
929
  land_init(land: $hyoo_crowd_land): void;
930
930
  land(id: $mol_int62_string): $hyoo_crowd_land;
package/node.js 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();