Skip to content

Commit db59fa6

Browse files
authored
chore: update ipfs (#43)
* chore: update ipfs The next ipfs release will be a dual ESM/CJS version which is presenting some interesting challenges for all the different tools used here. We also use the `ipfs` module everywhere when we could be using `ipfs-core` instead - it's lighter and much quicker to install. Really we should only use `ipfs` when we need the CLI and the HTTP RPC API, though I'm a little wary of the potential confusion for new users having two options introduces.
1 parent c15de8d commit db59fa6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

create-node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
const IPFS = require('ipfs')
3+
const IPFS = require('ipfs-core')
44

55
function createNode (options) {
66
options = options || {}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"dependencies": {
1616
"@ipld/dag-pb": "^2.1.3",
17-
"ipfs": "^0.58.1",
17+
"ipfs-core": "^0.11.0",
1818
"ipld-ethereum": "^6.0.0",
1919
"ipld-format-to-blockcodec": "0.0.1",
2020
"ipld-git": "^0.6.1",

0 commit comments

Comments
 (0)