165 Commits

Author SHA1 Message Date
vms
1dbcfa88b6
sync with master (#1)
* chore: update deps (#113)

* chore: update contributors

* chore: release version v0.12.2

* fix: remove use of assert module (#114)

The polyfill is big, we can simulate it by throwing an Error and it doesn't work under React Native.

* chore: update contributors

* chore: release version v0.12.3

* chore(deps-dev): bump aegir from 20.6.1 to 21.0.2 (#117)

Bumps [aegir](https://github.com/ipfs/aegir) from 20.6.1 to 21.0.2.
- [Release notes](https://github.com/ipfs/aegir/releases)
- [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ipfs/aegir/compare/v20.6.1...v21.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
Co-authored-by: Alex Potsides <alex@achingbrain.net>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-02-23 19:48:03 +03:00
Jacob Heun
b3a70400b0
chore: release version v0.12.1 v0.12.1 2019-11-22 16:55:00 -06:00
Jacob Heun
f1e79ce472
chore: update contributors 2019-11-22 16:55:00 -06:00
Jacob Heun
b22152aec4
chore: clean up published package (#110) 2019-11-22 14:56:36 -06:00
Jacob Heun
aea41dec0e
chore: release version v0.12.0 v0.12.0 2019-11-22 14:23:52 -06:00
Jacob Heun
c081ea5219
chore: update contributors 2019-11-22 14:23:52 -06:00
Maciej Krüger
8ad4c15562 refactor: use async await (#108)
* chore: upgrade deps

* feat: first iteration of the idea

* feat: iterate a layer deeper

* feat: rewrite handshake

* feat: rewrite propose

* feat: rewrite finish

* feat: rewrite exchange

* feat: rewrite low-level stuff

* feat: work on rewriting tests

* refactor: browser tests

* refactor: .aegir.js

* feat: refactor benchmarks

* fix: try to make it work

* fix: lint

* refactor: move tests

* refactor: switch deps

* refactor: entry file

* refactor: a bit more

* fix: tests

* feat: inital iterables refactor

* refactor: streaming

* refactor: cleanup

* fix: turn bufferlist into buffer

* fix: use errors from interfaces

* refactor: etm

* fix: typo

* fix: .read error

* fix: satisfy output expectations

* fix: it works - WARNING: using varint instead of fixed lp, tests lie

* fix: use errors

* refactor: benchmarks

* fix: add suggestions from review

Co-Authored-By: Jacob Heun <jacobheun@gmail.com>

* fix: upgrade deps and use correct lp-encoder

* refactor: apply changes from review

* refactor: apply changes from review

* refactor: apply changes from review

* chore: remove old tests

test: add support tests back

* test: fix async benchmarks

* chore: clean up deps

* fix: use fixed encoding/decoding everywhere

fix: exchange final nonce handshake over encryption

* test: add verify inbound and outbound secio

* test: verify nonces are boxed

* chore: add node 12 to ci
2019-11-22 14:18:17 -06:00
Maciej Krüger
774267f08e docs(fix): readme typo (#107) 2019-08-08 12:50:29 +02:00
Vasco Santos
1329e9cc2d
chore: add discourse badge (#105) 2019-04-15 11:43:59 +01:00
David Dias
9b16472930 chore: release version v0.11.1 v0.11.1 2019-01-11 17:25:57 +01:00
David Dias
dac852030c chore: update contributors 2019-01-11 17:25:57 +01:00
Hugo Dias
581d80fe60 chore: update deps 2019-01-11 17:22:05 +01:00
Hugo Dias
f95a406ee0 fix: reduce bundle size 2019-01-11 17:22:05 +01:00
David Dias
80e342007c chore: release version v0.11.0 v0.11.0 2019-01-03 17:46:21 +00:00
David Dias
5d46976ea9 chore: update contributors 2019-01-03 17:46:21 +00:00
Vasco Santos
a6290f296b chore: update dependencies 2019-01-03 17:43:19 +00:00
David Dias
35230c9800 chore: release version v0.10.1 v0.10.1 2018-10-31 08:22:54 +00:00
David Dias
34d80e6530 chore: update contributors 2018-10-31 08:22:54 +00:00
David Dias
dcc86eeab5 chore: fix package deps 2018-10-31 08:21:19 +00:00
David Dias
0c2a7339fe chore: update deps 2018-10-31 08:19:52 +00:00
David Dias
eee15dded1
docs: Lead maintainer (#102)
* add lead maintainer

* chore: update deps
2018-05-29 15:17:41 +01:00
David Dias
39f70c6671 chore: release version v0.10.0 v0.10.0 2018-04-05 17:35:17 +01:00
David Dias
0a5490ee43 chore: update contributors 2018-04-05 17:35:17 +01:00
David Dias
5ae98b1e40 chore: update deps 2018-04-05 17:33:45 +01:00
David Dias
00d1f54b60 chore: release version v0.9.4 v0.9.4 2018-03-28 15:22:40 -07:00
David Dias
ed2c86eb85 chore: update contributors 2018-03-28 15:22:40 -07:00
David Dias
7e44e4549d chore: update deps 2018-03-28 15:20:58 -07:00
Jacob Heun
6d09b472ec fix: pass the handshake failure on
Failed handshakes abort the connection but dont inform users of the failure properly. If a remote was not successfully negotiated this could cause a peerId missing issue
2018-03-28 15:20:06 -07:00
Jacob Heun
0e23874730 test: add test for handshake to expose error bubbling issue 2018-03-28 15:20:06 -07:00
Jacob Heun
b6e1baa8ca refactor: clean up callbacks to avoid naming collision 2018-03-28 15:20:06 -07:00
David Dias
edc4eb5b7a chore: release version v0.9.3 v0.9.3 2018-02-27 07:18:42 -05:00
David Dias
d5029861c4 chore: update contributors 2018-02-27 07:18:42 -05:00
David Dias
750791dc3d chore: update deps 2018-02-27 07:18:23 -05:00
Pedro Teixeira
e205ca40f1 fix: cascading connection from encrypted connection to parent connection 2018-02-27 07:15:02 -05:00
David Dias
7c2b7a9571 chore: release version v0.9.2 v0.9.2 2018-02-12 09:36:58 +00:00
David Dias
ecb89ed52e chore: update contributors 2018-02-12 09:36:58 +00:00
David Dias
882a2028a7 chore: update deps 2018-02-12 09:35:45 +00:00
David Dias
77849b18d7 chore: release version v0.9.1 v0.9.1 2018-01-27 18:37:59 -08:00
David Dias
8a416ac5f5 chore: update contributors 2018-01-27 18:37:59 -08:00
David Dias
e5e6bb3782 chore: update deps 2018-01-27 18:37:20 -08:00
David Dias
5e4bbe385d test: fix benchmarks 2018-01-07 18:44:33 +00:00
David Dias
cc6785fb8e chore: release version v0.9.0 v0.9.0 2018-01-07 16:26:38 +00:00
David Dias
ca287fb3b8 chore: update contributors 2018-01-07 16:26:38 +00:00
David Dias
4d4163def5 test: always use Connection instances for tests 2018-01-07 16:24:43 +00:00
David Dias
74f6fd8ab3 test: check if we dialed to the right peer 2018-01-07 16:24:43 +00:00
David Dias
ee1f64c98e test: add more interesting benchmarks 2018-01-07 16:24:43 +00:00
David Dias
d26590dfb6 test: make tests go faster, way faster 2018-01-07 16:24:43 +00:00
David Dias
5ee1573637 refactor: speed up benchmarks 2018-01-07 16:24:43 +00:00
David Dias
65b9675ffe chore: fix linting 2018-01-07 16:24:43 +00:00
David Dias
87fb3462a4 chore: update ignore files 2018-01-07 16:24:43 +00:00