File tree Expand file tree Collapse file tree 3 files changed +15
-9
lines changed Expand file tree Collapse file tree 3 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ jobs:
22
22
strategy :
23
23
matrix :
24
24
os : [windows-latest, ubuntu-latest, macos-latest]
25
- node : [14, 15 ]
25
+ node : [16 ]
26
26
fail-fast : true
27
27
steps :
28
28
- uses : actions/checkout@v2
29
- - uses : actions/setup-node@v1
29
+ - uses : actions/setup-node@v2
30
30
with :
31
31
node-version : ${{ matrix.node }}
32
32
# modules with pre-built binaries may not have deployed versions for bleeding-edge node so this lets us fall back to building from source
@@ -39,12 +39,18 @@ jobs:
39
39
runs-on : ubuntu-latest
40
40
steps :
41
41
- uses : actions/checkout@v2
42
+ - uses : actions/setup-node@v2
43
+ with :
44
+ node-version : lts/*
42
45
- run : npm install
43
46
- run : npx aegir test -t browser -t webworker --bail
44
47
test-firefox :
45
48
needs : check
46
49
runs-on : ubuntu-latest
47
50
steps :
48
51
- uses : actions/checkout@v2
52
+ - uses : actions/setup-node@v2
53
+ with :
54
+ node-version : lts/*
49
55
- run : npm install
50
56
- run : npx aegir test -t browser -t webworker --bail -- --browsers FirefoxHeadless
Original file line number Diff line number Diff line change 23
23
"coverage" : " aegir coverage"
24
24
},
25
25
"devDependencies" : {
26
- "aegir" : " ^33 .0.0 " ,
27
- "go-ipfs" : " ^0.8 .0" ,
28
- "ipfs-http-client" : " ^50.1.0 " ,
29
- "ipfs-utils" : " ^8.1 .2" ,
30
- "ipfsd-ctl" : " ^8 .0.2 " ,
26
+ "aegir" : " ^36 .0.2 " ,
27
+ "go-ipfs" : " ^0.10 .0" ,
28
+ "ipfs-http-client" : " ^54.0.2 " ,
29
+ "ipfs-utils" : " ^9.0 .2" ,
30
+ "ipfsd-ctl" : " ^10 .0.5 " ,
31
31
"it-all" : " ^1.0.2"
32
32
},
33
33
"dependencies" : {
34
34
"debug" : " ^4.3.1" ,
35
35
"multiformats" : " ^9.0.2" ,
36
36
"p-defer" : " ^3.0.0" ,
37
37
"p-queue" : " ^6.3.0" ,
38
- "peer-id" : " ^0.15 .0"
38
+ "peer-id" : " ^0.16 .0"
39
39
},
40
40
"browser" : {
41
41
"go-ipfs" : false
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class DelegatedPeerRouting {
122
122
break
123
123
case 2 : // Final Peer
124
124
yield peers . get ( result . id . string ) || {
125
- id : PeerId . createFromCID ( result . id ) ,
125
+ id : PeerId . parse ( result . id ) ,
126
126
multiaddrs : [ ]
127
127
}
128
128
break
You can’t perform that action at this time.
0 commit comments