-
Notifications
You must be signed in to change notification settings - Fork 155
0.24.0 #172
dmotz
announced in
Announcements
0.24.0
#172
-
Improvements
- 🔌 Added a self-hosted WebSocket relay package (
@trystero-p2p/ws-relay). See the docs for how to run the server and connect from browsers - Peers will usually connect faster now due to a more proactive announce cycle (thanks @rogersanick)
Fixes
- Stream events will now fire correctly on cross-room peers that have shared connections
⚠️ Breaking changes
- As part of the
ws-relayaddition, relay-specific options have been consolidated under therelayConfigfield of the config object passed tojoinRoom(). For example:joinRoom( { appId: 'my-app', password: 'foobar', relayConfig: {redundancy: 5} }, 'room-id' )
Some fields have been renamed, so check the docs. This cleans up the shape of the config object and keeps types simpler as different strategies use different types of configs.
This discussion was created from the release 0.24.0.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment