@openneuro/server 4.33.2 → 4.33.4

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.33.2",
3
+ "version": "4.33.4",
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": "^2.7.0",
24
- "@openneuro/search": "^4.33.2",
24
+ "@openneuro/search": "^4.33.4",
25
25
  "@sentry/node": "^8.25.0",
26
26
  "@sentry/profiling-node": "^8.25.0",
27
27
  "base64url": "^3.0.0",
@@ -85,5 +85,5 @@
85
85
  "publishConfig": {
86
86
  "access": "public"
87
87
  },
88
- "gitHead": "27d6104d60d1d571ac26c7f5997c730bb58869a9"
88
+ "gitHead": "6ea88e06a699358523ad7b47f8c8e9ac3ef8a2c2"
89
89
  }
@@ -95,7 +95,11 @@ export function generateReviewerToken(
95
95
  *
96
96
  * Similarly to the upload token, this shorter lived token is specific to git access
97
97
  */
98
- export function generateRepoToken(user, datasetId, expiresIn = 60 * 60 * 24) {
98
+ export function generateRepoToken(
99
+ user,
100
+ datasetId,
101
+ expiresIn = 7 * 60 * 60 * 24,
102
+ ) {
99
103
  const options = {
100
104
  scopes: ["dataset:git"],
101
105
  dataset: datasetId,