Skip to content

fix(noble): disconnect event type and error handling#55

Merged
stoprocent merged 1 commit into
stoprocent:mainfrom
liamcmitchell:disconnect
Dec 4, 2025
Merged

fix(noble): disconnect event type and error handling#55
stoprocent merged 1 commit into
stoprocent:mainfrom
liamcmitchell:disconnect

Conversation

@liamcmitchell
Copy link
Copy Markdown

@liamcmitchell liamcmitchell commented Nov 21, 2025

  • disconnect event emits a reason string (or undefined), not an error
  • Mac & Win bindings don't emit a reason, so default to "unknown"
  • reject an actual error on disconnect, not a string/undefined

@stoprocent stoprocent self-requested a review December 4, 2025 10:02
@stoprocent stoprocent merged commit a61d7bc into stoprocent:main Dec 4, 2025
15 checks passed
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 4, 2025

🎉 This PR is included in version 2.3.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants