diff --git a/package.json b/package.json index e08bb2156a..12a808c86d 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "fs-blob-store": "^5.2.1", "glob": "^7.0.3", "hapi": "^13.4.1", - "ipfs-bitswap": "^0.4.1", + "ipfs-bitswap": "^0.6.0", "ipfs-api": "^6.0.1", "ipfs-block": "^0.3.0", "ipfs-block-service": "^0.4.0", @@ -77,8 +77,8 @@ "ipfs-unixfs-engine": "^0.9.0", "isstream": "^0.1.2", "joi": "^8.0.5", - "libp2p-ipfs": "^0.11.0", - "libp2p-ipfs-browser": "^0.10.0", + "libp2p-ipfs": "^0.12.0", + "libp2p-ipfs-browser": "^0.12.0", "lodash.get": "^4.3.0", "lodash.set": "^4.2.0", "mafmt": "^2.1.1", diff --git a/test/core/node-only/test-swarm.js b/test/core/node-only/test-swarm.js index 2d3284bc2a..78b0cfbc56 100644 --- a/test/core/node-only/test-swarm.js +++ b/test/core/node-only/test-swarm.js @@ -90,7 +90,7 @@ describe('swarm', function () { it('libp2p.swarm.localAddrs', (done) => { nodeB.libp2p.swarm.localAddrs((err, res) => { expect(err).to.not.exist - expect(res.length).to.equal(2) + expect(res.length > 1).to.equal(true) done() }) })