aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-16 00:23:28 -0700
committerAdam Soltys <[email protected]>2026-08-16 00:23:28 -0700
commit984d2c3efeca25c37522c6fb17a9863717b44bc2 (patch)
tree8a710128db8e0e5aa63510e2fb51021ae0d222e7 /package.json
parent7c6805decc508b009673e1a5651b2a86ebdef717 (diff)
downloadcoinos-server-984d2c3efeca25c37522c6fb17a9863717b44bc2.tar.gz
coinos-server-984d2c3efeca25c37522c6fb17a9863717b44bc2.zip
deps: patch @asoltys/clightning-client to fix cl reconnect
Register patches/@asoltys+clightning-client+0.1.10.patch via patchedDependencies so bun install re-applies it. The library's reconnect() reused an already-dead socket and never recovered after a cl restart (looping connect ENOENT, leaking a socket+timer); the patch rebuilds a fresh socket + readline each reconnection and clears its retry guard before reconnecting. Companion to the app-side dropClient()/listener-recovery fixes. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/package.json b/package.json
index 9554b72a..a08b9911 100644
--- a/package.json
+++ b/package.json
@@ -2,6 +2,9 @@
"name": "coinos",
"version": "0.0.1",
"private": true,
+ "patchedDependencies": {
+ "@asoltys/[email protected]": "patches/@asoltys+clightning-client+0.1.10.patch"
+ },
"scripts": {
"start": "bun index.ts",
"dev": "nodemon --exec bun index.ts",