hyoo_sync_client 0.0.33 → 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.test.js CHANGED
@@ -24,7 +24,7 @@ $.$$ = $
24
24
  //hyoo/hyoo.ts
25
25
  ;
26
26
  "use strict";
27
- let $hyoo_sync_revision = "b0b46e6";
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.$.$hyoo_sync_masters[this.master_cursor()];
3846
+ const host = this.master_list()[this.master_cursor()];
3844
3847
  return `${scheme}//${host}`;
3845
3848
  }
3846
3849
  master() {