hyoo_sync_client 0.0.34 → 0.0.36
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 +1 -0
- package/node.deps.json +1 -1
- package/node.js +5 -2
- package/node.js.map +1 -1
- package/node.mjs +5 -2
- package/node.mjs.map +1 -1
- package/node.test.js +5 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +1 -0
- package/web.deps.json +1 -1
- package/web.js +5 -2
- package/web.js.map +1 -1
- package/web.mjs +5 -2
- 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 = "e158a77";
|
|
36
36
|
//hyoo/sync/-meta.tree/revision.meta.tree.ts
|
|
37
37
|
;
|
|
38
38
|
"use strict";
|
|
@@ -3551,9 +3551,12 @@ var $;
|
|
|
3551
3551
|
master_cursor(next = 0) {
|
|
3552
3552
|
return next;
|
|
3553
3553
|
}
|
|
3554
|
+
master_list() {
|
|
3555
|
+
return this.$.$hyoo_sync_masters;
|
|
3556
|
+
}
|
|
3554
3557
|
master_link() {
|
|
3555
3558
|
const scheme = this.$.$mol_dom_context.document.location.protocol.replace(/^http/, 'ws');
|
|
3556
|
-
const host = this
|
|
3559
|
+
const host = this.master_list()[this.master_cursor()];
|
|
3557
3560
|
return `${scheme}//${host}`;
|
|
3558
3561
|
}
|
|
3559
3562
|
master() {
|