Robin Millette
aa2be8063e
Add host option.
2020-06-07 10:15:51 -04:00
Robert Rößger
a72e4fc60e
fix for #170 windows paths
2020-03-29 23:44:24 +02:00
afrokick
b3f223c51f
fix ExpressPeerServer when mount on custom path
2020-03-23 19:51:18 +03:00
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
86c2c65db7
change defaultConfig - set path to /
...
fix declaration file
2020-03-20 04:24:33 +03:00
afrokick
813f7aaec8
update changelog
...
fix package name in README
2020-03-19 23:35:59 +03:00
Alex Sosnovskiy
f3bb222609
Merge pull request #157 from ajmar/master
...
(feat): Allow passing in custom client ID generation function.
2020-03-19 23:11:46 +03:00
afrokick
a956168f55
fix issue with expire messages
...
bump version to 0.3.1
2020-03-11 11:02:32 +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
3398d65d2d
refactoring index.js
2019-12-16 11:16:43 +03:00
afrokick
c4f04b2ff8
add tests for WebSocketServer
2019-12-16 01:15:05 +03: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
5ad788c419
Removed unneeded console.error.
2019-10-23 03:28:38 +01: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
42a626629b
add eslint for ts
2019-08-23 16:47:34 +03: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
799299d669
add checkConnections service
2019-08-21 17:39:00 +03:00
afrokick
252b65cc07
add eslint
...
fix npm audit
2019-08-21 15:14:31 +03:00
afrokick
5fa4c2df5f
Merge pull request #125 from zhou-yg/patch-1
...
[bug] fix connecting problem
2019-08-21 14:21:46 +03:00
afrokick
b9bc327eda
fix messageHandler null deconstruction
2019-08-21 14:01:05 +03:00
Jairo
0d85c45f47
Update index.js
2019-07-02 15:32:18 +02:00
zhou-yg
62c8aa6fa1
[bug] fix connecting problem
...
1.register router path duplicate in 'init' function(line 16) and 'PeerServer' function (line 109)
2.app.mountpath is undefined. It will make WebSocketServer.constructor lost router path.
2019-05-28 21:12:53 +08:00
afrokick
a7bc7b03d2
fix readme
...
fix dc event
2019-04-11 13:30:17 +03:00
afrokick
b31d2b881d
convert to lib
2019-04-10 23:44:15 +03:00
afrokick
9b15b4b4f3
fix https://github.com/peers/peerjs-server/issues/75
2019-04-01 18:33:24 +03:00
afrokick
7224de69b7
fix handle sdp messages via http
2019-04-01 17:42:58 +03:00
afrokick
0be4f6066c
implement https://github.com/peers/peerjs-server/pull/67
2019-04-01 17:17:38 +03:00
afrokick
5f3774fe44
fix tests
2019-04-01 17:09:22 +03:00
afrokick
86882a74f0
update README
2019-04-01 16:17:39 +03:00
afrokick
6f509b848c
remove ips limit
...
refactoring errors
2019-04-01 15:41:09 +03:00
afrokick
5d40faf39e
fix src of null
2019-04-01 15:23:45 +03:00
afrokick
538dcf3a2c
add expire handler
2019-04-01 15:19:06 +03:00
afrokick
904c8ccd65
fix
2019-04-01 15:17:38 +03:00
afrokick
9a89394c11
fix
2019-04-01 15:14:24 +03:00
afrokick
0aa52c488a
add logger to handler
2019-04-01 15:10:54 +03:00
afrokick
654f3c9c3c
show unrecognized message type
2019-04-01 15:08:29 +03:00
afrokick
1f58c60ecc
fix
2019-04-01 15:01:35 +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