@libp2p/kad-dht 6.1.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -10
- package/dist/index.min.js +50 -0
- package/dist/typedoc-urls.json +49 -0
- package/package.json +20 -14
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"codec": "https://libp2p.github.io/js-libp2p-kad-dht/functions/_internal_.MessageType.codec.html",
|
|
3
|
+
"ContentFetching": "https://libp2p.github.io/js-libp2p-kad-dht/classes/_internal_.ContentFetching.html",
|
|
4
|
+
"ContentRouting": "https://libp2p.github.io/js-libp2p-kad-dht/classes/_internal_.ContentRouting.html",
|
|
5
|
+
"DualKadDHT": "https://libp2p.github.io/js-libp2p-kad-dht/classes/_internal_.DualKadDHT.html",
|
|
6
|
+
"KadDHT": "https://libp2p.github.io/js-libp2p-kad-dht/classes/_internal_.KadDHT.html",
|
|
7
|
+
"Message": "https://libp2p.github.io/js-libp2p-kad-dht/classes/_internal_.Message.html",
|
|
8
|
+
"Network": "https://libp2p.github.io/js-libp2p-kad-dht/classes/_internal_.Network.html",
|
|
9
|
+
"PeerRouting": "https://libp2p.github.io/js-libp2p-kad-dht/classes/_internal_.PeerRouting.html",
|
|
10
|
+
"Providers": "https://libp2p.github.io/js-libp2p-kad-dht/classes/_internal_.Providers.html",
|
|
11
|
+
"QueryManager": "https://libp2p.github.io/js-libp2p-kad-dht/classes/_internal_.QueryManager.html",
|
|
12
|
+
"QuerySelf": "https://libp2p.github.io/js-libp2p-kad-dht/classes/_internal_.QuerySelf.html",
|
|
13
|
+
"RPC": "https://libp2p.github.io/js-libp2p-kad-dht/classes/_internal_.RPC.html",
|
|
14
|
+
"RoutingTable": "https://libp2p.github.io/js-libp2p-kad-dht/classes/_internal_.RoutingTable.html",
|
|
15
|
+
"RoutingTableRefresh": "https://libp2p.github.io/js-libp2p-kad-dht/classes/_internal_.RoutingTableRefresh.html",
|
|
16
|
+
"TopologyListener": "https://libp2p.github.io/js-libp2p-kad-dht/classes/_internal_.TopologyListener.html",
|
|
17
|
+
"ContentFetchingInit": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.ContentFetchingInit.html",
|
|
18
|
+
"ContentRoutingInit": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.ContentRoutingInit.html",
|
|
19
|
+
"DHTMessageHandler": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.DHTMessageHandler.html",
|
|
20
|
+
"FindNodeHandlerComponents": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.FindNodeHandlerComponents.html",
|
|
21
|
+
"GetProvidersHandlerComponents": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.GetProvidersHandlerComponents.html",
|
|
22
|
+
"GetValueHandlerComponents": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.GetValueHandlerComponents.html",
|
|
23
|
+
"KBucket": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.KBucket.html",
|
|
24
|
+
"KBucketPeer": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.KBucketPeer.html",
|
|
25
|
+
"KBucketTree": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.KBucketTree.html",
|
|
26
|
+
"KBucketTreeEvents": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.KBucketTreeEvents.html",
|
|
27
|
+
"NetworkEvents": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.NetworkEvents.html",
|
|
28
|
+
"NetworkInit": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.NetworkInit.html",
|
|
29
|
+
"PeerRoutingInit": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.PeerRoutingInit.html",
|
|
30
|
+
"ProvidersComponents": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.ProvidersComponents.html",
|
|
31
|
+
"ProvidersInit": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.ProvidersInit.html",
|
|
32
|
+
"PutValueHandlerComponents": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.PutValueHandlerComponents.html",
|
|
33
|
+
"QueryContext": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.QueryContext.html",
|
|
34
|
+
"QueryFunc": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.QueryFunc.html",
|
|
35
|
+
"QueryManagerComponents": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.QueryManagerComponents.html",
|
|
36
|
+
"QueryManagerInit": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.QueryManagerInit.html",
|
|
37
|
+
"QuerySelfInit": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.QuerySelfInit.html",
|
|
38
|
+
"RPCComponents": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.RPCComponents.html",
|
|
39
|
+
"RPCInit": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.RPCInit.html",
|
|
40
|
+
"RoutingTableComponents": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.RoutingTableComponents.html",
|
|
41
|
+
"RoutingTableInit": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.RoutingTableInit.html",
|
|
42
|
+
"RoutingTableRefreshInit": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.RoutingTableRefreshInit.html",
|
|
43
|
+
"SingleKadDHTInit": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.SingleKadDHTInit.html",
|
|
44
|
+
"TopologyListenerEvents": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.TopologyListenerEvents.html",
|
|
45
|
+
"TopologyListenerInit": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/_internal_.TopologyListenerInit.html",
|
|
46
|
+
"KadDHTComponents": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/KadDHTComponents.html",
|
|
47
|
+
"KadDHTInit": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/KadDHTInit.html",
|
|
48
|
+
"kadDHT": "https://libp2p.github.io/js-libp2p-kad-dht/functions/kadDHT.html"
|
|
49
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libp2p/kad-dht",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "JavaScript implementation of the Kad-DHT for libp2p",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/libp2p/js-libp2p-kad-dht#readme",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"types": "./dist/src/index.d.ts",
|
|
23
23
|
"files": [
|
|
24
24
|
"src",
|
|
25
|
-
"dist
|
|
25
|
+
"dist",
|
|
26
26
|
"!dist/test",
|
|
27
27
|
"!**/*.tsbuildinfo"
|
|
28
28
|
],
|
|
@@ -138,26 +138,27 @@
|
|
|
138
138
|
"test:firefox": "aegir test -t browser -- --browser firefox",
|
|
139
139
|
"test:firefox-webworker": "aegir test -t webworker -- --browser firefox",
|
|
140
140
|
"dep-check": "aegir dep-check",
|
|
141
|
-
"release": "aegir release"
|
|
141
|
+
"release": "aegir release",
|
|
142
|
+
"docs": "aegir docs"
|
|
142
143
|
},
|
|
143
144
|
"dependencies": {
|
|
144
145
|
"@libp2p/crypto": "^1.0.4",
|
|
145
146
|
"@libp2p/interface-address-manager": "^2.0.0",
|
|
146
147
|
"@libp2p/interface-connection": "^3.0.2",
|
|
147
148
|
"@libp2p/interface-connection-manager": "^1.1.1",
|
|
148
|
-
"@libp2p/interface-dht": "^
|
|
149
|
+
"@libp2p/interface-dht": "^2.0.0",
|
|
149
150
|
"@libp2p/interface-metrics": "^4.0.0",
|
|
150
151
|
"@libp2p/interface-peer-discovery": "^1.0.1",
|
|
151
|
-
"@libp2p/interface-peer-id": "^
|
|
152
|
+
"@libp2p/interface-peer-id": "^2.0.0",
|
|
152
153
|
"@libp2p/interface-peer-info": "^1.0.3",
|
|
153
154
|
"@libp2p/interface-peer-store": "^1.2.2",
|
|
154
155
|
"@libp2p/interface-registrar": "^2.0.3",
|
|
155
156
|
"@libp2p/interfaces": "^3.0.3",
|
|
156
157
|
"@libp2p/logger": "^2.0.1",
|
|
157
|
-
"@libp2p/peer-collections": "^
|
|
158
|
-
"@libp2p/peer-id": "^
|
|
159
|
-
"@libp2p/record": "^
|
|
160
|
-
"@libp2p/topology": "^
|
|
158
|
+
"@libp2p/peer-collections": "^3.0.0",
|
|
159
|
+
"@libp2p/peer-id": "^2.0.0",
|
|
160
|
+
"@libp2p/record": "^3.0.0",
|
|
161
|
+
"@libp2p/topology": "^4.0.0",
|
|
161
162
|
"@multiformats/multiaddr": "^11.0.0",
|
|
162
163
|
"abortable-iterator": "^4.0.2",
|
|
163
164
|
"any-signal": "^3.0.0",
|
|
@@ -178,7 +179,7 @@
|
|
|
178
179
|
"it-stream-types": "^1.0.4",
|
|
179
180
|
"it-take": "^2.0.0",
|
|
180
181
|
"k-bucket": "^5.1.0",
|
|
181
|
-
"multiformats": "^
|
|
182
|
+
"multiformats": "^11.0.0",
|
|
182
183
|
"p-defer": "^4.0.0",
|
|
183
184
|
"p-queue": "^7.2.0",
|
|
184
185
|
"private-ip": "^3.0.0",
|
|
@@ -189,14 +190,14 @@
|
|
|
189
190
|
"varint": "^6.0.0"
|
|
190
191
|
},
|
|
191
192
|
"devDependencies": {
|
|
192
|
-
"@libp2p/interface-mocks": "^
|
|
193
|
-
"@libp2p/peer-id-factory": "^
|
|
194
|
-
"@libp2p/peer-store": "^
|
|
193
|
+
"@libp2p/interface-mocks": "^9.0.0",
|
|
194
|
+
"@libp2p/peer-id-factory": "^2.0.0",
|
|
195
|
+
"@libp2p/peer-store": "^6.0.0",
|
|
195
196
|
"@types/lodash.random": "^3.2.6",
|
|
196
197
|
"@types/lodash.range": "^3.2.6",
|
|
197
198
|
"@types/varint": "^6.0.0",
|
|
198
199
|
"@types/which": "^2.0.1",
|
|
199
|
-
"aegir": "^37.
|
|
200
|
+
"aegir": "^37.7.7",
|
|
200
201
|
"datastore-level": "^9.0.0",
|
|
201
202
|
"delay": "^5.0.0",
|
|
202
203
|
"execa": "^6.0.0",
|
|
@@ -214,5 +215,10 @@
|
|
|
214
215
|
},
|
|
215
216
|
"browser": {
|
|
216
217
|
"./dist/src/routing-table/generated-prefix-list.js": "./dist/src/routing-table/generated-prefix-list-browser.js"
|
|
218
|
+
},
|
|
219
|
+
"typedocs": {
|
|
220
|
+
"KadDHTComponents": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/KadDHTComponents.html",
|
|
221
|
+
"KadDHTInit": "https://libp2p.github.io/js-libp2p-kad-dht/interfaces/KadDHTInit.html",
|
|
222
|
+
"kadDHT": "https://libp2p.github.io/js-libp2p-kad-dht/functions/kadDHT.html"
|
|
217
223
|
}
|
|
218
224
|
}
|