add better sse handling

This commit is contained in:
Darius
2026-02-05 04:34:14 +01:00
parent 4db61998bd
commit 0043b75c95
4 changed files with 37 additions and 14 deletions

20
package-lock.json generated
View File

@@ -9,6 +9,7 @@
"version": "1.0.0",
"dependencies": {
"@dpu/shared": "git+https://git.dariusbag.dev/DarDarBinks/dpu-shared.git",
"@fastify/sse": "^0.4.0",
"@fastify/swagger": "^9.6.1",
"@fastify/swagger-ui": "^5.2.3",
"dotenv": "^17.2.2",
@@ -25,8 +26,8 @@
}
},
"node_modules/@dpu/shared": {
"version": "1.5.4",
"resolved": "git+https://git.dariusbag.dev/DarDarBinks/dpu-shared.git#8daeed6b5f6888634993f2b14d77e06b9af9720a",
"version": "1.5.5",
"resolved": "git+https://git.dariusbag.dev/DarDarBinks/dpu-shared.git#921882054daa8ef862ee25fc098a295d2c7f0e04",
"dependencies": {
"axios": "^1.7.9",
"chalk": "^5.6.2",
@@ -628,6 +629,21 @@
"mime": "^3"
}
},
"node_modules/@fastify/sse": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/@fastify/sse/-/sse-0.4.0.tgz",
"integrity": "sha512-bBV96iT2kHEw6h3i8IMkZGaqA7Gk81ugUzTNctXuE6N2BEC/qBnUuzlD/O17V43OkJP73h0/kf3Bp/asXlSuFA==",
"license": "MIT",
"dependencies": {
"fastify-plugin": "^5.0.0"
},
"engines": {
"node": ">=20"
},
"peerDependencies": {
"fastify": "^5.x"
}
},
"node_modules/@fastify/static": {
"version": "9.0.0",
"resolved": "https://registry.npmjs.org/@fastify/static/-/static-9.0.0.tgz",