Please, check for existing issues to avoid duplicates.
What happened?
peer.on("connection") below the connection.on("data") invalid does not receive a message
But if it is peer.connect().on("data") it can

How can we reproduce the issue?
No response
What do you expected to happen?
As stated above
Environment setup
- OS: Windows10
- Platform: Browser
- Browser: Chrome143.0.7499.148
Is this a regression?
No response
Anything else?
No response