Skip to content

Conversation

@shalomberm
Copy link

@shalomberm shalomberm commented Jan 21, 2026

The previous implementation prevented setting autoReconnect to false, as the false value was treated as falsy and always defaulted to true.


Note

Fix defaulting logic for reconnection flag

  • In src/client.ts, updates constructor to use args!.autoReconnect ?? true so autoReconnect=false is respected instead of being overridden by a falsy check.

This ensures explicit false no longer defaults to true.

Written by Cursor Bugbot for commit dbe92e1. This will update automatically on new commits. Configure here.

The previous implementation prevented setting autoReconnect to false, as the false value was treated as falsy and always defaulted to true.
@shalomberm shalomberm requested a review from a team as a code owner January 21, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant