curtain-web-api 1.0.8 → 1.0.9

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.
@@ -62,7 +62,7 @@ function getInteractomeAtlas(genes, filterParameter = "None") {
62
62
  for (const g of genes) {
63
63
  searchTermArray.push("search_term_array%5B%5D=" + g);
64
64
  }
65
- return axios_1.default.get("http://www.interactome-atlas.org/search_results_interactions?" + params.toString() + "&" + searchTermArray.join("&"), { responseType: "json" }).then((res) => {
65
+ return axios_1.default.get("https://www.interactome-atlas.org/search_results_interactions?" + params.toString() + "&" + searchTermArray.join("&"), { responseType: "json" }).then((res) => {
66
66
  return JSON.parse(res.data);
67
67
  });
68
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "curtain-web-api",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
package/src/utilities.ts CHANGED
@@ -52,7 +52,7 @@ export function getInteractomeAtlas(genes: string[], filterParameter: string ="N
52
52
  }
53
53
 
54
54
  return axios.get(
55
- "http://www.interactome-atlas.org/search_results_interactions?" + params.toString() + "&" + searchTermArray.join("&"),
55
+ "https://www.interactome-atlas.org/search_results_interactions?" + params.toString() + "&" + searchTermArray.join("&"),
56
56
  {responseType: "json"}
57
57
  ).then((res:any) => {
58
58
  return JSON.parse(<string>res.data)