diff --git a/package.json b/package.json index 5fb97aa240..3a7bdcd591 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "hapi-set-header": "^1.0.2", "hoek": "^5.0.3", "human-to-milliseconds": "^1.0.0", - "interface-datastore": "~0.4.2", + "interface-datastore": "~0.5.0", "ipfs-api": "^24.0.0", "ipfs-bitswap": "~0.20.3", "ipfs-block": "~0.7.1", @@ -112,13 +112,13 @@ "ipfs-http-response": "~0.1.2", "ipfs-mfs": "~0.3.0", "ipfs-multipart": "~0.1.0", - "ipfs-repo": "~0.23.1", + "ipfs-repo": "~0.24.0", "ipfs-unixfs": "~0.1.15", "ipfs-unixfs-engine": "~0.32.3", "ipld": "~0.17.3", "ipld-dag-cbor": "~0.12.1", "ipld-dag-pb": "~0.14.6", - "ipns": "~0.1.3", + "ipns": "~0.2.0", "is-ipfs": "~0.4.2", "is-pull-stream": "~0.0.0", "is-stream": "^1.1.0", diff --git a/src/core/ipns/publisher.js b/src/core/ipns/publisher.js index c848ef3227..cd726ebc7d 100644 --- a/src/core/ipns/publisher.js +++ b/src/core/ipns/publisher.js @@ -191,7 +191,7 @@ class IpnsPublisher { let result if (err) { - if (!err.notFound) { + if (err.code !== 'ERR_NOT_FOUND') { const errMsg = `unexpected error getting the ipns record ${peerId.id} from datastore` log.error(errMsg)