1.0.4 • Published 2 years ago
@dao-xyz/libp2p-direct-sub v1.0.4
Direct Sub
Pubsub protocol built on top of Direct Stream
Features
Accurate
```typescript .getSubscribers(topic) ``` metho. Based on aggregated subscriber info, not only from immediate peers.
Subscriptions with associated metadata. E.g. you can subscribe to topics and provide data that explains the purpose for peers
```typescript .subscribe(topic, new UInt8Array([1,2,3])) ``` ```typescript .getSubscribersWithData(topic, data) ```
Efficient, content routing through path-finding algorithms
```typescript .publish(data, { topics: ["a","b"]}) ``` will try to find the subscribers of "a" and "b" and send messages with the shortest path in the network.
1.0.4
2 years ago
1.0.3
2 years ago
0.3.0
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.5.3
2 years ago
0.5.0
2 years ago
0.2.3
2 years ago
0.4.0
2 years ago
0.2.2
2 years ago
0.5.2
2 years ago
0.2.5
2 years ago
0.5.1
2 years ago
0.2.4
2 years ago
0.1.22
2 years ago
0.1.23
2 years ago
0.1.24
2 years ago
0.1.25
2 years ago
0.1.26
2 years ago
0.1.20
2 years ago
0.1.21
2 years ago
0.1.18
2 years ago
0.1.19
2 years ago
0.1.17
2 years ago
0.1.16
2 years ago
0.1.15
2 years ago
0.1.14
2 years ago
0.1.13
2 years ago
0.1.12
2 years ago
0.1.11
2 years ago
0.1.10
2 years ago
0.1.9
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago