Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: properly precompute the WebSocket frames
The named import is not supported in some cases: > node_modules/socket.io-adapter/dist/index.js:170 > packetOpts.wsPreEncodedFrame = ws_1.WebSocket.Sender.frame(data, { > ^ > > TypeError: Cannot read properties of undefined (reading 'Sender') > at RedisAdapter._encode (/.../node_modules/socket.io-adapter/dist/index.js:170:59) > at RedisAdapter.broadcast (/.../node_modules/socket.io-adapter/dist/index.js:117:37) Related: socketio/socket.io-redis-adapter#478
- Loading branch information