@libp2p/pubsub 9.0.7 → 9.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +14 -0
- package/package.json +2 -2
package/README.md
CHANGED
@@ -5,6 +5,20 @@
|
|
5
5
|
|
6
6
|
> libp2p pubsub base class
|
7
7
|
|
8
|
+
# About
|
9
|
+
|
10
|
+
A set of components to be extended in order to create a pubsub implementation.
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```javascript
|
15
|
+
import { PubSubBaseProtocol } from '@libp2p/pubsub'
|
16
|
+
|
17
|
+
class MyPubsubImplementation extends PubSubBaseProtocol {
|
18
|
+
// .. extra methods here
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
8
22
|
# Install
|
9
23
|
|
10
24
|
```console
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@libp2p/pubsub",
|
3
|
-
"version": "9.0.
|
3
|
+
"version": "9.0.8",
|
4
4
|
"description": "libp2p pubsub base class",
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
6
6
|
"homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/pubsub#readme",
|
@@ -88,7 +88,7 @@
|
|
88
88
|
"@libp2p/interface-internal": "^1.0.7",
|
89
89
|
"@libp2p/peer-collections": "^5.1.5",
|
90
90
|
"@libp2p/peer-id": "^4.0.5",
|
91
|
-
"@libp2p/utils": "^5.2.
|
91
|
+
"@libp2p/utils": "^5.2.3",
|
92
92
|
"it-length-prefixed": "^9.0.3",
|
93
93
|
"it-pipe": "^3.0.1",
|
94
94
|
"it-pushable": "^3.2.3",
|