7 Commits

Author SHA1 Message Date
Jacob Heun
a5ad120b60
feat: add upgrader support to transports (#53)
BREAKING CHANGE: Transports must now be passed and use an `Upgrader` instance. See the Readme for usage. Compliance test suites will now need to pass `options` from `common.setup(options)` to their Transport constructor.

* docs: update readme to include upgrader

* docs: update readme to include MultiaddrConnection ref

* feat: add upgrader spy to test suite

* test: validate returned value of spy
2019-09-06 09:44:17 +02:00
dirkmc
a6d6098ec7 test: add tests for abort after connect (#49) 2019-06-11 19:16:55 +02:00
dirkmc
4fd37bb616 feat: add type to AbortError (#45) 2019-04-18 12:44:17 +02:00
dirkmc
b30ee5f6af feat: callbacks -> async / await (#44)
* feat: callbacks -> async / await

BREAKING CHANGE: All places in the API that used callbacks are now replaced with async/await

* test: add tests for canceling dials

* feat: Adapter class
2019-04-17 19:35:06 +02:00
David Dias
3f83a4afc7 chore: update aegir 2017-03-21 14:23:39 +00:00
Friedel Ziegelmayer
e1346da0f1 fix(dial-test): ensure goodbye works over tcp 2016-09-06 10:16:25 +02:00
Friedel Ziegelmayer
d50224dc5d feat(tests): add dial and listen tests 2016-09-05 17:27:46 -04:00