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.mjs CHANGED
@@ -32,7 +32,7 @@ $.$$ = $
32
32
  //hyoo/hyoo.ts
33
33
  ;
34
34
  "use strict";
35
- let $hyoo_sync_revision = "7497b73";
35
+ let $hyoo_sync_revision = "e158a77";
36
36
  //hyoo/sync/-meta.tree/revision.meta.tree.ts
37
37
  ;
38
38
  "use strict";
@@ -3846,9 +3846,12 @@ var $;
3846
3846
  master_cursor(next = 0) {
3847
3847
  return next;
3848
3848
  }
3849
+ master_list() {
3850
+ return this.$.$hyoo_sync_masters;
3851
+ }
3849
3852
  master_link() {
3850
3853
  const scheme = this.$.$mol_dom_context.document.location.protocol.replace(/^http/, 'ws');
3851
- const host = this.$.$hyoo_sync_masters[this.master_cursor()];
3854
+ const host = this.master_list()[this.master_cursor()];
3852
3855
  return `${scheme}//${host}`;
3853
3856
  }
3854
3857
  master() {