diff --git a/CHANGELOG.md b/CHANGELOG.md index 04ae6cefa..91f6b3ef5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ + +## [30.1.3](https://github.com/ipfs/js-ipfs-http-client/compare/v30.1.2...v30.1.3) (2019-04-11) + + +### Bug Fixes + +* fix missing buffer bundling with browserify ([#966](https://github.com/ipfs/js-ipfs-http-client/issues/966)) ([944a64b](https://github.com/ipfs/js-ipfs-http-client/commit/944a64b)), closes [#964](https://github.com/ipfs/js-ipfs-http-client/issues/964) + + + ## [30.1.2](https://github.com/ipfs/js-ipfs-http-client/compare/v30.1.1...v30.1.2) (2019-04-09) diff --git a/package.json b/package.json index 7bc2ebe73..9964324bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ipfs-http-client", - "version": "30.1.2", + "version": "30.1.3", "description": "A client library for the IPFS HTTP API", "leadMaintainer": "Alan Shaw ", "main": "src/index.js", @@ -26,6 +26,7 @@ "bignumber.js": "^8.0.2", "bl": "^3.0.0", "bs58": "^4.0.1", + "buffer": "^5.2.1", "cids": "~0.5.5", "concat-stream": "hugomrdias/concat-stream#feat/smaller", "debug": "^4.1.0", diff --git a/src/index.js b/src/index.js index ddd0e3e37..bd58a66f1 100644 --- a/src/index.js +++ b/src/index.js @@ -2,6 +2,7 @@ /* global self */ const isIPFS = require('is-ipfs') +const { Buffer } = require('buffer') const CID = require('cids') const multiaddr = require('multiaddr') const multibase = require('multibase')