From 7a3cb51238160c7503b3222dd1008e941e4a2ef0 Mon Sep 17 00:00:00 2001 From: Jim O'Donnell Date: Thu, 29 Jun 2023 13:27:31 +0100 Subject: [PATCH] Experiment: remove session caching This is an experimental build, using an API client that doesn't cache Panoptes user sessions. - See https://github.com/zooniverse/panoptes-javascript-client/pull/208. --- packages/app-content-pages/package.json | 2 +- packages/app-project/package.json | 2 +- yarn.lock | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/app-content-pages/package.json b/packages/app-content-pages/package.json index 52e81dee336..8030755efb8 100644 --- a/packages/app-content-pages/package.json +++ b/packages/app-content-pages/package.json @@ -38,7 +38,7 @@ "next": "~12.3.0", "next-absolute-url": "~1.2.2", "next-i18next": "~14.0.0", - "panoptes-client": "~5.3.0", + "panoptes-client": "zooniverse/panoptes-javascript-client#remove-session-caching", "path-match": "~1.2.4", "react": "~17.0.2", "react-dom": "~17.0.2", diff --git a/packages/app-project/package.json b/packages/app-project/package.json index 42b42d0f95e..f127147b1ea 100644 --- a/packages/app-project/package.json +++ b/packages/app-project/package.json @@ -49,7 +49,7 @@ "newrelic": "~10.3.0", "next": "~12.3.0", "next-i18next": "~14.0.0", - "panoptes-client": "~5.3.0", + "panoptes-client": "zooniverse/panoptes-javascript-client#remove-session-caching", "path-match": "~1.2.4", "polished": "~4.2.2", "react": "~17.0.2", diff --git a/yarn.lock b/yarn.lock index 30683c98942..6b7d712b8b4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13448,6 +13448,14 @@ pako@~1.0.5: resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== +panoptes-client@zooniverse/panoptes-javascript-client#remove-session-caching: + version "5.3.0" + resolved "https://codeload.github.com/zooniverse/panoptes-javascript-client/tar.gz/c8ceb17e110948a755ac5ed609fd90de8844936a" + dependencies: + local-storage "^2.0.0" + normalizeurl "~1.0.0" + superagent "^8.0.8" + panoptes-client@~5.3.0: version "5.3.0" resolved "https://registry.yarnpkg.com/panoptes-client/-/panoptes-client-5.3.0.tgz#df3a870de7766d97df6837d87e5660799c5efe2f"