mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-04-25 10:32:14 +00:00
fix: update multistream select (#1136)
It has types now so the ignore can be removed.
This commit is contained in:
parent
63aa480800
commit
00e49592a3
@ -107,7 +107,7 @@
|
||||
"mortice": "^2.0.1",
|
||||
"multiaddr": "^10.0.0",
|
||||
"multiformats": "^9.0.0",
|
||||
"multistream-select": "^2.0.0",
|
||||
"multistream-select": "^3.0.0",
|
||||
"mutable-proxy": "^1.0.0",
|
||||
"nat-api": "^0.3.1",
|
||||
"node-forge": "^1.2.1",
|
||||
|
@ -5,7 +5,6 @@ const log = Object.assign(debug('libp2p:upgrader'), {
|
||||
error: debug('libp2p:upgrader:err')
|
||||
})
|
||||
const errCode = require('err-code')
|
||||
// @ts-ignore multistream-select does not export types
|
||||
const Multistream = require('multistream-select')
|
||||
const { Connection } = require('libp2p-interfaces/src/connection')
|
||||
const PeerId = require('peer-id')
|
||||
|
Loading…
x
Reference in New Issue
Block a user