This repository was archived by the owner on Mar 10, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 4242 },
4343 "dependencies" : {
4444 "abort-controller" : " ^3.0.0" ,
45- "async-iterator-all" : " ^1.0.0" ,
4645 "async-iterator-to-pull-stream" : " ^1.3.0" ,
4746 "bignumber.js" : " ^9.0.0" ,
4847 "bl" : " ^4.0.0" ,
6059 "ipld-dag-pb" : " ^0.18.1" ,
6160 "ipld-raw" : " ^4.0.0" ,
6261 "is-ipfs" : " ~0.6.1" ,
62+ "it-all" : " ^1.0.1" ,
6363 "it-glob" : " 0.0.7" ,
6464 "it-tar" : " ^1.1.1" ,
6565 "it-to-stream" : " ^0.1.1" ,
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ module.exports = configure(({ ky }) => {
2929 if ( options . trickle != null ) searchParams . set ( 'trickle' , options . trickle )
3030 if ( options . wrapWithDirectory != null ) searchParams . set ( 'wrap-with-directory' , options . wrapWithDirectory )
3131 if ( options . preload != null ) searchParams . set ( 'preload' , options . preload )
32+ if ( options . fileImportConcurrency != null ) searchParams . set ( 'file-import-concurrency' , options . fileImportConcurrency )
33+ if ( options . blockWriteConcurrency != null ) searchParams . set ( 'block-write-concurrency' , options . blockWriteConcurrency )
3234
3335 const res = await ky . post ( 'add' , {
3436 timeout : options . timeout ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const PeerId = require('peer-id')
1111const PeerInfo = require ( 'peer-info' )
1212const nodeify = require ( 'promise-nodeify' )
1313const callbackify = require ( 'callbackify' )
14- const all = require ( 'async-iterator -all' )
14+ const all = require ( 'it -all' )
1515const toPullStream = require ( 'async-iterator-to-pull-stream' )
1616const toStream = require ( 'it-to-stream' )
1717const BufferList = require ( 'bl/BufferList' )
Original file line number Diff line number Diff line change 11'use strict'
22
33const toPull = require ( 'async-iterator-to-pull-stream' )
4- const all = require ( 'async-iterator -all' )
4+ const all = require ( 'it -all' )
55const toStream = require ( 'it-to-stream' )
66const { Buffer } = require ( 'buffer' )
77
You can’t perform that action at this time.
0 commit comments