mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-01-07 20:08:06 +00:00
c7e6baa263
* Add metrics to monitor errors and duration for ETH RPC requests * Check for server error * Add a metric with configured upstream ETH RPC endpoints * Use Gauge for RPC requests duration metric * Filter out unknown events while loading event count on start * Update package versions * Rethrow errors in overridden send provider method |
||
---|---|---|
.. | ||
src | ||
.env.sample | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
.mocharc.yml | ||
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