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/node.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";
|
|
@@ -3756,10 +3756,15 @@ var $;
|
|
|
3756
3756
|
for (const land of this.world().lands.values()) {
|
|
3757
3757
|
this.db_land_sync(land);
|
|
3758
3758
|
}
|
|
3759
|
-
const master = this.master();
|
|
3760
|
-
if (master)
|
|
3761
|
-
$mol_wire_race(...[...this.world().lands.values()].map(land => () => this.line_land_sync({ line: master, land })));
|
|
3762
3759
|
$mol_wire_race(...this.slaves().map(line => () => this.line_sync(line)));
|
|
3760
|
+
try {
|
|
3761
|
+
const master = this.master();
|
|
3762
|
+
if (master)
|
|
3763
|
+
$mol_wire_race(...[...this.world().lands.values()].map(land => () => this.line_land_sync({ line: master, land })));
|
|
3764
|
+
}
|
|
3765
|
+
catch (error) {
|
|
3766
|
+
$mol_fail_log(error);
|
|
3767
|
+
}
|
|
3763
3768
|
}
|
|
3764
3769
|
land_sync(land) {
|
|
3765
3770
|
this.db_land_init(land);
|
|
@@ -3854,7 +3859,6 @@ var $;
|
|
|
3854
3859
|
}
|
|
3855
3860
|
line_land_clocks({ line, land }, next) {
|
|
3856
3861
|
$mol_wire_solid();
|
|
3857
|
-
this.master();
|
|
3858
3862
|
return next;
|
|
3859
3863
|
}
|
|
3860
3864
|
line_sync(line) {
|