From 3babbbd75a6d14554e52cfd6e74723f0f977f5a4 Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Mon, 6 Jun 2022 15:04:00 +0100 Subject: [PATCH] chore: update ipfs-http-client (#1234) Updates to ESM version of ipfs-http-client --- package.json | 6 +++--- test/peer-routing/peer-routing.node.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 61b240f1ad..effd67f97e 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/test/peer-routing/peer-routing.node.ts b/test/peer-routing/peer-routing.node.ts index 4472c87893..f98abfa0d9 100644 --- a/test/peer-routing/peer-routing.node.ts +++ b/test/peer-routing/peer-routing.node.ts @@ -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` ]),