From f2db6c9fb88729c2f9b8a544cc1ff264647934fa Mon Sep 17 00:00:00 2001 From: Ian Clarke Date: Fri, 2 Jan 2026 23:12:14 -0600 Subject: [PATCH] build: bump freenet-stdlib to 0.1.30 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates to freenet-stdlib 0.1.30 which fixes WebSocket send silently failing when the connection is closed. The fix adds: 1. Check WebSocket ready_state before sending, returns error if not OPEN 2. Enables onclose callback to notify when connection drops This fixes the bug where River would log "Successfully sent update" even when the WebSocket was closed and messages were being silently dropped. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- Cargo.toml | 2 +- cli/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5b5d56f3..74f3490d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,7 +49,7 @@ river = { path = "cli", package = "river" } # Freenet dependencies freenet-scaffold = "0.2.1" freenet-scaffold-macro = "0.2.1" -freenet-stdlib = { version = "0.1.29", features = ["contract"] } +freenet-stdlib = { version = "0.1.30", features = ["contract"] } [workspace.package] version = "0.1.1" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 892cac5b..c4082f04 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -51,7 +51,7 @@ atty = "0.2" # Internal dependencies river-core = { version = "0.1.1", path = "../common" } -freenet-stdlib = { version = "0.1.29", features = ["net"] } +freenet-stdlib = { version = "0.1.30", features = ["net"] } freenet-scaffold = "0.2.1" # Serialization (for contract state)