hyoo_sync_client 0.0.170 → 0.0.171
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 +4 -5
- package/node.js.map +1 -1
- package/node.mjs +4 -5
- package/node.test.js +4 -5
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +4 -5
- package/web.js.map +1 -1
- package/web.mjs +4 -5
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 = "9765699";
|
|
36
36
|
//hyoo/sync/-meta.tree/revision.meta.tree.ts
|
|
37
37
|
;
|
|
38
38
|
"use strict";
|
|
@@ -3568,12 +3568,11 @@ var $;
|
|
|
3568
3568
|
return next;
|
|
3569
3569
|
}
|
|
3570
3570
|
master_list() {
|
|
3571
|
-
|
|
3571
|
+
const scheme = this.$.$mol_dom_context.document.location.protocol.replace(/^http/, 'ws');
|
|
3572
|
+
return this.$.$hyoo_sync_masters.map(host => `${scheme}//${host}`);
|
|
3572
3573
|
}
|
|
3573
3574
|
master_link() {
|
|
3574
|
-
|
|
3575
|
-
const host = this.master_list()[this.master_cursor()];
|
|
3576
|
-
return `${scheme}//${host}`;
|
|
3575
|
+
return this.master_list()[this.master_cursor()];
|
|
3577
3576
|
}
|
|
3578
3577
|
master() {
|
|
3579
3578
|
return null;
|