524 Commits

Author SHA1 Message Date
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
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