mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-01-23 11:39:05 +00:00
a1af962d99
* Use webrtc-direct transport with pubsub based discovery * Use changes to integrate signalling using relay node * Add an indicator for peer connection type (direct/relayed) * Catch errors while creting a libp2p node * Catch errors while dialling peers * Catch errors when dialling from relay node * Pass CLI arg for port to listen on for relay node * Subscribe chat CLI to pubsub topic * Update yarn lockfile * Update webrtc-direct dependency in package json * Update webrtc-direct version * Update yarn lockfile |
||
---|---|---|
.. | ||
src | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
package.json | ||
README.md | ||
tsconfig.json |
peer
Package used for connecting between peers and send messages
Implementations
- Discover peers
- Connect between peers and send messages
- Use package in browser
- Use package in server
- Send messages between systems in different LANs using relay node
Known Issues
peer:disconnect
event is not fired when remote peer browser is closed