@naisys/hub 3.0.0-beta.13 → 3.0.0-beta.15
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.
|
@@ -86,7 +86,7 @@ export function createHubAttachmentService(httpServer, { hubDb }, logService) {
|
|
|
86
86
|
return;
|
|
87
87
|
}
|
|
88
88
|
// Stream to temp file, then move to content-addressable path
|
|
89
|
-
const tmpDir = join(naisysFolder, "
|
|
89
|
+
const tmpDir = join(naisysFolder, "tmp", "hub", "attachments");
|
|
90
90
|
mkdirSync(tmpDir, { recursive: true });
|
|
91
91
|
const tmpPath = join(tmpDir, `${Date.now()}_${userId}_${Math.random().toString(36).slice(2)}`);
|
|
92
92
|
const hash = createHash("sha256");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naisys/hub",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.15",
|
|
4
4
|
"description": "NAISYS Hub - Adds persistence and multi-instance coordination to NAISYS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/naisysHub.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"!dist/**/*.d.ts.map"
|
|
30
30
|
],
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@naisys/supervisor": "3.0.0-beta.
|
|
32
|
+
"@naisys/supervisor": "3.0.0-beta.15"
|
|
33
33
|
},
|
|
34
34
|
"peerDependenciesMeta": {
|
|
35
35
|
"@naisys/supervisor": {
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@naisys/common": "3.0.0-beta.
|
|
41
|
-
"@naisys/common-node": "3.0.0-beta.
|
|
42
|
-
"@naisys/hub-database": "3.0.0-beta.
|
|
43
|
-
"@naisys/hub-protocol": "3.0.0-beta.
|
|
40
|
+
"@naisys/common": "3.0.0-beta.15",
|
|
41
|
+
"@naisys/common-node": "3.0.0-beta.15",
|
|
42
|
+
"@naisys/hub-database": "3.0.0-beta.15",
|
|
43
|
+
"@naisys/hub-protocol": "3.0.0-beta.15",
|
|
44
44
|
"commander": "^14.0.3",
|
|
45
45
|
"dotenv": "^17.3.1",
|
|
46
46
|
"pino": "^10.3.1",
|