hyoo_sync_client 0.0.15 → 0.0.17
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.deps.json +1 -1
- package/node.js +9 -5
- package/node.js.map +1 -1
- package/node.mjs +9 -5
- package/node.mjs.map +1 -1
- package/node.test.js +9 -5
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +9 -5
- package/web.js.map +1 -1
- package/web.mjs +9 -5
- package/web.mjs.map +1 -1
package/web.mjs
CHANGED
|
@@ -32,7 +32,7 @@ $.$$ = $
|
|
|
32
32
|
//hyoo/hyoo.ts
|
|
33
33
|
;
|
|
34
34
|
"use strict";
|
|
35
|
-
let $hyoo_sync_revision = "
|
|
35
|
+
let $hyoo_sync_revision = "8b9fe5e";
|
|
36
36
|
//hyoo/sync/-meta.tree/revision.meta.tree.ts
|
|
37
37
|
;
|
|
38
38
|
"use strict";
|
|
@@ -3461,10 +3461,15 @@ var $;
|
|
|
3461
3461
|
for (const land of this.world().lands.values()) {
|
|
3462
3462
|
this.db_land_sync(land);
|
|
3463
3463
|
}
|
|
3464
|
-
const master = this.master();
|
|
3465
|
-
if (master)
|
|
3466
|
-
$mol_wire_race(...[...this.world().lands.values()].map(land => () => this.line_land_sync({ line: master, land })));
|
|
3467
3464
|
$mol_wire_race(...this.slaves().map(line => () => this.line_sync(line)));
|
|
3465
|
+
try {
|
|
3466
|
+
const master = this.master();
|
|
3467
|
+
if (master)
|
|
3468
|
+
$mol_wire_race(...[...this.world().lands.values()].map(land => () => this.line_land_sync({ line: master, land })));
|
|
3469
|
+
}
|
|
3470
|
+
catch (error) {
|
|
3471
|
+
$mol_fail_log(error);
|
|
3472
|
+
}
|
|
3468
3473
|
}
|
|
3469
3474
|
land_sync(land) {
|
|
3470
3475
|
this.db_land_init(land);
|
|
@@ -3559,7 +3564,6 @@ var $;
|
|
|
3559
3564
|
}
|
|
3560
3565
|
line_land_clocks({ line, land }, next) {
|
|
3561
3566
|
$mol_wire_solid();
|
|
3562
|
-
this.master();
|
|
3563
3567
|
return next;
|
|
3564
3568
|
}
|
|
3565
3569
|
line_sync(line) {
|