Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
068f82c0ff | ||
|
|
1f45cc152a |
@@ -1,3 +1,18 @@
|
||||
## [1.1.11] - 2026-08-19
|
||||
### Changed
|
||||
- remove unused broadcastToSession export (#45)
|
||||
|
||||
## Removed
|
||||
|
||||
- `broadcastToSession` from `server/plugins/websocket.js` — an exported but never-imported, never-called dead-code function. Its dependencies (`getSessionConnections`, `addSessionConnection`, `removeSessionConnection`) are retained since they remain actively used for per-session connection tracking within the plugin.
|
||||
|
||||
## Notes
|
||||
|
||||
- Full repository search confirms zero remaining references to `broadcastToSession`.
|
||||
- ESLint passes; full test suite passes (50 files, 406 tests).
|
||||
|
||||
Closes #40
|
||||
|
||||
## [1.1.10] - 2026-08-14
|
||||
### Changed
|
||||
- update dependencies and fix security vulnerabilities (#44)
|
||||
|
||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
||||
name: kestrelos
|
||||
description: KestrelOS TOC for OSINT feeds - map, camera feeds, offline tiles
|
||||
type: application
|
||||
version: 1.1.10
|
||||
appVersion: "1.1.10"
|
||||
version: 1.1.11
|
||||
appVersion: "1.1.11"
|
||||
|
||||
@@ -2,7 +2,7 @@ replicaCount: 1
|
||||
|
||||
image:
|
||||
repository: git.keligrubb.com/keligrubb/kestrelos
|
||||
tag: 1.1.10
|
||||
tag: 1.1.11
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
service:
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "kestrelos",
|
||||
"version": "1.1.10",
|
||||
"version": "1.1.11",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
||||
@@ -43,16 +43,6 @@ export function removeSessionConnection(sessionId, ws) {
|
||||
}
|
||||
}
|
||||
|
||||
export function broadcastToSession(sessionId, message) {
|
||||
const conns = getSessionConnections(sessionId)
|
||||
const data = JSON.stringify(message)
|
||||
for (const ws of conns) {
|
||||
if (ws.readyState === 1) { // OPEN
|
||||
ws.send(data)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default defineNitroPlugin((nitroApp) => {
|
||||
nitroApp.hooks.hook('ready', async () => {
|
||||
const server = nitroApp.h3App.server || nitroApp.h3App.nodeServer
|
||||
|
||||
Reference in New Issue
Block a user