@libp2p/peer-store 9.0.5 → 9.0.6

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libp2p/peer-store",
3
- "version": "9.0.5",
3
+ "version": "9.0.6",
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": "^0.1.2",
57
- "@libp2p/logger": "^3.0.2",
58
- "@libp2p/peer-collections": "^4.0.4",
59
- "@libp2p/peer-id": "^3.0.2",
60
- "@libp2p/peer-id-factory": "^3.0.4",
61
- "@libp2p/peer-record": "^6.0.5",
57
+ "@libp2p/interface": "^0.1.3",
58
+ "@libp2p/logger": "^3.0.3",
59
+ "@libp2p/peer-collections": "^4.0.5",
60
+ "@libp2p/peer-id": "^3.0.3",
61
+ "@libp2p/peer-id-factory": "^3.0.5",
62
+ "@libp2p/peer-record": "^6.0.6",
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": "^40.0.8",
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",
@@ -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: (key: string, value: V) => void
157
- map?: (key: string, value: V) => R
156
+ validate(key: string, value: V): void
157
+ map?(key: string, value: V): R
158
158
  }
159
159
 
160
160
  /**