1.0.4 • Published 11 months ago

@dao-xyz/libp2p-direct-sub v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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

11 months ago

1.0.3

11 months ago

0.3.0

12 months ago

0.2.1

1 year ago

0.2.0

1 year ago

0.5.3

11 months ago

0.5.0

12 months ago

0.2.3

1 year ago

0.4.0

12 months ago

0.2.2

1 year ago

0.5.2

11 months ago

0.2.5

12 months ago

0.5.1

12 months ago

0.2.4

1 year ago

0.1.22

1 year ago

0.1.23

1 year ago

0.1.24

1 year ago

0.1.25

1 year ago

0.1.26

1 year ago

0.1.20

1 year ago

0.1.21

1 year ago

0.1.18

1 year ago

0.1.19

1 year ago

0.1.17

1 year ago

0.1.16

1 year ago

0.1.15

1 year ago

0.1.14

1 year ago

0.1.13

1 year ago

0.1.12

1 year ago

0.1.11

1 year ago

0.1.10

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago