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
c4be5eed4b
chore: release version v0.5.0
v0.5.0
2020-08-24 12:23:18 +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
Vasco Santos
d6376377d3
docs: update discovery tests usage ( #61 )
2020-08-17 18:10:55 +02:00
Jacob Heun
a60ae091e5
chore: release version v0.4.1
v0.4.1
2020-08-11 15:26:28 +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
13aa6cbfa0
chore: release version v0.4.0
v0.4.0
2020-08-10 12:36:11 +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
71b813ad3b
chore: release version v0.3.2
v0.3.2
2020-07-15 12:57:26 +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
Vasco Santos
1cc943e1b2
feat: record interface ( #52 )
...
* feat: record interface
* chore: add readme reference
* chore: address review
2020-07-15 12:29:36 +02:00
Jacob Heun
4adedcc4bf
chore: release version v0.3.1
v0.3.1
2020-07-03 15:51:41 +02:00
Jacob Heun
0628d708c4
chore: update contributors
2020-07-03 15:51:41 +02:00
Vasco Santos
e10a1545c8
fix: reconnect should trigger topology on connect if protocol stored ( #54 )
...
* fix: reconnect should trigger topology on connect if protocol stored
* chore: address review
2020-07-03 15:48:12 +02:00
Vasco Santos
9fbf9d0331
fix: content and peer routing multiaddrs property ( #49 )
2020-06-05 16:12:33 +02:00
Jacob Heun
aa996d2054
chore: release version v0.3.0
2020-06-05 16:12:33 +02:00
Jacob Heun
507013a724
chore: update contributors
2020-06-05 16:12:33 +02:00
Vasco Santos
a55c7c454a
chore: remove peer-info usage on topology ( #42 )
...
* chore: remove peer-info usage on topology
BREAKING CHANGE: topology api now uses peer-id instead of peer-info
2020-06-05 16:12:33 +02:00
Vasco Santos
87e2e89791
chore: update content and peer routing interfaces removing peer-info ( #43 )
...
* chore: update content and peer routing interfaces removing peer-info
BREAKING CHANGE: content-routing and peer-routing APIs return an object with relevant properties instead of peer-info
2020-06-05 16:12:33 +02:00
Vasco Santos
5bcfc966f7
chore: discovery should not use once ( #45 )
2020-06-05 16:12:33 +02:00
Vasco Santos
c8c249de6e
chore: apply suggestions from code review
...
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
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
Vasco Santos
bdd2502ef6
feat: peer-discovery not using peer-info
...
BREAKING CHANGE: peer-discovery emits object with id and multiaddrs properties
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
kumavis
9a8f375d40
fix: peer-routing typo ( #47 )
2020-04-22 15:30:59 +02:00
Jacob Heun
afc2aa6891
chore: release version v0.2.8
v0.2.8
2020-04-21 11:33:14 +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
Vasco Santos
dba3b9932f
Merge pull request #44 from wemeetagain/patch-1
...
chore: add discv5 peer discovery module
2020-04-11 11:02:12 +02:00
Cayman
c56dd3e3fa
chore: add discv5 peer discovery module
2020-04-10 14:03:58 -05:00
Jacob Heun
de64a49007
chore: release version v0.2.7
v0.2.7
2020-03-20 20:57:31 +01: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
098390cd31
chore: release version v0.2.6
v0.2.6
2020-02-17 16:21:31 -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
Alex Potsides
c77d8de2e7
fix: remove use of assert module ( #34 )
...
* fix: remove use of assert module
The polyfill is big, we can simulate it by throwing an Error and it doesn't work under React Native.
* chore: pr comments
2020-02-17 22:19:13 +01:00
Jacob Heun
6203109751
chore: release version v0.2.5
v0.2.5
2020-02-04 18:38:20 +01:00
Jacob Heun
25eeedd20e
chore: update contributors
2020-02-04 18:38:19 +01:00
Jacob Heun
5c88d77aaa
fix(connection): tracks streams properly ( #25 )
2020-02-04 17:34:56 +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
c43a52d176
chore: release version v0.2.4
v0.2.4
2020-02-04 12:29:36 +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