mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-20 04:46:20 +00:00
6a8b9a2385
* Pass initialization options when starting a peer * Update config used for relay and peer nodes in watcher * Rename types * Refactor mobymask libp2p message parsing * Enable laconic debug logs in server command |
||
---|---|---|
.. | ||
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
Note
- Avoid any nodejs specific exports from this package as it is intented to be used in browser applications as well
Known Issues
peer:disconnect
event is not fired when remote peer browser is closed