Commit Graph

927 Commits

Author SHA1 Message Date
Diego R. B
9350ce8f10 Add CLI installation command. 2017-07-10 12:10:43 -04:00
Feross Aboukhadijeh
01c550dac0 9.2.3 2017-06-23 15:55:40 -07:00
Feross Aboukhadijeh
8c28f025b4 Fixes for ws@3 2017-06-23 15:51:27 -07:00
Feross Aboukhadijeh
3db8bf94e0 ws@3 2017-06-23 15:41:09 -07:00
Feross Aboukhadijeh
179f8d2cea bencode@1 2017-06-23 15:41:05 -07:00
Feross Aboukhadijeh
0b21ee6ddd 9.2.2 2017-04-14 12:50:40 -07:00
Feross Aboukhadijeh
056a83d1b5 feross -> webtorrent 2017-04-14 12:50:19 -07:00
Feross Aboukhadijeh
3e87df8699 9.2.1 2017-04-07 18:24:36 -07:00
Feross Aboukhadijeh
63c953cbea dry some code 2017-04-07 18:24:16 -07:00
Feross Aboukhadijeh
3c544c0b34 9.2.0 2017-04-07 17:37:23 -07:00
Feross Aboukhadijeh
291df676fd Merge pull request #220 from feross/handle-errors
Handle peer 'error' events correctly
2017-04-07 17:35:43 -07:00
Feross Aboukhadijeh
48d0ea42ad Handle peer 'error' events correctly
Handle peer 'error' events that are fired *before* the peer is emitted
in a 'peer' event. Once the peer is emitted in a 'peer' event, then
it's the consumer's responsibility to listen for errors.

This fixes the most common error in WebTorrent Desktop according to our
telemetry.
2017-04-07 17:34:08 -07:00
Feross Aboukhadijeh
c7a2718290 simple-peer@8 2017-04-07 17:05:37 -07:00
Feross Aboukhadijeh
90121a62c2 remove unnecessary quotes 2017-04-04 11:46:43 -07:00
Feross Aboukhadijeh
5eeb819002 standard 2017-03-20 19:28:34 -07:00
Feross Aboukhadijeh
fe8db4751f authors 2017-03-13 15:29:22 -07:00
Feross Aboukhadijeh
a67ed42b07 9.1.0 2017-03-13 15:22:13 -07:00
Feross Aboukhadijeh
bb0a278809 Merge pull request #218 from yciabaud/request-handler3
Expose swarm object on tracker server
2017-03-13 15:21:31 -07:00
Yoann Ciabaud
a77873a765 Merge pull request #1 from feross/feross/request-handler-changes
Replace the request handler option by exposing the Swarm
2017-03-12 09:10:09 +01:00
Feross Aboukhadijeh
0c683dfe64 test: change request handler test to new approach 2017-03-10 13:39:12 -08:00
Feross Aboukhadijeh
51b57f66cf test: remove UDP request handler test -- not possible 2017-03-10 13:39:02 -08:00
Feross Aboukhadijeh
992cd77fc7 expose Swarm object for easy overriding 2017-03-10 13:38:43 -08:00
Feross Aboukhadijeh
ee9ebc506c remove requestHandler option 2017-03-10 13:38:27 -08:00
Feross Aboukhadijeh
f65983e466 do not filter out extra keys from 'update' events 2017-03-10 13:38:04 -08:00
Yoann Ciabaud
8482c3af0a Add extra data on ws annouce event 2017-03-09 11:19:46 +01:00
Yoann Ciabaud
1efb832dd7 Remove debug log 2017-03-09 11:19:46 +01:00
Yoann Ciabaud
146d4d46dd Extension point on requests and responses 2017-03-09 11:19:46 +01:00
Feross Aboukhadijeh
f5a32ff13d Merge pull request #217 from feross/fix-emails
Update ignore emails
2017-03-08 15:05:34 -08:00
Diego Rodríguez Baquero
386f4b02d7 Update update-authors.sh 2017-03-08 12:37:03 -05:00
Diego Rodríguez Baquero
862180d88f Merge pull request #216 from GusCaplan/patch-1
very much wrong email
2017-03-08 12:06:09 -05:00
Gus Caplan
3ddd423e9d very much wrong email 2017-03-08 05:16:44 -06:00
Feross Aboukhadijeh
2344f8347d authors 2017-03-08 02:16:29 -08:00
Feross Aboukhadijeh
13c4e88746 9.0.3 2017-03-08 02:12:28 -08:00
Feross Aboukhadijeh
173161cc47 Merge pull request #209 from GusCaplan/patch-1
Update common-node.js
2017-03-08 02:12:07 -08:00
Feross Aboukhadijeh
714400abae use correct API signature in querystring methods 2017-03-08 02:07:48 -08:00
Feross Aboukhadijeh
4e75a11602 9.0.2 2017-03-08 01:34:14 -08:00
Feross Aboukhadijeh
0c973661d2 Merge pull request #215 from feross/upgradereq
Delete `socket.upgradeReq` when it is no longer needed to reduce memory usage
2017-03-08 01:32:57 -08:00
Feross Aboukhadijeh
a09158bb4b Delete socket.upgradeReq when it is no longer needed to reduce memory usage
cc @lpinca
2017-03-07 13:22:51 -08:00
Feross Aboukhadijeh
1631f611fa authors 2017-03-07 13:11:11 -08:00
Feross Aboukhadijeh
9999741e7f 9.0.1 2017-03-07 13:09:59 -08:00
Feross Aboukhadijeh
5b05a43cce Merge pull request #213 from lpinca/bufferutil
add bufferutil as optional dependency
2017-03-07 13:09:25 -08:00
Luigi Pinca
d22ad6b6fa add bufferutil as optional dependency 2017-03-03 14:00:55 +01:00
Feross Aboukhadijeh
490138c9a3 9.0.0 2017-03-01 22:57:35 -08:00
Feross Aboukhadijeh
e4eb1a8069 Merge pull request #212 from feross/filter-cb
BREAKING: change how the filter function works
2017-03-01 22:57:09 -08:00
Feross Aboukhadijeh
40202a00b7 BREAKING: change how the filter function works
It's non-standard for a callback function to take a non-error argument
in the first position.

So instead of the filter callback accepting three types of arguments:

cb(true) // allowed
cb(false) // disallowed
cb(new Error('custom message')) // disallowed with custom message

It now accepts two forms:

cb(new Error('custom message')) // disallowed with custom message
cb(null) // allowed
2017-03-01 22:54:40 -08:00
Feross Aboukhadijeh
eef8bdd326 8.6.1 2017-03-01 22:33:51 -08:00
Feross Aboukhadijeh
6fdb3067e2 simple-peer@7 2017-03-01 22:33:35 -08:00
Feross Aboukhadijeh
0951f21a95 8.6.0 2017-03-01 22:30:00 -08:00
Feross Aboukhadijeh
3b17130092 Merge pull request #211 from feross/deps
Update dependencies
2017-03-01 22:28:34 -08:00
Feross Aboukhadijeh
3c7a637efd ws@2 2017-03-01 22:27:56 -08:00