Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
fix: add buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias authored and vmx committed Apr 27, 2020
1 parent c82a9e8 commit 15307a1
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"rlp": "^2.2.3"
},
"dependencies": {
"buffer": "^5.6.0",
"cids": "~0.8.0",
"ipld-block": "~0.9.1",
"ipld-dag-cbor": "~0.15.0",
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const ipldDagPb = require('ipld-dag-pb')
const ipldRaw = require('ipld-raw')
const multicodec = require('multicodec')
const typical = require('typical')
const { Buffer } = require('buffer')
const { extendIterator } = require('./util')

class IPLDResolver {
Expand Down
1 change: 1 addition & 0 deletions test/basics.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const multihash = require('multihashes')
const multicodec = require('multicodec')
const inMemory = require('ipld-in-memory')
const AbortController = require('abort-controller')
const { Buffer } = require('buffer')

const IPLDResolver = require('../src')

Expand Down
1 change: 1 addition & 0 deletions test/ipld-all.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const dagPB = require('ipld-dag-pb')
const CID = require('cids')
const inMemory = require('ipld-in-memory')
const multicodec = require('multicodec')
const { Buffer } = require('buffer')

const IPLDResolver = require('../src')

Expand Down
1 change: 1 addition & 0 deletions test/ipld-bitcoin.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const ipldBitcoin = require('ipld-bitcoin')
const BitcoinBlock = require('bitcoinjs-lib').Block
const multihash = require('multihashes')
const multicodec = require('multicodec')
const { Buffer } = require('buffer')

const IPLDResolver = require('../src')

Expand Down
1 change: 1 addition & 0 deletions test/ipld-dag-pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const BlockService = require('ipfs-block-service')
const dagPB = require('ipld-dag-pb')
const multihash = require('multihashes')
const multicodec = require('multicodec')
const { Buffer } = require('buffer')
const IPLDResolver = require('../src')

module.exports = (repo) => {
Expand Down
1 change: 1 addition & 0 deletions test/ipld-git.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const BlockService = require('ipfs-block-service')
const ipldGit = require('ipld-git')
const multihash = require('multihashes')
const multicodec = require('multicodec')
const { Buffer } = require('buffer')

const IPLDResolver = require('../src')

Expand Down

0 comments on commit 15307a1

Please sign in to comment.