File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 18
18
"coverage" : " aegir coverage"
19
19
},
20
20
"devDependencies" : {
21
- "aegir" : " ^21.4.5 " ,
21
+ "aegir" : " ^21.7.0 " ,
22
22
"chai" : " ^4.2.0" ,
23
23
"dirty-chai" : " ^2.0.1" ,
24
24
"go-ipfs-dep" : " 0.4.23-3" ,
25
- "ipfs-utils" : " ^1 .2.1 " ,
25
+ "ipfs-utils" : " ^2 .2.0 " ,
26
26
"ipfsd-ctl" : " ^3.0.0"
27
27
},
28
28
"dependencies" : {
29
29
"debug" : " ^4.1.1" ,
30
- "ipfs-http-client" : " ^43 .0.1 " ,
31
- "p-queue" : " ^6.2.1 " ,
32
- "peer-id" : " ~ 0.13.5 " ,
33
- "peer-info" : " ^0.17.1 "
30
+ "ipfs-http-client" : " ^44 .0.0 " ,
31
+ "p-queue" : " ^6.3.0 " ,
32
+ "peer-id" : " ^ 0.13.11 " ,
33
+ "peer-info" : " ^0.17.5 "
34
34
},
35
35
"contributors" : [
36
36
Original file line number Diff line number Diff line change @@ -49,9 +49,7 @@ class DelegatedPeerRouting {
49
49
try {
50
50
return await this . _httpQueue . add ( async ( ) => {
51
51
const { addrs } = await this . dht . findPeer ( id , {
52
- searchParams : {
53
- timeout : `${ options . timeout } ms` // The api requires specification of the time unit (s/ms)
54
- }
52
+ timeout : options . timeout
55
53
} )
56
54
57
55
const peerInfo = new PeerInfo ( PeerId . createFromCID ( id ) )
You can’t perform that action at this time.
0 commit comments