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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hyoo_sync_client",
3
- "version": "0.0.51",
3
+ "version": "0.0.52",
4
4
  "exports": {
5
5
  "node": {
6
6
  "import": "./node.mjs",
package/web.d.ts CHANGED
@@ -565,7 +565,7 @@ declare namespace $ {
565
565
  }
566
566
 
567
567
  declare namespace $ {
568
- function $hyoo_sync_peer(path: string): Promise<$hyoo_crowd_peer>;
568
+ function $hyoo_sync_peer(path: string, next?: string): Promise<$hyoo_crowd_peer>;
569
569
  }
570
570
 
571
571
  declare namespace $ {
@@ -859,7 +859,7 @@ declare namespace $ {
859
859
  class $hyoo_sync_yard<Line> extends $mol_object2 {
860
860
  db_unit_persisted: WeakSet<$hyoo_crowd_unit>;
861
861
  log_pack(data: any): any;
862
- peer(): $hyoo_crowd_peer;
862
+ peer(next?: string): $hyoo_crowd_peer;
863
863
  world(): $hyoo_crowd_world;
864
864
  land_init(land: $hyoo_crowd_land): void;
865
865
  land(id: $mol_int62_string): $hyoo_crowd_land;
package/web.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";
@@ -2198,8 +2198,8 @@ var $;
2198
2198
  "use strict";
2199
2199
  var $;
2200
2200
  (function ($) {
2201
- async function $hyoo_sync_peer(path) {
2202
- let serial = $mol_state_local.value('$hyoo_sync_peer');
2201
+ async function $hyoo_sync_peer(path, next) {
2202
+ let serial = $mol_state_local.value('$hyoo_sync_peer', next);
2203
2203
  if (typeof serial === 'string') {
2204
2204
  return await $hyoo_crowd_peer.restore(serial);
2205
2205
  }
@@ -3426,8 +3426,8 @@ var $;
3426
3426
  log_pack(data) {
3427
3427
  return data;
3428
3428
  }
3429
- peer() {
3430
- return $mol_wire_sync($hyoo_sync_peer)(this + '.peer()');
3429
+ peer(next) {
3430
+ return $mol_wire_sync($hyoo_sync_peer)(this + '.peer()', next);
3431
3431
  }
3432
3432
  world() {
3433
3433
  $mol_wire_solid();