Commit Graph

31 Commits

Author SHA1 Message Date
a4fafc3b3f chore: use libp2p-interfaces (#98) 2019-12-20 10:52:48 -08:00
3bf66d08e4 fix: support bufferlist usage (#97)
several it-* modules leverage bufferlist, but ws does not. We need to convert buffer lists to buffers before handing the data off to ws for transmission

License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
2019-10-30 14:23:50 +01:00
5b59fc3a47 fix: catch inbound upgrade errors (#96)
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
2019-10-30 13:35:26 +01:00
ce7bf4f1e0 refactor: async with multiaddr conn (#92)
BREAKING CHANGE: Switch to using async/await and async iterators. The transport and connection interfaces have changed. See the README for new usage.
2019-09-30 12:14:28 +02:00
ff19e81dbb chore: update aegir (#87) 2019-07-22 11:29:00 +01:00
93ef7c3e70 fix: ipv6 naming with multiaddr-to-uri package (#81)
* chore: use multiaddr-to-uri package

* fix: ipv6 naming with multiaddr-to-uri
2019-01-24 15:22:00 +00:00
68ae2c344d fix: reduce bundle size 2019-01-10 14:53:46 +01:00
9ffe03adf6 Fix #70 - Better error for .createServer in browser (#73)
* Fix #70 - Better error for .createServer in browser

* Add test for throw

* Make test sync
2018-04-24 12:45:56 +02:00
f59cf88cc2 feat: add class-is module (#72) 2018-04-05 17:21:26 +01:00
709989acc9 feat: Pass options to websocket server (#66) 2018-04-05 17:21:02 +01:00
9ddff85601 feat: filter IPFS addrs correctly (#62)
* feat: dns support for WS

* fix: address parsing

* feat: filter IPFS addrs correctly

* fix: remove lodash includes dependency

* feat: mafmt addrs now support /ipfs no need for ad-hoc filtering

* feat: skip p2p-circuit addresses

* chore: updating ci files

* chore: upgrading to new aegir

* test: pass the no-parallel flag to tests

* wip

* test: removing global timeout and setting it on a specific test

* feat: resolve 0 addresses (#64)

* feat: resolve 0 addresses

* chore: upgrading pull-ws

* chore: update circle CI

* chore: update gitignore

* chore: update deps

* chore: update CI again

* test: fix node.js tests

* test: fix browser tests

* chore
2017-10-20 12:12:35 +01:00
3d3cdf1c1e feat: new aegir 2017-10-20 11:25:14 +01:00
8df8084ec7 fix(dial): pass through errors from pull-ws onConnect
Not passing errors meant that failed websocket connections were being treated as successful dials.
2017-03-27 17:10:20 +02:00
9fbbe3f2a0 fix: address parsing (#57)
* feat: dns support for WS

* fix: address parsing

* test: adding ma-to-url tests
2017-03-23 23:19:36 +00:00
bdfd042ace DNS support (#56)
* feat: dns support
2017-03-23 15:09:06 +00:00
1f01fe7745 Use lodash.includes instead of the deprecated lodash.contains (#39)
* .gitignore Vim swp files

* Use lodash.includes instead of the deprecated lodash.contains
2016-12-15 21:06:54 -08:00
0429bebde6 fix: the fix 2016-11-08 17:21:19 +00:00
a821c33364 fix: onConnect does not follow callback pattern (#36) 2016-11-08 17:20:14 +00:00
e73c99ee21 feat: upgrade to aegir@9 (#33) 2016-11-03 08:53:50 +00:00
3f58dca09a feat(pull): migrate to pull streams 2016-09-05 19:00:23 -04:00
bbc92b998f follow new transport and connection spec 2016-06-22 11:34:37 +01:00
5eda5c447b support for addrs with ipfs in the end as well 2016-05-29 09:00:26 +01:00
cd8935441c fix: improve close handling 2016-05-08 23:01:47 +02:00
bef46b23ec chore: release version v0.4.1 2016-05-08 21:57:30 +01:00
c03fad252d move error to callback 2016-04-25 02:12:55 +01:00
0ba1ca3aa8 Use dignified.js 2016-03-23 16:23:10 +01:00
c389020884 Rename callback to ready again 2016-03-20 17:25:17 +00:00
3b81221566 Add echo tests 2016-03-15 15:27:22 +00:00
1473964c15 add filter 2016-03-14 21:19:42 +00:00
03de3c49ef dial and listen done 2016-03-14 20:25:00 +00:00
56197e09e5 land it 2016-02-26 13:18:05 +00:00