6 Commits

Author SHA1 Message Date
Vasco Santos
7597875c32 chore: record interface instead of class, transport and stream muxer factory interface and minor pubsub fixes 2020-12-03 11:21:56 +01:00
Vasco Santos
5cb2025c2a chore: address review 2020-12-02 17:50:01 +01:00
Vasco Santos
6f090617aa chore: address review 2020-12-02 16:04:16 +01:00
Irakli Gozalishvili
67a5f51805
fix: type incompatibilities (#75) 2020-12-02 10:33:13 +01:00
Vasco Santos
6a95834570 feat: add types 2020-12-01 23:12:24 +01: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