5 Commits

Author SHA1 Message Date
46eeae04fc Use removeListener instead of off for Node 8 2019-11-16 09:57:07 -03:00
92a5f2063c Use SignalData on server-side
This should not cause compile issues when simple-peer is not installed
(because client-side JS will be precompiled after pkg is published in
NPM repository) because types are not used in runtime.
2019-11-16 00:06:41 -03:00
7fa09fa6b8 Use TypedEmitter for client socket connections 2019-11-15 23:38:19 -03:00
703c13f296 Add TypedSocket to server 2019-11-15 23:17:52 -03:00
45b5a3bbf2 Add TypedEmitter 2019-11-15 20:28:13 -03:00