watcher-ts/packages/peer
Nabarun Gogoi ee63e33cc5
Upgrade Typescript and ESLint (#337) (#342)
* Upgrade eslint and additional lint changes

* Upgrade typescript version to v5

---------

Co-authored-by: Dhruv Srivastava <dhruvdhs.ds@gmail.com>
2023-03-24 10:31:33 +04:00
..
src Upgrade Typescript and ESLint (#337) (#342) 2023-03-24 10:31:33 +04:00
.env.sample Add a basic test to demonstrate a p2p connection (#336) 2023-03-09 17:36:27 +05:30
.eslintignore Implement peer package to send messages between peers (#279) 2023-01-10 20:10:27 +05:30
.eslintrc.json Upgrade Typescript and ESLint (#337) (#342) 2023-03-24 10:31:33 +04:00
.gitignore Implement peer package to send messages between peers (#279) 2023-01-10 20:10:27 +05:30
.mocharc.yml Add a basic test to demonstrate a p2p connection (#336) 2023-03-09 17:36:27 +05:30
package.json Upgrade Typescript and ESLint (#337) (#342) 2023-03-24 10:31:33 +04:00
README.md Add mobymask-v2-watcher with integrated relay and peer functionality (#327) 2023-02-20 18:09:06 +05:30
tsconfig.json Implement peer package to send messages between peers (#279) 2023-01-10 20:10:27 +05:30

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