535 Commits

Author SHA1 Message Date
Vasco Santos
edb8ca60e9 chore: release version v0.9.0 v0.9.0 2021-04-07 09:44:27 +02:00
Vasco Santos
810642d8ff chore: update contributors 2021-04-07 09:44:26 +02:00
Vasco Santos
64a478d313
chore: update types (#87) 2021-04-07 09:39:48 +02:00
Vasco Santos
b948972c5b chore: release version v0.8.4 v0.8.4 2021-03-22 10:03:40 +01:00
Vasco Santos
edcedf093d chore: update contributors 2021-03-22 10:03:39 +01:00
Alex Potsides
3b960d516f
fix: specify connection direction (#86)
The comment says it can be 'inbound' or 'outbound' so constrain the type to those values.
2021-03-22 09:58:10 +01:00
Vasco Santos
2429e7246f chore: release version v0.8.3 v0.8.3 2021-01-26 09:24:52 +01:00
Vasco Santos
22a7f6a9f1 chore: update contributors 2021-01-26 09:24:52 +01:00
Vasco Santos
fb9fce8713
chore: update deps (#82)
* chore: update deps

* chore: add prepare script
2021-01-26 09:11:00 +01:00
Vasco Santos
91dba97125 chore: release version v0.8.2 v0.8.2 2021-01-20 10:19:40 +01:00
Vasco Santos
93d712bb0e chore: update contributors 2021-01-20 10:19:40 +01:00
Vasco Santos
ca520775eb
fix: event emitter types with local types (#80) 2021-01-20 10:15:40 +01:00
Vasco Santos
ceb91c672e
chore: add github actions badge (#78) 2020-12-17 11:31:12 +01:00
Vasco Santos
30ffad42c8 chore: release version v0.8.1 v0.8.1 2020-12-11 10:06:07 +01:00
Vasco Santos
c365399e4f chore: update contributors 2020-12-11 10:06:07 +01:00
Vasco Santos
5b99e6b56b
fix: pubsub publish message should be uint8array (#77) 2020-12-11 10:01:39 +01:00
Vasco Santos
f4c19c9ef2 chore: release version v0.8.0 v0.8.0 2020-12-10 14:29:13 +01:00
Vasco Santos
c36698f488 chore: update contributors 2020-12-10 14:29:13 +01:00
Vasco Santos
3ecbc3e889
chore: remove old pre release script (#76) 2020-12-10 14:23:35 +01:00
Vasco Santos
e2419ea308
feat: add types (#74) 2020-12-10 14:03:17 +01:00
Vasco Santos
04e93d3f08
chore: add pubsub interface to readme (#72) 2020-11-25 18:57:25 +01:00
Vasco Santos
83d7d52d7e chore: release version v0.7.2 v0.7.2 2020-11-11 17:20:34 +01:00
Vasco Santos
1a3ea82776 chore: update contributors 2020-11-11 17:20:34 +01:00
Cayman
ad2dfa42dc
chore: pubsub conformance test updates (#70) 2020-11-11 17:16:49 +01:00
Vasco Santos
b75f2cab48 chore: release version v0.7.1 v0.7.1 2020-11-03 22:43:57 +01:00
Vasco Santos
8512997e76 chore: update contributors 2020-11-03 22:43:57 +01:00
Cayman
269a6f5e0a
fix: typescript types (#69) 2020-11-03 22:35:18 +01:00
Vasco Santos
14d09970ca chore: release version v0.7.0 v0.7.0 2020-11-03 18:26:50 +01:00
Vasco Santos
c98c58e824 chore: update contributors 2020-11-03 18:26:49 +01:00
Cayman
946b046440
feat: pubsub: add global signature policy (#66)
BREAKING CHANGE:
`signMessages` and `strictSigning` pubsub configuration options replaced
with a `globalSignaturePolicy` option
2020-11-03 18:22:03 +01:00
Jacob Heun
d168c7d531
chore: release version v0.6.0 v0.6.0 2020-10-05 16:40:42 +02:00
Jacob Heun
349c1174db
chore: update contributors 2020-10-05 16:40:41 +02:00
Cayman
e14844315b
feat: update pubsub getMsgId return type to Uint8Array (#65)
BREAKING CHANGE:
new getMsgId return type is not backwards compatible with prior `string`
return type.
2020-10-05 16:36:29 +02:00
Vasco Santos
ff3bd10704 chore: release version v0.5.2 v0.5.2 2020-09-30 11:27:32 +02:00
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
c43e8e26bd
chore: release version v0.5.1 v0.5.1 2020-08-25 13:09:56 +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
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