Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ipfs-inactive/js-ipfs-http-client
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 863b20148b46
Choose a base ref
...
head repository: ipfs-inactive/js-ipfs-http-client
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 24707c6b8567
Choose a head ref
  • 5 commits
  • 5 files changed
  • 1 contributor

Commits on Nov 23, 2015

  1. don't mess with my errors

    daviddias committed Nov 23, 2015
    3

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    fc96f93 View commit details
  2. chore: build

    daviddias committed Nov 23, 2015
    Copy the full SHA
    9806ab0 View commit details
  3. Copy the full SHA
    dcce630 View commit details
  4. chore: build

    daviddias committed Nov 23, 2015
    Copy the full SHA
    67380cb View commit details
  5. Copy the full SHA
    24707c6 View commit details
Showing with 10 additions and 5 deletions.
  1. +2 −2 dist/{main → ipfsapi.js}
  2. +2 −2 dist/ipfsapi.min.js
  3. +1 −1 package.json
  4. +3 −0 src/request-api.js
  5. +2 −0 tasks/build.js
4 changes: 2 additions & 2 deletions dist/main → dist/ipfsapi.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/ipfsapi.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ipfs-api",
"version": "2.9.7",
"version": "2.9.8",
"description": "A client library for the IPFS API",
"main": "src/index.js",
"dependencies": {
3 changes: 3 additions & 0 deletions src/request-api.js
Original file line number Diff line number Diff line change
@@ -35,6 +35,9 @@ function onRes (buffer, cb) {

Wreck.read(res, {json: true}, (err, payload) => {
if (err) {
cb(err)
}
if (payload) {
error.code = payload.Code
error.message = payload.Message
}
2 changes: 2 additions & 0 deletions tasks/build.js
Original file line number Diff line number Diff line change
@@ -13,6 +13,8 @@ gulp.task('clean', done => {
})

gulp.task('build:nonminified', () => {
config.webpack.dev.output.filename = 'ipfsapi.js'

return gulp.src('src/index.js')
.pipe(webpack(config.webpack.dev))
.pipe($.size())