Skip to content

Upgrades to WebSocket architecture, aligned with other SDKs - #533

Merged
tiagosiebler merged 17 commits into
masterfrom
wsnorm
Feb 18, 2026
Merged

Upgrades to WebSocket architecture, aligned with other SDKs#533
tiagosiebler merged 17 commits into
masterfrom
wsnorm

Conversation

@tiagosiebler

@tiagosiebler tiagosiebler commented Feb 17, 2026

Copy link
Copy Markdown
Member

Summary

The WebSocket client architecture saw many improvements with the newer SDKs. This PR cleans up some of the tech debt, bringing this in line with the other SDKs. Less differences -> easier long-term maintainability:

  • Bump audit dependencies
  • Add wsUrl & WS ref to open & reconnected events
  • Normalise internal emittable event structure handling via safer getFinalEmittable normaliser
  • Add authPrivateConnectionsOnConnect mechanic
  • Normalise internal logger category, optional WS API Auth flag
  • Normalise internal WS behaviour flags
  • Add internal requireConnectionReady & useNativeHeartbeats flags
  • Integrate custom reconnection hook mechanic.

Additional Information

PR Checklist

As part of the PR, make sure you have:

  • No breaking changes / documented all breaking changes clearly.
  • Updated & checked that all tests pass.
  • Increased the version number in the package.json
  • Checked npm install runs without issue.
  • Included the package-lock.json, if it changed after npm install
  • Checked npm run build runs without issue.
  • Updated the endpoint map (optional, if you know how).
  • Run llms.txt generator (optional, if you know how).
  • Validate private WS workflow
  • Validate public WS workflow
  • Validate WS API workflow

@tiagosiebler tiagosiebler added the WIP Work in progress label Feb 17, 2026
@tiagosiebler tiagosiebler changed the title WIP: Upgrades to WebSocket architecture Upgrades to WebSocket architecture, aligned with other SDKs Feb 17, 2026
@tiagosiebler tiagosiebler removed the WIP Work in progress label Feb 17, 2026
@tiagosiebler
tiagosiebler merged commit f0ee207 into master Feb 18, 2026
4 checks passed
@tiagosiebler
tiagosiebler deleted the wsnorm branch February 18, 2026 16:13
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