@naisys/supervisor 3.0.0-beta.8 → 3.0.0-beta.9

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.
@@ -1,5 +1,5 @@
1
- import { Server as SocketIOServer } from "socket.io";
2
1
  import { extractBearerToken } from "@naisys/common-node";
2
+ import { Server as SocketIOServer } from "socket.io";
3
3
  import { resolveUserFromApiKey, resolveUserFromToken, } from "../auth-middleware.js";
4
4
  import { isHubConnected } from "./hubConnectionService.js";
5
5
  let io = null;
@@ -41,7 +41,11 @@ export function obfuscateLogs(data) {
41
41
  ...log,
42
42
  message: obfuscateText(log.message),
43
43
  attachment: log.attachment
44
- ? { id: "no-access", filename: obfuscateFilename(log.attachment.filename), fileSize: 0 }
44
+ ? {
45
+ id: "no-access",
46
+ filename: obfuscateFilename(log.attachment.filename),
47
+ fileSize: 0,
48
+ }
45
49
  : undefined,
46
50
  })),
47
51
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naisys/supervisor",
3
- "version": "3.0.0-beta.8",
3
+ "version": "3.0.0-beta.9",
4
4
  "description": "NAISYS Supervisor - Web UI for monitoring agents, logs, and messaging",
5
5
  "type": "module",
6
6
  "main": "dist/supervisorServer.js",
@@ -33,7 +33,7 @@
33
33
  "!dist/**/*.test.*"
34
34
  ],
35
35
  "peerDependencies": {
36
- "@naisys/erp": "3.0.0-beta.8"
36
+ "@naisys/erp": "3.0.0-beta.9"
37
37
  },
38
38
  "peerDependenciesMeta": {
39
39
  "@naisys/erp": {
@@ -47,12 +47,12 @@
47
47
  "@fastify/rate-limit": "^10.3.0",
48
48
  "@fastify/static": "^9.0.0",
49
49
  "@fastify/swagger": "^9.7.0",
50
- "@naisys/supervisor-shared": "3.0.0-beta.8",
51
- "@naisys/common": "3.0.0-beta.8",
52
- "@naisys/common-node": "3.0.0-beta.8",
53
- "@naisys/hub-database": "3.0.0-beta.8",
54
- "@naisys/hub-protocol": "3.0.0-beta.8",
55
- "@naisys/supervisor-database": "3.0.0-beta.8",
50
+ "@naisys/supervisor-shared": "3.0.0-beta.9",
51
+ "@naisys/common": "3.0.0-beta.9",
52
+ "@naisys/common-node": "3.0.0-beta.9",
53
+ "@naisys/hub-database": "3.0.0-beta.9",
54
+ "@naisys/hub-protocol": "3.0.0-beta.9",
55
+ "@naisys/supervisor-database": "3.0.0-beta.9",
56
56
  "@scalar/fastify-api-reference": "^1.48.7",
57
57
  "@types/archiver": "^7.0.0",
58
58
  "archiver": "^7.0.1",