mswjs / interceptors

Low-level network interception library.
https://npm.im/@mswjs/interceptors
MIT License
527 stars 119 forks source link

fix(ws): make "WebSocket" reference (client.socket) public #523

Closed kettanaito closed 3 months ago

kettanaito commented 3 months ago

I think it's a good idea to expose the original WebSocket instance on the client connection object. We also use it in MSW to add the message listeners for logging.

kettanaito commented 3 months ago

Released: v0.26.9 🎉

This has been released in v0.26.9!

Make sure to always update to the latest version (npm i @mswjs/interceptors@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.