20 Commits

Author SHA1 Message Date
afrokick
b9dbb6d678 fix issue #165 2020-03-23 15:09:37 +03:00
afrokick
0a296aba07 add README for HTTP API 2020-03-22 00:28:50 +03:00
afrokick
813f7aaec8 update changelog
fix package name in README
2020-03-19 23:35:59 +03: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
3398d65d2d refactoring index.js 2019-12-16 11:16:43 +03:00
afrokick
7c23ed8351 fix warnings 2019-12-15 14:17:37 +03:00
Eden Tyler-Moss
5ad788c419 Removed unneeded console.error. 2019-10-23 03:28:38 +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
1daa092eea fix tests 2019-08-23 16:04:19 +03:00
afrokick
dd0b60416e ref 2019-08-22 20:59:55 +03:00
afrokick
252b65cc07 add eslint
fix npm audit
2019-08-21 15:14:31 +03:00
afrokick
b31d2b881d convert to lib 2019-04-10 23:44:15 +03:00
afrokick
7224de69b7 fix handle sdp messages via http 2019-04-01 17:42:58 +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
d559ae50c6 fix auth 2019-04-01 14:45:37 +03:00
afrokick
7e2b854f09 fix auth 2019-04-01 14:40:40 +03:00
afrokick
1e09fcfb64 ref 2019-04-01 14:34:59 +03:00