Skip to content

Commit 25c0e6a

Browse files
authored
feat: enable Web UI for embedded js-ipfs (#656)
In past ipfs-webui crashed due to missing APIs (IPNS, MFS), but since v0.34 it works quite nicely.
1 parent 16d049e commit 25c0e6a

File tree

3 files changed

+497
-526
lines changed

3 files changed

+497
-526
lines changed

add-on/src/popup/browser-action/operations.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = function operations ({
1616
onToggleRedirect
1717
}) {
1818
const activeQuickUpload = active && isIpfsOnline && isApiAvailable
19-
const activeWebUI = active && isIpfsOnline && ipfsNodeType === 'external'
19+
const activeWebUI = active && isIpfsOnline // (js-ipfs >=0.34.0-rc.0 is ok) && ipfsNodeType === 'external'
2020
const activeGatewaySwitch = active && ipfsNodeType === 'external'
2121

2222
return html`

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"drag-and-drop-files": "0.0.1",
112112
"file-type": "10.7.0",
113113
"filesize": "3.6.1",
114-
"ipfs": "0.33.1",
114+
"ipfs": "0.34.0",
115115
"ipfs-css": "0.12.0",
116116
"ipfs-http-client": "28.1.1",
117117
"ipfs-http-response": "0.2.1",

0 commit comments

Comments
 (0)