@libp2p/peer-store 9.0.5 → 9.0.6-77e3cbc3
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/package.json +9 -8
- package/src/utils/to-peer-pb.ts +2 -2
- package/dist/typedoc-urls.json +0 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libp2p/peer-store",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.6-77e3cbc3",
|
|
4
4
|
"description": "Stores information about peers libp2p knows on the network",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/peer-store#readme",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"eslintConfig": {
|
|
32
32
|
"extends": "ipfs",
|
|
33
33
|
"parserOptions": {
|
|
34
|
+
"project": true,
|
|
34
35
|
"sourceType": "module"
|
|
35
36
|
},
|
|
36
37
|
"ignorePatterns": [
|
|
@@ -53,12 +54,12 @@
|
|
|
53
54
|
"test:electron-main": "aegir test -t electron-main"
|
|
54
55
|
},
|
|
55
56
|
"dependencies": {
|
|
56
|
-
"@libp2p/interface": "
|
|
57
|
-
"@libp2p/logger": "
|
|
58
|
-
"@libp2p/peer-collections": "
|
|
59
|
-
"@libp2p/peer-id": "
|
|
60
|
-
"@libp2p/peer-id-factory": "
|
|
61
|
-
"@libp2p/peer-record": "
|
|
57
|
+
"@libp2p/interface": "0.1.3-77e3cbc3",
|
|
58
|
+
"@libp2p/logger": "3.0.3-77e3cbc3",
|
|
59
|
+
"@libp2p/peer-collections": "4.0.5-77e3cbc3",
|
|
60
|
+
"@libp2p/peer-id": "3.0.3-77e3cbc3",
|
|
61
|
+
"@libp2p/peer-id-factory": "3.0.5-77e3cbc3",
|
|
62
|
+
"@libp2p/peer-record": "6.0.6-77e3cbc3",
|
|
62
63
|
"@multiformats/multiaddr": "^12.1.5",
|
|
63
64
|
"interface-datastore": "^8.2.0",
|
|
64
65
|
"it-all": "^3.0.2",
|
|
@@ -70,7 +71,7 @@
|
|
|
70
71
|
},
|
|
71
72
|
"devDependencies": {
|
|
72
73
|
"@types/sinon": "^10.0.15",
|
|
73
|
-
"aegir": "^
|
|
74
|
+
"aegir": "^41.0.2",
|
|
74
75
|
"datastore-core": "^9.1.1",
|
|
75
76
|
"delay": "^6.0.0",
|
|
76
77
|
"p-defer": "^4.0.0",
|
package/src/utils/to-peer-pb.ts
CHANGED
|
@@ -153,8 +153,8 @@ export async function toPeerPB (peerId: PeerId, data: Partial<PeerData>, strateg
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
interface CreateSortedMapOptions <V, R = V> {
|
|
156
|
-
validate
|
|
157
|
-
map
|
|
156
|
+
validate(key: string, value: V): void
|
|
157
|
+
map?(key: string, value: V): R
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
/**
|
package/dist/typedoc-urls.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"PersistentPeerStore": "https://libp2p.github.io/js-libp2p/classes/_libp2p_peer_store.PersistentPeerStore.html",
|
|
3
|
-
".:PersistentPeerStore": "https://libp2p.github.io/js-libp2p/classes/_libp2p_peer_store.PersistentPeerStore.html",
|
|
4
|
-
"AddressFilter": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_peer_store.AddressFilter.html",
|
|
5
|
-
".:AddressFilter": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_peer_store.AddressFilter.html",
|
|
6
|
-
"PersistentPeerStoreComponents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_peer_store.PersistentPeerStoreComponents.html",
|
|
7
|
-
".:PersistentPeerStoreComponents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_peer_store.PersistentPeerStoreComponents.html",
|
|
8
|
-
"PersistentPeerStoreInit": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_peer_store.PersistentPeerStoreInit.html",
|
|
9
|
-
".:PersistentPeerStoreInit": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_peer_store.PersistentPeerStoreInit.html"
|
|
10
|
-
}
|