16 Commits

Author SHA1 Message Date
afrokick
813f7aaec8 update changelog
fix package name in README
2020-03-19 23:35:59 +03:00
Eden Tyler-Moss
fdc57ba587 Fixed syntax error. (Made genRandomId optional). 2020-01-31 11:46:31 +00:00
Eden Tyler-Moss
ef651a9c7e Resolved merge conflicts, updated README. 2020-01-31 11:39:19 +00:00
Eden Tyler-Moss
2a5d0b9cc3 Fixed breaking syntax error with genRandomId function selection. 2020-01-31 10:34:35 +00:00
Eden Tyler-Moss
2eb7f9cfb1 Generate ID function passed in options object. Updated tests. 2020-01-31 10:11:49 +00:00
afrokick
fe6f513b01 add test for messageQueue
replace setTimeout to Promised wait
2019-12-15 18:49:01 +03:00
afrokick
7c23ed8351 fix warnings 2019-12-15 14:17:37 +03:00
afrokick
17e0177670 fix uuid 2019-12-15 13:27:56 +03:00
Eden Tyler-Moss
e5c7ab517f Fixed bug where using the original randomId function would break. 2019-10-23 03:26:47 +01:00
Eden Tyler-Moss
2552e9d5f1 Added optional parameter to use a custom function to generate IDs.
The third parameter passed to PeerServer or ExpressPeerServer can
optionally be a function that returns any string value, which will be
used as the client ID. Checking whether the ID is already taken is not
to be handled by the function.

For instance:

ExpressPeerServer(,,() => {
  return 'abc';
})
2019-10-07 17:55:53 +01:00
afrokick
dd0b60416e ref 2019-08-22 20:59:55 +03:00
afrokick
799299d669 add checkConnections service 2019-08-21 17:39:00 +03:00
afrokick
9b15b4b4f3 fix https://github.com/peers/peerjs-server/issues/75 2019-04-01 18:33:24 +03:00
afrokick
5f3774fe44 fix tests 2019-04-01 17:09:22 +03:00
afrokick
6f509b848c remove ips limit
refactoring errors
2019-04-01 15:41:09 +03:00
afrokick
1e09fcfb64 ref 2019-04-01 14:34:59 +03:00