fix: update multistream select (#1136)

It has types now so the ignore can be removed.
This commit is contained in:
Alex Potsides 2022-01-21 18:13:33 +00:00 committed by GitHub
parent 63aa480800
commit 00e49592a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -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",

View File

@ -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')