hyoo_sync_client 0.0.34 → 0.0.35
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/node.test.js
CHANGED
|
@@ -24,7 +24,7 @@ $.$$ = $
|
|
|
24
24
|
//hyoo/hyoo.ts
|
|
25
25
|
;
|
|
26
26
|
"use strict";
|
|
27
|
-
let $hyoo_sync_revision = "
|
|
27
|
+
let $hyoo_sync_revision = "209c00c";
|
|
28
28
|
//hyoo/sync/-meta.tree/revision.meta.tree.ts
|
|
29
29
|
;
|
|
30
30
|
"use strict";
|
|
@@ -3838,9 +3838,12 @@ var $;
|
|
|
3838
3838
|
master_cursor(next = 0) {
|
|
3839
3839
|
return next;
|
|
3840
3840
|
}
|
|
3841
|
+
master_list() {
|
|
3842
|
+
return this.$.$hyoo_sync_masters;
|
|
3843
|
+
}
|
|
3841
3844
|
master_link() {
|
|
3842
3845
|
const scheme = this.$.$mol_dom_context.document.location.protocol.replace(/^http/, 'ws');
|
|
3843
|
-
const host = this
|
|
3846
|
+
const host = this.master_list()[this.master_cursor()];
|
|
3844
3847
|
return `${scheme}//${host}`;
|
|
3845
3848
|
}
|
|
3846
3849
|
master() {
|