13 Commits

Author SHA1 Message Date
Jacob Heun
583f02d47a
fix(test): close with timeout (#54)
* fix(test): allow time for the listener to finish

* chore: pre push instead of pre commit

chore: clean up git ignore and add docs to list
2019-09-16 15:58:25 +02:00
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
030195e315 revert: "feat: make listen take an array of addrs (#46)" (#51)
This reverts commit 1dc5baab0b3efdf5ec07be646b8692700eb4c91c.
2019-04-29 17:04:17 +02:00
Jacob Heun
1dc5baab0b
feat: make listen take an array of addrs (#46)
* feat: make listen take an array of addrs

* fix: make error more user friendly
2019-04-19 10:20:56 +02:00
Alan Shaw
06ed59dc39 refactor: a better abort error message (#47)
Change to message as described here: https://heycam.github.io/webidl/#aborterror
2019-04-18 16:47:47 +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
Jacob Heun
84166fa0ea chore: update deps and fix linting 2018-11-29 14:27:12 +01:00
David Dias
5b47e193f8 chore: update all the deps 2018-04-05 16:53:39 +01: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