Vasco Santos
d2f8b51d44
chore: add post install
2020-12-10 12:33:44 +01:00
Vasco Santos
a24fafd570
chore: make metadata optional on addStream
2020-12-10 12:32:34 +01:00
Vasco Santos
a99b9582dc
chore: update interface record per libp2p pr feedback
2020-12-10 11:15:05 +01:00
Vasco Santos
e73646c893
chore: add listener options
2020-12-04 10:22:30 +01:00
Vasco Santos
0b4b09ffee
chore: enable ts error reporter
...
Co-authored-by: Hugo Dias <hugomrdias@gmail.com>
2020-12-03 13:58:25 +01:00
Vasco Santos
56e606ee86
chore: remove record class file
2020-12-03 11:23:24 +01:00
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
ef86c87b40
chore: fix latest comments
2020-12-02 21:19:46 +01:00
Vasco Santos
5cfaf4128f
chore: make inboundStream a asyncIterable
2020-12-02 18:16:39 +01:00
Vasco Santos
5cb2025c2a
chore: address review
2020-12-02 17:50:01 +01:00
Vasco Santos
0801fc3c0b
chore: add interface constructors
2020-12-02 16:35:49 +01:00
Vasco Santos
8fdc05d37d
chore: use github actions and remove travis
2020-12-02 16:12:12 +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
Irakli Gozalishvili
bac57b05dc
chore: remove generated types from vsc
2020-12-01 14:56:18 -08:00
Vasco Santos
6a95834570
feat: add types
2020-12-01 23:12:24 +01:00
Irakli Gozalishvili
7fd26cf6b9
fix: optional fields
2020-11-30 22:33:44 -08:00
Irakli Gozalishvili
b7f10727d6
fix: lint issues by disabling valid-jsdoc rules
2020-11-30 20:46:04 -08:00
Irakli Gozalishvili
3143efd7c1
fix: tsconfig to generate optionals correctly
2020-11-30 16:55:33 -08:00
Irakli Gozalishvili
f2d6a76dcf
fix: missing type imports
2020-11-30 16:53:39 -08:00
Irakli Gozalishvili
7ccaf27e24
chore: generate fixed types
2020-11-30 15:06:11 -08:00
Irakli Gozalishvili
4e25c6e51c
fix: add type annotations to improve innference
2020-11-30 15:05:36 -08:00
Irakli Gozalishvili
cba63941b0
feat: remove is-class that broke typings
2020-11-30 15:05:36 -08:00
Irakli Gozalishvili
c1cb68e043
fix: typedefs for MulticodecTopology
2020-11-27 12:45:31 -08: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