diff --git a/.github/workflows/update-test-data.yml b/.github/workflows/update-test-data.yml deleted file mode 100644 index ea1a7d72..00000000 --- a/.github/workflows/update-test-data.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Update Test Data - -on: - schedule: - # Run job hourly - - cron: '0 * * * *' - -jobs: - update-test-data: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - # Helper for grabbing the branch name - - uses: nelonoel/branch-name@v1.0.1 - - name: Use Node.js - uses: actions/setup-node@v2 - with: - node-version: 16.x - - # Install node modules for updatetestdata.js script - - name: Install Dependencies - run: | - npm install got - npm install prettier - - # Generate the new test data for the Health Checks - - name: Generate test data - run: | - node packages/health-check/src/updatetestdata.js > packages/health-check/src/fixtures/testdata.json - npx prettier --write packages/health-check/src/fixtures/testdata.json - - # Commit the Updates to the test data - - name: Update test data - uses: test-room-7/action-update-file@v1 - with: - file-path: packages/health-check/src/fixtures/testdata.json - commit-msg: Update testdata from Github Actions - branch: ${{ env.BRANCH_NAME }} - github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/packages/health-check/package.json b/packages/health-check/package.json index 7657ae05..5062435f 100644 --- a/packages/health-check/package.json +++ b/packages/health-check/package.json @@ -14,6 +14,7 @@ "lodash": "^4.17.21", "lowdb": "^1.0.0", "skynet-js": "^3.0.2", + "testing-corpus": "https://github.com/SkynetLabs/testing-corpus", "write-file-atomic": "^3.0.3", "yargs": "^17.2.1" }, diff --git a/packages/health-check/src/checks/extended.js b/packages/health-check/src/checks/extended.js index d2e05483..bf0351c6 100644 --- a/packages/health-check/src/checks/extended.js +++ b/packages/health-check/src/checks/extended.js @@ -4,15 +4,13 @@ const { detailedDiff } = require("deep-object-diff"); const { isEqual } = require("lodash"); const { calculateElapsedTime, ensureValidJSON, getResponseContent } = require("../utils"); const { parseSkylink } = require("skynet-js"); +const { TestData } = require("testing-corpus"); // corpusCheck runs through all the tests hosted at the resolver skylink created // by the testing-corpus repo https://github.com/SkynetLabs/testing-corpus async function corpusCheck(done) { - // Load Test Data from file - const testData = require("../fixtures/testdata.json"); - // Loop over test data and execute tests - testData.forEach((test) => { + TestData.forEach((test) => { if (test.skylink) { // Skylink Verification skylinkVerification(done, test); diff --git a/packages/health-check/src/fixtures/testdata.json b/packages/health-check/src/fixtures/testdata.json deleted file mode 100644 index ca080cbe..00000000 --- a/packages/health-check/src/fixtures/testdata.json +++ /dev/null @@ -1,1453 +0,0 @@ -[ - { - "name": "Audio Example", - "skylink": "_A2zt5SKoqwnnZU4cBF8uBycSKULXMyeg1c5ZISBr2Q3dA", - "bodyHash": "1bea1f570043f20149ae4cb4d30089d90897b15b", - "metadata": { "filename": "feel-good.mp3" }, - "headers": { - "skynet-skylink": "_A2zt5SKoqwnnZU4cBF8uBycSKULXMyeg1c5ZISBr2Q3dA", - "content-disposition": "inline; filename=\"feel-good.mp3\"", - "content-type": "audio/mpeg" - } - }, - { - "name": "Bitcoin Whitepaper", - "skylink": "3ACpC9Umme41zlWUgMQh1fw0sNwgWwyfDDhRQ9Sppz9hjQ", - "bodyHash": "8de2fdb04edce612738eb51e14ecc426381f8ed8", - "headers": { - "skynet-skylink": "3ACpC9Umme41zlWUgMQh1fw0sNwgWwyfDDhRQ9Sppz9hjQ", - "content-disposition": "inline; filename=\"bitcoin.pdf\"", - "content-type": "application/pdf" - } - }, - { "name": "Chat Bubble HNS", "hns": "chatbubble" }, - { "name": "Covert Skylink HNS", "hns": "convert-skylink" }, - { - "name": "Covid-19 Paper", - "skylink": "PAMZVmfutxWoG6Wnl5BRKuWLkDNZR42k_okRRvksJekA3A", - "bodyHash": "7ce20bfc4221503fd0bf909ad20c422eca125c7d", - "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", - "content-disposition": "inline; filename=\"An Effective Treatment for Coronavirus (COVID-19).pdf\"", - "content-type": "application/pdf" - } - }, - { - "name": "Covid-19 CoroNope Paper", - "skylink": "bACLKGmcmX4NCp47WwOOJf0lU666VLeT5HRWpWVtqZPjEA", - "bodyHash": "0db705da1b1232f8344ed74fd38245d35a49a965", - "metadata": { "filename": "coronope.pdf" }, - "headers": { - "skynet-skylink": "bACLKGmcmX4NCp47WwOOJf0lU666VLeT5HRWpWVtqZPjEA", - "content-disposition": "inline; filename=\"coronope.pdf\"", - "content-type": "application/pdf" - } - }, - { - "name": "Dapp Example (UniSwap)", - "skylink": "EADWpKD0myqH2tZa6xtKebg6kNnwYnI94fl4R8UKgNrmOA", - "bodyHash": "7b74cbb5927e964db493b82cc1f8a532f1ff72f5", - "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", - "content-disposition": "inline; filename=\"index.html\"", - "content-type": "text/html" - } - }, - { - "name": "Develop Momentum Index File", - "skylink": "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw/", - "bodyHash": "08e96877dd6c99c3e1d98105f2fd9df377b53d65", - "headers": { - "skynet-skylink": "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw", - "content-disposition": "inline; filename=\"index.html\"", - "content-type": "text/html" - } - }, - { - "name": "Develop Momentum Index File - no trailing slash", - "skylink": "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw", - "bodyHash": "08e96877dd6c99c3e1d98105f2fd9df377b53d65", - "metadata": { - "filename": "output", - "subfiles": { - ".well-known/brave-rewards-verification.txt": { - "filename": ".well-known/brave-rewards-verification.txt", - "contenttype": "text/plain", - "len": 154 - }, - "404.html": { "filename": "404.html", "contenttype": "text/html", "offset": 154, "len": 5482 }, - "assets/bootstrap/bootstrap-grid.css": { - "filename": "assets/bootstrap/bootstrap-grid.css", - "contenttype": "text/css", - "offset": 5636, - "len": 49901 - }, - "assets/bootstrap/bootstrap-reboot.css": { - "filename": "assets/bootstrap/bootstrap-reboot.css", - "contenttype": "text/css", - "offset": 55537, - "len": 4187 - }, - "assets/bootstrap/bootstrap.css": { - "filename": "assets/bootstrap/bootstrap.css", - "contenttype": "text/css", - "offset": 59724, - "len": 172594 - }, - "assets/css/styles.css": { - "filename": "assets/css/styles.css", - "contenttype": "text/css", - "offset": 232318, - "len": 4887 - }, - "assets/fonts/dm-serif-display-v4-latin-regular.woff": { - "filename": "assets/fonts/dm-serif-display-v4-latin-regular.woff", - "contenttype": "application/font-woff", - "offset": 237205, - "len": 29916 - }, - "assets/fonts/dm-serif-display-v4-latin-regular.woff2": { - "filename": "assets/fonts/dm-serif-display-v4-latin-regular.woff2", - "contenttype": "application/octet-stream", - "offset": 267121, - "len": 24980 - }, - "assets/fonts/open-sans-v16-latin-regular.woff": { - "filename": "assets/fonts/open-sans-v16-latin-regular.woff", - "contenttype": "application/font-woff", - "offset": 292101, - "len": 18100 - }, - "assets/fonts/open-sans-v16-latin-regular.woff2": { - "filename": "assets/fonts/open-sans-v16-latin-regular.woff2", - "contenttype": "application/octet-stream", - "offset": 310201, - "len": 14380 - }, - "assets/fonts/questrial-v9-latin-regular.woff": { - "filename": "assets/fonts/questrial-v9-latin-regular.woff", - "contenttype": "application/font-woff", - "offset": 324581, - "len": 23048 - }, - "assets/fonts/questrial-v9-latin-regular.woff2": { - "filename": "assets/fonts/questrial-v9-latin-regular.woff2", - "contenttype": "application/octet-stream", - "offset": 347629, - "len": 13776 - }, - "assets/images/blog/2a40df99-1847-4726-9c5b-af4779eeb667-w1920-h1440.jpg": { - "filename": "assets/images/blog/2a40df99-1847-4726-9c5b-af4779eeb667-w1920-h1440.jpg", - "contenttype": "image/jpeg", - "offset": 361405, - "len": 79551 - }, - "assets/images/blog/2a40df99-1847-4726-9c5b-af4779eeb667-w960-h720.jpg": { - "filename": "assets/images/blog/2a40df99-1847-4726-9c5b-af4779eeb667-w960-h720.jpg", - "contenttype": "image/jpeg", - "offset": 440956, - "len": 31700 - }, - "assets/images/blog/2a40df99-1847-4726-9c5b-af4779eeb667.jpg": { - "filename": "assets/images/blog/2a40df99-1847-4726-9c5b-af4779eeb667.jpg", - "contenttype": "image/jpeg", - "offset": 472656, - "len": 69094 - }, - "assets/images/blog/512e4dd1-6b3d-41aa-80a1-b96c3370b3c3-w1920-h1440.jpg": { - "filename": "assets/images/blog/512e4dd1-6b3d-41aa-80a1-b96c3370b3c3-w1920-h1440.jpg", - "contenttype": "image/jpeg", - "offset": 541750, - "len": 219602 - }, - "assets/images/blog/512e4dd1-6b3d-41aa-80a1-b96c3370b3c3-w960-h720.jpg": { - "filename": "assets/images/blog/512e4dd1-6b3d-41aa-80a1-b96c3370b3c3-w960-h720.jpg", - "contenttype": "image/jpeg", - "offset": 761352, - "len": 67741 - }, - "assets/images/blog/512e4dd1-6b3d-41aa-80a1-b96c3370b3c3.jpg": { - "filename": "assets/images/blog/512e4dd1-6b3d-41aa-80a1-b96c3370b3c3.jpg", - "contenttype": "image/jpeg", - "offset": 829093, - "len": 226910 - }, - "assets/images/blog/823a7764-af7c-4687-a42e-bd70768068ab-w1920-h1440.jpg": { - "filename": "assets/images/blog/823a7764-af7c-4687-a42e-bd70768068ab-w1920-h1440.jpg", - "contenttype": "image/jpeg", - "offset": 1056003, - "len": 258292 - }, - "assets/images/blog/823a7764-af7c-4687-a42e-bd70768068ab-w960-h720.jpg": { - "filename": "assets/images/blog/823a7764-af7c-4687-a42e-bd70768068ab-w960-h720.jpg", - "contenttype": "image/jpeg", - "offset": 1314295, - "len": 93250 - }, - "assets/images/blog/823a7764-af7c-4687-a42e-bd70768068ab.jpg": { - "filename": "assets/images/blog/823a7764-af7c-4687-a42e-bd70768068ab.jpg", - "contenttype": "image/jpeg", - "offset": 1407545, - "len": 236722 - }, - "assets/images/blog/9aeea0d6-737c-4be8-8b63-5ec38cbf394b-w1920-h1440.jpg": { - "filename": "assets/images/blog/9aeea0d6-737c-4be8-8b63-5ec38cbf394b-w1920-h1440.jpg", - "contenttype": "image/jpeg", - "offset": 1644267, - "len": 285727 - }, - "assets/images/blog/9aeea0d6-737c-4be8-8b63-5ec38cbf394b-w960-h720.jpg": { - "filename": "assets/images/blog/9aeea0d6-737c-4be8-8b63-5ec38cbf394b-w960-h720.jpg", - "contenttype": "image/jpeg", - "offset": 1929994, - "len": 115524 - }, - "assets/images/blog/9aeea0d6-737c-4be8-8b63-5ec38cbf394b.jpg": { - "filename": "assets/images/blog/9aeea0d6-737c-4be8-8b63-5ec38cbf394b.jpg", - "contenttype": "image/jpeg", - "offset": 2045518, - "len": 338905 - }, - "assets/images/blog/a1ee6dcf-55ef-43cd-ae05-682d2e28e932-w1920-h1440.jpg": { - "filename": "assets/images/blog/a1ee6dcf-55ef-43cd-ae05-682d2e28e932-w1920-h1440.jpg", - "contenttype": "image/jpeg", - "offset": 2384423, - "len": 66608 - }, - "assets/images/blog/a1ee6dcf-55ef-43cd-ae05-682d2e28e932-w960-h720.jpg": { - "filename": "assets/images/blog/a1ee6dcf-55ef-43cd-ae05-682d2e28e932-w960-h720.jpg", - "contenttype": "image/jpeg", - "offset": 2451031, - "len": 23239 - }, - "assets/images/blog/a1ee6dcf-55ef-43cd-ae05-682d2e28e932.jpg": { - "filename": "assets/images/blog/a1ee6dcf-55ef-43cd-ae05-682d2e28e932.jpg", - "contenttype": "image/jpeg", - "offset": 2474270, - "len": 82334 - }, - "assets/images/blog/content/17343f27-a62f-4193-a0e5-4190d948eb2e.png": { - "filename": "assets/images/blog/content/17343f27-a62f-4193-a0e5-4190d948eb2e.png", - "contenttype": "image/png", - "offset": 2556604, - "len": 8571 - }, - "assets/images/blog/content/1748cc9c-9ea0-47b8-a110-ad3a114408d1.png": { - "filename": "assets/images/blog/content/1748cc9c-9ea0-47b8-a110-ad3a114408d1.png", - "contenttype": "image/png", - "offset": 2565175, - "len": 19776 - }, - "assets/images/blog/content/27b98c5e-ba57-47e6-9fe7-9b82fb89868b.jpg": { - "filename": "assets/images/blog/content/27b98c5e-ba57-47e6-9fe7-9b82fb89868b.jpg", - "contenttype": "image/jpeg", - "offset": 2584951, - "len": 68054 - }, - "assets/images/blog/content/39374de9-f24a-46f6-9955-982687607c6d.png": { - "filename": "assets/images/blog/content/39374de9-f24a-46f6-9955-982687607c6d.png", - "contenttype": "image/png", - "offset": 2653005, - "len": 30305 - }, - "assets/images/blog/content/5c660f5c-04fb-46cd-9846-edccb9a7b778.jpg": { - "filename": "assets/images/blog/content/5c660f5c-04fb-46cd-9846-edccb9a7b778.jpg", - "contenttype": "image/jpeg", - "offset": 2683310, - "len": 10409 - }, - "assets/images/blog/content/5cb6fb87-75d0-4aa4-99c7-b7815ca7ea70.png": { - "filename": "assets/images/blog/content/5cb6fb87-75d0-4aa4-99c7-b7815ca7ea70.png", - "contenttype": "image/png", - "offset": 2693719, - "len": 123977 - }, - "assets/images/blog/content/765827f6-192b-48c9-b3e1-cb7b33e3b881.png": { - "filename": "assets/images/blog/content/765827f6-192b-48c9-b3e1-cb7b33e3b881.png", - "contenttype": "image/png", - "offset": 2817696, - "len": 110297 - }, - "assets/images/blog/content/7b39a2f8-8060-43e7-a439-43f799d3e069.jpg": { - "filename": "assets/images/blog/content/7b39a2f8-8060-43e7-a439-43f799d3e069.jpg", - "contenttype": "image/jpeg", - "offset": 2927993, - "len": 24372 - }, - "assets/images/blog/content/8af4faff-e011-4e31-ba28-5023f65d1003.png": { - "filename": "assets/images/blog/content/8af4faff-e011-4e31-ba28-5023f65d1003.png", - "contenttype": "image/png", - "offset": 2952365, - "len": 106400 - }, - "assets/images/blog/content/ae29cd58-f28f-4a0e-bffb-a7e4e1235797.png": { - "filename": "assets/images/blog/content/ae29cd58-f28f-4a0e-bffb-a7e4e1235797.png", - "contenttype": "image/png", - "offset": 3058765, - "len": 33357 - }, - "assets/images/blog/content/b3be6c1c-725a-4af2-a85f-e47e09bbceef.png": { - "filename": "assets/images/blog/content/b3be6c1c-725a-4af2-a85f-e47e09bbceef.png", - "contenttype": "image/png", - "offset": 3092122, - "len": 37074 - }, - "assets/images/blog/content/b4e772a3-effb-4a5d-82d9-db9596ccfe51.png": { - "filename": "assets/images/blog/content/b4e772a3-effb-4a5d-82d9-db9596ccfe51.png", - "contenttype": "image/png", - "offset": 3129196, - "len": 79662 - }, - "assets/images/blog/content/d2731109-b50f-4c1f-b4f9-7ab8cac196da.png": { - "filename": "assets/images/blog/content/d2731109-b50f-4c1f-b4f9-7ab8cac196da.png", - "contenttype": "image/png", - "offset": 3208858, - "len": 104535 - }, - "assets/images/blog/content/fed0e592-d063-497b-9a3b-2bfc29b04d1a.jpg": { - "filename": "assets/images/blog/content/fed0e592-d063-497b-9a3b-2bfc29b04d1a.jpg", - "contenttype": "image/jpeg", - "offset": 3313393, - "len": 9535 - }, - "assets/images/blog/e4956336-3662-46ae-bea2-7fd3059919c3-w1920-h1440.jpg": { - "filename": "assets/images/blog/e4956336-3662-46ae-bea2-7fd3059919c3-w1920-h1440.jpg", - "contenttype": "image/jpeg", - "offset": 3322928, - "len": 402770 - }, - "assets/images/blog/e4956336-3662-46ae-bea2-7fd3059919c3-w960-h720.jpg": { - "filename": "assets/images/blog/e4956336-3662-46ae-bea2-7fd3059919c3-w960-h720.jpg", - "contenttype": "image/jpeg", - "offset": 3725698, - "len": 143539 - }, - "assets/images/blog/e4956336-3662-46ae-bea2-7fd3059919c3.jpg": { - "filename": "assets/images/blog/e4956336-3662-46ae-bea2-7fd3059919c3.jpg", - "contenttype": "image/jpeg", - "offset": 3869237, - "len": 375170 - }, - "assets/images/logo.svg": { - "filename": "assets/images/logo.svg", - "contenttype": "image/svg+xml", - "offset": 4244407, - "len": 2183 - }, - "assets/js/themes.js": { - "filename": "assets/js/themes.js", - "contenttype": "text/javascript", - "offset": 4246590, - "len": 779 - }, - "blog/building_a_web_farm_with_docker_and_raspberry_pi.html": { - "filename": "blog/building_a_web_farm_with_docker_and_raspberry_pi.html", - "contenttype": "text/html", - "offset": 4247369, - "len": 23111 - }, - "blog/continuously_deploy_a_static_website_with_azure_pipelines.html": { - "filename": "blog/continuously_deploy_a_static_website_with_azure_pipelines.html", - "contenttype": "text/html", - "offset": 4270480, - "len": 24738 - }, - "blog/decentralise_your_website_as_much_as_possible.html": { - "filename": "blog/decentralise_your_website_as_much_as_possible.html", - "contenttype": "text/html", - "offset": 4295218, - "len": 14825 - }, - "blog/developing_smart_contracts_for_business.html": { - "filename": "blog/developing_smart_contracts_for_business.html", - "contenttype": "text/html", - "offset": 4310043, - "len": 25783 - }, - "blog/getting_to_grips_with_jwt_in_asp_net_core.html": { - "filename": "blog/getting_to_grips_with_jwt_in_asp_net_core.html", - "contenttype": "text/html", - "offset": 4335826, - "len": 20915 - }, - "blog/index.html": { - "filename": "blog/index.html", - "contenttype": "text/html", - "offset": 4356741, - "len": 7345 - }, - "blog/setting_up_an_asp_net_core_web_farm.html": { - "filename": "blog/setting_up_an_asp_net_core_web_farm.html", - "contenttype": "text/html", - "offset": 4364086, - "len": 11464 - }, - "favicon-16x16.png": { - "filename": "favicon-16x16.png", - "contenttype": "image/png", - "offset": 4375550, - "len": 430 - }, - "favicon-32x32.png": { - "filename": "favicon-32x32.png", - "contenttype": "image/png", - "offset": 4375980, - "len": 540 - }, - "favicon.ico": { "filename": "favicon.ico", "contenttype": "image/x-icon", "offset": 4376520, "len": 15086 }, - "feed.atom": { - "filename": "feed.atom", - "contenttype": "application/octet-stream", - "offset": 4391606, - "len": 95092 - }, - "index.html": { "filename": "index.html", "contenttype": "text/html", "offset": 4486698, "len": 4981 } - } - }, - "headers": { - "skynet-skylink": "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw", - "content-disposition": "inline; filename=\"index.html\"", - "content-type": "text/html" - } - }, - { - "name": "Develop Momentum Index File", - "skylink": "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw/index.html", - "bodyHash": "08e96877dd6c99c3e1d98105f2fd9df377b53d65", - "headers": { - "skynet-skylink": "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw", - "content-disposition": "inline; filename=\"index.html\"", - "content-type": "text/html" - } - }, - { - "name": "File endpoint check", - "skylink": "file/XABvi7JtJbQSMAcDwnUnmp2FKDPjg8_tTTFP4BwMSxVdEg", - "bodyHash": "7e079f7afc9e5bc0c1be04543e22ac552a14a8da", - "headers": { - "skynet-skylink": "XABvi7JtJbQSMAcDwnUnmp2FKDPjg8_tTTFP4BwMSxVdEg", - "content-disposition": "attachment; filename=\"sia.pdf\"", - "content-type": "application/pdf" - } - }, - { "name": "Hackerpaste HNS", "hns": "hackerpaste" }, - { - "name": "Hackerpaste Homescreen", - "skylink": "_AFA8eHudO8vU10GdgSjvX_40P2gXJsIq5jZY2VoBiVQmg", - "bodyHash": "22732193bdada20e533b6591696951e336ea1242", - "headers": { "skynet-skylink": "_AFA8eHudO8vU10GdgSjvX_40P2gXJsIq5jZY2VoBiVQmg" } - }, - { - "name": "hackerpaste.hns", - "source": "https://github.com/harej/hackerpaste/", - "skylink": "_AGZuZCyRn5kZMFHBssWYc20poXyez1XMO6hmPqAVcM1qg", - "bodyHash": "12817ac933b7f64fc63ae24a652132ed11e5b622", - "headers": { - "skynet-skylink": "_AGZuZCyRn5kZMFHBssWYc20poXyez1XMO6hmPqAVcM1qg", - "content-disposition": "inline; filename=\"index.html\"", - "content-type": "text/html" - } - }, - { "name": "Homeapp HNS", "hns": "homeapp" }, - { "name": "Homescreen HNS", "hns": "homescreen" }, - { - "name": "HTML Example", - "skylink": "PAL0w4SdA5rFCDGEutgpeQ50Om-YkBabtXVOJAkmedslKw", - "bodyHash": "ecffcfbb74e017698cad30a91a74b9ba0b046413", - "metadata": { "filename": "introduction – Sia API Documentation.html" }, - "headers": { - "skynet-skylink": "PAL0w4SdA5rFCDGEutgpeQ50Om-YkBabtXVOJAkmedslKw", - "content-disposition": "inline; filename=\"introduction – Sia API Documentation.html\"", - "content-type": "text/html; charset=utf-8" - } - }, - { - "name": "hns endpoint directory redirect", - "skylink": "hns/note-to-self", - "statusCode": 307, - "headers": { "location": "note-to-self/" } - }, - { - "name": "Image Example", - "skylink": "IADUs8d9CQjUO34LmdaaNPK_STuZo24rpKVfYW3wPPM2uQ", - "bodyHash": "e318667a9d53a45a9d010ac4e0d120ad064279ac", - "metadata": { "filename": "sia-lm.png" }, - "headers": { - "skynet-skylink": "IADUs8d9CQjUO34LmdaaNPK_STuZo24rpKVfYW3wPPM2uQ", - "content-disposition": "inline; filename=\"sia-lm.png\"", - "content-type": "image/png" - } - }, - { - "name": "JSON Example", - "skylink": "AAC0uO43g64ULpyrW0zO3bjEknSFbAhm8c-RFP21EQlmSQ", - "bodyHash": "b514603ce8acd937197712700e21259f18a857d6", - "metadata": { "filename": "consensus.json" }, - "headers": { - "skynet-skylink": "AAC0uO43g64ULpyrW0zO3bjEknSFbAhm8c-RFP21EQlmSQ", - "content-disposition": "inline; filename=\"consensus.json\"", - "content-type": "application/json" - } - }, - { "name": "Note to Self HNS", "hns": "note-to-self" }, - { - "name": "note-to-self.hns", - "source": "https://github.com/kwypchlo/note-to-self/", - "skylink": "EAD_w2YcqtpqVgtRwKXPno9VmKfTcVG3E_OIL-Np_Hz_1g", - "bodyHash": "e00c1b7348dd419e96bf3c188185a5fb8d04af53", - "headers": { - "skynet-skylink": "EAD_w2YcqtpqVgtRwKXPno9VmKfTcVG3E_OIL-Np_Hz_1g", - "content-disposition": "inline; filename=\"index.html\"", - "content-type": "text/html" - } - }, - { "name": "Marstorage HNS", "hns": "marstorage" }, - { - "name": "PDF Example", - "skylink": "XABvi7JtJbQSMAcDwnUnmp2FKDPjg8_tTTFP4BwMSxVdEg", - "bodyHash": "7e079f7afc9e5bc0c1be04543e22ac552a14a8da", - "metadata": { "filename": "sia.pdf" }, - "headers": { - "skynet-skylink": "XABvi7JtJbQSMAcDwnUnmp2FKDPjg8_tTTFP4BwMSxVdEg", - "content-disposition": "inline; filename=\"sia.pdf\"", - "content-type": "application/pdf" - } - }, - { - "name": "Rift Homescreen", - "skylink": "EABFLP0a9mYcPaRIhuTj9kqp0p-5vwmr1gWtXOVWBNORwA", - "bodyHash": "5f884997344c5083740f42779eb4afee629aab1c", - "headers": { "skynet-skylink": "EABFLP0a9mYcPaRIhuTj9kqp0p-5vwmr1gWtXOVWBNORwA" } - }, - { - "name": "SkyBay", - "skylink": "EABkMjXzxJRpPz0eO0Or5fy2eo-rz3prdigGwRlyNd9mwA/", - "bodyHash": "dfc0b1d3d1113254d7545d19f6118855ed9c778b", - "metadata": { - "filename": "skybay.html", - "subfiles": { "skybay.html": { "filename": "skybay.html", "contenttype": "text/html", "len": 11655 } } - }, - "headers": { - "skynet-skylink": "EABkMjXzxJRpPz0eO0Or5fy2eo-rz3prdigGwRlyNd9mwA", - "content-disposition": "inline; filename=\"skybay.html\"", - "content-type": "text/html" - } - }, - { - "name": "SkyBay Redirect", - "skylink": "EABkMjXzxJRpPz0eO0Or5fy2eo-rz3prdigGwRlyNd9mwA", - "bodyHash": "dfc0b1d3d1113254d7545d19f6118855ed9c778b", - "metadata": { - "filename": "skybay.html", - "subfiles": { "skybay.html": { "filename": "skybay.html", "contenttype": "text/html", "len": 11655 } } - }, - "headers": { - "skynet-skylink": "EABkMjXzxJRpPz0eO0Or5fy2eo-rz3prdigGwRlyNd9mwA", - "content-disposition": "inline; filename=\"skybay.html\"", - "content-type": "text/html" - } - }, - { - "name": "SkyBin", - "skylink": "CAAVU14pB9GRIqCrejD7rlS27HltGGiiCLICzmrBV0wVtA/", - "bodyHash": "858ff733c4cb06a80060b8a62cf303fd5a051651", - "metadata": { "filename": "skybin.html" }, - "headers": { - "skynet-skylink": "CAAVU14pB9GRIqCrejD7rlS27HltGGiiCLICzmrBV0wVtA", - "content-disposition": "inline; filename=\"skybin.html\"", - "content-type": "text/html; charset=utf-8" - } - }, - { "name": "Sky Bin HNS", "hns": "sky-bin" }, - { - "name": "SkyBin Redirect", - "skylink": "CAAVU14pB9GRIqCrejD7rlS27HltGGiiCLICzmrBV0wVtA", - "bodyHash": "858ff733c4cb06a80060b8a62cf303fd5a051651", - "metadata": { "filename": "skybin.html" }, - "headers": { - "skynet-skylink": "CAAVU14pB9GRIqCrejD7rlS27HltGGiiCLICzmrBV0wVtA", - "content-disposition": "inline; filename=\"skybin.html\"", - "content-type": "text/html; charset=utf-8" - } - }, - { "name": "Sky Chess HNS", "hns": "skychess" }, - { "name": "Sky Deploy HNS", "hns": "sky-deploy" }, - { - "name": "sky-deploy.hns", - "source": "-", - "skylink": "CABR1ic_lIPaN9JYLG6AiudkW5GShRd-Cr6Wkjur7z29Rw", - "bodyHash": "b2b0498a8a7f6fcfe76c29ae1a1176b4e64cb5ab", - "headers": { - "skynet-skylink": "CABR1ic_lIPaN9JYLG6AiudkW5GShRd-Cr6Wkjur7z29Rw", - "content-disposition": "inline; filename=\"index.html\"", - "content-type": "text/html" - } - }, - { "name": "SkyFeed HNS", "hns": "skyfeed" }, - { "name": "SkyGallery HNS", "hns": "skygallery" }, - { - "name": "SkyGallery Index File", - "skylink": "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg/index.html", - "bodyHash": "cb5905023a29bdd60d58817f26503345c9a1bd09", - "headers": { - "skynet-skylink": "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg", - "content-disposition": "inline; filename=\"index.html\"", - "content-type": "text/html" - } - }, - { - "name": "SkyGallery", - "skylink": "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg/", - "bodyHash": "cb5905023a29bdd60d58817f26503345c9a1bd09", - "metadata": { - "filename": "skygallery-v0.1.1-76c4c115fcb526716b2564568850f433", - "subfiles": { - "css/app.84a130ed.css": { "filename": "css/app.84a130ed.css", "contenttype": "text/css", "len": 698 }, - "css/chunk-5ce44031.d4e78528.css": { - "filename": "css/chunk-5ce44031.d4e78528.css", - "contenttype": "text/css", - "offset": 698, - "len": 45 - }, - "css/chunk-6bef839b.593aa2be.css": { - "filename": "css/chunk-6bef839b.593aa2be.css", - "contenttype": "text/css", - "offset": 743, - "len": 5013 - }, - "css/chunk-8ed50a48.8ba8c09d.css": { - "filename": "css/chunk-8ed50a48.8ba8c09d.css", - "contenttype": "text/css", - "offset": 5756, - "len": 7204 - }, - "css/chunk-eb4c1efc.2a7e25ed.css": { - "filename": "css/chunk-eb4c1efc.2a7e25ed.css", - "contenttype": "text/css", - "offset": 12960, - "len": 45 - }, - "css/chunk-vendors.b4f58487.css": { - "filename": "css/chunk-vendors.b4f58487.css", - "contenttype": "text/css", - "offset": 13005, - "len": 382063 - }, - "img/skygallery_logo.2336197e.svg": { - "filename": "img/skygallery_logo.2336197e.svg", - "contenttype": "image/svg+xml", - "offset": 395068, - "len": 923 - }, - "img/skynet-logo-animated.4d24345c.svg": { - "filename": "img/skynet-logo-animated.4d24345c.svg", - "contenttype": "image/svg+xml", - "offset": 395991, - "len": 2600 - }, - "index.html": { "filename": "index.html", "contenttype": "text/html", "offset": 398591, "len": 2534 }, - "js/app.cff1e0a4.js": { - "filename": "js/app.cff1e0a4.js", - "contenttype": "application/javascript", - "offset": 401125, - "len": 15604 - }, - "js/app.cff1e0a4.js.map": { - "filename": "js/app.cff1e0a4.js.map", - "contenttype": "application/json", - "offset": 416729, - "len": 54424 - }, - "js/chunk-5ce44031.7fb55da9.js": { - "filename": "js/chunk-5ce44031.7fb55da9.js", - "contenttype": "application/javascript", - "offset": 471153, - "len": 3644 - }, - "js/chunk-5ce44031.7fb55da9.js.map": { - "filename": "js/chunk-5ce44031.7fb55da9.js.map", - "contenttype": "application/json", - "offset": 474797, - "len": 13494 - }, - "js/chunk-6bef839b.b543fe7d.js": { - "filename": "js/chunk-6bef839b.b543fe7d.js", - "contenttype": "application/javascript", - "offset": 488291, - "len": 13349 - }, - "js/chunk-6bef839b.b543fe7d.js.map": { - "filename": "js/chunk-6bef839b.b543fe7d.js.map", - "contenttype": "application/json", - "offset": 501640, - "len": 46690 - }, - "js/chunk-8ed50a48.35f8ef35.js": { - "filename": "js/chunk-8ed50a48.35f8ef35.js", - "contenttype": "application/javascript", - "offset": 548330, - "len": 130329 - }, - "js/chunk-8ed50a48.35f8ef35.js.map": { - "filename": "js/chunk-8ed50a48.35f8ef35.js.map", - "contenttype": "application/json", - "offset": 678659, - "len": 507145 - }, - "js/chunk-eb4c1efc.57b6e01c.js": { - "filename": "js/chunk-eb4c1efc.57b6e01c.js", - "contenttype": "application/javascript", - "offset": 1185804, - "len": 4407 - }, - "js/chunk-eb4c1efc.57b6e01c.js.map": { - "filename": "js/chunk-eb4c1efc.57b6e01c.js.map", - "contenttype": "application/json", - "offset": 1190211, - "len": 15355 - }, - "js/chunk-vendors.1fd55121.js": { - "filename": "js/chunk-vendors.1fd55121.js", - "contenttype": "application/javascript", - "offset": 1205566, - "len": 749829 - }, - "js/chunk-vendors.1fd55121.js.map": { - "filename": "js/chunk-vendors.1fd55121.js.map", - "contenttype": "application/json", - "offset": 1955395, - "len": 2793251 - } - }, - "defaultpath": "/index.html" - }, - "headers": { - "skynet-skylink": "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg", - "content-disposition": "inline; filename=\"index.html\"", - "content-type": "text/html" - } - }, - { - "name": "SkyGallery Redirect", - "skylink": "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg", - "bodyHash": "cb5905023a29bdd60d58817f26503345c9a1bd09", - "metadata": { - "filename": "skygallery-v0.1.1-76c4c115fcb526716b2564568850f433", - "subfiles": { - "css/app.84a130ed.css": { "filename": "css/app.84a130ed.css", "contenttype": "text/css", "len": 698 }, - "css/chunk-5ce44031.d4e78528.css": { - "filename": "css/chunk-5ce44031.d4e78528.css", - "contenttype": "text/css", - "offset": 698, - "len": 45 - }, - "css/chunk-6bef839b.593aa2be.css": { - "filename": "css/chunk-6bef839b.593aa2be.css", - "contenttype": "text/css", - "offset": 743, - "len": 5013 - }, - "css/chunk-8ed50a48.8ba8c09d.css": { - "filename": "css/chunk-8ed50a48.8ba8c09d.css", - "contenttype": "text/css", - "offset": 5756, - "len": 7204 - }, - "css/chunk-eb4c1efc.2a7e25ed.css": { - "filename": "css/chunk-eb4c1efc.2a7e25ed.css", - "contenttype": "text/css", - "offset": 12960, - "len": 45 - }, - "css/chunk-vendors.b4f58487.css": { - "filename": "css/chunk-vendors.b4f58487.css", - "contenttype": "text/css", - "offset": 13005, - "len": 382063 - }, - "img/skygallery_logo.2336197e.svg": { - "filename": "img/skygallery_logo.2336197e.svg", - "contenttype": "image/svg+xml", - "offset": 395068, - "len": 923 - }, - "img/skynet-logo-animated.4d24345c.svg": { - "filename": "img/skynet-logo-animated.4d24345c.svg", - "contenttype": "image/svg+xml", - "offset": 395991, - "len": 2600 - }, - "index.html": { "filename": "index.html", "contenttype": "text/html", "offset": 398591, "len": 2534 }, - "js/app.cff1e0a4.js": { - "filename": "js/app.cff1e0a4.js", - "contenttype": "application/javascript", - "offset": 401125, - "len": 15604 - }, - "js/app.cff1e0a4.js.map": { - "filename": "js/app.cff1e0a4.js.map", - "contenttype": "application/json", - "offset": 416729, - "len": 54424 - }, - "js/chunk-5ce44031.7fb55da9.js": { - "filename": "js/chunk-5ce44031.7fb55da9.js", - "contenttype": "application/javascript", - "offset": 471153, - "len": 3644 - }, - "js/chunk-5ce44031.7fb55da9.js.map": { - "filename": "js/chunk-5ce44031.7fb55da9.js.map", - "contenttype": "application/json", - "offset": 474797, - "len": 13494 - }, - "js/chunk-6bef839b.b543fe7d.js": { - "filename": "js/chunk-6bef839b.b543fe7d.js", - "contenttype": "application/javascript", - "offset": 488291, - "len": 13349 - }, - "js/chunk-6bef839b.b543fe7d.js.map": { - "filename": "js/chunk-6bef839b.b543fe7d.js.map", - "contenttype": "application/json", - "offset": 501640, - "len": 46690 - }, - "js/chunk-8ed50a48.35f8ef35.js": { - "filename": "js/chunk-8ed50a48.35f8ef35.js", - "contenttype": "application/javascript", - "offset": 548330, - "len": 130329 - }, - "js/chunk-8ed50a48.35f8ef35.js.map": { - "filename": "js/chunk-8ed50a48.35f8ef35.js.map", - "contenttype": "application/json", - "offset": 678659, - "len": 507145 - }, - "js/chunk-eb4c1efc.57b6e01c.js": { - "filename": "js/chunk-eb4c1efc.57b6e01c.js", - "contenttype": "application/javascript", - "offset": 1185804, - "len": 4407 - }, - "js/chunk-eb4c1efc.57b6e01c.js.map": { - "filename": "js/chunk-eb4c1efc.57b6e01c.js.map", - "contenttype": "application/json", - "offset": 1190211, - "len": 15355 - }, - "js/chunk-vendors.1fd55121.js": { - "filename": "js/chunk-vendors.1fd55121.js", - "contenttype": "application/javascript", - "offset": 1205566, - "len": 749829 - }, - "js/chunk-vendors.1fd55121.js.map": { - "filename": "js/chunk-vendors.1fd55121.js.map", - "contenttype": "application/json", - "offset": 1955395, - "len": 2793251 - } - }, - "defaultpath": "/index.html" - }, - "headers": { - "skynet-skylink": "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg", - "content-disposition": "inline; filename=\"index.html\"", - "content-type": "text/html" - } - }, - { "name": "Skynet Appstore HNS", "hns": "skyapps" }, - { "name": "Skynet Connect 4 HNS", "hns": "skynect4" }, - { "name": "Skynet Hackathon HNS", "hns": "skynet-hackathon" }, - { "name": "SkyProfile HNS", "hns": "skyprofile" }, - { "name": "SkySend HNS", "hns": "skysend" }, - { - "name": "SkySend Homescreen", - "skylink": "GABvY0s2-FuyKHtvm90KCVTUvg-NvQJrYdQ7XG8NNqcPYg", - "bodyHash": "35bc25301501a3b28913ca7a7a06120681365a9c", - "headers": { "skynet-skylink": "GABvY0s2-FuyKHtvm90KCVTUvg-NvQJrYdQ7XG8NNqcPYg" } - }, - { - "name": "skysend.hns", - "source": "https://github.com/redsolver/skysend/", - "skylink": "GADlWH3ALR2g1cDUBI6Ti8B22iD7R5dfn_8jLfq-atm5iw", - "bodyHash": "35bc25301501a3b28913ca7a7a06120681365a9c", - "headers": { - "skynet-skylink": "GADlWH3ALR2g1cDUBI6Ti8B22iD7R5dfn_8jLfq-atm5iw", - "content-disposition": "inline; filename=\"index.html\"", - "content-type": "text/html" - } - }, - { "name": "SkyTransfer HNS", "hns": "skytransfer" }, - { - "name": "SkyTransfer Homescreen", - "skylink": "_A1WQyJk2lwioirt-8_qrEG94jOT5D3RImMHDtq7dbfr7A", - "bodyHash": "e38e7a27a375e09bfe45ba5f749c591fd42d37ea", - "headers": { "skynet-skylink": "_A1WQyJk2lwioirt-8_qrEG94jOT5D3RImMHDtq7dbfr7A" } - }, - { "name": "How About Skapp HNS", "hns": "tirthahalli" }, - { - "name": "tirthahalli.hns", - "source": "-", - "skylink": "AAAsdvGalu2Fj9P5zLvZhfwoI0CpXeO_kPMSG_YU1PSIWg", - "bodyHash": "734c49ddde2a49ac6ddbf1c6d90a014ff82e2f87", - "headers": { - "skynet-skylink": "AAAsdvGalu2Fj9P5zLvZhfwoI0CpXeO_kPMSG_YU1PSIWg", - "content-disposition": "inline; filename=\"index.html\"", - "content-type": "text/html" - } - }, - { - "name": "Unzip The Uncensored Library Map", - "skylink": "AAC5glnZyNJ4Ieb4MhnYJGtID6qdMqEjl0or5EvEMt7bWQ", - "bodyHash": "cd0377661eefd656c8b46c497aa03112393ba893", - "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": "AAC5glnZyNJ4Ieb4MhnYJGtID6qdMqEjl0or5EvEMt7bWQ", - "content-disposition": "inline; filename=\"Unzip_The_Uncensored_Library_Map.zip\"", - "content-type": "application/zip" - } - }, - { - "name": "The Uncensored Library - Press Release", - "skylink": "AABHwuml_EhvyY8Gm7j1E2xGwodUNAJgX0A6-Cd22p9kNA", - "bodyHash": "da39a3ee5e6b4b0d3255bfef95601890afd80709", - "metadata": { - "filename": "press-release-Reporters-Without-Borders-The-Uncensored-Library.zip", - "subfiles": { - "press-release-Reporters-Without-Borders-The-Uncensored-Library.zip": { - "filename": "press-release-Reporters-Without-Borders-The-Uncensored-Library.zip", - "contenttype": "application/zip", - "len": 383501533 - } - } - }, - "headers": { - "skynet-skylink": "AABHwuml_EhvyY8Gm7j1E2xGwodUNAJgX0A6-Cd22p9kNA", - "content-disposition": "inline; filename=\"press-release-Reporters-Without-Borders-The-Uncensored-Library.zip\"", - "content-type": "application/zip" - } - }, - { - "name": "The Uncensored Library V2", - "skylink": "AAAs-JOsRGWgABYIo7AwTDqSX79-BxQKjDj0wiRGoRPFnw", - "bodyHash": "f2a802c2b7482825613a08853538203a53c96bd1", - "metadata": { - "filename": "The Uncensored Library V2.zip", - "subfiles": { - "The Uncensored Library V2.zip": { - "filename": "The Uncensored Library V2.zip", - "contenttype": "application/zip", - "len": 101262134 - } - } - }, - "headers": { - "skynet-skylink": "AAAs-JOsRGWgABYIo7AwTDqSX79-BxQKjDj0wiRGoRPFnw", - "content-disposition": "inline; filename=\"The Uncensored Library V2.zip\"", - "content-type": "application/zip" - } - }, - { - "name": "Uniswap HNS Resolver", - "skylink": "hnsres/uniswap-dex/", - "bodyHash": "3634496800c254b93f9dcbca2aeb53e644f706c0" - }, - { - "name": "Uniswap HNS Resolver Redirect", - "skylink": "hnsres/uniswap-dex", - "bodyHash": "3634496800c254b93f9dcbca2aeb53e644f706c0" - }, - { - "name": "uniswap skynet labs fork", - "source": "https://github.com/SkynetLabs/uniswap-interface/", - "skylink": "OAAy4_g9EYfuOiUZlz_irkoPgsc_seAjgGozerrT1QvE5A", - "bodyHash": "db2882b7902f24d62e49905b77d536aaf7b7da75", - "headers": { - "skynet-skylink": "OAAy4_g9EYfuOiUZlz_irkoPgsc_seAjgGozerrT1QvE5A", - "content-disposition": "inline; filename=\"index.html\"", - "content-type": "text/html" - } - } -] diff --git a/packages/health-check/src/updatetestdata.js b/packages/health-check/src/updatetestdata.js deleted file mode 100644 index dd3b1ed9..00000000 --- a/packages/health-check/src/updatetestdata.js +++ /dev/null @@ -1,17 +0,0 @@ -// Imports -const got = require("got"); - -// getTestData will download the test data uploaded by the testing-corpus repo -// for the webportal health-checks to use. -async function getTestData() { - try { - const query = `https://040e2npojpl9tiahghgls0d13bvacn5qo9jodruda8lcp3l4q3h1ikg.siasky.net/`; - const json = await got(query).json(); - console.log(JSON.stringify(json)); - } catch (error) { - console.log(error); - } -} - -// Call function -getTestData(); diff --git a/packages/health-check/yarn.lock b/packages/health-check/yarn.lock index 3cd5fcc4..32c45457 100644 --- a/packages/health-check/yarn.lock +++ b/packages/health-check/yarn.lock @@ -826,6 +826,13 @@ strip-ansi@^6.0.0: dependencies: ansi-regex "^5.0.0" +"testing-corpus@https://github.com/SkynetLabs/testing-corpus": + version "1.0.0" + resolved "https://github.com/SkynetLabs/testing-corpus#eadfd250f6cd82c3943a3dbbbeb9e895d3ca3c47" + dependencies: + got "^11.8.2" + hasha "^5.2.2" + to-data-view@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/to-data-view/-/to-data-view-1.1.0.tgz#08d6492b0b8deb9b29bdf1f61c23eadfa8994d00"