From 658072aa06b09d7cf332ad147d2684527f6c103d Mon Sep 17 00:00:00 2001 From: Seth Date: Wed, 22 Dec 2021 19:53:45 +0800 Subject: [PATCH] chore: temporary oa-verify for trial run and testing; to be removed --- package-lock.json | 150 ++++++++++++++++++++++++++++++++++++++++++---- package.json | 2 +- 2 files changed, 138 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index c227ee69f..a83a63068 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2186,11 +2186,10 @@ } }, "@govtechsg/oa-verify": { - "version": "7.7.0", - "resolved": "https://registry.npmjs.org/@govtechsg/oa-verify/-/oa-verify-7.7.0.tgz", - "integrity": "sha512-Ast+8gYBMkJQS6v/YuDgnc1ILjuSTJUjP7JAyMvP5UboH5OzeXl6nv0Hs8JS42It+YgEV8t1POWDH//6XhW6Qg==", + "version": "git+https://github.com/Open-Attestation/oa-verify.git#2bc6b9c801ddd173ac7505e7842f5a71b76ccd42", + "from": "git+https://github.com/Open-Attestation/oa-verify.git#feat/add-networks", "requires": { - "@govtechsg/dnsprove": "^2.1.3", + "@govtechsg/dnsprove": "git+https://github.com/Open-Attestation/dnsprove.git#feat/add-networks", "@govtechsg/document-store": "^2.2.3", "@govtechsg/open-attestation": "^6.2.0", "@govtechsg/token-registry": "^2.5.3", @@ -2205,6 +2204,15 @@ "web-did-resolver": "^2.0.4" }, "dependencies": { + "@govtechsg/dnsprove": { + "version": "git+https://github.com/Open-Attestation/dnsprove.git#975559ee1b83d3d79e4ce88291a4c13c6a34d423", + "from": "git+https://github.com/Open-Attestation/dnsprove.git#feat/add-networks", + "requires": { + "axios": "^0.21.1", + "debug": "^4.3.1", + "runtypes": "^6.3.0" + } + }, "@govtechsg/document-store": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/@govtechsg/document-store/-/document-store-2.2.3.tgz", @@ -2227,9 +2235,9 @@ } }, "follow-redirects": { - "version": "1.14.5", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.5.tgz", - "integrity": "sha512-wtphSXy7d4/OR+MvIFbCVBDzZ5520qV8XfPklSN5QtxuMUJZ+b0Wnst1e1lCDocfzuCkHqj8k0FpZqO+UIaKNA==" + "version": "1.14.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.6.tgz", + "integrity": "sha512-fhUl5EwSJbbl8AR+uYL2KQDxLkdSjZGR36xy46AO7cOMTrCMON6Sa28FmAnC2tRTDbd/Uuzz3aJBv7EBN7JH8A==" } } }, @@ -2286,6 +2294,61 @@ "yargs": "^17.0.1" }, "dependencies": { + "@govtechsg/oa-verify": { + "version": "7.7.0", + "resolved": "https://registry.npmjs.org/@govtechsg/oa-verify/-/oa-verify-7.7.0.tgz", + "integrity": "sha512-Ast+8gYBMkJQS6v/YuDgnc1ILjuSTJUjP7JAyMvP5UboH5OzeXl6nv0Hs8JS42It+YgEV8t1POWDH//6XhW6Qg==", + "requires": { + "@govtechsg/dnsprove": "^2.1.3", + "@govtechsg/document-store": "^2.2.3", + "@govtechsg/open-attestation": "^6.2.0", + "@govtechsg/token-registry": "^2.5.3", + "axios": "^0.21.1", + "debug": "^4.3.1", + "did-resolver": "^3.1.0", + "ethers": "^5.1.4", + "ethr-did-resolver": "^4.3.3", + "node-cache": "^5.1.2", + "runtypes": "^6.3.0", + "snyk": "^1.576.0", + "web-did-resolver": "^2.0.4" + }, + "dependencies": { + "@govtechsg/document-store": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/@govtechsg/document-store/-/document-store-2.2.3.tgz", + "integrity": "sha512-d6D8ku4aCmdPaxHlU8OMwqIa0WHMZ02ZzUvYujlM/FInxTfKU1jUiAA4Jdx54D60hvhvGlBYU8T9jUsTZhBY4g==", + "requires": { + "lodash": "^4.17.21" + } + }, + "@govtechsg/open-attestation": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@govtechsg/open-attestation/-/open-attestation-6.2.0.tgz", + "integrity": "sha512-LSssNwtEXHvkJFKlP/rOCdx1S8S1B2k5MwgDvtUVbhLiBKDlmSbUZl3FS5uCF7bTHzaJJmgDrxZs5QJ969gE3Q==", + "requires": { + "@govtechsg/jsonld": "^0.1.0", + "ajv": "^8.6.2", + "ajv-formats": "^2.1.0", + "cross-fetch": "^3.1.4", + "debug": "^4.3.2", + "ethers": "^5.4.3", + "flatley": "^5.2.0", + "js-base64": "^3.6.1", + "js-sha3": "^0.8.0", + "lodash": "^4.17.21", + "runtypes": "^6.3.2", + "uuid": "^8.3.2", + "validator": "^13.6.0" + } + }, + "@govtechsg/token-registry": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@govtechsg/token-registry/-/token-registry-2.6.1.tgz", + "integrity": "sha512-QnAIlYeGD4zHtYPiZ46SIe6hFc3HyMKvyBJIdlsFxHscMR4f8AENIyUS2AKhqJibCcN2beNJy/bPWlCAtHoT7w==" + } + } + }, "@govtechsg/open-attestation": { "version": "5.4.0", "resolved": "https://registry.npmjs.org/@govtechsg/open-attestation/-/open-attestation-5.4.0.tgz", @@ -2319,6 +2382,14 @@ "color-convert": "^2.0.1" } }, + "axios": { + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "requires": { + "follow-redirects": "^1.14.0" + } + }, "chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -2341,6 +2412,11 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, + "follow-redirects": { + "version": "1.14.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.6.tgz", + "integrity": "sha512-fhUl5EwSJbbl8AR+uYL2KQDxLkdSjZGR36xy46AO7cOMTrCMON6Sa28FmAnC2tRTDbd/Uuzz3aJBv7EBN7JH8A==" + }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -2489,6 +2565,54 @@ "integrity": "sha512-JwdEB04KxGXeMjByUqxOIKfBxPDB9SRSm23f2lV85gzDBLZ9dSqs1M9KXKiYYKgzJdDBE+GC0pcEpqVqzO3mFQ==", "requires": { "@govtechsg/oa-verify": "^7.7.0" + }, + "dependencies": { + "@govtechsg/document-store": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/@govtechsg/document-store/-/document-store-2.2.3.tgz", + "integrity": "sha512-d6D8ku4aCmdPaxHlU8OMwqIa0WHMZ02ZzUvYujlM/FInxTfKU1jUiAA4Jdx54D60hvhvGlBYU8T9jUsTZhBY4g==", + "requires": { + "lodash": "^4.17.21" + } + }, + "@govtechsg/oa-verify": { + "version": "7.7.0", + "resolved": "https://registry.npmjs.org/@govtechsg/oa-verify/-/oa-verify-7.7.0.tgz", + "integrity": "sha512-Ast+8gYBMkJQS6v/YuDgnc1ILjuSTJUjP7JAyMvP5UboH5OzeXl6nv0Hs8JS42It+YgEV8t1POWDH//6XhW6Qg==", + "requires": { + "@govtechsg/dnsprove": "^2.1.3", + "@govtechsg/document-store": "^2.2.3", + "@govtechsg/open-attestation": "^6.2.0", + "@govtechsg/token-registry": "^2.5.3", + "axios": "^0.21.1", + "debug": "^4.3.1", + "did-resolver": "^3.1.0", + "ethers": "^5.1.4", + "ethr-did-resolver": "^4.3.3", + "node-cache": "^5.1.2", + "runtypes": "^6.3.0", + "snyk": "^1.576.0", + "web-did-resolver": "^2.0.4" + } + }, + "@govtechsg/token-registry": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@govtechsg/token-registry/-/token-registry-2.6.1.tgz", + "integrity": "sha512-QnAIlYeGD4zHtYPiZ46SIe6hFc3HyMKvyBJIdlsFxHscMR4f8AENIyUS2AKhqJibCcN2beNJy/bPWlCAtHoT7w==" + }, + "axios": { + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "requires": { + "follow-redirects": "^1.14.0" + } + }, + "follow-redirects": { + "version": "1.14.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.6.tgz", + "integrity": "sha512-fhUl5EwSJbbl8AR+uYL2KQDxLkdSjZGR36xy46AO7cOMTrCMON6Sa28FmAnC2tRTDbd/Uuzz3aJBv7EBN7JH8A==" + } } }, "@hapi/hoek": { @@ -11437,9 +11561,9 @@ "dev": true }, "did-resolver": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/did-resolver/-/did-resolver-3.1.3.tgz", - "integrity": "sha512-ab8y90tSiDkTdfddXRC9Qcb1QSd568aC6+OgFTrcE4rs1vQAZOil+VqXHDu+Ff/UvhxlckPO8oJtp86iICZG0w==" + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/did-resolver/-/did-resolver-3.1.5.tgz", + "integrity": "sha512-/4lM1vK5osnWVZ2oN9QhlWV5xOwssuLSL1MvueBc8LQWotbD5kM9XQMe7h4GydYpbh3JaWMFkOWwc9jvSZ+qgg==" }, "didyoumean": { "version": "1.2.2", @@ -28140,9 +28264,9 @@ } }, "web-did-resolver": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/web-did-resolver/-/web-did-resolver-2.0.8.tgz", - "integrity": "sha512-K85NgK3nto5awjBX/5uD9+ZSIMbWIqUoD64G+5NC9EU0OgtV81YcS/++oWVmkOZoH/MVYGLuqajQBx3pQOa29w==", + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/web-did-resolver/-/web-did-resolver-2.0.11.tgz", + "integrity": "sha512-cOYNMLLKiUGKslv0Jam6wiIh4ZD7t9SbmYCR3FCEUf30eHdfDfd65vIiBwQU2l9yktnC3Wch9QctPif0DWmG2w==", "requires": { "cross-fetch": "^3.1.2", "did-resolver": "^3.1.3" diff --git a/package.json b/package.json index 801a9bc55..07fdcc548 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "@govtechsg/decentralized-renderer-react-components": "^3.6.2", "@govtechsg/ethers-contract-hook": "^2.2.0", "@govtechsg/oa-encryption": "^1.3.3", - "@govtechsg/oa-verify": "^7.7.0", + "@govtechsg/oa-verify": "git+https://github.com/Open-Attestation/oa-verify.git#feat/add-networks", "@govtechsg/open-attestation": "^6.2.0", "@govtechsg/open-attestation-cli": "^1.40.4", "@govtechsg/token-registry": "2.5.1",