socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

Webtransport is not defined in typing

Open jtapeg opened this issue 1 year ago • 3 comments

I'm using the latest version of socket.io

image

jtapeg avatar Aug 08 '24 01:08 jtapeg

It seems that [email protected] depends on engine.io version ~6.5.2. image However, the highest version in the 6.5.x range is 6.5.5, and this version of Type Transport does not include webtransport. image

Maybe just upgrading the socket.io dependency version for engine.io from ~6.5.2 to ~6.6.0 can solve this problem.

TXWSLYF avatar Aug 08 '24 03:08 TXWSLYF

The problem is that socket.io imports its own engine.io so there is no point in installing it manually.

image

image

jtapeg avatar Aug 08 '24 12:08 jtapeg

yes, the socket.io itself need to update the version of engine.io

TXWSLYF avatar Aug 08 '24 14:08 TXWSLYF

For future readers:

The webtransport value was added in https://github.com/socketio/socket.io/commit/c310b7b6b66236f312f017583a67f81389fa5d72, included in [email protected] and [email protected].

darrachequesne avatar Oct 09 '24 16:10 darrachequesne