Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit f42567e

Browse files
author
Alan Shaw
authored
feat: test against js-ipfs 0.35 (#60)
License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent 897745c commit f42567e

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"devDependencies": {
3838
"aegir": "^18.1.0",
3939
"async": "^2.6.2",
40-
"bl": "^2.2.0",
40+
"bl": "^3.0.0",
4141
"bs58": "^4.0.1",
4242
"chai": "^4.2.0",
4343
"cids": "~0.5.7",
@@ -48,12 +48,12 @@
4848
"eslint-plugin-react": "^7.12.4",
4949
"expose-loader": "~0.7.5",
5050
"form-data": "^2.3.3",
51-
"go-ipfs-dep": "~0.4.18",
51+
"go-ipfs-dep": "~0.4.19",
5252
"hat": "0.0.3",
53-
"ipfs": "~0.34.4",
54-
"ipfs-http-client": "^29.1.0",
55-
"ipfs-unixfs": "~0.1.16",
53+
"ipfs": "~0.35.0",
54+
"ipfs-http-client": "^30.1.1",
5655
"ipfs-repo": "~0.26.1",
56+
"ipfs-unixfs": "~0.1.16",
5757
"ipfsd-ctl": "~0.42.2",
5858
"is-ci": "^2.0.0",
5959
"left-pad": "^1.3.0",

test/ipns.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ const spawnJsDaemon = (dir, callback) => {
1818
.spawn({
1919
repoPath: dir,
2020
disposable: false,
21-
initOptions: { bits: 512 },
22-
args: ['--offline']
21+
initOptions: { bits: 512 }
2322
}, callback)
2423
}
2524

@@ -28,8 +27,7 @@ const spawnGoDaemon = (dir, callback) => {
2827
.spawn({
2928
repoPath: dir,
3029
disposable: false,
31-
initOptions: { bits: 1024 },
32-
args: ['--offline']
30+
initOptions: { bits: 1024 }
3331
}, callback)
3432
}
3533

@@ -49,7 +47,7 @@ const publishAndResolve = (publisherDaemon, resolverDaemon, callback) => {
4947
series([
5048
(cb) => publisherDaemon.stop(cb),
5149
(cb) => setTimeout(cb, 2000),
52-
(cb) => resolverDaemon.start(cb)
50+
(cb) => resolverDaemon.start(['--offline'], cb)
5351
], callback)
5452
}
5553

0 commit comments

Comments
 (0)