mirror of https://github.com/status-im/js-waku.git
Merge pull request #888 from status-im/chore/libp2p
This commit is contained in:
commit
28cb144b23
File diff suppressed because it is too large
Load Diff
|
@ -74,6 +74,7 @@
|
|||
"@chainsafe/libp2p-noise": "^7.0.1",
|
||||
"@ethersproject/rlp": "^5.5.0",
|
||||
"@libp2p/crypto": "^1.0.0",
|
||||
"@libp2p/interface-connection": "3.0.1",
|
||||
"@libp2p/interface-peer-discovery": "^1.0.0",
|
||||
"@libp2p/interface-peer-id": "^1.0.2",
|
||||
"@libp2p/interface-peer-info": "^1.0.1",
|
||||
|
@ -89,7 +90,7 @@
|
|||
"hi-base32": "^0.5.1",
|
||||
"it-all": "^1.0.6",
|
||||
"it-length-prefixed": "^7.0.1",
|
||||
"it-pipe": "^2.0.3",
|
||||
"it-pipe": "^2.0.4",
|
||||
"js-sha3": "^0.8.0",
|
||||
"libp2p": "next",
|
||||
"p-event": "^5.0.1",
|
||||
|
@ -150,6 +151,10 @@
|
|||
"typedoc-plugin-no-inherit": "^1.3.1",
|
||||
"typescript": "^4.5.5"
|
||||
},
|
||||
"overrides": {
|
||||
"@libp2p/interface-connection": "3.0.1",
|
||||
"uint8arraylist": "2.3.2"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"bundle",
|
||||
|
|
|
@ -224,6 +224,8 @@ export class WakuFilter {
|
|||
}
|
||||
|
||||
// TODO: Appropriate connection selection
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore: tsc is confused by the @libp2p/interface-connection type to use
|
||||
return connections[0].newStream(FilterCodec);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue