This repository was archived by the owner on Feb 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 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" ,
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" ,
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" ,
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] >" ,
Original file line number Diff line number Diff line change 33const promisify = require ( 'promisify-es6' )
44const every = require ( 'async/every' )
55const each = require ( 'async/each' )
6- const bsplit = require ( 'buffer-split' )
6+ // const bsplit = require('buffer-split')
77
88module . 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 }
Original file line number Diff line number Diff line change @@ -19,3 +19,4 @@ exports.ping = require('./ping')
1919exports . files = require ( './files' )
2020exports . bitswap = require ( './bitswap' )
2121exports . pubsub = require ( './pubsub' )
22+ exports . dht = require ( './dht' )
You can’t perform that action at this time.
0 commit comments