diff --git a/package.json b/package.json index 63cfe8cbb..0bbfe0148 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "is-stream": "^1.1.0", "libp2p-crypto": "^0.12.1", "lru-cache": "^4.1.2", - "multiaddr": "^3.1.0", + "multiaddr": "^4.0.0", "multibase": "^0.4.0", "multihashes": "~0.4.13", "ndjson": "^1.5.0", @@ -53,7 +53,7 @@ "pull-pushable": "^2.2.0", "pump": "^3.0.0", "qs": "^6.5.1", - "readable-stream": "^2.3.5", + "readable-stream": "^2.3.6", "stream-http": "^2.8.1", "stream-to-pull-stream": "^1.7.2", "streamifier": "^0.1.1", @@ -76,14 +76,14 @@ "eslint-plugin-react": "^7.7.0", "go-ipfs-dep": "^0.4.14", "gulp": "^3.9.1", - "hapi": "^17.2.3", - "interface-ipfs-core": "~0.58.0", + "hapi": "^17.3.1", + "interface-ipfs-core": "~0.60.1", "ipfs": "~0.28.2", "ipfsd-ctl": "~0.31.0", "pre-commit": "^1.2.2", - "pull-stream": "^3.6.2", - "socket.io": "^2.0.4", - "socket.io-client": "^2.0.4", + "pull-stream": "^3.6.7", + "socket.io": "^2.1.0", + "socket.io-client": "^2.1.0", "stream-equal": "^1.1.1" }, "pre-commit": [ diff --git a/src/utils/send-files-stream.js b/src/utils/send-files-stream.js index e6379c205..46a57e383 100644 --- a/src/utils/send-files-stream.js +++ b/src/utils/send-files-stream.js @@ -78,6 +78,7 @@ module.exports = (send, path) => { qs['cid-version'] = propOrProp(options, 'cid-version', 'cidVersion') qs['raw-leaves'] = propOrProp(options, 'raw-leaves', 'rawLeaves') qs['only-hash'] = propOrProp(options, 'only-hash', 'onlyHash') + qs['wrap-with-directory'] = propOrProp(options, 'wrap-with-directory', 'wrapWithDirectory') qs.hash = propOrProp(options, 'hash', 'hashAlg') const args = {