@libp2p/pubsub 9.0.8-e1db332a4 → 9.0.9

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -0,0 +1,32 @@
1
+ {
2
+ "codes": "https://libp2p.github.io/js-libp2p/variables/_libp2p_pubsub.errors.codes.html",
3
+ "./errors:codes": "https://libp2p.github.io/js-libp2p/variables/_libp2p_pubsub.errors.codes.html",
4
+ "PubSubBaseProtocol": "https://libp2p.github.io/js-libp2p/classes/_libp2p_pubsub.index.PubSubBaseProtocol.html",
5
+ ".:PubSubBaseProtocol": "https://libp2p.github.io/js-libp2p/classes/_libp2p_pubsub.index.PubSubBaseProtocol.html",
6
+ "PubSubComponents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_pubsub.index.PubSubComponents.html",
7
+ ".:PubSubComponents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_pubsub.index.PubSubComponents.html",
8
+ "PeerStreams": "https://libp2p.github.io/js-libp2p/classes/_libp2p_pubsub.peer_streams.PeerStreams.html",
9
+ "./peer-streams:PeerStreams": "https://libp2p.github.io/js-libp2p/classes/_libp2p_pubsub.peer_streams.PeerStreams.html",
10
+ "PeerStreamsComponents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_pubsub.peer_streams.PeerStreamsComponents.html",
11
+ "./peer-streams:PeerStreamsComponents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_pubsub.peer_streams.PeerStreamsComponents.html",
12
+ "PeerStreamsInit": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_pubsub.peer_streams.PeerStreamsInit.html",
13
+ "./peer-streams:PeerStreamsInit": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_pubsub.peer_streams.PeerStreamsInit.html",
14
+ "anyMatch": "https://libp2p.github.io/js-libp2p/functions/_libp2p_pubsub.utils.anyMatch.html",
15
+ "./utils:anyMatch": "https://libp2p.github.io/js-libp2p/functions/_libp2p_pubsub.utils.anyMatch.html",
16
+ "bigIntFromBytes": "https://libp2p.github.io/js-libp2p/functions/_libp2p_pubsub.utils.bigIntFromBytes.html",
17
+ "./utils:bigIntFromBytes": "https://libp2p.github.io/js-libp2p/functions/_libp2p_pubsub.utils.bigIntFromBytes.html",
18
+ "bigIntToBytes": "https://libp2p.github.io/js-libp2p/functions/_libp2p_pubsub.utils.bigIntToBytes.html",
19
+ "./utils:bigIntToBytes": "https://libp2p.github.io/js-libp2p/functions/_libp2p_pubsub.utils.bigIntToBytes.html",
20
+ "ensureArray": "https://libp2p.github.io/js-libp2p/functions/_libp2p_pubsub.utils.ensureArray.html",
21
+ "./utils:ensureArray": "https://libp2p.github.io/js-libp2p/functions/_libp2p_pubsub.utils.ensureArray.html",
22
+ "msgId": "https://libp2p.github.io/js-libp2p/functions/_libp2p_pubsub.utils.msgId.html",
23
+ "./utils:msgId": "https://libp2p.github.io/js-libp2p/functions/_libp2p_pubsub.utils.msgId.html",
24
+ "noSignMsgId": "https://libp2p.github.io/js-libp2p/functions/_libp2p_pubsub.utils.noSignMsgId.html",
25
+ "./utils:noSignMsgId": "https://libp2p.github.io/js-libp2p/functions/_libp2p_pubsub.utils.noSignMsgId.html",
26
+ "randomSeqno": "https://libp2p.github.io/js-libp2p/functions/_libp2p_pubsub.utils.randomSeqno.html",
27
+ "./utils:randomSeqno": "https://libp2p.github.io/js-libp2p/functions/_libp2p_pubsub.utils.randomSeqno.html",
28
+ "toMessage": "https://libp2p.github.io/js-libp2p/functions/_libp2p_pubsub.utils.toMessage.html",
29
+ "./utils:toMessage": "https://libp2p.github.io/js-libp2p/functions/_libp2p_pubsub.utils.toMessage.html",
30
+ "toRpcMessage": "https://libp2p.github.io/js-libp2p/functions/_libp2p_pubsub.utils.toRpcMessage.html",
31
+ "./utils:toRpcMessage": "https://libp2p.github.io/js-libp2p/functions/_libp2p_pubsub.utils.toRpcMessage.html"
32
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libp2p/pubsub",
3
- "version": "9.0.8-e1db332a4",
3
+ "version": "9.0.9",
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",
@@ -83,31 +83,31 @@
83
83
  "test:electron-main": "aegir test -t electron-main"
84
84
  },
85
85
  "dependencies": {
86
- "@libp2p/crypto": "4.0.1-e1db332a4",
87
- "@libp2p/interface": "1.1.2-e1db332a4",
88
- "@libp2p/interface-internal": "1.0.7-e1db332a4",
89
- "@libp2p/peer-collections": "5.1.5-e1db332a4",
90
- "@libp2p/peer-id": "4.0.5-e1db332a4",
91
- "@libp2p/utils": "5.2.3-e1db332a4",
92
- "it-length-prefixed": "^9.0.3",
86
+ "@libp2p/crypto": "^4.0.2",
87
+ "@libp2p/interface": "^1.1.3",
88
+ "@libp2p/interface-internal": "^1.0.8",
89
+ "@libp2p/peer-collections": "^5.1.6",
90
+ "@libp2p/peer-id": "^4.0.6",
91
+ "@libp2p/utils": "^5.2.4",
92
+ "it-length-prefixed": "^9.0.4",
93
93
  "it-pipe": "^3.0.1",
94
94
  "it-pushable": "^3.2.3",
95
- "multiformats": "^13.0.0",
96
- "p-queue": "^8.0.0",
97
- "uint8arraylist": "^2.4.7",
98
- "uint8arrays": "^5.0.0"
95
+ "multiformats": "^13.0.1",
96
+ "p-queue": "^8.0.1",
97
+ "uint8arraylist": "^2.4.8",
98
+ "uint8arrays": "^5.0.1"
99
99
  },
100
100
  "devDependencies": {
101
- "@libp2p/logger": "4.0.5-e1db332a4",
102
- "@libp2p/peer-id-factory": "4.0.5-e1db332a4",
103
- "@types/sinon": "^17.0.2",
104
- "aegir": "^42.0.0",
101
+ "@libp2p/logger": "^4.0.6",
102
+ "@libp2p/peer-id-factory": "^4.0.6",
103
+ "@types/sinon": "^17.0.3",
104
+ "aegir": "^42.2.3",
105
105
  "delay": "^6.0.0",
106
106
  "it-pair": "^2.0.6",
107
107
  "p-defer": "^4.0.0",
108
108
  "p-wait-for": "^5.0.2",
109
- "protons": "^7.3.0",
110
- "protons-runtime": "^5.0.0",
109
+ "protons": "^7.5.0",
110
+ "protons-runtime": "^5.4.0",
111
111
  "sinon": "^17.0.1"
112
112
  },
113
113
  "sideEffects": false