chore: update ipfs-http-client (#1234)

Updates to ESM version of ipfs-http-client
This commit is contained in:
Alex Potsides 2022-06-06 15:04:00 +01:00 committed by GitHub
parent 893f8c280f
commit 3babbbd75a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -149,8 +149,8 @@
"@libp2p/bootstrap": "^1.0.4",
"@libp2p/daemon-client": "^1.0.2",
"@libp2p/daemon-server": "^1.0.2",
"@libp2p/delegated-content-routing": "^1.0.2",
"@libp2p/delegated-peer-routing": "^1.0.2",
"@libp2p/delegated-content-routing": "^1.0.5",
"@libp2p/delegated-peer-routing": "^1.0.5",
"@libp2p/floodsub": "^1.0.6",
"@libp2p/interface-compliance-tests": "^2.0.3",
"@libp2p/interop": "^1.0.3",
@ -172,7 +172,7 @@
"execa": "^6.1.0",
"go-libp2p": "^0.0.6",
"into-stream": "^7.0.0",
"ipfs-http-client": "^56.0.1",
"ipfs-http-client": "^57.0.1",
"it-pushable": "^2.0.1",
"it-to-buffer": "^2.0.2",
"nock": "^13.0.3",

View File

@ -360,8 +360,8 @@ describe('peer-routing', () => {
.query(true)
.reply(200,
() => intoStream([
`{"Extra":"","id":"${closest1}","Responses":[{"ID":"${closest1}","Addrs":["/ip4/127.0.0.1/tcp/63930","/ip4/127.0.0.1/tcp/63930"]}],"Type":1}\n`,
`{"Extra":"","id":"${closest2}","Responses":[{"ID":"${closest2}","Addrs":["/ip4/127.0.0.1/tcp/63506","/ip4/127.0.0.1/tcp/63506"]}],"Type":1}\n`,
`{"Extra":"","ID":"${closest1}","Responses":[{"ID":"${closest1}","Addrs":["/ip4/127.0.0.1/tcp/63930","/ip4/127.0.0.1/tcp/63930"]}],"Type":1}\n`,
`{"Extra":"","ID":"${closest2}","Responses":[{"ID":"${closest2}","Addrs":["/ip4/127.0.0.1/tcp/63506","/ip4/127.0.0.1/tcp/63506"]}],"Type":1}\n`,
`{"Extra":"","ID":"${closest2}","Responses":[],"Type":2}\n`,
`{"Extra":"","ID":"${closest1}","Responses":[],"Type":2}\n`
]),