@sjcrh/proteinpaint-server 2.170.11 → 2.170.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-server",
3
- "version": "2.170.11",
3
+ "version": "2.170.13",
4
4
  "type": "module",
5
5
  "description": "a genomics visualization tool for exploring a cohort's genotype and phenotype data",
6
6
  "main": "src/app.js",
@@ -65,8 +65,8 @@
65
65
  "@sjcrh/proteinpaint-python": "2.169.0",
66
66
  "@sjcrh/proteinpaint-r": "2.152.1-0",
67
67
  "@sjcrh/proteinpaint-rust": "2.170.0",
68
- "@sjcrh/proteinpaint-shared": "2.170.10",
69
- "@sjcrh/proteinpaint-types": "2.170.10",
68
+ "@sjcrh/proteinpaint-shared": "2.170.13",
69
+ "@sjcrh/proteinpaint-types": "2.170.12",
70
70
  "@types/express": "^5.0.0",
71
71
  "@types/express-session": "^1.18.1",
72
72
  "better-sqlite3": "^12.4.1",
@@ -1,6 +1,5 @@
1
1
  import { termdbCohortSummaryPayload } from "#types/checkers";
2
2
  import { get_ds_tdb } from "#src/termdb.js";
3
- import { mayCopyFromCookie } from "#src/utils.js";
4
3
  import { get_samples } from "#src/termdb.sql.js";
5
4
  import { authApi } from "#src/auth.js";
6
5
  const api = {
@@ -15,7 +14,6 @@ const api = {
15
14
  function init({ genomes }) {
16
15
  return async (req, res) => {
17
16
  const q = req.query;
18
- mayCopyFromCookie(q, req.cookies);
19
17
  try {
20
18
  const genome = genomes[q.genome];
21
19
  if (!genome) throw "invalid genome";
@@ -1,6 +1,5 @@
1
1
  import { termdbCohortsPayload } from "#types/checkers";
2
2
  import { get_ds_tdb } from "#src/termdb.js";
3
- import { mayCopyFromCookie } from "#src/utils.js";
4
3
  const api = {
5
4
  endpoint: "termdb/cohorts",
6
5
  methods: {
@@ -13,7 +12,6 @@ const api = {
13
12
  function init({ genomes }) {
14
13
  return async (req, res) => {
15
14
  const q = req.query;
16
- mayCopyFromCookie(q, req.cookies);
17
15
  try {
18
16
  const genome = genomes[q.genome];
19
17
  if (!genome) throw "invalid genome";
@@ -1,7 +1,6 @@
1
1
  import serverconfig from "#src/serverconfig.js";
2
2
  import { authApi } from "#src/auth.js";
3
3
  import { get_ds_tdb } from "#src/termdb.js";
4
- import { mayCopyFromCookie } from "#src/utils.js";
5
4
  import { TermTypes } from "#shared/terms.js";
6
5
  const api = {
7
6
  endpoint: "termdb/config",
@@ -20,7 +19,6 @@ const api = {
20
19
  function init({ genomes }) {
21
20
  return async (req, res) => {
22
21
  const q = req.query;
23
- mayCopyFromCookie(q, req.cookies);
24
22
  try {
25
23
  const genome = genomes[q.genome];
26
24
  if (!genome) throw "invalid genome";