mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-11-30 00:54:10 +00:00
* Track amount paid on payment channels and charge as per query cost * Add payments manager config * Fix received payment checks * Separate out payment not received and amount insufficient errors * Serve a query for free if its rate is not configured * Load open payment channels from the stored state * Take list of free queries from config * Take mutation rates from config * Rename query rates config fields * Take cache settings and request timeout from config * Upgrade ts-nitro packages * Upgrade package versions |
||
|---|---|---|
| .. | ||
| 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:disconnectevent is not fired when remote peer browser is closed