@openneuro/server 4.44.1 → 4.44.3

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": "@openneuro/server",
3
- "version": "4.44.1",
3
+ "version": "4.44.3",
4
4
  "description": "Core service for the OpenNeuro platform.",
5
5
  "license": "MIT",
6
6
  "main": "src/server.js",
@@ -21,7 +21,7 @@
21
21
  "@elastic/elasticsearch": "8.13.1",
22
22
  "@graphql-tools/schema": "^10.0.0",
23
23
  "@keyv/redis": "^4.5.0",
24
- "@openneuro/search": "^4.44.1",
24
+ "@openneuro/search": "^4.44.3",
25
25
  "@sentry/node": "^8.25.0",
26
26
  "@sentry/profiling-node": "^8.25.0",
27
27
  "base64url": "^3.0.0",
@@ -89,5 +89,5 @@
89
89
  "publishConfig": {
90
90
  "access": "public"
91
91
  },
92
- "gitHead": "711661658de9750e17bfdea0ae0e905408e0e11f"
92
+ "gitHead": "886402e445ea563e6d8043233076e25f95d13dbe"
93
93
  }
package/src/app.ts CHANGED
@@ -39,6 +39,8 @@ interface OpenNeuroRequestContext {
39
39
  export async function expressApolloSetup() {
40
40
  const app = express()
41
41
 
42
+ app.set("trust proxy", true)
43
+
42
44
  setupPassportAuth()
43
45
 
44
46
  app.use(passport.initialize())
package/src/sentry.ts CHANGED
@@ -25,4 +25,5 @@ Sentry.init({
25
25
  "You do not have access to read this dataset.",
26
26
  "You do not have access to modify this dataset.",
27
27
  ],
28
+ sendDefaultPii: true,
28
29
  })