Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 169bce9

Browse files
committed
chore: update deps, test with latest bitswap (npm linked)
1 parent b5bb3aa commit 169bce9

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@
6868
"chai": "^3.5.0",
6969
"delay": "^2.0.0",
7070
"detect-node": "^2.0.3",
71-
"dir-compare": "^1.3.0",
71+
"dir-compare": "^1.4.0",
7272
"dirty-chai": "^1.2.2",
7373
"eslint-plugin-react": "^6.10.3",
7474
"execa": "^0.6.3",
7575
"expose-loader": "^0.7.3",
76-
"form-data": "^2.1.2",
76+
"form-data": "^2.1.4",
7777
"gulp": "^3.9.1",
7878
"interface-ipfs-core": "~0.27.0",
7979
"ipfsd-ctl": "~0.20.0",
@@ -113,8 +113,8 @@
113113
"isstream": "^0.1.2",
114114
"joi": "^10.4.1",
115115
"libp2p-floodsub": "~0.9.0",
116-
"libp2p-ipfs-browser": "~0.23.0",
117-
"libp2p-ipfs-nodejs": "~0.23.0",
116+
"libp2p-ipfs-browser": "~0.24.0",
117+
"libp2p-ipfs-nodejs": "~0.25.0",
118118
"lodash.flatmap": "^4.5.0",
119119
"lodash.get": "^4.4.2",
120120
"lodash.has": "^4.5.2",
@@ -132,7 +132,7 @@
132132
"peer-info": "~0.9.2",
133133
"promisify-es6": "^1.0.2",
134134
"pull-file": "^1.0.0",
135-
"pull-paramap": "^1.2.1",
135+
"pull-paramap": "^1.2.2",
136136
"pull-pushable": "^2.0.1",
137137
"pull-sort": "^1.0.0",
138138
"pull-stream": "^3.5.0",
@@ -146,7 +146,7 @@
146146
"temp": "^0.8.3",
147147
"through2": "^2.0.3",
148148
"update-notifier": "^2.1.0",
149-
"yargs": "7.0.2"
149+
"yargs": "7.1.0"
150150
},
151151
"contributors": [
152152
"Andrew de Andrade <[email protected]>",

src/core/components/dht.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const promisify = require('promisify-es6')
44
const every = require('async/every')
55
const each = require('async/each')
6-
const bsplit = require('buffer-split')
6+
// const bsplit = require('buffer-split')
77

88
module.exports = (self) => {
99
return {
@@ -99,7 +99,7 @@ module.exports = (self) => {
9999
if (options.recursive) {
100100
// TODO: Implement recursive providing
101101
} else {
102-
each(cids, (cid, cb) => {
102+
each(keys, (cid, cb) => {
103103
self.libp2p.dht.provide(cid, cb)
104104
}, callback)
105105
}

src/core/components/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ exports.ping = require('./ping')
1919
exports.files = require('./files')
2020
exports.bitswap = require('./bitswap')
2121
exports.pubsub = require('./pubsub')
22+
exports.dht = require('./dht')

0 commit comments

Comments
 (0)