gosling.js 0.16.0 → 0.17.0

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.
@@ -9839,17 +9839,27 @@ const CRHOM_SIZES = Object.freeze({
9839
9839
  // just to ensure this does not make crash
9840
9840
  }
9841
9841
  });
9842
- function getAutoCompleteId(assembly) {
9842
+ function getAutoCompleteObject(assembly = "hg38") {
9843
+ const base = {
9844
+ autocompleteServer: "https://server.gosling-lang.org/api/v1",
9845
+ chromInfoServer: "https://server.gosling-lang.org/api/v1",
9846
+ chromInfoId: assembly
9847
+ };
9843
9848
  switch (assembly) {
9844
9849
  case "hg19":
9845
- return "OHJakQICQD6gTD7skx4EWA";
9850
+ return { ...base, autocompleteId: "gene-annotation-hg19" };
9846
9851
  case "mm10":
9847
- return "QDutvmyiSrec5nX4pA5WGQ";
9852
+ return { ...base, autocompleteId: "gene-annotation-mm10" };
9848
9853
  case "mm9":
9849
- return "GUm5aBiLRCyz2PsBea7Yzg";
9854
+ return {
9855
+ ...base,
9856
+ autocompleteServer: "https://higlass.io/api/v1",
9857
+ chromInfoServer: "https://higlass.io/api/v1",
9858
+ autocompleteId: "GUm5aBiLRCyz2PsBea7Yzg"
9859
+ };
9850
9860
  case "hg38":
9851
9861
  default:
9852
- return "P0PLbQMwTYGy-5uPIQid7A";
9862
+ return { ...base, autocompleteId: "gene-annotation" };
9853
9863
  }
9854
9864
  }
9855
9865
  function getChromInterval(chromSize) {
@@ -10040,8 +10050,8 @@ export {
10040
10050
  uuid as u,
10041
10051
  valueToRadian as v,
10042
10052
  insertItemToArray as w,
10043
- getAutoCompleteId as x,
10053
+ getAutoCompleteObject as x,
10044
10054
  IsChannelValue as y,
10045
10055
  getValueUsingChannel as z
10046
10056
  };
10047
- //# sourceMappingURL=exported-utils-ac60e3c5.js.map
10057
+ //# sourceMappingURL=exported-utils-c7f92c46.js.map