Skip to content

Commit 4d935ba

Browse files
authored
feat(brave): Embedded HTTP Gateway for /ipns/{fqdn} with sharding (#719)
feat(brave): Embedded HTTP Gateway for /ipns/{fqdn} with sharding
2 parents 8a374af + dd4658e commit 4d935ba

File tree

3 files changed

+337
-291
lines changed

3 files changed

+337
-291
lines changed

add-on/src/lib/options.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ exports.optionDefaults = Object.freeze({
2727
ipfsApiUrl: buildIpfsApiUrl(),
2828
ipfsApiPollMs: 3000,
2929
ipfsProxy: true, // window.ipfs
30-
logNamespaces: 'jsipfs*,ipfs*,-*:mfs*,-*:ipns*,-ipfs:preload*,-ipfs-http-client:request*'
30+
logNamespaces: 'jsipfs*,ipfs*,-*:ipns*,-ipfs:preload*,-ipfs-http-client:request*'
3131
})
3232

3333
function buildCustomGatewayUrl () {

package.json

+11-9
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,16 @@
6969
"@hapi/hapi": "https://github.com/lidel/hapi/tarball/ccbf84ba5edc9b24564fdd166e3ee6d81c4c02d8/hapi.tar.gz",
7070
"pino": "5.12.3",
7171
"hapi-pino": "https://github.com/pinojs/hapi-pino/tarball/3767ed6b67601831e176e084ed82ba4ed9f726e6/hapi-pino.tar.gz",
72+
"ipfs-http-response": "https://github.com/ipfs/js-ipfs-http-response/tarball/7c2a49f43d1903689b50f87e14d1e5f046e3fe78/js-ipfs-http-response.gz",
73+
"ipfs-mfs": "https://github.com/ipfs/js-ipfs-mfs/tarball/c644291f31a57f7bc65318ba8bf83e002b83e030/js-ipfs-mfs.gz",
7274
"iso-stream-http": "0.1.2",
7375
"stream-http": "npm:[email protected]",
7476
"pull-to-stream": "0.1.1",
7577
"multiaddr": "6.0.6"
7678
},
7779
"devDependencies": {
78-
"@babel/core": "7.4.3",
79-
"@babel/preset-env": "7.4.3",
80+
"@babel/core": "7.4.4",
81+
"@babel/preset-env": "7.4.4",
8082
"babel-loader": "8.0.5",
8183
"babel-plugin-syntax-async-generators": "6.13.0",
8284
"chai": "4.2.0",
@@ -86,13 +88,13 @@
8688
"firefox-addons-add-update-version": "https://github.com/lidel/firefox-addons-add-update-version/tarball/7901bf69b4ed122a20cd5e10ed7f8dae9b00dde7/firefox-addons-add-update-version.tar.gz",
8789
"fs-promise": "2.0.3",
8890
"get-firefox": "2.2.1",
89-
"husky": "2.1.0",
91+
"husky": "2.2.0",
9092
"ignore-styles": "5.0.1",
9193
"json": "9.0.6",
9294
"mem-storage-area": "1.0.3",
9395
"mocha": "6.1.4",
9496
"npm-run-all": "4.1.5",
95-
"nyc": "14.0.0",
97+
"nyc": "14.1.0",
9698
"raw-loader": "2.0.0",
9799
"request-progress": "3.0.0",
98100
"shx": "0.3.2",
@@ -107,25 +109,25 @@
107109
"web-ext": "3.0.0",
108110
"webpack": "4.30.0",
109111
"webpack-bundle-analyzer": "3.3.2",
110-
"webpack-cli": "3.3.1",
112+
"webpack-cli": "3.3.2",
111113
"webpack-merge": "4.2.1"
112114
},
113115
"dependencies": {
114-
"@material/switch": "1.1.0",
116+
"@material/switch": "2.0.0",
115117
"browser-process-hrtime": "1.0.0",
116118
"choo": "6.13.3",
117119
"chrome-dgram": "3.0.1",
118120
"chrome-net": "https://github.com/lidel/chrome-net/tarball/838ffde4a33721888f74783821e0486dfcc88797/chrome-net.tar.gz",
119121
"debug": "4.1.1",
120122
"doc-sniff": "1.0.1",
121123
"drag-and-drop-files": "0.0.1",
122-
"file-type": "10.11.0",
124+
"file-type": "11.0.0",
123125
"filesize": "4.1.2",
124126
"http-dns": "3.0.1",
125127
"http-node": "1.2.0",
126-
"ipfs": "https://github.com/lidel/js-ipfs/tarball/17712a4b86bacb748ed429bd2a3ca73976e54ae0/js-ipfs.tar.gz",
128+
"ipfs": "https://github.com/lidel/js-ipfs/tarball/4081cbd69a252ec8adcec1e965724246669c9e9f/js-ipfs.tar.gz",
127129
"ipfs-css": "0.12.0",
128-
"ipfs-http-client": "30.1.3",
130+
"ipfs-http-client": "30.1.4",
129131
"ipfs-http-response": "0.2.2",
130132
"ipfs-postmsg-proxy": "3.1.1",
131133
"ipfsx": "0.17.0",

0 commit comments

Comments
 (0)