From e3176d102734055c02f8864561fbdf88bfc526e3 Mon Sep 17 00:00:00 2001 From: Hugo Dias Date: Tue, 21 Apr 2020 17:50:17 +0100 Subject: [PATCH] fix: update deps and use ipld-block --- package.json | 6 +++--- src/index.js | 2 +- test/ipld-zcash.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index df8d882..5cf42cc 100644 --- a/package.json +++ b/package.json @@ -41,11 +41,11 @@ "ethereumjs-block": "^2.2.0", "fs-extra": "^9.0.0", "ipfs-block-service": "^0.17.0", - "ipfs-repo": "^1.0.0", + "ipfs-repo": "^2.0.0", "ipld-bitcoin": "~0.3.0", "ipld-ethereum": "^4.0.0", "ipld-git": "~0.5.0", - "ipld-in-memory": "^3.0.1", + "ipld-in-memory": "^3.0.3", "ipld-zcash": "~0.4.0", "merkle-patricia-tree": "^3.0.0", "multihashes": "~0.4.15", @@ -53,7 +53,7 @@ }, "dependencies": { "cids": "~0.8.0", - "ipfs-block": "~0.8.1", + "ipld-block": "~0.9.1", "ipld-dag-cbor": "~0.15.0", "ipld-dag-pb": "~0.18.1", "ipld-raw": "^4.0.0", diff --git a/src/index.js b/src/index.js index 8e95a62..c5f0840 100644 --- a/src/index.js +++ b/src/index.js @@ -1,6 +1,6 @@ 'use strict' -const Block = require('ipfs-block') +const Block = require('ipld-block') const CID = require('cids') const mergeOptions = require('merge-options') const ipldDagCbor = require('ipld-dag-cbor') diff --git a/test/ipld-zcash.js b/test/ipld-zcash.js index 1c6b33c..e5aee56 100644 --- a/test/ipld-zcash.js +++ b/test/ipld-zcash.js @@ -1,7 +1,7 @@ /* eslint-env mocha */ 'use strict' -const Block = require('ipfs-block') +const Block = require('ipld-block') const chai = require('chai') const chaiAsProised = require('chai-as-promised') const dirtyChai = require('dirty-chai')