From 927b88ef8e95b95bfc2054255cd8925052fbbe42 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Nov 2020 14:51:38 +0000 Subject: [PATCH 01/16] Bump react-dropzone from 11.2.0 to 11.2.4 in /packages/webapp Bumps [react-dropzone](https://github.com/react-dropzone/react-dropzone) from 11.2.0 to 11.2.4. - [Release notes](https://github.com/react-dropzone/react-dropzone/releases) - [Commits](https://github.com/react-dropzone/react-dropzone/compare/v11.2.0...v11.2.4) Signed-off-by: dependabot[bot] --- packages/webapp/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp/package.json b/packages/webapp/package.json index cc07b31d..de63392d 100644 --- a/packages/webapp/package.json +++ b/packages/webapp/package.json @@ -27,7 +27,7 @@ "react": "16.14.0", "react-countup": "4.3.3", "react-dom": "16.14.0", - "react-dropzone": "11.2.0", + "react-dropzone": "11.2.4", "react-helmet": "6.1.0", "react-mailchimp-form": "1.0.2", "react-mailchimp-subscribe": "2.1.0", From 99b72cc09db169384a96c4f6d1704267f0c4e03d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Nov 2020 10:33:53 +0000 Subject: [PATCH 02/16] Bump gatsby-plugin-manifest from 2.4.35 to 2.6.1 in /packages/webapp Bumps [gatsby-plugin-manifest](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-manifest) from 2.4.35 to 2.6.1. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/gatsby-plugin-manifest@2.6.1/packages/gatsby-plugin-manifest/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-manifest@2.6.1/packages/gatsby-plugin-manifest) Signed-off-by: dependabot[bot] --- packages/webapp/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp/package.json b/packages/webapp/package.json index cc07b31d..34821fdc 100644 --- a/packages/webapp/package.json +++ b/packages/webapp/package.json @@ -10,7 +10,7 @@ "fontsource-metropolis": "3.0.1", "gatsby": "2.24.92", "gatsby-image": "2.5.0", - "gatsby-plugin-manifest": "2.4.35", + "gatsby-plugin-manifest": "2.6.1", "gatsby-plugin-matomo": "0.8.3", "gatsby-plugin-react-helmet": "3.3.14", "gatsby-plugin-remove-serviceworker": "1.0.0", From fb8f96cd3e791b0cec5a5c4541f09f746818c9a1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Dec 2020 10:32:06 +0000 Subject: [PATCH 03/16] Bump lint-staged from 10.5.1 to 10.5.3 in /packages/webapp Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.5.1 to 10.5.3. - [Release notes](https://github.com/okonet/lint-staged/releases) - [Commits](https://github.com/okonet/lint-staged/compare/v10.5.1...v10.5.3) Signed-off-by: dependabot[bot] --- packages/webapp/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp/package.json b/packages/webapp/package.json index cc07b31d..67c4e9fd 100644 --- a/packages/webapp/package.json +++ b/packages/webapp/package.json @@ -43,7 +43,7 @@ "eslint-plugin-cypress": "2.11.2", "eslint-plugin-react": "7.21.5", "husky": "4.3.0", - "lint-staged": "10.5.1", + "lint-staged": "10.5.3", "prettier": "2.1.2" }, "keywords": [ From a863461588a4159c108fb1343fce4bee003967f9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 12 Dec 2020 06:55:40 +0000 Subject: [PATCH 04/16] Bump ini from 1.3.5 to 1.3.8 Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8) Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 460bd1c2..5272fa46 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7925,9 +7925,9 @@ inherits@2.0.3: integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= ini@^1.3.4, ini@^1.3.5, ini@~1.3.0: - version "1.3.5" - resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" - integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== + version "1.3.8" + resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" + integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== inline-style-parser@0.1.1: version "0.1.1" From 761fcd6f604b2edf5c47692a3ead8432b3773a0b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Dec 2020 10:08:01 +0000 Subject: [PATCH 05/16] Bump react-syntax-highlighter from 15.2.1 to 15.4.3 in /packages/webapp Bumps [react-syntax-highlighter](https://github.com/react-syntax-highlighter/react-syntax-highlighter) from 15.2.1 to 15.4.3. - [Release notes](https://github.com/react-syntax-highlighter/react-syntax-highlighter/releases) - [Changelog](https://github.com/react-syntax-highlighter/react-syntax-highlighter/blob/master/CHANGELOG.MD) - [Commits](https://github.com/react-syntax-highlighter/react-syntax-highlighter/compare/v15.2.1...v15.4.3) Signed-off-by: dependabot[bot] --- packages/webapp/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp/package.json b/packages/webapp/package.json index cc07b31d..d3641e8d 100644 --- a/packages/webapp/package.json +++ b/packages/webapp/package.json @@ -31,7 +31,7 @@ "react-helmet": "6.1.0", "react-mailchimp-form": "1.0.2", "react-mailchimp-subscribe": "2.1.0", - "react-syntax-highlighter": "15.2.1", + "react-syntax-highlighter": "15.4.3", "react-visibility-sensor": "5.1.1", "skynet-js": "2.4.0" }, From 16ecc6174d9794a5319807b5b5c7f48b25cd0b73 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Dec 2020 10:16:20 +0000 Subject: [PATCH 06/16] Bump gatsby-transformer-sharp from 2.5.21 to 2.9.0 in /packages/webapp Bumps [gatsby-transformer-sharp](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-transformer-sharp) from 2.5.21 to 2.9.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-transformer-sharp/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-sharp@2.9.0/packages/gatsby-transformer-sharp) Signed-off-by: dependabot[bot] --- packages/webapp/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp/package.json b/packages/webapp/package.json index cc07b31d..00b5f2e6 100644 --- a/packages/webapp/package.json +++ b/packages/webapp/package.json @@ -18,7 +18,7 @@ "gatsby-plugin-sass": "2.5.1", "gatsby-plugin-sharp": "2.8.0", "gatsby-source-filesystem": "2.4.0", - "gatsby-transformer-sharp": "2.5.21", + "gatsby-transformer-sharp": "2.9.0", "http-status-codes": "2.1.4", "jsonp": "0.2.1", "node-sass": "4.14.1", From 8eae1fca910d50bd9f937582074d9a0dea775c66 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Dec 2020 10:39:31 +0000 Subject: [PATCH 07/16] Bump gatsby-plugin-react-helmet from 3.3.14 to 3.7.0 in /packages/webapp Bumps [gatsby-plugin-react-helmet](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-react-helmet) from 3.3.14 to 3.7.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-react-helmet/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-react-helmet@3.7.0/packages/gatsby-plugin-react-helmet) Signed-off-by: dependabot[bot] --- packages/webapp/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp/package.json b/packages/webapp/package.json index cc07b31d..cd15e29e 100644 --- a/packages/webapp/package.json +++ b/packages/webapp/package.json @@ -12,7 +12,7 @@ "gatsby-image": "2.5.0", "gatsby-plugin-manifest": "2.4.35", "gatsby-plugin-matomo": "0.8.3", - "gatsby-plugin-react-helmet": "3.3.14", + "gatsby-plugin-react-helmet": "3.7.0", "gatsby-plugin-remove-serviceworker": "1.0.0", "gatsby-plugin-robots-txt": "1.5.3", "gatsby-plugin-sass": "2.5.1", From 457f13f90ce276a9907a5d631008cbc658ee9b5f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Dec 2020 10:15:22 +0000 Subject: [PATCH 08/16] Bump gatsby-plugin-sharp from 2.8.0 to 2.11.2 in /packages/webapp Bumps [gatsby-plugin-sharp](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-sharp) from 2.8.0 to 2.11.2. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/gatsby-plugin-sharp@2.11.2/packages/gatsby-plugin-sharp/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-sharp@2.11.2/packages/gatsby-plugin-sharp) Signed-off-by: dependabot[bot] --- packages/webapp/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp/package.json b/packages/webapp/package.json index cc07b31d..61492f3f 100644 --- a/packages/webapp/package.json +++ b/packages/webapp/package.json @@ -16,7 +16,7 @@ "gatsby-plugin-remove-serviceworker": "1.0.0", "gatsby-plugin-robots-txt": "1.5.3", "gatsby-plugin-sass": "2.5.1", - "gatsby-plugin-sharp": "2.8.0", + "gatsby-plugin-sharp": "2.11.2", "gatsby-source-filesystem": "2.4.0", "gatsby-transformer-sharp": "2.5.21", "http-status-codes": "2.1.4", From 2d9bd82c91783e716bb8a313e745de535a448c91 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Jan 2021 10:24:01 +0000 Subject: [PATCH 09/16] Bump gatsby from 2.24.92 to 2.29.3 in /packages/webapp Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.24.92 to 2.29.3. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/compare/gatsby@2.24.92...gatsby@2.29.3) Signed-off-by: dependabot[bot] --- packages/webapp/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp/package.json b/packages/webapp/package.json index cc07b31d..8093bb98 100644 --- a/packages/webapp/package.json +++ b/packages/webapp/package.json @@ -8,7 +8,7 @@ "bytes": "3.1.0", "classnames": "2.2.6", "fontsource-metropolis": "3.0.1", - "gatsby": "2.24.92", + "gatsby": "2.29.3", "gatsby-image": "2.5.0", "gatsby-plugin-manifest": "2.4.35", "gatsby-plugin-matomo": "0.8.3", From e9746d35fb2d1d025598b1b2db043914f133309f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Jan 2021 10:36:28 +0000 Subject: [PATCH 10/16] Bump eslint from 7.13.0 to 7.18.0 in /packages/webapp Bumps [eslint](https://github.com/eslint/eslint) from 7.13.0 to 7.18.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v7.13.0...v7.18.0) Signed-off-by: dependabot[bot] --- packages/webapp/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp/package.json b/packages/webapp/package.json index cc07b31d..7a00a62a 100644 --- a/packages/webapp/package.json +++ b/packages/webapp/package.json @@ -38,7 +38,7 @@ "devDependencies": { "cypress": "5.5.0", "cypress-file-upload": "4.1.1", - "eslint": "7.13.0", + "eslint": "7.18.0", "eslint-config-prettier": "6.15.0", "eslint-plugin-cypress": "2.11.2", "eslint-plugin-react": "7.21.5", From cb3800cb9a3c8a5cedf0e2362726afb5832b43a3 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Sat, 23 Jan 2021 17:23:56 +0100 Subject: [PATCH 11/16] update deps --- .gitignore | 4 ---- packages/webapp/.gitignore | 3 +++ packages/webapp/package.json | 38 ++++++++++++++++++------------------ 3 files changed, 22 insertions(+), 23 deletions(-) create mode 100644 packages/webapp/.gitignore diff --git a/.gitignore b/.gitignore index 9ffdbb11..e2f92125 100644 --- a/.gitignore +++ b/.gitignore @@ -54,10 +54,6 @@ typings/ # dotenv environment variable files .env* -# gatsby files -.cache/ -public - # Mac files .DS_Store diff --git a/packages/webapp/.gitignore b/packages/webapp/.gitignore new file mode 100644 index 00000000..64d4504d --- /dev/null +++ b/packages/webapp/.gitignore @@ -0,0 +1,3 @@ +# gatsby files +.cache/ +public \ No newline at end of file diff --git a/packages/webapp/package.json b/packages/webapp/package.json index e1eb3a15..0878b68c 100644 --- a/packages/webapp/package.json +++ b/packages/webapp/package.json @@ -4,29 +4,29 @@ "version": "1.0.0", "author": "Nebulous", "dependencies": { - "axios": "0.21.0", + "axios": "0.21.1", "bytes": "3.1.0", "classnames": "2.2.6", - "fontsource-metropolis": "3.0.1", - "gatsby": "2.29.3", - "gatsby-image": "2.5.0", - "gatsby-plugin-manifest": "2.6.1", + "fontsource-metropolis": "4.0.0", + "gatsby": "2.31.1", + "gatsby-image": "2.10.0", + "gatsby-plugin-manifest": "2.11.0", "gatsby-plugin-matomo": "0.8.3", - "gatsby-plugin-react-helmet": "3.7.0", + "gatsby-plugin-react-helmet": "3.9.0", "gatsby-plugin-remove-serviceworker": "1.0.0", - "gatsby-plugin-robots-txt": "1.5.3", - "gatsby-plugin-sass": "2.5.1", - "gatsby-plugin-sharp": "2.11.2", - "gatsby-source-filesystem": "2.4.0", - "gatsby-transformer-sharp": "2.9.0", + "gatsby-plugin-robots-txt": "1.5.5", + "gatsby-plugin-sass": "3.1.0", + "gatsby-plugin-sharp": "2.13.1", + "gatsby-source-filesystem": "2.10.0", + "gatsby-transformer-sharp": "2.11.0", "http-status-codes": "2.1.4", "jsonp": "0.2.1", - "node-sass": "4.14.1", + "node-sass": "5.0.0", "path-browserify": "1.0.1", "prop-types": "15.7.2", - "react": "16.14.0", + "react": "17.0.1", "react-countup": "4.3.3", - "react-dom": "16.14.0", + "react-dom": "17.0.1", "react-dropzone": "11.2.4", "react-helmet": "6.1.0", "react-mailchimp-form": "1.0.2", @@ -36,15 +36,15 @@ "skynet-js": "2.4.0" }, "devDependencies": { - "cypress": "5.5.0", - "cypress-file-upload": "4.1.1", + "cypress": "6.3.0", + "cypress-file-upload": "5.0.2", "eslint": "7.18.0", - "eslint-config-prettier": "6.15.0", + "eslint-config-prettier": "7.2.0", "eslint-plugin-cypress": "2.11.2", - "eslint-plugin-react": "7.21.5", + "eslint-plugin-react": "7.22.0", "husky": "4.3.0", "lint-staged": "10.5.3", - "prettier": "2.1.2" + "prettier": "2.2.1" }, "keywords": [ "sia", From ae3df177cb790ea01d4a8068a2f5b47f1feb6590 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Sat, 23 Jan 2021 17:45:31 +0100 Subject: [PATCH 12/16] improve health checks --- packages/health-check/src/checks/verbose.js | 1208 +++++++++++-------- 1 file changed, 680 insertions(+), 528 deletions(-) diff --git a/packages/health-check/src/checks/verbose.js b/packages/health-check/src/checks/verbose.js index 2991a999..7b330c06 100644 --- a/packages/health-check/src/checks/verbose.js +++ b/packages/health-check/src/checks/verbose.js @@ -11,7 +11,12 @@ function audioExampleCheck(done) { name: "Audio Example", skylink: "_A2zt5SKoqwnnZU4cBF8uBycSKULXMyeg1c5ZISBr2Q3dA", bodyHash: "be335f5ad9bc357248f3d35c7e49df491afb6b12", - metadata: { filename: "feel-good.mp3" }, + headers: { + "skynet-skylink": "_A2zt5SKoqwnnZU4cBF8uBycSKULXMyeg1c5ZISBr2Q3dA", + "skynet-file-metadata": { filename: "feel-good.mp3" }, + "content-disposition": 'inline; filename="feel-good.mp3"', + "content-type": "audio/mpeg", + }, }; skylinkVerification(done, linkInfo); @@ -24,15 +29,20 @@ function covid19PaperCheck(done) { name: "Covid-19 Paper", skylink: "PAMZVmfutxWoG6Wnl5BRKuWLkDNZR42k_okRRvksJekA3A", bodyHash: "81b9fb74829a96ceafa429840d1ef0ce44376ddd", - metadata: { - filename: "An Effective Treatment for Coronavirus (COVID-19).pdf", - subfiles: { - "An Effective Treatment for Coronavirus (COVID-19).pdf": { - filename: "An Effective Treatment for Coronavirus (COVID-19).pdf", - contenttype: "application/pdf", - len: 474803, + headers: { + "skynet-skylink": "PAMZVmfutxWoG6Wnl5BRKuWLkDNZR42k_okRRvksJekA3A", + "skynet-file-metadata": { + filename: "An Effective Treatment for Coronavirus (COVID-19).pdf", + subfiles: { + "An Effective Treatment for Coronavirus (COVID-19).pdf": { + filename: "An Effective Treatment for Coronavirus (COVID-19).pdf", + contenttype: "application/pdf", + len: 474803, + }, }, }, + "content-disposition": 'inline; filename="An Effective Treatment for Coronavirus (COVID-19).pdf"', + "content-type": "application/pdf", }, }; @@ -46,7 +56,12 @@ function covid19CoroNopePaperCheck(done) { name: "Covid-19 CoroNope Paper", skylink: "bACLKGmcmX4NCp47WwOOJf0lU666VLeT5HRWpWVtqZPjEA", bodyHash: "901f6fd65ef595f70b6bfebbb2d05942351ef2b3", - metadata: { filename: "coronope.pdf" }, + headers: { + "skynet-skylink": "bACLKGmcmX4NCp47WwOOJf0lU666VLeT5HRWpWVtqZPjEA", + "skynet-file-metadata": { filename: "coronope.pdf" }, + "content-disposition": 'inline; filename="coronope.pdf"', + "content-type": "application/pdf", + }, }; skylinkVerification(done, linkInfo); @@ -59,478 +74,483 @@ function dappExampleCheck(done) { name: "Dapp Example (UniSwap)", skylink: "EADWpKD0myqH2tZa6xtKebg6kNnwYnI94fl4R8UKgNrmOA", bodyHash: "d6ad2506590bb45b5acc6a8a964a3da4d657354f", - metadata: { - filename: "build", - length: 15578459, - subfiles: { - "451.html": { - filename: "451.html", - contenttype: "text/html", - offset: 40966, - len: 200, - }, - "asset-manifest.json": { - filename: "asset-manifest.json", - contenttype: "application/json", - offset: 35832, - len: 5134, - }, - "favicon.ico": { - filename: "favicon.ico", - contenttype: "image/vnd.microsoft.icon", - len: 31701, - }, - "index.html": { - filename: "index.html", - contenttype: "text/html", - offset: 31701, - len: 4131, - }, - "locales/de.json": { - filename: "locales/de.json", - contenttype: "application/json", - offset: 15542609, - len: 4376, - }, - "locales/en.json": { - filename: "locales/en.json", - contenttype: "application/json", - offset: 15558827, - len: 4049, - }, - "locales/es-AR.json": { - filename: "locales/es-AR.json", - contenttype: "application/json", - offset: 15551984, - len: 3624, - }, - "locales/es-US.json": { - filename: "locales/es-US.json", - contenttype: "application/json", - offset: 15574829, - len: 3630, - }, - "locales/it-IT.json": { - filename: "locales/it-IT.json", - contenttype: "application/json", - offset: 15538386, - len: 4223, - }, - "locales/ro.json": { - filename: "locales/ro.json", - contenttype: "application/json", - offset: 15562876, - len: 3794, - }, - "locales/ru.json": { - filename: "locales/ru.json", - contenttype: "application/json", - offset: 15546985, - len: 4999, - }, - "locales/vi.json": { - filename: "locales/vi.json", - contenttype: "application/json", - offset: 15569928, - len: 4901, - }, - "locales/zh-CN.json": { - filename: "locales/zh-CN.json", - contenttype: "application/json", - offset: 15555608, - len: 3219, - }, - "locales/zh-TW.json": { - filename: "locales/zh-TW.json", - contenttype: "application/json", - offset: 15566670, - len: 3258, - }, - "manifest.json": { - filename: "manifest.json", - contenttype: "application/json", - offset: 41166, - len: 297, - }, - "precache-manifest.cd4677068c6058f8626d6818e2c12fd3.js": { - filename: "precache-manifest.cd4677068c6058f8626d6818e2c12fd3.js", - contenttype: "text/javascript", - offset: 41463, - len: 4721, - }, - "service-worker.js": { - filename: "service-worker.js", - contenttype: "text/javascript", - offset: 46184, - len: 1185, - }, - "static/css/0.07de6c03.chunk.css": { - filename: "static/css/0.07de6c03.chunk.css", - contenttype: "text/css", - offset: 15537249, - len: 285, - }, - "static/css/0.07de6c03.chunk.css.map": { - filename: "static/css/0.07de6c03.chunk.css.map", - contenttype: "application/octet-stream", - offset: 15537818, - len: 568, - }, - "static/css/5.d75e0ccb.chunk.css": { - filename: "static/css/5.d75e0ccb.chunk.css", - contenttype: "text/css", - offset: 15537534, - len: 284, - }, - "static/css/5.d75e0ccb.chunk.css.map": { - filename: "static/css/5.d75e0ccb.chunk.css.map", - contenttype: "application/octet-stream", - offset: 15536511, - len: 738, - }, - "static/js/0.58b0f69f.chunk.js": { - filename: "static/js/0.58b0f69f.chunk.js", - contenttype: "text/javascript", - offset: 7300150, - len: 30029, - }, - "static/js/0.58b0f69f.chunk.js.map": { - filename: "static/js/0.58b0f69f.chunk.js.map", - contenttype: "application/octet-stream", - offset: 12111459, - len: 81144, - }, - "static/js/1.19c370e0.chunk.js": { - filename: "static/js/1.19c370e0.chunk.js", - contenttype: "text/javascript", - offset: 15495781, - len: 40203, - }, - "static/js/1.19c370e0.chunk.js.map": { - filename: "static/js/1.19c370e0.chunk.js.map", - contenttype: "application/octet-stream", - offset: 7330179, - len: 104594, - }, - "static/js/10.8ea29dcd.chunk.js": { - filename: "static/js/10.8ea29dcd.chunk.js", - contenttype: "text/javascript", - offset: 15483299, - len: 12345, - }, - "static/js/10.8ea29dcd.chunk.js.map": { - filename: "static/js/10.8ea29dcd.chunk.js.map", - contenttype: "application/octet-stream", - offset: 14524416, - len: 30393, - }, - "static/js/11.764b8915.chunk.js": { - filename: "static/js/11.764b8915.chunk.js", - contenttype: "text/javascript", - offset: 12208196, - len: 7103, - }, - "static/js/11.764b8915.chunk.js.map": { - filename: "static/js/11.764b8915.chunk.js.map", - contenttype: "application/octet-stream", - offset: 12192603, - len: 15593, - }, - "static/js/12.88d4fbe5.chunk.js": { - filename: "static/js/12.88d4fbe5.chunk.js", - contenttype: "text/javascript", - offset: 12055261, - len: 16721, - }, - "static/js/12.88d4fbe5.chunk.js.map": { - filename: "static/js/12.88d4fbe5.chunk.js.map", - contenttype: "application/octet-stream", - offset: 14460215, - len: 46695, - }, - "static/js/13.ea207f69.chunk.js": { - filename: "static/js/13.ea207f69.chunk.js", - contenttype: "text/javascript", - offset: 7168280, - len: 347, - }, - "static/js/13.ea207f69.chunk.js.map": { - filename: "static/js/13.ea207f69.chunk.js.map", - contenttype: "application/octet-stream", - offset: 6928538, - len: 563, - }, - "static/js/14.d8bc0d4c.chunk.js": { - filename: "static/js/14.d8bc0d4c.chunk.js", - contenttype: "text/javascript", - offset: 12870711, - len: 336, - }, - "static/js/14.d8bc0d4c.chunk.js.map": { - filename: "static/js/14.d8bc0d4c.chunk.js.map", - contenttype: "application/octet-stream", - offset: 15535984, - len: 527, - }, - "static/js/15.e6215497.chunk.js": { - filename: "static/js/15.e6215497.chunk.js", - contenttype: "text/javascript", - offset: 15495644, - len: 137, - }, - "static/js/15.e6215497.chunk.js.map": { - filename: "static/js/15.e6215497.chunk.js.map", - contenttype: "application/octet-stream", - offset: 6928431, - len: 107, - }, - "static/js/2.f6da9598.chunk.js": { - filename: "static/js/2.f6da9598.chunk.js", - contenttype: "text/javascript", - offset: 14506910, - len: 17506, - }, - "static/js/2.f6da9598.chunk.js.map": { - filename: "static/js/2.f6da9598.chunk.js.map", - contenttype: "application/octet-stream", - offset: 12071982, - len: 39477, - }, - "static/js/5.5cc0868a.chunk.js": { - filename: "static/js/5.5cc0868a.chunk.js", - contenttype: "text/javascript", - offset: 10199338, - len: 1842002, - }, - "static/js/5.5cc0868a.chunk.js.LICENSE": { - filename: "static/js/5.5cc0868a.chunk.js.LICENSE", - contenttype: "application/octet-stream", - offset: 14554809, - len: 3119, - }, - "static/js/5.5cc0868a.chunk.js.map": { - filename: "static/js/5.5cc0868a.chunk.js.map", - contenttype: "application/octet-stream", - offset: 289328, - len: 6632626, - }, - "static/js/6.b7681521.chunk.js": { - filename: "static/js/6.b7681521.chunk.js", - contenttype: "text/javascript", - offset: 14237363, - len: 222852, - }, - "static/js/6.b7681521.chunk.js.map": { - filename: "static/js/6.b7681521.chunk.js.map", - contenttype: "application/octet-stream", - offset: 12215299, - len: 655412, - }, - "static/js/7.0614dbc4.chunk.js": { - filename: "static/js/7.0614dbc4.chunk.js", - contenttype: "text/javascript", - offset: 6921954, - len: 6477, - }, - "static/js/7.0614dbc4.chunk.js.map": { - filename: "static/js/7.0614dbc4.chunk.js.map", - contenttype: "application/octet-stream", - offset: 12041340, - len: 13921, - }, - "static/js/8.7975098c.chunk.js": { - filename: "static/js/8.7975098c.chunk.js", - contenttype: "text/javascript", - offset: 13796515, - len: 420712, - }, - "static/js/8.7975098c.chunk.js.LICENSE": { - filename: "static/js/8.7975098c.chunk.js.LICENSE", - contenttype: "application/octet-stream", - offset: 13796191, - len: 324, - }, - "static/js/8.7975098c.chunk.js.map": { - filename: "static/js/8.7975098c.chunk.js.map", - contenttype: "application/octet-stream", - offset: 12871047, - len: 925144, - }, - "static/js/9.cc860b76.chunk.js": { - filename: "static/js/9.cc860b76.chunk.js", - contenttype: "text/javascript", - offset: 14557928, - len: 920812, - }, - "static/js/9.cc860b76.chunk.js.LICENSE": { - filename: "static/js/9.cc860b76.chunk.js.LICENSE", - contenttype: "application/octet-stream", - offset: 15478740, - len: 4559, - }, - "static/js/9.cc860b76.chunk.js.map": { - filename: "static/js/9.cc860b76.chunk.js.map", - contenttype: "application/octet-stream", - offset: 7434773, - len: 2764565, - }, - "static/js/main.a7822f79.chunk.js": { - filename: "static/js/main.a7822f79.chunk.js", - contenttype: "text/javascript", - offset: 7168627, - len: 131523, - }, - "static/js/main.a7822f79.chunk.js.map": { - filename: "static/js/main.a7822f79.chunk.js.map", - contenttype: "application/octet-stream", - offset: 6929101, - len: 239179, - }, - "static/js/runtime-main.68d129c6.js": { - filename: "static/js/runtime-main.68d129c6.js", - contenttype: "text/javascript", - offset: 14217227, - len: 3546, - }, - "static/js/runtime-main.68d129c6.js.map": { - filename: "static/js/runtime-main.68d129c6.js.map", - contenttype: "application/octet-stream", - offset: 14220773, - len: 16590, - }, - "static/media/arrow-down-blue.cd061363.svg": { - filename: "static/media/arrow-down-blue.cd061363.svg", - contenttype: "image/svg+xml", - offset: 219284, - len: 326, - }, - "static/media/arrow-down-grey.c0dedd2f.svg": { - filename: "static/media/arrow-down-grey.c0dedd2f.svg", - contenttype: "image/svg+xml", - offset: 196726, - len: 326, - }, - "static/media/arrow-right-white.337ad716.png": { - filename: "static/media/arrow-right-white.337ad716.png", - contenttype: "image/png", - offset: 197052, - len: 12999, - }, - "static/media/arrow-right.d285b6cf.svg": { - filename: "static/media/arrow-right.d285b6cf.svg", - contenttype: "image/svg+xml", - offset: 289065, - len: 263, - }, - "static/media/circle-grey.ed2a1dad.svg": { - filename: "static/media/circle-grey.ed2a1dad.svg", - contenttype: "image/svg+xml", - offset: 210213, - len: 321, - }, - "static/media/circle.2d975615.svg": { - filename: "static/media/circle.2d975615.svg", - contenttype: "image/svg+xml", - offset: 210534, - len: 321, - }, - "static/media/coinbaseWalletIcon.62578f59.svg": { - filename: "static/media/coinbaseWalletIcon.62578f59.svg", - contenttype: "image/svg+xml", - offset: 220450, - len: 53626, - }, - "static/media/dropdown-blue.b20914ec.svg": { - filename: "static/media/dropdown-blue.b20914ec.svg", - contenttype: "image/svg+xml", - offset: 47369, - len: 164, - }, - "static/media/dropdown.7d32d2fa.svg": { - filename: "static/media/dropdown.7d32d2fa.svg", - contenttype: "image/svg+xml", - offset: 287941, - len: 164, - }, - "static/media/dropup-blue.b96d70e1.svg": { - filename: "static/media/dropup-blue.b96d70e1.svg", - contenttype: "image/svg+xml", - offset: 210051, - len: 162, - }, - "static/media/ethereum-logo.802c6eac.svg": { - filename: "static/media/ethereum-logo.802c6eac.svg", - contenttype: "image/svg+xml", - offset: 219610, - len: 840, - }, - "static/media/magnifying-glass.67440097.svg": { - filename: "static/media/magnifying-glass.67440097.svg", - contenttype: "image/svg+xml", - offset: 210855, - len: 8429, - }, - "static/media/metamask.023762b6.png": { - filename: "static/media/metamask.023762b6.png", - contenttype: "image/png", - offset: 61600, - len: 114217, - }, - "static/media/plus-blue.e8021e51.svg": { - filename: "static/media/plus-blue.e8021e51.svg", - contenttype: "image/svg+xml", - offset: 196237, - len: 190, - }, - "static/media/plus-grey.d8e0be7d.svg": { - filename: "static/media/plus-grey.d8e0be7d.svg", - contenttype: "image/svg+xml", - offset: 288875, - len: 190, - }, - "static/media/portisIcon.b234b2bf.png": { - filename: "static/media/portisIcon.b234b2bf.png", - contenttype: "image/png", - offset: 274076, - len: 13865, - }, - "static/media/question-mark.1ae4d9f4.svg": { - filename: "static/media/question-mark.1ae4d9f4.svg", - contenttype: "image/svg+xml", - offset: 175817, - len: 818, - }, - "static/media/question.cc0a2451.svg": { - filename: "static/media/question.cc0a2451.svg", - contenttype: "image/svg+xml", - offset: 288105, - len: 770, - }, - "static/media/spinner.be00fc4a.svg": { - filename: "static/media/spinner.be00fc4a.svg", - contenttype: "image/svg+xml", - offset: 47533, - len: 694, - }, - "static/media/trustWallet.edcc1ab5.png": { - filename: "static/media/trustWallet.edcc1ab5.png", - contenttype: "image/png", - offset: 176635, - len: 19602, - }, - "static/media/walletConnectIcon.8215855c.svg": { - filename: "static/media/walletConnectIcon.8215855c.svg", - contenttype: "image/svg+xml", - offset: 48227, - len: 13373, - }, - "static/media/x.5b8e2186.svg": { - filename: "static/media/x.5b8e2186.svg", - contenttype: "image/svg+xml", - offset: 196427, - len: 299, + headers: { + "skynet-skylink": "EADWpKD0myqH2tZa6xtKebg6kNnwYnI94fl4R8UKgNrmOA", + "skynet-file-metadata": { + filename: "build", + length: 15578459, + subfiles: { + "451.html": { + filename: "451.html", + contenttype: "text/html", + offset: 40966, + len: 200, + }, + "asset-manifest.json": { + filename: "asset-manifest.json", + contenttype: "application/json", + offset: 35832, + len: 5134, + }, + "favicon.ico": { + filename: "favicon.ico", + contenttype: "image/vnd.microsoft.icon", + len: 31701, + }, + "index.html": { + filename: "index.html", + contenttype: "text/html", + offset: 31701, + len: 4131, + }, + "locales/de.json": { + filename: "locales/de.json", + contenttype: "application/json", + offset: 15542609, + len: 4376, + }, + "locales/en.json": { + filename: "locales/en.json", + contenttype: "application/json", + offset: 15558827, + len: 4049, + }, + "locales/es-AR.json": { + filename: "locales/es-AR.json", + contenttype: "application/json", + offset: 15551984, + len: 3624, + }, + "locales/es-US.json": { + filename: "locales/es-US.json", + contenttype: "application/json", + offset: 15574829, + len: 3630, + }, + "locales/it-IT.json": { + filename: "locales/it-IT.json", + contenttype: "application/json", + offset: 15538386, + len: 4223, + }, + "locales/ro.json": { + filename: "locales/ro.json", + contenttype: "application/json", + offset: 15562876, + len: 3794, + }, + "locales/ru.json": { + filename: "locales/ru.json", + contenttype: "application/json", + offset: 15546985, + len: 4999, + }, + "locales/vi.json": { + filename: "locales/vi.json", + contenttype: "application/json", + offset: 15569928, + len: 4901, + }, + "locales/zh-CN.json": { + filename: "locales/zh-CN.json", + contenttype: "application/json", + offset: 15555608, + len: 3219, + }, + "locales/zh-TW.json": { + filename: "locales/zh-TW.json", + contenttype: "application/json", + offset: 15566670, + len: 3258, + }, + "manifest.json": { + filename: "manifest.json", + contenttype: "application/json", + offset: 41166, + len: 297, + }, + "precache-manifest.cd4677068c6058f8626d6818e2c12fd3.js": { + filename: "precache-manifest.cd4677068c6058f8626d6818e2c12fd3.js", + contenttype: "text/javascript", + offset: 41463, + len: 4721, + }, + "service-worker.js": { + filename: "service-worker.js", + contenttype: "text/javascript", + offset: 46184, + len: 1185, + }, + "static/css/0.07de6c03.chunk.css": { + filename: "static/css/0.07de6c03.chunk.css", + contenttype: "text/css", + offset: 15537249, + len: 285, + }, + "static/css/0.07de6c03.chunk.css.map": { + filename: "static/css/0.07de6c03.chunk.css.map", + contenttype: "application/octet-stream", + offset: 15537818, + len: 568, + }, + "static/css/5.d75e0ccb.chunk.css": { + filename: "static/css/5.d75e0ccb.chunk.css", + contenttype: "text/css", + offset: 15537534, + len: 284, + }, + "static/css/5.d75e0ccb.chunk.css.map": { + filename: "static/css/5.d75e0ccb.chunk.css.map", + contenttype: "application/octet-stream", + offset: 15536511, + len: 738, + }, + "static/js/0.58b0f69f.chunk.js": { + filename: "static/js/0.58b0f69f.chunk.js", + contenttype: "text/javascript", + offset: 7300150, + len: 30029, + }, + "static/js/0.58b0f69f.chunk.js.map": { + filename: "static/js/0.58b0f69f.chunk.js.map", + contenttype: "application/octet-stream", + offset: 12111459, + len: 81144, + }, + "static/js/1.19c370e0.chunk.js": { + filename: "static/js/1.19c370e0.chunk.js", + contenttype: "text/javascript", + offset: 15495781, + len: 40203, + }, + "static/js/1.19c370e0.chunk.js.map": { + filename: "static/js/1.19c370e0.chunk.js.map", + contenttype: "application/octet-stream", + offset: 7330179, + len: 104594, + }, + "static/js/10.8ea29dcd.chunk.js": { + filename: "static/js/10.8ea29dcd.chunk.js", + contenttype: "text/javascript", + offset: 15483299, + len: 12345, + }, + "static/js/10.8ea29dcd.chunk.js.map": { + filename: "static/js/10.8ea29dcd.chunk.js.map", + contenttype: "application/octet-stream", + offset: 14524416, + len: 30393, + }, + "static/js/11.764b8915.chunk.js": { + filename: "static/js/11.764b8915.chunk.js", + contenttype: "text/javascript", + offset: 12208196, + len: 7103, + }, + "static/js/11.764b8915.chunk.js.map": { + filename: "static/js/11.764b8915.chunk.js.map", + contenttype: "application/octet-stream", + offset: 12192603, + len: 15593, + }, + "static/js/12.88d4fbe5.chunk.js": { + filename: "static/js/12.88d4fbe5.chunk.js", + contenttype: "text/javascript", + offset: 12055261, + len: 16721, + }, + "static/js/12.88d4fbe5.chunk.js.map": { + filename: "static/js/12.88d4fbe5.chunk.js.map", + contenttype: "application/octet-stream", + offset: 14460215, + len: 46695, + }, + "static/js/13.ea207f69.chunk.js": { + filename: "static/js/13.ea207f69.chunk.js", + contenttype: "text/javascript", + offset: 7168280, + len: 347, + }, + "static/js/13.ea207f69.chunk.js.map": { + filename: "static/js/13.ea207f69.chunk.js.map", + contenttype: "application/octet-stream", + offset: 6928538, + len: 563, + }, + "static/js/14.d8bc0d4c.chunk.js": { + filename: "static/js/14.d8bc0d4c.chunk.js", + contenttype: "text/javascript", + offset: 12870711, + len: 336, + }, + "static/js/14.d8bc0d4c.chunk.js.map": { + filename: "static/js/14.d8bc0d4c.chunk.js.map", + contenttype: "application/octet-stream", + offset: 15535984, + len: 527, + }, + "static/js/15.e6215497.chunk.js": { + filename: "static/js/15.e6215497.chunk.js", + contenttype: "text/javascript", + offset: 15495644, + len: 137, + }, + "static/js/15.e6215497.chunk.js.map": { + filename: "static/js/15.e6215497.chunk.js.map", + contenttype: "application/octet-stream", + offset: 6928431, + len: 107, + }, + "static/js/2.f6da9598.chunk.js": { + filename: "static/js/2.f6da9598.chunk.js", + contenttype: "text/javascript", + offset: 14506910, + len: 17506, + }, + "static/js/2.f6da9598.chunk.js.map": { + filename: "static/js/2.f6da9598.chunk.js.map", + contenttype: "application/octet-stream", + offset: 12071982, + len: 39477, + }, + "static/js/5.5cc0868a.chunk.js": { + filename: "static/js/5.5cc0868a.chunk.js", + contenttype: "text/javascript", + offset: 10199338, + len: 1842002, + }, + "static/js/5.5cc0868a.chunk.js.LICENSE": { + filename: "static/js/5.5cc0868a.chunk.js.LICENSE", + contenttype: "application/octet-stream", + offset: 14554809, + len: 3119, + }, + "static/js/5.5cc0868a.chunk.js.map": { + filename: "static/js/5.5cc0868a.chunk.js.map", + contenttype: "application/octet-stream", + offset: 289328, + len: 6632626, + }, + "static/js/6.b7681521.chunk.js": { + filename: "static/js/6.b7681521.chunk.js", + contenttype: "text/javascript", + offset: 14237363, + len: 222852, + }, + "static/js/6.b7681521.chunk.js.map": { + filename: "static/js/6.b7681521.chunk.js.map", + contenttype: "application/octet-stream", + offset: 12215299, + len: 655412, + }, + "static/js/7.0614dbc4.chunk.js": { + filename: "static/js/7.0614dbc4.chunk.js", + contenttype: "text/javascript", + offset: 6921954, + len: 6477, + }, + "static/js/7.0614dbc4.chunk.js.map": { + filename: "static/js/7.0614dbc4.chunk.js.map", + contenttype: "application/octet-stream", + offset: 12041340, + len: 13921, + }, + "static/js/8.7975098c.chunk.js": { + filename: "static/js/8.7975098c.chunk.js", + contenttype: "text/javascript", + offset: 13796515, + len: 420712, + }, + "static/js/8.7975098c.chunk.js.LICENSE": { + filename: "static/js/8.7975098c.chunk.js.LICENSE", + contenttype: "application/octet-stream", + offset: 13796191, + len: 324, + }, + "static/js/8.7975098c.chunk.js.map": { + filename: "static/js/8.7975098c.chunk.js.map", + contenttype: "application/octet-stream", + offset: 12871047, + len: 925144, + }, + "static/js/9.cc860b76.chunk.js": { + filename: "static/js/9.cc860b76.chunk.js", + contenttype: "text/javascript", + offset: 14557928, + len: 920812, + }, + "static/js/9.cc860b76.chunk.js.LICENSE": { + filename: "static/js/9.cc860b76.chunk.js.LICENSE", + contenttype: "application/octet-stream", + offset: 15478740, + len: 4559, + }, + "static/js/9.cc860b76.chunk.js.map": { + filename: "static/js/9.cc860b76.chunk.js.map", + contenttype: "application/octet-stream", + offset: 7434773, + len: 2764565, + }, + "static/js/main.a7822f79.chunk.js": { + filename: "static/js/main.a7822f79.chunk.js", + contenttype: "text/javascript", + offset: 7168627, + len: 131523, + }, + "static/js/main.a7822f79.chunk.js.map": { + filename: "static/js/main.a7822f79.chunk.js.map", + contenttype: "application/octet-stream", + offset: 6929101, + len: 239179, + }, + "static/js/runtime-main.68d129c6.js": { + filename: "static/js/runtime-main.68d129c6.js", + contenttype: "text/javascript", + offset: 14217227, + len: 3546, + }, + "static/js/runtime-main.68d129c6.js.map": { + filename: "static/js/runtime-main.68d129c6.js.map", + contenttype: "application/octet-stream", + offset: 14220773, + len: 16590, + }, + "static/media/arrow-down-blue.cd061363.svg": { + filename: "static/media/arrow-down-blue.cd061363.svg", + contenttype: "image/svg+xml", + offset: 219284, + len: 326, + }, + "static/media/arrow-down-grey.c0dedd2f.svg": { + filename: "static/media/arrow-down-grey.c0dedd2f.svg", + contenttype: "image/svg+xml", + offset: 196726, + len: 326, + }, + "static/media/arrow-right-white.337ad716.png": { + filename: "static/media/arrow-right-white.337ad716.png", + contenttype: "image/png", + offset: 197052, + len: 12999, + }, + "static/media/arrow-right.d285b6cf.svg": { + filename: "static/media/arrow-right.d285b6cf.svg", + contenttype: "image/svg+xml", + offset: 289065, + len: 263, + }, + "static/media/circle-grey.ed2a1dad.svg": { + filename: "static/media/circle-grey.ed2a1dad.svg", + contenttype: "image/svg+xml", + offset: 210213, + len: 321, + }, + "static/media/circle.2d975615.svg": { + filename: "static/media/circle.2d975615.svg", + contenttype: "image/svg+xml", + offset: 210534, + len: 321, + }, + "static/media/coinbaseWalletIcon.62578f59.svg": { + filename: "static/media/coinbaseWalletIcon.62578f59.svg", + contenttype: "image/svg+xml", + offset: 220450, + len: 53626, + }, + "static/media/dropdown-blue.b20914ec.svg": { + filename: "static/media/dropdown-blue.b20914ec.svg", + contenttype: "image/svg+xml", + offset: 47369, + len: 164, + }, + "static/media/dropdown.7d32d2fa.svg": { + filename: "static/media/dropdown.7d32d2fa.svg", + contenttype: "image/svg+xml", + offset: 287941, + len: 164, + }, + "static/media/dropup-blue.b96d70e1.svg": { + filename: "static/media/dropup-blue.b96d70e1.svg", + contenttype: "image/svg+xml", + offset: 210051, + len: 162, + }, + "static/media/ethereum-logo.802c6eac.svg": { + filename: "static/media/ethereum-logo.802c6eac.svg", + contenttype: "image/svg+xml", + offset: 219610, + len: 840, + }, + "static/media/magnifying-glass.67440097.svg": { + filename: "static/media/magnifying-glass.67440097.svg", + contenttype: "image/svg+xml", + offset: 210855, + len: 8429, + }, + "static/media/metamask.023762b6.png": { + filename: "static/media/metamask.023762b6.png", + contenttype: "image/png", + offset: 61600, + len: 114217, + }, + "static/media/plus-blue.e8021e51.svg": { + filename: "static/media/plus-blue.e8021e51.svg", + contenttype: "image/svg+xml", + offset: 196237, + len: 190, + }, + "static/media/plus-grey.d8e0be7d.svg": { + filename: "static/media/plus-grey.d8e0be7d.svg", + contenttype: "image/svg+xml", + offset: 288875, + len: 190, + }, + "static/media/portisIcon.b234b2bf.png": { + filename: "static/media/portisIcon.b234b2bf.png", + contenttype: "image/png", + offset: 274076, + len: 13865, + }, + "static/media/question-mark.1ae4d9f4.svg": { + filename: "static/media/question-mark.1ae4d9f4.svg", + contenttype: "image/svg+xml", + offset: 175817, + len: 818, + }, + "static/media/question.cc0a2451.svg": { + filename: "static/media/question.cc0a2451.svg", + contenttype: "image/svg+xml", + offset: 288105, + len: 770, + }, + "static/media/spinner.be00fc4a.svg": { + filename: "static/media/spinner.be00fc4a.svg", + contenttype: "image/svg+xml", + offset: 47533, + len: 694, + }, + "static/media/trustWallet.edcc1ab5.png": { + filename: "static/media/trustWallet.edcc1ab5.png", + contenttype: "image/png", + offset: 176635, + len: 19602, + }, + "static/media/walletConnectIcon.8215855c.svg": { + filename: "static/media/walletConnectIcon.8215855c.svg", + contenttype: "image/svg+xml", + offset: 48227, + len: 13373, + }, + "static/media/x.5b8e2186.svg": { + filename: "static/media/x.5b8e2186.svg", + contenttype: "image/svg+xml", + offset: 196427, + len: 299, + }, }, }, + "content-disposition": 'inline; filename="build"', + "content-type": "text/html", }, }; @@ -547,7 +567,12 @@ function developMomentumCheck(done) { name: "Develop Momentum Index File", skylink: "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw/", bodyHash: developMomentumBodyHash, - metadata: developMomentumMetadata, + headers: { + "skynet-skylink": "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw", + "skynet-file-metadata": developMomentumMetadata, + "content-disposition": 'inline; filename="output"', + "content-type": "text/html", + }, }; skylinkVerification(done, linkInfo); @@ -560,7 +585,12 @@ function developMomentumRedirectCheck(done) { name: "Develop Momentum Index File", skylink: "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw", bodyHash: developMomentumBodyHash, - metadata: developMomentumMetadata, + headers: { + "skynet-skylink": "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw", + "skynet-file-metadata": developMomentumMetadata, + "content-disposition": 'inline; filename="output"', + "content-type": "text/html", + }, }; skylinkVerification(done, linkInfo); @@ -573,10 +603,15 @@ function developMomentumIndexFileCheck(done) { name: "Develop Momentum Index File", skylink: "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw/index.html", bodyHash: developMomentumBodyHash, - metadata: { - filename: "/index.html", - length: 4981, - subfiles: { "index.html": { filename: "index.html", contenttype: "text/html", len: 4981 } }, + headers: { + "skynet-skylink": "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw", + "skynet-file-metadata": { + filename: "/index.html", + length: 4981, + subfiles: { "index.html": { filename: "index.html", contenttype: "text/html", len: 4981 } }, + }, + "content-disposition": 'inline; filename="index.html"', + "content-type": "text/html; charset=utf-8", }, }; @@ -590,7 +625,12 @@ function htmlExampleCheck(done) { name: "HTML Example", skylink: "PAL0w4SdA5rFCDGEutgpeQ50Om-YkBabtXVOJAkmedslKw", bodyHash: "c932fd56f98b6db589e56be8018817f13bb29f72", - metadata: { filename: "introduction – Sia API Documentation.html" }, + headers: { + "skynet-skylink": "PAL0w4SdA5rFCDGEutgpeQ50Om-YkBabtXVOJAkmedslKw", + "skynet-file-metadata": { filename: "introduction â\x80\x93 Sia API Documentation.html" }, + "content-disposition": 'inline; filename="introduction â\x80\x93 Sia API Documentation.html"', + "content-type": "text/html; charset=utf-8", + }, }; skylinkVerification(done, linkInfo); @@ -603,7 +643,12 @@ function imageExampleCheck(done) { name: "Image Example", skylink: "IADUs8d9CQjUO34LmdaaNPK_STuZo24rpKVfYW3wPPM2uQ", bodyHash: "313207978d0a88bf2b961f098804e9ab0f82837f", - metadata: { filename: "sia-lm.png" }, + headers: { + "skynet-skylink": "IADUs8d9CQjUO34LmdaaNPK_STuZo24rpKVfYW3wPPM2uQ", + "skynet-file-metadata": { filename: "sia-lm.png" }, + "content-disposition": 'inline; filename="sia-lm.png"', + "content-type": "image/png", + }, }; skylinkVerification(done, linkInfo); @@ -616,7 +661,12 @@ function jsonExampleCheck(done) { name: "JSON Example", skylink: "AAC0uO43g64ULpyrW0zO3bjEknSFbAhm8c-RFP21EQlmSQ", bodyHash: "198771c3d07d5c7302aadcc0697a7298e5e8ccc3", - metadata: { filename: "consensus.json" }, + headers: { + "skynet-skylink": "AAC0uO43g64ULpyrW0zO3bjEknSFbAhm8c-RFP21EQlmSQ", + "skynet-file-metadata": { filename: "consensus.json" }, + "content-disposition": 'inline; filename="consensus.json"', + "content-type": "application/json", + }, }; skylinkVerification(done, linkInfo); @@ -629,7 +679,12 @@ function pdfExampleCheck(done) { name: "PDF Example", skylink: "XABvi7JtJbQSMAcDwnUnmp2FKDPjg8_tTTFP4BwMSxVdEg", bodyHash: "9bd8162e1575569a9041972f7f62d65887063dc3", - metadata: { filename: "sia.pdf" }, + headers: { + "skynet-skylink": "XABvi7JtJbQSMAcDwnUnmp2FKDPjg8_tTTFP4BwMSxVdEg", + "skynet-file-metadata": { filename: "sia.pdf" }, + "content-disposition": 'inline; filename="sia.pdf"', + "content-type": "application/pdf", + }, }; skylinkVerification(done, linkInfo); @@ -642,10 +697,15 @@ function randomImageCheck(done) { name: "Random Image", skylink: "PAHx7JmsU9EFGbqm5q0LNKT2wKfoJ_mhPI8zWlNEXZ8uOQ/", bodyHash: "4c73c5a0eddd5823be677d7f93bf80cc9338ee9f", - metadata: { - filename: "30355444.png", - subfiles: { "30355444.png": { filename: "30355444.png", contenttype: "image/png", len: 350473 } }, - defaultpath: "/30355444.png", + headers: { + "skynet-skylink": "PAHx7JmsU9EFGbqm5q0LNKT2wKfoJ_mhPI8zWlNEXZ8uOQ", + "skynet-file-metadata": { + filename: "30355444.png", + subfiles: { "30355444.png": { filename: "30355444.png", contenttype: "image/png", len: 350473 } }, + defaultpath: "/30355444.png", + }, + "content-disposition": 'inline; filename="30355444.png"', + "content-type": "image/png", }, }; @@ -659,10 +719,15 @@ function randomImageRedirectCheck(done) { name: "Random Image Redirect", skylink: "PAHx7JmsU9EFGbqm5q0LNKT2wKfoJ_mhPI8zWlNEXZ8uOQ", bodyHash: "4c73c5a0eddd5823be677d7f93bf80cc9338ee9f", - metadata: { - filename: "30355444.png", - subfiles: { "30355444.png": { filename: "30355444.png", contenttype: "image/png", len: 350473 } }, - defaultpath: "/30355444.png", + headers: { + "skynet-skylink": "PAHx7JmsU9EFGbqm5q0LNKT2wKfoJ_mhPI8zWlNEXZ8uOQ", + "skynet-file-metadata": { + filename: "30355444.png", + subfiles: { "30355444.png": { filename: "30355444.png", contenttype: "image/png", len: 350473 } }, + defaultpath: "/30355444.png", + }, + "content-disposition": 'inline; filename="30355444.png"', + "content-type": "image/png", }, }; @@ -675,9 +740,14 @@ function skyBayCheck(done) { name: "SkyBay", skylink: "EABkMjXzxJRpPz0eO0Or5fy2eo-rz3prdigGwRlyNd9mwA/", bodyHash: "25d63937c9734fb08d2749c6517d1b3de8ecb856", - metadata: { - filename: "skybay.html", - subfiles: { "skybay.html": { filename: "skybay.html", contenttype: "text/html", len: 11655 } }, + headers: { + "skynet-skylink": "EABkMjXzxJRpPz0eO0Or5fy2eo-rz3prdigGwRlyNd9mwA", + "skynet-file-metadata": { + filename: "skybay.html", + subfiles: { "skybay.html": { filename: "skybay.html", contenttype: "text/html", len: 11655 } }, + }, + "content-disposition": 'inline; filename="skybay.html"', + "content-type": "text/html", }, }; @@ -691,9 +761,14 @@ function skyBayRedirectCheck(done) { name: "SkyBay Redirect", skylink: "EABkMjXzxJRpPz0eO0Or5fy2eo-rz3prdigGwRlyNd9mwA", bodyHash: "25d63937c9734fb08d2749c6517d1b3de8ecb856", - metadata: { - filename: "skybay.html", - subfiles: { "skybay.html": { filename: "skybay.html", contenttype: "text/html", len: 11655 } }, + headers: { + "skynet-skylink": "EABkMjXzxJRpPz0eO0Or5fy2eo-rz3prdigGwRlyNd9mwA", + "skynet-file-metadata": { + filename: "skybay.html", + subfiles: { "skybay.html": { filename: "skybay.html", contenttype: "text/html", len: 11655 } }, + }, + "content-disposition": 'inline; filename="skybay.html"', + "content-type": "text/html", }, }; @@ -706,7 +781,12 @@ function skyBinCheck(done) { name: "SkyBin", skylink: "CAAVU14pB9GRIqCrejD7rlS27HltGGiiCLICzmrBV0wVtA/", bodyHash: "767ec67c417e11b97c5db7dad9ea3b6b27cb0d39", - metadata: { filename: "skybin.html" }, + headers: { + "skynet-skylink": "CAAVU14pB9GRIqCrejD7rlS27HltGGiiCLICzmrBV0wVtA", + "skynet-file-metadata": { filename: "skybin.html" }, + "content-disposition": 'inline; filename="skybin.html"', + "content-type": "text/html; charset=utf-8", + }, }; skylinkVerification(done, linkInfo); @@ -719,7 +799,12 @@ function skyBinRedirectCheck(done) { name: "SkyBin Redirect", skylink: "CAAVU14pB9GRIqCrejD7rlS27HltGGiiCLICzmrBV0wVtA", bodyHash: "767ec67c417e11b97c5db7dad9ea3b6b27cb0d39", - metadata: { filename: "skybin.html" }, + headers: { + "skynet-skylink": "CAAVU14pB9GRIqCrejD7rlS27HltGGiiCLICzmrBV0wVtA", + "skynet-file-metadata": { filename: "skybin.html" }, + "content-disposition": 'inline; filename="skybin.html"', + "content-type": "text/html; charset=utf-8", + }, }; skylinkVerification(done, linkInfo); @@ -734,7 +819,12 @@ function skyGalleryCheck(done) { name: "SkyGallery", skylink: "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg/", bodyHash: skyGalleryBodyHash, - metadata: skyGalleryMetadata, + headers: { + "skynet-skylink": "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg", + "skynet-file-metadata": skyGalleryMetadata, + "content-disposition": 'inline; filename="skygallery-v0.1.1-76c4c115fcb526716b2564568850f433"', + "content-type": "text/html", + }, }; skylinkVerification(done, linkInfo); @@ -747,10 +837,15 @@ function skyGalleryIndexFileCheck(done) { name: "SkyGallery Index File", skylink: "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg/index.html", bodyHash: skyGalleryBodyHash, - metadata: { - filename: "/index.html", - length: 2534, - subfiles: { "index.html": { filename: "index.html", contenttype: "text/html", len: 2534 } }, + headers: { + "skynet-skylink": "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg", + "skynet-file-metadata": { + filename: "/index.html", + length: 2534, + subfiles: { "index.html": { filename: "index.html", contenttype: "text/html", len: 2534 } }, + }, + "content-disposition": 'inline; filename="index.html"', + "content-type": "text/html; charset=utf-8", }, }; @@ -764,7 +859,12 @@ function skyGalleryRedirectCheck(done) { name: "SkyGallery Redirect", skylink: "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg", bodyHash: skyGalleryBodyHash, - metadata: skyGalleryMetadata, + headers: { + "skynet-skylink": "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg", + "skynet-file-metadata": skyGalleryMetadata, + "content-disposition": 'inline; filename="skygallery-v0.1.1-76c4c115fcb526716b2564568850f433"', + "content-type": "text/html", + }, }; skylinkVerification(done, linkInfo); @@ -777,21 +877,39 @@ function uncensoredLibraryCheck(done) { name: "Uncensored Library", skylink: "AAC5glnZyNJ4Ieb4MhnYJGtID6qdMqEjl0or5EvEMt7bWQ", bodyHash: "60da6cb958699c5acd7f2a2911656ff32fca89a7", - metadata: { - filename: "Unzip_The_Uncensored_Library_Map.zip", - subfiles: { - "Unzip_The_Uncensored_Library_Map.zip": { - filename: "Unzip_The_Uncensored_Library_Map.zip", - contenttype: "application/zip", - len: 76744822, + headers: { + "skynet-skylink": undefined, + "skynet-file-metadata": { + filename: "Unzip_The_Uncensored_Library_Map.zip", + subfiles: { + "Unzip_The_Uncensored_Library_Map.zip": { + filename: "Unzip_The_Uncensored_Library_Map.zip", + contenttype: "application/zip", + len: 76744822, + }, }, }, + "content-disposition": 'attachment; filename="Unzip_The_Uncensored_Library_Map.zip"', + "content-type": "application/octet-stream", }, }; skylinkVerification(done, linkInfo); } +function bitcoinWhitepaper(done) { + skylinkVerification(done, { + name: "Bitcoin Whitepaper", + skylink: "3ACpC9Umme41zlWUgMQh1fw0sNwgWwyfDDhRQ9Sppz9hjQ", + bodyHash: "5d1fd2c37c1a3409cfc41861f4206472559670f3", + headers: { + "skynet-skylink": "3ACpC9Umme41zlWUgMQh1fw0sNwgWwyfDDhRQ9Sppz9hjQ", + "content-disposition": 'inline; filename="bitcoin.pdf"', + "content-type": "application/pdf", + }, + }); +} + const uniswapBodyHash = "3965f9a7def085b3a764ddc76a528eda38d72359"; const uniswapMetadata = require("../fixtures/uniswapMetadata.json"); @@ -889,12 +1007,37 @@ function uniswapHNSResolverRedirectCheck(done) { skylinkVerification(done, linkInfo); } +// check whether content disposition is set correctly for downloads +function fileEndpointCheck(done) { + const linkInfo = { + name: "File endpoint check", + skylink: "file/XABvi7JtJbQSMAcDwnUnmp2FKDPjg8_tTTFP4BwMSxVdEg", + bodyHash: "9bd8162e1575569a9041972f7f62d65887063dc3", + headers: { + "skynet-skylink": "XABvi7JtJbQSMAcDwnUnmp2FKDPjg8_tTTFP4BwMSxVdEg", + "skynet-file-metadata": { filename: "sia.pdf" }, + "content-disposition": 'attachment; filename="sia.pdf"', + "content-type": "application/pdf", + }, + }; + + skylinkVerification(done, linkInfo); +} + +function parseHeaderString(header) { + try { + return JSON.parse(header); + } catch { + return header; + } +} + // skylinkVerification verifies a skylink against provided information. -function skylinkVerification(done, { name, skylink, bodyHash, metadata }) { +function skylinkVerification(done, { name, skylink, bodyHash, headers }) { const time = process.hrtime(); // Create the query for the skylink - const query = `http://${process.env.PORTAL_URL}/${skylink}?nocache=true`; + const query = `https://${process.env.PORTAL_URL}/${skylink}?nocache=true`; // Get the Skylink superagent @@ -912,13 +1055,20 @@ function skylinkVerification(done, { name, skylink, bodyHash, metadata }) { info.bodyHash = { expected: bodyHash, current: currentBodyHash }; } - // Check if the metadata is valid by deep comparing expected value with response - const metadataHeader = response.header["skynet-file-metadata"]; - const currentMetadata = metadataHeader && JSON.parse(metadataHeader); - if (!isEqual(currentMetadata, metadata)) { - entry.up = false; + if (headers) { + Object.entries(headers).forEach(([headerName, expectedHeader]) => { + const currentHeader = parseHeaderString(response.header[headerName]); + if (!isEqual(currentHeader, expectedHeader)) { + entry.up = false; - info.metadata = ensureValidJSON(detailedDiff(metadata, currentMetadata)); + info.headers = info.headers ?? {}; + if (typeof currentHeader === "object") { + info.headers[headerName] = ensureValidJSON(detailedDiff(expectedHeader, currentHeader)); + } else { + info.headers[headerName] = currentHeader; + } + } + }); } if (Object.keys(info).length) entry.info = info; // add info only if it exists @@ -959,11 +1109,13 @@ module.exports.verboseChecks = [ skyGalleryIndexFileCheck, skyGalleryRedirectCheck, uncensoredLibraryCheck, + fileEndpointCheck, + bitcoinWhitepaper, // uniswapIndexFileCheck, // uniswapCheck, // uniswapRedirectCheck, // uniswapHNSCheck, // uniswapHNSRedirectCheck, - // uniswapHNSResolverCheck, - // uniswapHNSResolverRedirectCheck, + uniswapHNSResolverCheck, + uniswapHNSResolverRedirectCheck, ]; From 127483f823c53799f07b3af7993240f98634411f Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Sat, 23 Jan 2021 18:59:03 +0100 Subject: [PATCH 13/16] fix issue with health-checks --- packages/health-check/src/checks/verbose.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/health-check/src/checks/verbose.js b/packages/health-check/src/checks/verbose.js index 7b330c06..1c9ded58 100644 --- a/packages/health-check/src/checks/verbose.js +++ b/packages/health-check/src/checks/verbose.js @@ -1037,7 +1037,7 @@ function skylinkVerification(done, { name, skylink, bodyHash, headers }) { const time = process.hrtime(); // Create the query for the skylink - const query = `https://${process.env.PORTAL_URL}/${skylink}?nocache=true`; + const query = `http://${process.env.PORTAL_URL}/${skylink}?nocache=true`; // Get the Skylink superagent From b3ef6eaf62f79bf472eb6e0a59a440a804117ab8 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Sat, 23 Jan 2021 19:17:49 +0100 Subject: [PATCH 14/16] store maintenance upgrade script --- scripts/maintenance-upgrade.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 scripts/maintenance-upgrade.sh diff --git a/scripts/maintenance-upgrade.sh b/scripts/maintenance-upgrade.sh new file mode 100644 index 00000000..f9ca1b40 --- /dev/null +++ b/scripts/maintenance-upgrade.sh @@ -0,0 +1,16 @@ +#! /usr/bin/env bash + +############################################################### +# this script is an automation for restarting docker containers +# on maintenance nodes strictly built for purpose of siasky.net +############################################################### + +set -e # exit on first error + +docker build --no-cache --quiet --build-arg branch=master -t sia-master /home/user/sia-dockerfile + +for container in `docker container ls --format '{{.Names}}'`; do + docker stop $container + docker rm $container + docker run -d -v /home/user/nodes/$container/sia-data:/sia-data --env-file /home/user/nodes/$container/.env --name $container --log-opt max-size=100m --log-opt max-file=3 sia-master +done From d0804c5547681bf71ac1602cf834dc59bba0ac7c Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Sat, 23 Jan 2021 19:19:40 +0100 Subject: [PATCH 15/16] fix maintenance script permissions --- scripts/maintenance-upgrade.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 scripts/maintenance-upgrade.sh diff --git a/scripts/maintenance-upgrade.sh b/scripts/maintenance-upgrade.sh old mode 100644 new mode 100755 From c3d1e60a119db5fde76ae1c8c08517814bd6a573 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 23 Jan 2021 18:32:25 +0000 Subject: [PATCH 16/16] Bump husky from 4.3.0 to 4.3.8 in /packages/webapp Bumps [husky](https://github.com/typicode/husky) from 4.3.0 to 4.3.8. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](https://github.com/typicode/husky/compare/v4.3.0...v4.3.8) Signed-off-by: dependabot[bot] --- packages/webapp/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp/package.json b/packages/webapp/package.json index 0878b68c..fa287624 100644 --- a/packages/webapp/package.json +++ b/packages/webapp/package.json @@ -42,7 +42,7 @@ "eslint-config-prettier": "7.2.0", "eslint-plugin-cypress": "2.11.2", "eslint-plugin-react": "7.22.0", - "husky": "4.3.0", + "husky": "4.3.8", "lint-staged": "10.5.3", "prettier": "2.2.1" },