From 8a2d713f6841a93c206e65e6cba68ab22be23744 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Mon, 4 May 2020 13:52:35 +0100 Subject: [PATCH] chore: swap ipfs-block for ipld-block The module was rename and the renamed version is not compatible with the old version so here we update it. These are only dev deps so not a breaking change. --- package.json | 4 ++-- test/block-service-test.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 42dc121..4b54755 100644 --- a/package.json +++ b/package.json @@ -37,8 +37,8 @@ "cids": "^0.8.0", "dirty-chai": "^2.0.1", "fs-extra": "^9.0.0", - "ipfs-block": "~0.8.1", - "ipfs-repo": "^1.0.1", + "ipfs-repo": "^2.0.0", + "ipld-block": "^0.9.1", "lodash": "^4.17.11", "multihashing-async": "^0.8.1" }, diff --git a/test/block-service-test.js b/test/block-service-test.js index 3f16bba..93480e0 100644 --- a/test/block-service-test.js +++ b/test/block-service-test.js @@ -5,7 +5,7 @@ const chai = require('chai') chai.use(require('dirty-chai')) const expect = chai.expect -const Block = require('ipfs-block') +const Block = require('ipld-block') const _ = require('lodash') const { collect } = require('streaming-iterables') const CID = require('cids')