feat: enhance BenncClient with websocket-ts integration and improved reconnection logic
Some checks failed
CI / build (push) Failing after 12s
CI / publish (push) Has been skipped

This commit is contained in:
2025-09-06 19:34:23 +01:00
parent ed1dc6870e
commit 356b70474c
5 changed files with 266 additions and 148 deletions

14
package-lock.json generated
View File

@@ -12,7 +12,8 @@
"dependencies": {
"@3t/romulus": "^1.0.2",
"@types/color": "^3.0.3",
"color": "^4.2.0"
"color": "^4.2.0",
"websocket-ts": "^2.2.1"
},
"devDependencies": {
"@types/jest": "^30.0.0",
@@ -4451,6 +4452,12 @@
"makeerror": "1.0.12"
}
},
"node_modules/websocket-ts": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/websocket-ts/-/websocket-ts-2.2.1.tgz",
"integrity": "sha512-YKPDfxlK5qOheLZ2bTIiktZO1bpfGdNCPJmTEaPW7G9UXI1GKjDdeacOrsULUS000OPNxDVOyAuKLuIWPqWM0Q==",
"license": "MIT"
},
"node_modules/which": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
@@ -7714,6 +7721,11 @@
"makeerror": "1.0.12"
}
},
"websocket-ts": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/websocket-ts/-/websocket-ts-2.2.1.tgz",
"integrity": "sha512-YKPDfxlK5qOheLZ2bTIiktZO1bpfGdNCPJmTEaPW7G9UXI1GKjDdeacOrsULUS000OPNxDVOyAuKLuIWPqWM0Q=="
},
"which": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",