63 Commits

Author SHA1 Message Date
Vasco Santos
4ecd7d3c83 chore: update contributors 2020-09-30 11:27:31 +02:00
Marin Petrunić
eacdc246da
chore: add type generation from jsdoc (#64) 2020-09-30 11:21:11 +02:00
Jacob Heun
94cf0fa4fc
chore: update contributors 2020-08-25 13:09:56 +02:00
Vasco Santos
ba15a48dd9
feat: interface pubsub (#60)
* feat: interface pubsub

* chore: pubsub router tests

* chore: move pubsub abstractions from gossipsub

* chore: address review

* chore: revamp docs

* chore: add emit self tests to interface

* chore: refactor base tests

* chore: publish should only accept one topic per api call

* chore: normalize msg before emit

* chore: do not reset inbound stream

* chore: apply suggestions from code review

Co-authored-by: Jacob Heun <jacobheun@gmail.com>

* chore: address review

* fix: remove subscribe handler

* chore: remove bits from create peerId

Co-authored-by: Jacob Heun <jacobheun@gmail.com>

* chore: remove delay from topic validators tests

* chore: add event emitter information

* fix: topic validator docs

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-25 13:05:58 +02:00
Jacob Heun
9e0d23de9c
chore: update contributors 2020-08-24 12:23:18 +02:00
Jacob Heun
4130e7f098
fix: replace remaining Buffer usage with Uint8Array (#62)
* fix: marshal record as Uint8Array

BREAKING CHANGE: records now marshal as Uint8Array instead of Buffer

* fix: refactor remaining Buffer usage to Uint8Array
2020-08-24 12:20:24 +02:00
Jacob Heun
4902542e78
chore: update contributors 2020-08-11 15:26:27 +02:00
Alex Potsides
4d5f56d06f
chore: update libp2p-tcp (#59)
Updates libp2p-tcp to a version that depends on the same multiaddr as this module.
2020-08-11 15:22:43 +02:00
Jacob Heun
a8ba13da4b
chore: update contributors 2020-08-10 12:36:11 +02:00
Alex Potsides
75f6777d89
chore: update deps (#57)
* chore: update deps

Pulls in latest peer id with Uint8Arrays

BREAKING CHANGES:

- The peer id dep of this module has replaced node Buffers with Uint8Arrays

* chore: update gh deps
2020-08-10 12:23:45 +02:00
Jacob Heun
46589ce3d0
chore: update contributors 2020-07-15 12:57:25 +02:00
Jacob Heun
f2a18818f2
chore: update deps (#55)
* chore: update deps

* chore: remove unused peer-info dep
2020-07-15 12:56:37 +02:00
Jacob Heun
0628d708c4
chore: update contributors 2020-07-03 15:51:41 +02:00
Jacob Heun
507013a724 chore: update contributors 2020-06-05 16:12:33 +02:00
Vasco Santos
5b138ef0a0 chore: add tests for peer-discovery 2020-06-05 16:12:33 +02:00
dependabot-preview[bot]
1bef8d5d78
chore(deps-dev): bump aegir from 21.10.2 to 22.0.0 (#50)
Bumps [aegir](https://github.com/ipfs/aegir) from 21.10.2 to 22.0.0.
- [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/v21.10.2...v22.0.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 10:52:10 +02:00
Jacob Heun
424a0c081e
chore: update contributors 2020-04-21 11:33:14 +02:00
Hugo Dias
e824b15032
chore: update deps (#46) 2020-04-21 11:27:41 +02:00
Jacob Heun
3cfd9714bd
chore: update contributors 2020-03-20 20:57:30 +01:00
Hugo Dias
78e015cef3
fix: add buffer (#39) 2020-03-20 20:53:54 +01:00
dependabot-preview[bot]
bd5a8b9337 chore(deps): bump sinon from 8.1.1 to 9.0.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 8.1.1 to 9.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v8.1.1...v9.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-19 08:20:14 -05:00
Jacob Heun
953e289e1a
chore: update contributors 2020-02-17 16:21:30 -05:00
dependabot-preview[bot]
ba822856ef chore(deps-dev): bump aegir from 20.6.1 to 21.0.2
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>
2020-02-17 22:19:35 +01:00
Jacob Heun
25eeedd20e
chore: update contributors 2020-02-04 18:38:19 +01:00
dependabot-preview[bot]
f6871afd76 chore(deps): bump sinon from 7.5.0 to 8.1.1
Bumps [sinon](https://github.com/sinonjs/sinon) from 7.5.0 to 8.1.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v7.5.0...v8.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-04 15:55:39 +01:00
dependabot-preview[bot]
734c491bb0
chore(deps): bump abortable-iterator from 2.1.0 to 3.0.0 (#24)
Bumps [abortable-iterator](https://github.com/alanshaw/abortable-iterator) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/alanshaw/abortable-iterator/releases)
- [Commits](https://github.com/alanshaw/abortable-iterator/compare/v2.1.0...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-04 15:55:13 +01:00
Jacob Heun
af1ba5a409
chore: update contributors 2020-02-04 12:29:35 +01:00
Vasco Santos
c5b724ab93
fix: dependencies for tests should not be needed by who requires the tests (#18)
* fix: dependencies for tests should not be needed by who requires the tests

* chore: address review
2020-02-04 10:53:05 +01:00
Alan Shaw
6fb45b775b
chore: remove unused dependency (#22) 2020-02-04 10:51:38 +01:00
Jacob Heun
27ac0a5670
chore: update contributors 2020-01-21 16:10:16 +01:00
Jacob Heun
c00f94dfaf
chore: update contributors 2020-01-17 15:41:02 +01:00
Jacob Heun
557f6cab66 chore: update contributors 2019-12-27 21:46:43 -07:00
Jacob Heun
01e240420d
chore: update contributors 2019-12-20 08:14:49 -08:00
Vasco Santos
ff0313721c fix: transport should not handle connection if upgradeInbound throws (#16)
* fix: transport should not handle connection if upgradeInbound throws

* chore: address review
2019-12-20 08:01:37 -08:00
Jacob Heun
e979bc9d4e
chore: update contributors 2019-12-15 16:57:39 +01:00
Vasco Santos
79bfcacb61 chore: add lead maintainer property (#14) 2019-12-12 13:05:12 +01:00
Jacob Heun
34372e07ce
chore: update contributors 2019-12-02 16:09:12 +01:00
Jacob Heun
64c79d92e0
chore: update contributors 2019-11-15 14:51:52 +01:00
Jacob Heun
b00bcd453d
chore: update contributors 2019-11-14 11:54:37 +01:00
Jacob Heun
5206862504
chore: update contributors 2019-10-30 17:10:37 +01:00
Jacob Heun
44e08c9007
chore: update contributors 2019-10-29 12:15:57 +01:00
Jacob Heun
92f13f8106
chore: update contributors 2019-10-21 14:45:39 +02:00
Jacob Heun
5a5c44a770
feat: crypto interface (#2)
* docs: initial crypto readme

* feat: add basic crypto interface test suite

* feat: add optional remotepeer for inbound

feat: add errors export

* docs(fix): update src/crypto/README.md

Co-Authored-By: Vasco Santos <vasco.santos@moxy.studio>
2019-10-21 14:44:17 +02:00
Jacob Heun
7bbba14646
chore: update contributors 2019-10-20 11:57:03 +02:00
Jacob Heun
212e571624
chore: clean up transport 2019-10-18 14:39:43 +02:00
Jacob Heun
f9f0b0902e
chore: cleanup peer disco and fix tests 2019-10-18 14:23:50 +02:00
Jacob Heun
c9fa1ac249
chore: fix connection tests and do cleanup 2019-10-18 14:14:27 +02:00
Jacob Heun
020f72b336
refactor: move all files to the right place 2019-10-18 13:58:35 +02:00
Jacob Heun
798fc75443
refactor: move record-store 2019-10-18 13:54:50 +02:00
Vasco Santos
a9c6842386 chore: add discourse badge (#15) 2019-04-26 15:04:21 +02:00