From ac81966a567c00f662ba280fe67765c98f6535b2 Mon Sep 17 00:00:00 2001 From: DaevMithran Date: Mon, 10 Jul 2023 17:51:17 +0530 Subject: [PATCH 1/5] feat: Update verification api --- package-lock.json | 123 ++++++++++++++++------------- package.json | 3 +- src/controllers/credentials.ts | 23 +++++- src/services/credentials.ts | 13 +-- src/services/identity/IIdentity.ts | 10 +-- src/services/identity/agent.ts | 61 +++++++++----- src/services/identity/local.ts | 14 ++-- src/services/identity/postgres.ts | 14 ++-- src/static/swagger.json | 86 ++++++++++++++++++++ src/types/types.ts | 28 +++---- 10 files changed, 249 insertions(+), 126 deletions(-) diff --git a/package-lock.json b/package-lock.json index 08321a35..0ffc09fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@cheqd/credential-service", - "version": "2.4.0-develop.7", + "version": "2.4.0-develop.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@cheqd/credential-service", - "version": "2.4.0-develop.7", + "version": "2.4.0-develop.8", "license": "Apache-2.0", "dependencies": { - "@cheqd/did-provider-cheqd": "^3.4.1", + "@cheqd/did-provider-cheqd": "^3.5.0", "@cosmjs/amino": "^0.31.0", "@cosmjs/encoding": "^0.30.1", "@logto/express": "^2.0.2", @@ -28,6 +28,7 @@ "cookie-parser": "^1.4.6", "copyfiles": "^2.4.1", "cors": "^2.8.5", + "did-jwt": "^7.2.4", "did-resolver": "^4.1.0", "dotenv": "^16.3.1", "express": "^4.18.2", @@ -2488,18 +2489,18 @@ } }, "node_modules/@cheqd/did-provider-cheqd": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/@cheqd/did-provider-cheqd/-/did-provider-cheqd-3.4.1.tgz", - "integrity": "sha512-+NBFOoLbOCt+5iQx4W6pxtuA4FHuWK0sJvmzbU8sf5Le45lQ155SBqnm4R7uOmSk4KOG7f8T2l5uI8lL/cmwgw==", + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/@cheqd/did-provider-cheqd/-/did-provider-cheqd-3.5.0.tgz", + "integrity": "sha512-ava40ECf1dXJ1Dz0CKFEFNWCFxpBNFYmXUc54fMOnSPxuTY0DlgjPTF1gHyaekIv3THQtsst08QhZATIZPb55Q==", "dependencies": { "@cheqd/sdk": "^3.5.6", - "@cheqd/ts-proto": "^3.2.0", + "@cheqd/ts-proto": "^3.2.1", "@cosmjs/amino": "^0.31.0", "@cosmjs/crypto": "^0.31.0", "@cosmjs/proto-signing": "^0.31.0", "@cosmjs/utils": "^0.31.0", "@digitalbazaar/vc-status-list": "^7.0.0", - "@lit-protocol/lit-node-client": "^2.2.33", + "@lit-protocol/lit-node-client": "^2.2.39", "@veramo/core": "^5.2.0", "@veramo/did-manager": "^5.1.2", "@veramo/did-provider-key": "^5.2.0", @@ -5110,7 +5111,7 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", - "devOptional": true + "optional": true }, "node_modules/@graphql-typed-document-node/core": { "version": "3.2.0", @@ -6847,7 +6848,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz", "integrity": "sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==", - "devOptional": true, + "optional": true, "dependencies": { "@gar/promisify": "^1.0.1", "semver": "^7.3.5" @@ -6858,7 +6859,7 @@ "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz", "integrity": "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==", "deprecated": "This functionality has been moved to @npmcli/fs", - "devOptional": true, + "optional": true, "dependencies": { "mkdirp": "^1.0.4", "rimraf": "^3.0.2" @@ -8780,7 +8781,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", - "devOptional": true, + "optional": true, "engines": { "node": ">= 6" } @@ -12092,7 +12093,7 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.3.0.tgz", "integrity": "sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg==", - "devOptional": true, + "optional": true, "dependencies": { "debug": "^4.1.0", "depd": "^2.0.0", @@ -13197,7 +13198,8 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", "integrity": "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==", - "devOptional": true + "optional": true, + "peer": true }, "node_modules/busboy": { "version": "1.6.0", @@ -13222,7 +13224,7 @@ "version": "15.3.0", "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz", "integrity": "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==", - "devOptional": true, + "optional": true, "dependencies": { "@npmcli/fs": "^1.0.0", "@npmcli/move-file": "^1.0.1", @@ -15275,7 +15277,7 @@ "version": "2.2.1", "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", - "devOptional": true, + "optional": true, "engines": { "node": ">=6" } @@ -17321,7 +17323,7 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", - "devOptional": true + "optional": true }, "node_modules/http-errors": { "version": "2.0.0", @@ -17377,7 +17379,7 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", - "devOptional": true, + "optional": true, "dependencies": { "ms": "^2.0.0" } @@ -17511,7 +17513,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", - "devOptional": true + "optional": true }, "node_modules/inflight": { "version": "1.0.6", @@ -18121,7 +18123,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==", - "devOptional": true + "optional": true }, "node_modules/is-number": { "version": "7.0.0", @@ -20873,7 +20875,7 @@ "version": "9.1.0", "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz", "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==", - "devOptional": true, + "optional": true, "dependencies": { "agentkeepalive": "^4.1.3", "cacache": "^15.2.0", @@ -20900,7 +20902,7 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "devOptional": true, + "optional": true, "dependencies": { "debug": "4" }, @@ -20912,7 +20914,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", - "devOptional": true, + "optional": true, "dependencies": { "@tootallnate/once": "1", "agent-base": "6", @@ -20926,7 +20928,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", - "devOptional": true, + "optional": true, "dependencies": { "agent-base": "6", "debug": "4" @@ -22163,7 +22165,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", - "devOptional": true, + "optional": true, "dependencies": { "minipass": "^3.0.0" }, @@ -22175,7 +22177,7 @@ "version": "1.4.1", "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz", "integrity": "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==", - "devOptional": true, + "optional": true, "dependencies": { "minipass": "^3.1.0", "minipass-sized": "^1.0.3", @@ -22192,7 +22194,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", - "devOptional": true, + "optional": true, "dependencies": { "minipass": "^3.0.0" }, @@ -22204,7 +22206,7 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", - "devOptional": true, + "optional": true, "dependencies": { "minipass": "^3.0.0" }, @@ -22216,7 +22218,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", - "devOptional": true, + "optional": true, "dependencies": { "minipass": "^3.0.0" }, @@ -22628,7 +22630,7 @@ "version": "8.4.1", "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-8.4.1.tgz", "integrity": "sha512-olTJRgUtAb/hOXG0E93wZDs5YiJlgbXxTwQAFHyNlRsXQnYzUaF2aGgujZbw+hR8aF4ZG/rST57bWMWD16jr9w==", - "devOptional": true, + "optional": true, "dependencies": { "env-paths": "^2.2.0", "glob": "^7.1.4", @@ -22662,7 +22664,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", - "devOptional": true, + "optional": true, "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -22675,7 +22677,7 @@ "version": "4.0.4", "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", - "devOptional": true, + "optional": true, "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -22694,7 +22696,7 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", - "devOptional": true, + "optional": true, "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -22709,7 +22711,7 @@ "version": "3.6.2", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "devOptional": true, + "optional": true, "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -22978,7 +22980,8 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-7.0.0.tgz", "integrity": "sha512-xXxr8y5U0kl8dVkz2oK7yZjPBvqM2fwaO5l3Yg13p03v8+E3qQcD0JNhHzjL1vyGgxcKkD0cco+NLR72iuPk3g==", - "devOptional": true, + "optional": true, + "peer": true, "dependencies": { "hosted-git-info": "^3.0.2", "osenv": "^0.1.5", @@ -22990,7 +22993,8 @@ "version": "3.0.8", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", - "devOptional": true, + "optional": true, + "peer": true, "dependencies": { "lru-cache": "^6.0.0" }, @@ -23002,7 +23006,8 @@ "version": "5.7.1", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "devOptional": true, + "optional": true, + "peer": true, "bin": { "semver": "bin/semver" } @@ -26238,7 +26243,8 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", "integrity": "sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==", - "devOptional": true, + "optional": true, + "peer": true, "engines": { "node": ">=0.10.0" } @@ -26247,7 +26253,8 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", - "devOptional": true, + "optional": true, + "peer": true, "engines": { "node": ">=0.10.0" } @@ -26256,7 +26263,8 @@ "version": "0.1.5", "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", - "devOptional": true, + "optional": true, + "peer": true, "dependencies": { "os-homedir": "^1.0.0", "os-tmpdir": "^1.0.0" @@ -26429,7 +26437,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", - "devOptional": true, + "optional": true, "dependencies": { "aggregate-error": "^3.0.0" }, @@ -27594,13 +27602,13 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==", - "devOptional": true + "optional": true }, "node_modules/promise-retry": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", - "devOptional": true, + "optional": true, "dependencies": { "err-code": "^2.0.2", "retry": "^0.12.0" @@ -27613,7 +27621,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", - "devOptional": true + "optional": true }, "node_modules/prompts": { "version": "2.4.2", @@ -27780,7 +27788,8 @@ "version": "0.11.0", "resolved": "https://registry.npmjs.org/qrcode-terminal/-/qrcode-terminal-0.11.0.tgz", "integrity": "sha512-Uu7ii+FQy4Qf82G4xu7ShHhjhGahEpCWc3x8UavY3CTcWV+ufmmCtwkr7ZKsX42jdL0kr1B5FKUeqJvAn51jzQ==", - "devOptional": true, + "optional": true, + "peer": true, "bin": { "qrcode-terminal": "bin/qrcode-terminal.js" } @@ -28892,7 +28901,7 @@ "version": "0.12.0", "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", - "devOptional": true, + "optional": true, "engines": { "node": ">= 4" } @@ -29894,7 +29903,7 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", - "devOptional": true, + "optional": true, "engines": { "node": ">= 6.0.0", "npm": ">= 3.0.0" @@ -29904,7 +29913,7 @@ "version": "2.7.1", "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==", - "devOptional": true, + "optional": true, "dependencies": { "ip": "^2.0.0", "smart-buffer": "^4.2.0" @@ -29918,7 +29927,7 @@ "version": "6.2.1", "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz", "integrity": "sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ==", - "devOptional": true, + "optional": true, "dependencies": { "agent-base": "^6.0.2", "debug": "^4.3.3", @@ -29932,7 +29941,7 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "devOptional": true, + "optional": true, "dependencies": { "debug": "4" }, @@ -29944,7 +29953,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==", - "devOptional": true + "optional": true }, "node_modules/sonic-boom": { "version": "2.8.0", @@ -30109,7 +30118,7 @@ "version": "8.0.1", "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", - "devOptional": true, + "optional": true, "dependencies": { "minipass": "^3.1.1" }, @@ -31480,7 +31489,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", - "devOptional": true, + "optional": true, "dependencies": { "unique-slug": "^2.0.0" } @@ -31489,7 +31498,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz", "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", - "devOptional": true, + "optional": true, "dependencies": { "imurmurhash": "^0.1.4" } @@ -31690,7 +31699,8 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", "integrity": "sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==", - "devOptional": true, + "optional": true, + "peer": true, "dependencies": { "builtins": "^1.0.3" } @@ -31975,7 +31985,8 @@ "version": "2.4.3", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz", "integrity": "sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==", - "devOptional": true, + "optional": true, + "peer": true, "dependencies": { "graceful-fs": "^4.1.11", "imurmurhash": "^0.1.4", diff --git a/package.json b/package.json index 8d2e790d..38857758 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "README.md" ], "dependencies": { - "@cheqd/did-provider-cheqd": "^3.4.1", + "@cheqd/did-provider-cheqd": "^3.5.0", "@cosmjs/amino": "^0.31.0", "@cosmjs/encoding": "^0.30.1", "@logto/express": "^2.0.2", @@ -62,6 +62,7 @@ "cookie-parser": "^1.4.6", "copyfiles": "^2.4.1", "cors": "^2.8.5", + "did-jwt": "^7.2.4", "did-resolver": "^4.1.0", "dotenv": "^16.3.1", "express": "^4.18.2", diff --git a/src/controllers/credentials.ts b/src/controllers/credentials.ts index a636e9e8..8d890b68 100644 --- a/src/controllers/credentials.ts +++ b/src/controllers/credentials.ts @@ -76,8 +76,17 @@ export class CredentialController { if (!result.isEmpty()) { return response.status(400).json({ error: result.array()[0].msg }) } + + const { credential, policies } = request.body + const verifyStatus = request.query.verifyStatus === 'true' ? true : false try { - const result = await Credentials.instance.verify_credentials(request.body.credential, request.body.statusOptions, response.locals.customerId) + const result = await Identity.instance.verifyCredential( + credential, + { + verifyStatus, + policies + }, + response.locals.customerId) if (result.error) { return response.status(400).json({ verified: result.verified, @@ -144,8 +153,18 @@ export class CredentialController { return response.status(400).json({ error: result.array()[0].msg }) } + const { presentation, domain, policies } = request.body + const verifyStatus = request.query.verifyStatus === 'true' ? true : false try { - const result = await Identity.instance.verifyPresentation(request.body.presentation, request.body.statusOptions, response.locals.customerId) + const result = await Identity.instance.verifyPresentation( + presentation, + { + verifyStatus, + policies, + domain + }, + response.locals.customerId + ) if (result.error) { return response.status(400).json({ verified: result.verified, diff --git a/src/services/credentials.ts b/src/services/credentials.ts index d8ddadd6..53dcdbd9 100644 --- a/src/services/credentials.ts +++ b/src/services/credentials.ts @@ -4,7 +4,7 @@ import { VC_CONTEXT, VC_TYPE } from '../types/constants.js' -import { CredentialRequest, VerifyCredentialStatusOptions, VerifyPresentationStatusOptions } from '../types/types.js' +import { CredentialRequest, VerificationOptions } from '../types/types.js' import { Identity } from './identity/index.js' import { VeridaService } from '../services/connectors/verida.js' import { v4 } from 'uuid' @@ -50,15 +50,4 @@ export class Credentials { } return verifiable_credential } - - async verify_credentials(credential: W3CVerifiableCredential | string, statusOptions: VerifyCredentialStatusOptions | null, agentId: string): Promise { - const result = await Identity.instance.verifyCredential(credential, statusOptions, agentId) - delete(result.payload) - return result - } - - async verify_presentation(presentation: W3CVerifiablePresentation, statusOptions: VerifyPresentationStatusOptions | null, agentId: string): Promise { - const result = await Identity.instance.verifyPresentation(presentation, statusOptions, agentId) - return result - } } diff --git a/src/services/identity/IIdentity.ts b/src/services/identity/IIdentity.ts index d57394a5..c96b53d1 100644 --- a/src/services/identity/IIdentity.ts +++ b/src/services/identity/IIdentity.ts @@ -11,8 +11,8 @@ import type { } from '@veramo/core' import type { AbstractPrivateKeyStore } from '@veramo/key-manager' import type { ResourcePayload } from '@cheqd/did-provider-cheqd' -import type { BulkRevocationResult, BulkSuspensionResult, BulkUnsuspensionResult, CreateEncryptedStatusList2021Result, CreateStatusList2021Result, RevocationResult, SuspensionResult, UnsuspensionResult } from '@cheqd/did-provider-cheqd/build/types/agent/ICheqd' -import type { BroadCastStatusListOptions, CreateStatusListOptions, CredentialRequest, StatusOptions, UpdateStatusListOptions, VeramoAgent, VerifyCredentialStatusOptions, VerifyPresentationStatusOptions } from '../../types/types' +import type { BulkRevocationResult, BulkSuspensionResult, BulkUnsuspensionResult, CreateStatusList2021Result, RevocationResult, SuspensionResult, UnsuspensionResult } from '@cheqd/did-provider-cheqd/build/types/agent/ICheqd' +import type { BroadCastStatusListOptions, CreateStatusListOptions, CredentialRequest, StatusOptions, UpdateStatusListOptions, VeramoAgent, VerificationOptions } from '../../types/types' export interface IIdentity { agent?: TAgent @@ -30,9 +30,9 @@ export interface IIdentity { importDid(did: string, privateKeyHex: string, publicKeyHex: string, agentId?: string): Promise createResource(network: string, payload: ResourcePayload, agentId?: string): Promise createCredential(credential: CredentialPayload, format: CredentialRequest['format'], statusOptions: StatusOptions | null, agentId?: string): Promise - verifyCredential(credential: VerifiableCredential | string, statusOptions: VerifyCredentialStatusOptions | null, agentId?: string): Promise - verifyPresentation(presentation: VerifiablePresentation | string, statusOptions: VerifyPresentationStatusOptions, agentId?: string): Promise - createStatusList2021(did: string, resourceOptions: ResourcePayload, statusOptions: CreateStatusListOptions, agentId: string): Promise + verifyCredential(credential: VerifiableCredential | string, verificationOptions: VerificationOptions, agentId?: string): Promise + verifyPresentation(presentation: VerifiablePresentation | string, verificationOptions: VerificationOptions, agentId?: string): Promise + createStatusList2021(did: string, resourceOptions: ResourcePayload, statusOptions: CreateStatusListOptions, agentId: string): Promise updateStatusList2021(did: string, statusOptions: UpdateStatusListOptions, publish?: boolean, agentId?: string): Promise broadcastStatusList2021(did: string, resourceOptions: ResourcePayload, statusOptions: BroadCastStatusListOptions, agentId?: string): Promise revokeCredentials(credential: VerifiableCredential | VerifiableCredential[], publish: boolean, agentId?: string): Promise diff --git a/src/services/identity/agent.ts b/src/services/identity/agent.ts index 962d805a..259b2a8b 100644 --- a/src/services/identity/agent.ts +++ b/src/services/identity/agent.ts @@ -14,7 +14,7 @@ import { MinimalImportableKey, TAgent, VerifiableCredential, - VerifiablePresentation, + VerifiablePresentation } from '@veramo/core' import { KeyManager } from '@veramo/key-manager' import { DIDStore, KeyStore } from '@veramo/data-store' @@ -34,6 +34,7 @@ import type { ICheqdRevokeBulkCredentialsWithStatusList2021Args, ICheqdUpdateIdentifierArgs, ICheqdVerifyCredentialWithStatusList2021Args, + ICheqdVerifyPresentationWithStatusList2021Args, } from '@cheqd/did-provider-cheqd/build/types/agent/ICheqd' import { BroadCastStatusListOptions, @@ -46,10 +47,10 @@ import { SuspensionStatusOptions, UpdateStatusListOptions, VeramoAgent, - VerifyCredentialStatusOptions, - VerifyPresentationStatusOptions + VerificationOptions } from '../../types/types.js' import { VC_PROOF_FORMAT, VC_REMOVE_ORIGINAL_FIELDS } from '../../types/constants.js' +import { decodeJWT } from 'did-jwt' const resolverUrl = "https://resolver.cheqd.net/1.0/identifiers/" @@ -236,16 +237,26 @@ export class Veramo { } } - async verifyCredential(agent: VeramoAgent, credential: string | VerifiableCredential, statusOptions: VerifyCredentialStatusOptions | null): Promise { - if(typeof credential !== 'string' && credential.credentialStatus) { - return await agent.cheqdVerifyCredential({ + async verifyCredential(agent: VeramoAgent, credential: string | VerifiableCredential, verificationOptions: VerificationOptions = {}): Promise { + const decodedCredential = typeof credential === 'string' ? decodeJWT(credential) as unknown as VerifiableCredential : credential + let result: IVerifyResult + if(verificationOptions.verifyStatus) { + result = await agent.cheqdVerifyCredential({ credential: credential as VerifiableCredential, fetchList: true, - ...statusOptions + verificationArgs: { + ...verificationOptions, + fetchRemoteContexts: verificationOptions.fetchRemoteContexts || decodedCredential.proof.jws + } } as ICheqdVerifyCredentialWithStatusList2021Args) + } else { + result = await agent.verifyCredential({ + credential, + ...verificationOptions, + fetchRemoteContexts: verificationOptions.fetchRemoteContexts || decodedCredential.proof.jws + }) } - const result = await agent.verifyCredential({ credential, fetchRemoteContexts: true }) if (result.didResolutionResult) { delete(result.didResolutionResult) } @@ -257,19 +268,28 @@ export class Veramo { if (result.verifiableCredential) { delete(result.verifiableCredential) } + + if (result.payload) { + delete(result.payload) + } + return result } - async verifyPresentation(agent: VeramoAgent, presentation: VerifiablePresentation | string, statusOptions: VerifyPresentationStatusOptions | null): Promise { - // TODO: expose domain in did-provider-cheqd - // if(typeof presentation !== 'string') { - // return await agent.cheqdVerifyPresentation({ - // presentation: presentation as VerifiablePresentation, - // fetchList: true, - // ...statusOptions - // } as ICheqdVerifyPresentationWithStatusList2021Args) - // } - const result = await agent.verifyPresentation({ presentation, fetchRemoteContexts: true, policies: {audience: false} }) + async verifyPresentation(agent: VeramoAgent, presentation: VerifiablePresentation | string, verificationOptions: VerificationOptions = {}): Promise { + let result: IVerifyResult + if(verificationOptions.verifyStatus) { + result = await agent.cheqdVerifyPresentation({ + presentation: presentation as VerifiablePresentation, + fetchList: true, + verificationArgs: { + ...verificationOptions + }, + } as ICheqdVerifyPresentationWithStatusList2021Args) + } else { + result = await agent.verifyPresentation({ presentation, ...verificationOptions, fetchRemoteContexts: verificationOptions.fetchRemoteContexts || false }) + } + if (result.didResolutionResult) { delete(result.didResolutionResult) } @@ -281,6 +301,11 @@ export class Veramo { if (result.verifiablePresentation) { delete(result.verifiablePresentation) } + + if (result.payload) { + delete(result.payload) + } + return result } diff --git a/src/services/identity/local.ts b/src/services/identity/local.ts index 87eb5564..f21c4dbe 100644 --- a/src/services/identity/local.ts +++ b/src/services/identity/local.ts @@ -9,10 +9,10 @@ import { import { AbstractPrivateKeyStore, MemoryPrivateKeyStore } from '@veramo/key-manager' import { KeyManagementSystem } from '@veramo/kms-local' import { CheqdDIDProvider, ResourcePayload } from '@cheqd/did-provider-cheqd' -import { BulkRevocationResult, BulkSuspensionResult, BulkUnsuspensionResult, CreateEncryptedStatusList2021Result, CreateStatusList2021Result, ICheqdBroadcastEncryptedStatusList2021Args } from '@cheqd/did-provider-cheqd/build/types/agent/ICheqd' +import { BulkRevocationResult, BulkSuspensionResult, BulkUnsuspensionResult, CreateStatusList2021Result } from '@cheqd/did-provider-cheqd/build/types/agent/ICheqd' import { CheqdNetwork } from '@cheqd/sdk' -import { BroadCastStatusListOptions, CreateStatusListOptions, CredentialRequest, DefaultRPCUrl, StatusOptions, UpdateStatusListOptions, VeramoAgent, VerifyCredentialStatusOptions, VerifyPresentationStatusOptions } from '../../types/types.js' +import { BroadCastStatusListOptions, CreateStatusListOptions, CredentialRequest, DefaultRPCUrl, StatusOptions, UpdateStatusListOptions, VeramoAgent, VerificationOptions } from '../../types/types.js' import { Connection } from '../../database/connection/connection.js' import { IIdentity } from './IIdentity.js' import { Veramo } from './agent.js' @@ -146,15 +146,15 @@ export class LocalIdentity implements IIdentity { } } - async verifyCredential(credential: VerifiableCredential | string, statusOptions: VerifyCredentialStatusOptions | null): Promise { - return await Veramo.instance.verifyCredential(this.initAgent(), credential, statusOptions) + async verifyCredential(credential: VerifiableCredential | string, verificationOptions: VerificationOptions): Promise { + return await Veramo.instance.verifyCredential(this.initAgent(), credential, verificationOptions) } - async verifyPresentation(presentation: VerifiablePresentation | string, statusOptions: VerifyPresentationStatusOptions | null): Promise { - return await Veramo.instance.verifyPresentation(this.initAgent(), presentation, statusOptions) + async verifyPresentation(presentation: VerifiablePresentation | string, verificationOptions: VerificationOptions): Promise { + return await Veramo.instance.verifyPresentation(this.initAgent(), presentation, verificationOptions) } - async createStatusList2021(did: string, resourceOptions: ResourcePayload, statusListOptions: CreateStatusListOptions): Promise { + async createStatusList2021(did: string, resourceOptions: ResourcePayload, statusListOptions: CreateStatusListOptions): Promise { return await Veramo.instance.createStatusList2021(this.initAgent(), did, resourceOptions, statusListOptions) } diff --git a/src/services/identity/postgres.ts b/src/services/identity/postgres.ts index bf02d63c..8b3c9ac8 100644 --- a/src/services/identity/postgres.ts +++ b/src/services/identity/postgres.ts @@ -16,7 +16,7 @@ import { KeyManagementSystem, SecretBox } from '@veramo/kms-local' import { PrivateKeyStore } from '@veramo/data-store' import { CheqdDIDProvider, ResourcePayload } from '@cheqd/did-provider-cheqd' import { CheqdNetwork } from '@cheqd/sdk' -import { BroadCastStatusListOptions, cheqdDidRegex, CreateStatusListOptions, CredentialRequest, DefaultRPCUrl, StatusOptions, UpdateStatusListOptions, VeramoAgent, VerifyCredentialStatusOptions, VerifyPresentationStatusOptions } from '../../types/types.js' +import { BroadCastStatusListOptions, cheqdDidRegex, CreateStatusListOptions, CredentialRequest, DefaultRPCUrl, StatusOptions, UpdateStatusListOptions, VeramoAgent, VerificationOptions } from '../../types/types.js' import { Connection } from '../../database/connection/connection.js' import { CustomerEntity } from '../../database/entities/customer.entity.js' import { IIdentity } from './IIdentity.js' @@ -24,7 +24,7 @@ import { CustomerService } from '../customer.js' import { Veramo } from './agent.js' import * as dotenv from 'dotenv' -import { BulkRevocationResult, BulkSuspensionResult, BulkUnsuspensionResult, CreateEncryptedStatusList2021Result, CreateStatusList2021Result } from '@cheqd/did-provider-cheqd/build/types/agent/ICheqd.js' +import { BulkRevocationResult, BulkSuspensionResult, BulkUnsuspensionResult, CreateStatusList2021Result } from '@cheqd/did-provider-cheqd/build/types/agent/ICheqd.js' dotenv.config() const { @@ -214,17 +214,17 @@ export class PostgresIdentity implements IIdentity { } } - async verifyCredential(credential: string | VerifiableCredential, statusOptions: VerifyCredentialStatusOptions | null, agentId: string): Promise { + async verifyCredential(credential: string | VerifiableCredential, verificationOptions: VerificationOptions, agentId: string): Promise { const agent = await this.createAgent(agentId) - return await Veramo.instance.verifyCredential(agent, credential, statusOptions) + return await Veramo.instance.verifyCredential(agent, credential, verificationOptions) } - async verifyPresentation(presentation: VerifiablePresentation | string, statusOptions: VerifyPresentationStatusOptions | null, agentId: string): Promise { + async verifyPresentation(presentation: VerifiablePresentation | string, verificationOptions: VerificationOptions, agentId: string): Promise { const agent = await this.createAgent(agentId) - return await Veramo.instance.verifyPresentation(agent, presentation, statusOptions) + return await Veramo.instance.verifyPresentation(agent, presentation, verificationOptions) } - async createStatusList2021(did: string, resourceOptions: ResourcePayload, statusOptions: CreateStatusListOptions, agentId: string): Promise { + async createStatusList2021(did: string, resourceOptions: ResourcePayload, statusOptions: CreateStatusListOptions, agentId: string): Promise { const agent = await this.createAgent(agentId) return await Veramo.instance.createStatusList2021(agent, did, resourceOptions, statusOptions) } diff --git a/src/static/swagger.json b/src/static/swagger.json index 9cffaa3b..511a64a1 100644 --- a/src/static/swagger.json +++ b/src/static/swagger.json @@ -522,6 +522,25 @@ "summary": "Verify a credential", "description": "

This endpoint verifies the credential. As input it takes the entire credential itself or just the JWT string

", "operationId": "verify", + "parameters": [ + { + "in": "query", + "name": "verifyStatus", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "in": "query", + "name": "fetchRemoteContexts", + "description": "When dealing with JSON-LD you also MUST provide the proper contexts. * Set this to `true` ONLY if you want the `@context` URLs to be fetched in case they are a custom context.", + "schema": { + "type": "boolean", + "default": false + } + } + ], "requestBody": { "content": { "application/x-www-form-urlencoded": { @@ -826,6 +845,25 @@ "summary": "Verify a credential presentation", "description": "

This endpoint verifies the credential presentation. As input it takes the entire presentation itself

", "operationId": "presentation", + "parameters": [ + { + "in": "query", + "name": "verifyStatus", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "in": "query", + "name": "fetchRemoteContexts", + "description": "When dealing with JSON-LD you also MUST provide the proper contexts. * Set this to `true` ONLY if you want the `@context` URLs to be fetched in case they are a custom context.", + "schema": { + "type": "boolean", + "default": false + } + } + ], "requestBody": { "content": { "application/x-www-form-urlencoded": { @@ -2050,6 +2088,28 @@ "type": "string" } ] + }, + "policies": { + "description": "Specifc Verification Policies", + "type": "object", + "properties": { + "now": { + "description": "policy to verify over the now (current time) during the verification check (UNIX time in seconds)", + "type": "number" + }, + "issuanceDate": { + "description": "policy to skip the issuanceDate (nbf) timestamp check when set to `false`", + "type": "boolean" + }, + "expirationDate": { + "description": "policy to skip the expirationDate (exp) timestamp check when set to `false`", + "type": "boolean" + }, + "audience": { + "description": "policy to skip the audience check when set to `false`", + "type": "boolean" + } + } } } }, @@ -2234,6 +2294,32 @@ "type": "object" } ] + }, + "domain": { + "description": "domain parameter to verify the verifiable presentation against", + "type": "string" + }, + "policies": { + "description": "Specifc Verification Policies", + "type": "object", + "properties": { + "now": { + "description": "policy to verify over the now (current time) during the verification check (UNIX time in seconds)", + "type": "number" + }, + "issuanceDate": { + "description": "policy to skip the issuanceDate (nbf) timestamp check when set to `false`", + "type": "boolean" + }, + "expirationDate": { + "description": "policy to skip the expirationDate (exp) timestamp check when set to `false`", + "type": "boolean" + }, + "audience": { + "description": "policy to skip the audience check when set to `false`", + "type": "boolean" + } + } } } }, diff --git a/src/types/types.ts b/src/types/types.ts index 53b6403e..f3a1fb0b 100644 --- a/src/types/types.ts +++ b/src/types/types.ts @@ -6,9 +6,10 @@ import { ICredentialIssuer, ICredentialVerifier, W3CVerifiableCredential, - TAgent + TAgent, + VerificationPolicies } from '@veramo/core' -import { AccessControlConditionBalanceArgs, AccessControlConditionMemoNonceArgs, ICheqd, ICheqdStatusList2021Options } from '@cheqd/did-provider-cheqd/build/types/agent/ICheqd' +import { ICheqd, ICheqdStatusList2021Options } from '@cheqd/did-provider-cheqd/build/types/agent/ICheqd' import { ICredentialIssuerLD } from '@veramo/credential-ld' import { AbstractIdentifierProvider } from '@veramo/did-manager' import { AbstractKeyManagementSystem } from '@veramo/key-manager' @@ -138,22 +139,6 @@ export type StatusOptions = { export type RevocationStatusOptions = StatusOptions & { statusPurpose: 'revocation' } export type SuspensionStatusOptions = StatusOptions & { statusPurpose: 'suspension' } -export type VerifyCredentialStatusOptions = { - fetchList?: boolean - encryptedSymmetricKey?: string - options?: ICheqdStatusList2021Options - decryptionOptions: { - unifiedAccessControlConditions: CosmosAccessControlCondition[] - } - bootstrapOptions: {} -} - -export type VerifyPresentationStatusOptions = Omit & { - decryptionOptions: { - accessControlConditions: (AccessControlConditionMemoNonceArgs | AccessControlConditionBalanceArgs)[] - } -} - export interface ResourceMetadata { collectionId: string resourceId: string @@ -174,4 +159,11 @@ export interface UpdateStatusListOptions { statusListName: string statusListVersion?: string statusAction: 'revoke' | 'suspend' | 'reinstate' +} + +export interface VerificationOptions { + fetchRemoteContexts?: boolean + policies?: VerificationPolicies + domain?: string + verifyStatus?: boolean } \ No newline at end of file From 5cb4f157179c5134dc7e122151adb81c5d2ce7ec Mon Sep 17 00:00:00 2001 From: Ankur Banerjee Date: Tue, 11 Jul 2023 12:43:49 +0200 Subject: [PATCH 2/5] bump deps --- package-lock.json | 768 ++++++++++++++++++++++++---------------------- package.json | 14 +- 2 files changed, 404 insertions(+), 378 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0ffc09fa..ca662d4e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "2.4.0-develop.8", "license": "Apache-2.0", "dependencies": { - "@cheqd/did-provider-cheqd": "^3.5.0", + "@cheqd/did-provider-cheqd": "^3.6.0", "@cosmjs/amino": "^0.31.0", "@cosmjs/encoding": "^0.30.1", "@logto/express": "^2.0.2", @@ -21,10 +21,10 @@ "@veramo/did-resolver": "^5.2.0", "@veramo/key-manager": "^5.1.2", "@veramo/kms-local": "^5.1.2", - "@verida/account-node": "^2.3.5", - "@verida/client-ts": "^2.3.5", + "@verida/account-node": "^2.3.6", + "@verida/client-ts": "^2.3.6", "@verida/types": "^2.3.1", - "@verida/vda-did-resolver": "^2.3.5", + "@verida/vda-did-resolver": "^2.3.6", "cookie-parser": "^1.4.6", "copyfiles": "^2.4.1", "cors": "^2.8.5", @@ -59,12 +59,12 @@ "@types/express-session": "^1.17.7", "@types/helmet": "^4.0.0", "@types/json-stringify-safe": "^5.0.0", - "@types/node": "^20.4.0", + "@types/node": "^20.4.1", "@types/secp256k1": "^4.0.3", "@types/swagger-ui-express": "^4.1.3", "@types/uuid": "^9.0.2", - "@typescript-eslint/eslint-plugin": "^5.61.0", - "@typescript-eslint/parser": "^5.61.0", + "@typescript-eslint/eslint-plugin": "^5.62.0", + "@typescript-eslint/parser": "^5.62.0", "buffer": "6.0.3", "conventional-changelog-conventionalcommits": "^6.1.0", "eslint": "^8.44.0", @@ -2365,9 +2365,9 @@ } }, "node_modules/@babel/register/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "optional": true, "peer": true, "bin": { @@ -2489,9 +2489,9 @@ } }, "node_modules/@cheqd/did-provider-cheqd": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/@cheqd/did-provider-cheqd/-/did-provider-cheqd-3.5.0.tgz", - "integrity": "sha512-ava40ECf1dXJ1Dz0CKFEFNWCFxpBNFYmXUc54fMOnSPxuTY0DlgjPTF1gHyaekIv3THQtsst08QhZATIZPb55Q==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@cheqd/did-provider-cheqd/-/did-provider-cheqd-3.6.0.tgz", + "integrity": "sha512-Q224xRj/4Umfc3M/RPIwoM7iyKZI19oxob74RXp/nqexxDAX4OF2Nz/r3XSuN3vX3AIj94d2NwITQdhwqtoyJA==", "dependencies": { "@cheqd/sdk": "^3.5.6", "@cheqd/ts-proto": "^3.2.1", @@ -2500,7 +2500,7 @@ "@cosmjs/proto-signing": "^0.31.0", "@cosmjs/utils": "^0.31.0", "@digitalbazaar/vc-status-list": "^7.0.0", - "@lit-protocol/lit-node-client": "^2.2.39", + "@lit-protocol/lit-node-client": "^2.2.40", "@veramo/core": "^5.2.0", "@veramo/did-manager": "^5.1.2", "@veramo/did-provider-key": "^5.2.0", @@ -4070,9 +4070,9 @@ } }, "node_modules/@expo/cli": { - "version": "0.10.9", - "resolved": "https://registry.npmjs.org/@expo/cli/-/cli-0.10.9.tgz", - "integrity": "sha512-aK/2ZPC01rD7H4zDiM+GQHorjrOhgo0I+6AGht7RUL3M022TnarlLVc6KJDhVCMeXLaPuerJrsEJm5Hvgl1mNw==", + "version": "0.10.10", + "resolved": "https://registry.npmjs.org/@expo/cli/-/cli-0.10.10.tgz", + "integrity": "sha512-YN5ziGfb+CBY51ezZHSRTnZ6FpJT8t8RG4OIKPFyvuO7PWctC52CEXgJ6CJDzgxAaiD/ubogciVAYqjvNa6Lnw==", "optional": true, "peer": true, "dependencies": { @@ -4322,6 +4322,22 @@ "node": ">=8" } }, + "node_modules/@expo/cli/node_modules/semver": { + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "optional": true, + "peer": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/@expo/cli/node_modules/tempy": { "version": "0.7.1", "resolved": "https://registry.npmjs.org/tempy/-/tempy-0.7.1.tgz", @@ -4531,6 +4547,22 @@ "node": ">=8" } }, + "node_modules/@expo/config/node_modules/semver": { + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "optional": true, + "peer": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/@expo/dev-server": { "version": "0.5.4", "resolved": "https://registry.npmjs.org/@expo/dev-server/-/dev-server-0.5.4.tgz", @@ -5039,9 +5071,9 @@ } }, "node_modules/@expo/spawn-async/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "optional": true, "peer": true, "bin": { @@ -5111,7 +5143,7 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", - "optional": true + "devOptional": true }, "node_modules/@graphql-typed-document-node/core": { "version": "3.2.0", @@ -5825,15 +5857,15 @@ "integrity": "sha512-kXOeFbfCm4fFf2A3WwVEeQj55tMZa8c8/f9AKHMobQMkzNUfUj+antR3fRPaZJawsa1aZiP/Da3ndpZrwEe4rQ==" }, "node_modules/@lit-protocol/access-control-conditions": { - "version": "2.2.39", - "resolved": "https://registry.npmjs.org/@lit-protocol/access-control-conditions/-/access-control-conditions-2.2.39.tgz", - "integrity": "sha512-v/1vMtXfty8OzUjvzf+tb7DwI4iRfZyE4Zutj1vXTKb/trQ2FRZAjxlg8gocWIsOet/oopQ+cTeMKKE65gdchg==", - "dependencies": { - "@lit-protocol/auth-helpers": "2.2.39", - "@lit-protocol/constants": "2.2.39", - "@lit-protocol/misc": "2.2.39", - "@lit-protocol/types": "2.2.39", - "@lit-protocol/uint8arrays": "2.2.39", + "version": "2.2.41", + "resolved": "https://registry.npmjs.org/@lit-protocol/access-control-conditions/-/access-control-conditions-2.2.41.tgz", + "integrity": "sha512-clnf/7r9FKFQJyjh1jqHfsAkqutKuzjL09sSKHNWG5/sWXhuqRj5U+IQ6xKthIUbyf3xPRbXCAre9WxY4t1x2w==", + "dependencies": { + "@lit-protocol/auth-helpers": "2.2.41", + "@lit-protocol/constants": "2.2.41", + "@lit-protocol/misc": "2.2.41", + "@lit-protocol/types": "2.2.41", + "@lit-protocol/uint8arrays": "2.2.41", "ethers": "^5.7.1", "siwe": "^2.0.5", "siwe-recap": "0.0.2-alpha.0", @@ -5841,16 +5873,16 @@ } }, "node_modules/@lit-protocol/auth-browser": { - "version": "2.2.39", - "resolved": "https://registry.npmjs.org/@lit-protocol/auth-browser/-/auth-browser-2.2.39.tgz", - "integrity": "sha512-TIF/d3iZ9ZxbN12Qiud7cZ3xpYpeSJJBY1yxtHfSKBaKbXM8kQRk7amPDM8xLyfDf3Fa8QOqAn7iZ6idjF7RgQ==", - "dependencies": { - "@lit-protocol/auth-helpers": "2.2.39", - "@lit-protocol/constants": "2.2.39", - "@lit-protocol/misc": "2.2.39", - "@lit-protocol/misc-browser": "2.2.39", - "@lit-protocol/types": "2.2.39", - "@lit-protocol/uint8arrays": "2.2.39", + "version": "2.2.41", + "resolved": "https://registry.npmjs.org/@lit-protocol/auth-browser/-/auth-browser-2.2.41.tgz", + "integrity": "sha512-/0DiWiVx3et+wNs26f0C0Bxmxz2Xtu34QkwCjRB54P+cJR2BFXYBobJgPoe8rJBVTOsZl7lD+kDaeV4lAXbLcQ==", + "dependencies": { + "@lit-protocol/auth-helpers": "2.2.41", + "@lit-protocol/constants": "2.2.41", + "@lit-protocol/misc": "2.2.41", + "@lit-protocol/misc-browser": "2.2.41", + "@lit-protocol/types": "2.2.41", + "@lit-protocol/uint8arrays": "2.2.41", "@walletconnect/ethereum-provider": "2.7.0", "@web3modal/standalone": "2.2.1", "ethers": "^5.7.1", @@ -6083,9 +6115,9 @@ } }, "node_modules/@lit-protocol/auth-helpers": { - "version": "2.2.39", - "resolved": "https://registry.npmjs.org/@lit-protocol/auth-helpers/-/auth-helpers-2.2.39.tgz", - "integrity": "sha512-a8wSm1FF8B3ikO7LtCKccg+iU6fEz8Q125ch4tXfxx2+ifb+jfkQPzSQB61iVwtDOMvkoNBptPYKf2A0IeZFkg==", + "version": "2.2.41", + "resolved": "https://registry.npmjs.org/@lit-protocol/auth-helpers/-/auth-helpers-2.2.41.tgz", + "integrity": "sha512-DwEd9jAJRZ1hHF401NLd7HnLjCw2GDtXUNMZGBalzSvLHKrPUPaG64WzYDrPPSkasH7WpoGxiiuP0HRNvMv8/Q==", "dependencies": { "siwe": "^2.0.5", "siwe-recap": "0.0.2-alpha.0", @@ -6093,41 +6125,42 @@ } }, "node_modules/@lit-protocol/bls-sdk": { - "version": "2.2.39", - "resolved": "https://registry.npmjs.org/@lit-protocol/bls-sdk/-/bls-sdk-2.2.39.tgz", - "integrity": "sha512-yNuF77hgnZdMnFwPHDimONbWv5d9PVFsCmanWTo2QHKijK3B0Rhb7KGUnQY9Mi8Qx9KM/DEe8pjgrIvx6P0CqA==", + "version": "2.2.41", + "resolved": "https://registry.npmjs.org/@lit-protocol/bls-sdk/-/bls-sdk-2.2.41.tgz", + "integrity": "sha512-X3myX6RLZdKXU9uHEqYbQwlHY5bVD7pdKKBXm7ShglFAqURo2ovW80EX9ELqkaCivGNC9Vkpa8Ua/w0dJvJNxw==", "dependencies": { "pako": "^2.1.0", "tslib": "^2.3.0" } }, "node_modules/@lit-protocol/constants": { - "version": "2.2.39", - "resolved": "https://registry.npmjs.org/@lit-protocol/constants/-/constants-2.2.39.tgz", - "integrity": "sha512-Ff3PQjhE4wc+J2FWsIRYw3QnOQDVWojCwIQ8LK26WuWOTil1bCXuz8uBjpcxvikAoogaQ9BYNmqdw8+cBWS5ew==", + "version": "2.2.41", + "resolved": "https://registry.npmjs.org/@lit-protocol/constants/-/constants-2.2.41.tgz", + "integrity": "sha512-4roOsxZ6ocJiEbKTZPSpEi7RJW0JbnfmY96bA39jMdKVnxNUOqOrXgXMIPK2zlW6ba2MOkFIwHStcKwCv8om0g==", "dependencies": { - "@lit-protocol/auth-helpers": "2.2.39", - "@lit-protocol/types": "2.2.39", + "@lit-protocol/auth-helpers": "2.2.41", + "@lit-protocol/types": "2.2.41", + "ethers": "^5.7.1", "siwe": "^2.0.5", "siwe-recap": "0.0.2-alpha.0", "tslib": "^2.3.0" } }, "node_modules/@lit-protocol/core": { - "version": "2.2.39", - "resolved": "https://registry.npmjs.org/@lit-protocol/core/-/core-2.2.39.tgz", - "integrity": "sha512-HnwhYMFWySBcgHpLAoTTt+veNKxBIvIwTP6+X8c7WrE6jtNK28GqwqnSvhxMMMBNyqn9HS5ZvIRpFEOk2x86DQ==", - "dependencies": { - "@lit-protocol/access-control-conditions": "2.2.39", - "@lit-protocol/auth-helpers": "2.2.39", - "@lit-protocol/bls-sdk": "2.2.39", - "@lit-protocol/constants": "2.2.39", - "@lit-protocol/crypto": "2.2.39", - "@lit-protocol/ecdsa-sdk": "2.2.39", - "@lit-protocol/misc": "2.2.39", - "@lit-protocol/nacl": "2.2.39", - "@lit-protocol/types": "2.2.39", - "@lit-protocol/uint8arrays": "2.2.39", + "version": "2.2.41", + "resolved": "https://registry.npmjs.org/@lit-protocol/core/-/core-2.2.41.tgz", + "integrity": "sha512-SbxLheLftKJRCngNjy3dqfoVtoZxXrR+xDSJcFlNJq9ssgZVjKdrTf9LPvN8NizcwQ6cxP6rwR+AMAiilxtrLg==", + "dependencies": { + "@lit-protocol/access-control-conditions": "2.2.41", + "@lit-protocol/auth-helpers": "2.2.41", + "@lit-protocol/bls-sdk": "2.2.41", + "@lit-protocol/constants": "2.2.41", + "@lit-protocol/crypto": "2.2.41", + "@lit-protocol/ecdsa-sdk": "2.2.41", + "@lit-protocol/misc": "2.2.41", + "@lit-protocol/nacl": "2.2.41", + "@lit-protocol/types": "2.2.41", + "@lit-protocol/uint8arrays": "2.2.41", "ethers": "^5.7.1", "siwe": "^2.0.5", "siwe-recap": "0.0.2-alpha.0", @@ -6135,18 +6168,18 @@ } }, "node_modules/@lit-protocol/crypto": { - "version": "2.2.39", - "resolved": "https://registry.npmjs.org/@lit-protocol/crypto/-/crypto-2.2.39.tgz", - "integrity": "sha512-g7YDT9ZjmAG/Sy/yju3tJ4JKK0uXZ2FqLV+CV827C8sKowTW3e+X54OzfC2OcX6MYNF12bfkJ2ZyMEW/QhYIkg==", - "dependencies": { - "@lit-protocol/auth-helpers": "2.2.39", - "@lit-protocol/bls-sdk": "2.2.39", - "@lit-protocol/constants": "2.2.39", - "@lit-protocol/ecdsa-sdk": "2.2.39", - "@lit-protocol/misc": "2.2.39", - "@lit-protocol/nacl": "2.2.39", - "@lit-protocol/types": "2.2.39", - "@lit-protocol/uint8arrays": "2.2.39", + "version": "2.2.41", + "resolved": "https://registry.npmjs.org/@lit-protocol/crypto/-/crypto-2.2.41.tgz", + "integrity": "sha512-4JQ2TSwZ1r0DPu7lLZ9pajmd9DehsRAl8UIBTre7PWeWURBtY698V8ZXagpRRnsC4tlMNbAQu13sNevDBfpknA==", + "dependencies": { + "@lit-protocol/auth-helpers": "2.2.41", + "@lit-protocol/bls-sdk": "2.2.41", + "@lit-protocol/constants": "2.2.41", + "@lit-protocol/ecdsa-sdk": "2.2.41", + "@lit-protocol/misc": "2.2.41", + "@lit-protocol/nacl": "2.2.41", + "@lit-protocol/types": "2.2.41", + "@lit-protocol/uint8arrays": "2.2.41", "ethers": "^5.7.1", "siwe": "^2.0.5", "siwe-recap": "0.0.2-alpha.0", @@ -6154,27 +6187,27 @@ } }, "node_modules/@lit-protocol/ecdsa-sdk": { - "version": "2.2.39", - "resolved": "https://registry.npmjs.org/@lit-protocol/ecdsa-sdk/-/ecdsa-sdk-2.2.39.tgz", - "integrity": "sha512-S2SC2RPzvlwFCbZzXhDX2HqqIkMCZBUWikTEW9KvIs2O7mSkI1gTAzNFr5m/PLiMAYe/t7PP2ibkj0K8wv7tzg==", + "version": "2.2.41", + "resolved": "https://registry.npmjs.org/@lit-protocol/ecdsa-sdk/-/ecdsa-sdk-2.2.41.tgz", + "integrity": "sha512-0uqdsSCGZlRqcVS5qyl/aby1WeBzTgoaqCJ0Dopb3I4DsEkkGGaMBFlazdnu94yowZDcgoPeQznu/oPXauVFbw==", "dependencies": { "tslib": "^2.3.0" } }, "node_modules/@lit-protocol/encryption": { - "version": "2.2.39", - "resolved": "https://registry.npmjs.org/@lit-protocol/encryption/-/encryption-2.2.39.tgz", - "integrity": "sha512-GZU6UfVAZQgdR3INKSW710f3JnecU3UH8nuPy2HcuxCCjjq0OMhm3ewYRnF9FmTeu6aBKLTfBGAiOa24EZUFeg==", - "dependencies": { - "@lit-protocol/auth-helpers": "2.2.39", - "@lit-protocol/bls-sdk": "2.2.39", - "@lit-protocol/constants": "2.2.39", - "@lit-protocol/crypto": "2.2.39", - "@lit-protocol/ecdsa-sdk": "2.2.39", - "@lit-protocol/misc": "2.2.39", - "@lit-protocol/nacl": "2.2.39", - "@lit-protocol/types": "2.2.39", - "@lit-protocol/uint8arrays": "2.2.39", + "version": "2.2.41", + "resolved": "https://registry.npmjs.org/@lit-protocol/encryption/-/encryption-2.2.41.tgz", + "integrity": "sha512-ZL/uNKJ57c4H/HrZapq7jsBU57WVp7BemAWpM1vpAWmb9plL07jQIMkPQYLeOUEbIDTwLUfvkZkELtSBGHuLWQ==", + "dependencies": { + "@lit-protocol/auth-helpers": "2.2.41", + "@lit-protocol/bls-sdk": "2.2.41", + "@lit-protocol/constants": "2.2.41", + "@lit-protocol/crypto": "2.2.41", + "@lit-protocol/ecdsa-sdk": "2.2.41", + "@lit-protocol/misc": "2.2.41", + "@lit-protocol/nacl": "2.2.41", + "@lit-protocol/types": "2.2.41", + "@lit-protocol/uint8arrays": "2.2.41", "ethers": "^5.7.1", "ipfs-http-client": "56.0.0", "jszip": "^3.10.1", @@ -6184,28 +6217,28 @@ } }, "node_modules/@lit-protocol/lit-node-client": { - "version": "2.2.39", - "resolved": "https://registry.npmjs.org/@lit-protocol/lit-node-client/-/lit-node-client-2.2.39.tgz", - "integrity": "sha512-LQMY/qI25KulpJxvzDDtnFDredcC1oTIcwEvWGxs2E8mustER1zRpax94KkXdnB085/F4asHK4eWdDlTkKOI+A==", + "version": "2.2.41", + "resolved": "https://registry.npmjs.org/@lit-protocol/lit-node-client/-/lit-node-client-2.2.41.tgz", + "integrity": "sha512-Fyw3s3tpaqreep2M8X5CUuIac2WNbdZOxm8EdWvqLgt5OiODsJBPBfFAfW8l4kzmpGDHHxq5n99gVhtpDpDWiA==", "dependencies": { "@cosmjs/proto-signing": "^0.30.1", "@cosmjs/stargate": "^0.30.1", - "@lit-protocol/access-control-conditions": "2.2.39", - "@lit-protocol/auth-browser": "2.2.39", - "@lit-protocol/auth-helpers": "2.2.39", - "@lit-protocol/bls-sdk": "2.2.39", - "@lit-protocol/constants": "2.2.39", - "@lit-protocol/core": "2.2.39", - "@lit-protocol/crypto": "2.2.39", - "@lit-protocol/ecdsa-sdk": "2.2.39", - "@lit-protocol/encryption": "2.2.39", - "@lit-protocol/lit-node-client-nodejs": "2.2.39", - "@lit-protocol/lit-third-party-libs": "2.2.39", - "@lit-protocol/misc": "2.2.39", - "@lit-protocol/misc-browser": "2.2.39", - "@lit-protocol/nacl": "2.2.39", - "@lit-protocol/types": "2.2.39", - "@lit-protocol/uint8arrays": "2.2.39", + "@lit-protocol/access-control-conditions": "2.2.41", + "@lit-protocol/auth-browser": "2.2.41", + "@lit-protocol/auth-helpers": "2.2.41", + "@lit-protocol/bls-sdk": "2.2.41", + "@lit-protocol/constants": "2.2.41", + "@lit-protocol/core": "2.2.41", + "@lit-protocol/crypto": "2.2.41", + "@lit-protocol/ecdsa-sdk": "2.2.41", + "@lit-protocol/encryption": "2.2.41", + "@lit-protocol/lit-node-client-nodejs": "2.2.41", + "@lit-protocol/lit-third-party-libs": "2.2.41", + "@lit-protocol/misc": "2.2.41", + "@lit-protocol/misc-browser": "2.2.41", + "@lit-protocol/nacl": "2.2.41", + "@lit-protocol/types": "2.2.41", + "@lit-protocol/uint8arrays": "2.2.41", "@walletconnect/ethereum-provider": "2.7.0", "@web3modal/standalone": "^2.2.1", "blockstore-core": "^3.0.0", @@ -6224,26 +6257,26 @@ } }, "node_modules/@lit-protocol/lit-node-client-nodejs": { - "version": "2.2.39", - "resolved": "https://registry.npmjs.org/@lit-protocol/lit-node-client-nodejs/-/lit-node-client-nodejs-2.2.39.tgz", - "integrity": "sha512-iSeOoaaLwxIY/esn4Kzw63RAsrkbWFygTRwBEPfBNqj2HeMg4wxj1dhzbVM6s8/imapxXTbewASHZmyxZBzFUQ==", + "version": "2.2.41", + "resolved": "https://registry.npmjs.org/@lit-protocol/lit-node-client-nodejs/-/lit-node-client-nodejs-2.2.41.tgz", + "integrity": "sha512-teH2Q07qYuKerMInFLtkfOlIzy9roptBHElJPmVI8XFe1kFxkgIEO4X+sgZBKIfOYDVdM9f5UAFJSGBAN0gj2A==", "dependencies": { "@cosmjs/proto-signing": "^0.30.1", "@cosmjs/stargate": "^0.30.1", - "@lit-protocol/access-control-conditions": "2.2.39", - "@lit-protocol/auth-helpers": "2.2.39", - "@lit-protocol/bls-sdk": "2.2.39", - "@lit-protocol/constants": "2.2.39", - "@lit-protocol/core": "2.2.39", - "@lit-protocol/crypto": "2.2.39", - "@lit-protocol/ecdsa-sdk": "2.2.39", - "@lit-protocol/encryption": "2.2.39", - "@lit-protocol/lit-third-party-libs": "2.2.39", - "@lit-protocol/misc": "2.2.39", - "@lit-protocol/misc-browser": "2.2.39", - "@lit-protocol/nacl": "2.2.39", - "@lit-protocol/types": "2.2.39", - "@lit-protocol/uint8arrays": "2.2.39", + "@lit-protocol/access-control-conditions": "2.2.41", + "@lit-protocol/auth-helpers": "2.2.41", + "@lit-protocol/bls-sdk": "2.2.41", + "@lit-protocol/constants": "2.2.41", + "@lit-protocol/core": "2.2.41", + "@lit-protocol/crypto": "2.2.41", + "@lit-protocol/ecdsa-sdk": "2.2.41", + "@lit-protocol/encryption": "2.2.41", + "@lit-protocol/lit-third-party-libs": "2.2.41", + "@lit-protocol/misc": "2.2.41", + "@lit-protocol/misc-browser": "2.2.41", + "@lit-protocol/nacl": "2.2.41", + "@lit-protocol/types": "2.2.41", + "@lit-protocol/uint8arrays": "2.2.41", "blockstore-core": "^3.0.0", "ethers": "^5.7.1", "ipfs-http-client": "56.0.0", @@ -6423,9 +6456,9 @@ } }, "node_modules/@lit-protocol/lit-third-party-libs": { - "version": "2.2.39", - "resolved": "https://registry.npmjs.org/@lit-protocol/lit-third-party-libs/-/lit-third-party-libs-2.2.39.tgz", - "integrity": "sha512-+30rwU2NbnxMg3PXwRUMENn3wIhL6ocS5rcz7BzQns/cSxpxsHk1WaAFOjF0dczi+LMztv8yFAGsLvok7AmVtg==", + "version": "2.2.41", + "resolved": "https://registry.npmjs.org/@lit-protocol/lit-third-party-libs/-/lit-third-party-libs-2.2.41.tgz", + "integrity": "sha512-OijwozVCxDtpAQF/5eZTKT2GPYWAja4BH96rOSiXv1cSm4PCo9Sspo5jcTA8BHBsIS3HiUbC7KmIrz6pLdaGAw==", "dependencies": { "@cosmjs/proto-signing": "^0.30.1", "@cosmjs/stargate": "^0.30.1", @@ -6518,13 +6551,13 @@ } }, "node_modules/@lit-protocol/misc": { - "version": "2.2.39", - "resolved": "https://registry.npmjs.org/@lit-protocol/misc/-/misc-2.2.39.tgz", - "integrity": "sha512-hdaqgtgat+HhSmKGZHCZP1iKS6EE0x3n1B+d1uuFqILVqaz2Gg9W6s1OufChFGULXvF1umx4S5Be4TP+iu7nRw==", + "version": "2.2.41", + "resolved": "https://registry.npmjs.org/@lit-protocol/misc/-/misc-2.2.41.tgz", + "integrity": "sha512-iOQkRBkgV7IofKuNtzjoStLZtUuljffcboD5LDZ5rp0a4aHwNggnQxabVqEZwR76hqPsPXA4HEwPS6cIzIiWDg==", "dependencies": { - "@lit-protocol/auth-helpers": "2.2.39", - "@lit-protocol/constants": "2.2.39", - "@lit-protocol/types": "2.2.39", + "@lit-protocol/auth-helpers": "2.2.41", + "@lit-protocol/constants": "2.2.41", + "@lit-protocol/types": "2.2.41", "ethers": "^5.7.1", "siwe": "^2.0.5", "siwe-recap": "0.0.2-alpha.0", @@ -6532,42 +6565,44 @@ } }, "node_modules/@lit-protocol/misc-browser": { - "version": "2.2.39", - "resolved": "https://registry.npmjs.org/@lit-protocol/misc-browser/-/misc-browser-2.2.39.tgz", - "integrity": "sha512-h40aeFb9d47eTwYhgRfpoQzERTjXHptU9JmKxqE5kKrW177hopsF5trZTyYgZPO+/u+IkT14w8NQ80UCWCn8sA==", - "dependencies": { - "@lit-protocol/auth-helpers": "2.2.39", - "@lit-protocol/constants": "2.2.39", - "@lit-protocol/types": "2.2.39", - "@lit-protocol/uint8arrays": "2.2.39", + "version": "2.2.41", + "resolved": "https://registry.npmjs.org/@lit-protocol/misc-browser/-/misc-browser-2.2.41.tgz", + "integrity": "sha512-0KrhKRwsR8Neq2rAGrArTlGE325iWd9JqiL7aWm2wVEdATrAFK7rSbNKm/Nw90SWMxVEju+sl+zcQ3WbeY7PlQ==", + "dependencies": { + "@lit-protocol/auth-helpers": "2.2.41", + "@lit-protocol/constants": "2.2.41", + "@lit-protocol/types": "2.2.41", + "@lit-protocol/uint8arrays": "2.2.41", + "ethers": "^5.7.1", "siwe": "^2.0.5", "siwe-recap": "0.0.2-alpha.0", "tslib": "^2.3.0" } }, "node_modules/@lit-protocol/nacl": { - "version": "2.2.39", - "resolved": "https://registry.npmjs.org/@lit-protocol/nacl/-/nacl-2.2.39.tgz", - "integrity": "sha512-+PE8pIhdst0C4v4u+FTnNeb5+0DK4MLgP+nwMjm7iO96hdgQ+9slFi8LdushMb3QH9/E3bMo9iTIvgGFrzKSPw==", + "version": "2.2.41", + "resolved": "https://registry.npmjs.org/@lit-protocol/nacl/-/nacl-2.2.41.tgz", + "integrity": "sha512-5tHj07iz6z6jV2wX4aXNbDps9EO0OuNJXiQXeoP+zyNbuylRi8COkD1JvZ/8BT7224D0M7Jg+pululZKie8g4g==", "dependencies": { "tslib": "^2.3.0" } }, "node_modules/@lit-protocol/types": { - "version": "2.2.39", - "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-2.2.39.tgz", - "integrity": "sha512-JXGzpBk5mlA3CUkAkbuvWaQ3aTDc+l4v9pi0DU/RkWEcJD8CaLHM5oSv6t9ZlIZl3c2ibEN+sMr98LwbrxHExA==", + "version": "2.2.41", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-2.2.41.tgz", + "integrity": "sha512-2pz7klTgnllNXRC4pji7FCG+qmYNvH2ohDLpJgLJPKR7Dwad12CjTJxjCjNoIiH1DNh5dcKRMTEIrIHb4yrjpg==", "dependencies": { - "@lit-protocol/auth-helpers": "2.2.39", + "@lit-protocol/auth-helpers": "2.2.41", + "ethers": "^5.7.1", "siwe": "^2.0.5", "siwe-recap": "0.0.2-alpha.0", "tslib": "^2.3.0" } }, "node_modules/@lit-protocol/uint8arrays": { - "version": "2.2.39", - "resolved": "https://registry.npmjs.org/@lit-protocol/uint8arrays/-/uint8arrays-2.2.39.tgz", - "integrity": "sha512-x8SGt9nLQanilKymYmyGkt300DgZgsvGoit4aXG7kHJonUONmYy7jqd53+c3Zbz3BbtJbIm4xJeipQ7nGpFbSA==", + "version": "2.2.41", + "resolved": "https://registry.npmjs.org/@lit-protocol/uint8arrays/-/uint8arrays-2.2.41.tgz", + "integrity": "sha512-RJA0xXh9ASgMAnduHpt7XtYet8N/ki/V5+kQNM6JJMGN9+GIdIKpiCKLP8PWgeR3Z8ZEkloq801B9nA61p+ecg==", "dependencies": { "tslib": "^2.3.0" } @@ -6848,7 +6883,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz", "integrity": "sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==", - "optional": true, + "devOptional": true, "dependencies": { "@gar/promisify": "^1.0.1", "semver": "^7.3.5" @@ -6859,7 +6894,7 @@ "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz", "integrity": "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==", "deprecated": "This functionality has been moved to @npmcli/fs", - "optional": true, + "devOptional": true, "dependencies": { "mkdirp": "^1.0.4", "rimraf": "^3.0.2" @@ -7427,9 +7462,9 @@ } }, "node_modules/@react-native-community/cli-doctor/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "optional": true, "peer": true, "bin": { @@ -7868,9 +7903,9 @@ } }, "node_modules/@react-native-community/cli-tools/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "optional": true, "peer": true, "bin": { @@ -7979,9 +8014,9 @@ } }, "node_modules/@react-native-community/cli/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "optional": true, "peer": true, "bin": { @@ -8781,7 +8816,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", - "optional": true, + "devOptional": true, "engines": { "node": ">= 6" } @@ -9200,9 +9235,9 @@ } }, "node_modules/@types/eslint": { - "version": "8.40.2", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.40.2.tgz", - "integrity": "sha512-PRVjQ4Eh9z9pmmtaq8nTjZjQwKFk7YIHIud3lRoKRBgUQjgjRmoGxxGEPXQkF+lH7QkHJRNr5F4aBgYCW0lqpQ==", + "version": "8.44.0", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.0.tgz", + "integrity": "sha512-gsF+c/0XOguWgaOgvFs+xnnRqt9GwgTvIks36WpE6ueeI4KCEHHd8K/CKHqhOqrJKsYH8m27kRzQEvWXAwXUTw==", "dev": true, "peer": true, "dependencies": { @@ -9349,9 +9384,9 @@ "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" }, "node_modules/@types/node": { - "version": "20.4.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.0.tgz", - "integrity": "sha512-jfT7iTf/4kOQ9S7CHV9BIyRaQqHu67mOjsIQBC3BKZvzvUB6zLxEwJ6sBE3ozcvP8kF6Uk5PXN0Q+c0dfhGX0g==" + "version": "20.4.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.1.tgz", + "integrity": "sha512-JIzsAvJeA/5iY6Y/OxZbv1lUcc8dNSE77lb2gnBH+/PJ3lFR1Ccvgwl5JWnHAkNHcRsT0TbpVOsiMKZ1F/yyJg==" }, "node_modules/@types/normalize-package-data": { "version": "2.4.1", @@ -9473,15 +9508,15 @@ "devOptional": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.61.0.tgz", - "integrity": "sha512-A5l/eUAug103qtkwccSCxn8ZRwT+7RXWkFECdA4Cvl1dOlDUgTpAOfSEElZn2uSUxhdDpnCdetrf0jvU4qrL+g==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", + "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.61.0", - "@typescript-eslint/type-utils": "5.61.0", - "@typescript-eslint/utils": "5.61.0", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/type-utils": "5.62.0", + "@typescript-eslint/utils": "5.62.0", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.0", @@ -9507,14 +9542,14 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.61.0.tgz", - "integrity": "sha512-yGr4Sgyh8uO6fSi9hw3jAFXNBHbCtKKFMdX2IkT3ZqpKmtAq3lHS4ixB/COFuAIJpwl9/AqF7j72ZDWYKmIfvg==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", + "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.61.0", - "@typescript-eslint/types": "5.61.0", - "@typescript-eslint/typescript-estree": "5.61.0", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", "debug": "^4.3.4" }, "engines": { @@ -9534,13 +9569,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.61.0.tgz", - "integrity": "sha512-W8VoMjoSg7f7nqAROEmTt6LoBpn81AegP7uKhhW5KzYlehs8VV0ZW0fIDVbcZRcaP3aPSW+JZFua+ysQN+m/Nw==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", + "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.61.0", - "@typescript-eslint/visitor-keys": "5.61.0" + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -9551,13 +9586,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.61.0.tgz", - "integrity": "sha512-kk8u//r+oVK2Aj3ph/26XdH0pbAkC2RiSjUYhKD+PExemG4XSjpGFeyZ/QM8lBOa7O8aGOU+/yEbMJgQv/DnCg==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz", + "integrity": "sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "5.61.0", - "@typescript-eslint/utils": "5.61.0", + "@typescript-eslint/typescript-estree": "5.62.0", + "@typescript-eslint/utils": "5.62.0", "debug": "^4.3.4", "tsutils": "^3.21.0" }, @@ -9578,9 +9613,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.61.0.tgz", - "integrity": "sha512-ldyueo58KjngXpzloHUog/h9REmHl59G1b3a5Sng1GfBo14BkS3ZbMEb3693gnP1k//97lh7bKsp6/V/0v1veQ==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", + "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -9591,13 +9626,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.61.0.tgz", - "integrity": "sha512-Fud90PxONnnLZ36oR5ClJBLTLfU4pIWBmnvGwTbEa2cXIqj70AEDEmOmpkFComjBZ/037ueKrOdHuYmSFVD7Rw==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", + "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.61.0", - "@typescript-eslint/visitor-keys": "5.61.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -9647,17 +9682,17 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.61.0.tgz", - "integrity": "sha512-mV6O+6VgQmVE6+xzlA91xifndPW9ElFW8vbSF0xCT/czPXVhwDewKila1jOyRwa9AE19zKnrr7Cg5S3pJVrTWQ==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.62.0.tgz", + "integrity": "sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.61.0", - "@typescript-eslint/types": "5.61.0", - "@typescript-eslint/typescript-estree": "5.61.0", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", "eslint-scope": "^5.1.1", "semver": "^7.3.7" }, @@ -9673,12 +9708,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.61.0.tgz", - "integrity": "sha512-50XQ5VdbWrX06mQXhy93WywSFZZGsv3EOjq+lqp6WC2t+j3mb6A9xYVdrRxafvK88vg9k9u+CT4l6D8PEatjKg==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", + "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.61.0", + "@typescript-eslint/types": "5.62.0", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -10132,12 +10167,12 @@ } }, "node_modules/@verida/account": { - "version": "2.3.5", - "resolved": "https://registry.npmjs.org/@verida/account/-/account-2.3.5.tgz", - "integrity": "sha512-HsBoHfUdy7oD5VWncD6VrgKAVmDAe5YVNJd+LRROJTQjXXTPFocF4VfDlbq08e95bjyG4j1FSlmLP8H+9iUKLQ==", + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/@verida/account/-/account-2.3.6.tgz", + "integrity": "sha512-olERxgfLoHktFT+GsyLDzqkL0qAYPBNg8TrLRQ8gldi2tgKerR9asgXtdaSPXyGzEJ4Lv+sSGzQUhYp61uHvAQ==", "dependencies": { "@verida/keyring": "^2.3.1", - "@verida/storage-link": "^2.3.5", + "@verida/storage-link": "^2.3.6", "@verida/types": "^2.3.1", "did-jwt": "^6.11.0", "did-resolver": "^4.0.1", @@ -10149,12 +10184,12 @@ } }, "node_modules/@verida/account-node": { - "version": "2.3.5", - "resolved": "https://registry.npmjs.org/@verida/account-node/-/account-node-2.3.5.tgz", - "integrity": "sha512-Hpi+6xFKfeXKcECIE8zYNHQ3i697ySCVKZtO+6qWcTtDVpwLenPWuAF2aTciHfGCGo8KcpUp/85dl+11OZUDhA==", + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/@verida/account-node/-/account-node-2.3.6.tgz", + "integrity": "sha512-bJM418kqr/mV8Km6ZW9xDVVq333yvh+5K8NdazB/G+LZj2cblQnehr6T+Fwoof3p5NZMNJguHSCd52yzBS8t5g==", "dependencies": { - "@verida/account": "^2.3.5", - "@verida/did-client": "^2.3.5", + "@verida/account": "^2.3.6", + "@verida/did-client": "^2.3.6", "@verida/did-document": "^2.3.1", "@verida/encryption-utils": "^2.2.1", "@verida/keyring": "^2.3.1", @@ -10231,16 +10266,16 @@ } }, "node_modules/@verida/client-ts": { - "version": "2.3.5", - "resolved": "https://registry.npmjs.org/@verida/client-ts/-/client-ts-2.3.5.tgz", - "integrity": "sha512-ThcbWXLhThXhgzYBT+jn06yWiDnalcLOj1wVoiN5GvHbRSV6nMvfJuVi5kVBK//k/+t/wQ0lEquNOnS0lrQMdQ==", + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/@verida/client-ts/-/client-ts-2.3.6.tgz", + "integrity": "sha512-A8QrBBu/QUa3kDZdS4s29G0x6gXMz9WoC5LUX+y1Phd05pt3yCDIuYE8iMpl2UltLQFK4spezprwxfWP9c7jkQ==", "dependencies": { - "@verida/account": "^2.3.5", - "@verida/did-client": "^2.3.5", + "@verida/account": "^2.3.6", + "@verida/did-client": "^2.3.6", "@verida/did-document": "^2.3.1", "@verida/encryption-utils": "^2.2.1", "@verida/keyring": "^2.3.1", - "@verida/storage-link": "^2.3.5", + "@verida/storage-link": "^2.3.6", "@verida/types": "^2.3.1", "@verida/vda-name-client": "^2.3.4", "ajv": "^8.6.3", @@ -10305,14 +10340,14 @@ } }, "node_modules/@verida/did-client": { - "version": "2.3.5", - "resolved": "https://registry.npmjs.org/@verida/did-client/-/did-client-2.3.5.tgz", - "integrity": "sha512-7P28fvFsKbNkmmKhHrlP20TSI6tb+1c5Ox1qOtrGfknqwWQJ5cjS01wa9EaHI17O21ZSoUeCmssGlljAJVfTNg==", + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/@verida/did-client/-/did-client-2.3.6.tgz", + "integrity": "sha512-SkWayshca6xLgmyXh7C/XN77orx7nMOOySH2fEjz2meysv9cpIIw6V4nhyp08clrr/UgEYDLuuPj82xyt+pWXw==", "dependencies": { "@verida/did-document": "^2.3.1", "@verida/types": "^2.3.1", "@verida/vda-common": "^2.3.4", - "@verida/vda-did-resolver": "^2.3.5", + "@verida/vda-did-resolver": "^2.3.6", "@verida/web3": "^2.3.4", "axios": "^0.23.0", "deepcopy": "^2.1.0", @@ -10409,11 +10444,11 @@ } }, "node_modules/@verida/storage-link": { - "version": "2.3.5", - "resolved": "https://registry.npmjs.org/@verida/storage-link/-/storage-link-2.3.5.tgz", - "integrity": "sha512-GmAyboA11UJiziUx5Y4WkIXLP7rCe8cJQioekUrg/240ml8wNVd5cvHsDErNsZIIzB9loVzkAIlAvFYvMnoUIg==", + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/@verida/storage-link/-/storage-link-2.3.6.tgz", + "integrity": "sha512-I/4Pqi7FVa6sErXsCvXqbNI0aa38pKGnnPDxEG2oMFUCRbFvU79zcg2+jjJVqn7dFN1CEkOkKmxZkVkDzJgoDg==", "dependencies": { - "@verida/did-client": "^2.3.5", + "@verida/did-client": "^2.3.6", "@verida/did-document": "^2.3.1", "@verida/encryption-utils": "^2.2.1", "@verida/keyring": "^2.3.1", @@ -11214,9 +11249,9 @@ } }, "node_modules/@verida/vda-did-resolver": { - "version": "2.3.5", - "resolved": "https://registry.npmjs.org/@verida/vda-did-resolver/-/vda-did-resolver-2.3.5.tgz", - "integrity": "sha512-QSytshBHY/OjqLLCLzgCykVrUXK2R8jc1CYe9sramcmcJzfnN7i4HhxIj9D+WQNDaF9bHultX/VW+jClDelXqw==", + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/@verida/vda-did-resolver/-/vda-did-resolver-2.3.6.tgz", + "integrity": "sha512-3xfxS8P9tVZlZBoHiWTn8GG3j+UYrDcBoQHVkGjUHjC8Y5UXdSoP94pg0WN4bzpd4sQPbNlKiJL2vrUEvtgCBA==", "dependencies": { "@ethersproject/providers": "^5.7.2", "@verida/did-document": "^2.3.1", @@ -12093,7 +12128,7 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.3.0.tgz", "integrity": "sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg==", - "optional": true, + "devOptional": true, "dependencies": { "debug": "^4.1.0", "depd": "^2.0.0", @@ -13198,8 +13233,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", "integrity": "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==", - "optional": true, - "peer": true + "devOptional": true }, "node_modules/busboy": { "version": "1.6.0", @@ -13224,7 +13258,7 @@ "version": "15.3.0", "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz", "integrity": "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==", - "optional": true, + "devOptional": true, "dependencies": { "@npmcli/fs": "^1.0.0", "@npmcli/move-file": "^1.0.1", @@ -13340,9 +13374,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001513", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001513.tgz", - "integrity": "sha512-pnjGJo7SOOjAGytZZ203Em95MRM8Cr6jhCXNF/FAXTpCTRTECnqQWLpiTRqrFtdYcth8hf4WECUpkezuYsMVww==", + "version": "1.0.30001515", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001515.tgz", + "integrity": "sha512-eEFDwUOZbE24sb+Ecsx3+OvNETqjWIdabMy52oOkIgcUtAsQifjUG9q4U9dgTHJM2mfk4uEPxc0+xuFdJ629QA==", "devOptional": true, "funding": [ { @@ -13896,9 +13930,9 @@ } }, "node_modules/conventional-changelog-writer": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-6.0.0.tgz", - "integrity": "sha512-8PyWTnn7zBIt9l4hj4UusFs1TyG+9Ulu1zlOAc72L7Sdv9Hsc8E86ot7htY3HXCVhXHB/NO0pVGvZpwsyJvFfw==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-6.0.1.tgz", + "integrity": "sha512-359t9aHorPw+U+nHzUXHS5ZnPBOizRxfQsWT5ZDHBfvfxQOAik+yfuhKXG66CN5LEWPpMNnIMHUTCKeYNprvHQ==", "dev": true, "dependencies": { "conventional-commits-filter": "^3.0.0", @@ -13906,7 +13940,7 @@ "handlebars": "^4.7.7", "json-stringify-safe": "^5.0.1", "meow": "^8.1.2", - "semver": "^6.3.0", + "semver": "^7.0.0", "split": "^1.0.1" }, "bin": { @@ -13916,15 +13950,6 @@ "node": ">=14" } }, - "node_modules/conventional-changelog-writer/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/conventional-commits-filter": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-3.0.0.tgz", @@ -14565,9 +14590,9 @@ } }, "node_modules/default-gateway/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "optional": true, "peer": true, "bin": { @@ -15012,9 +15037,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.453", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.453.tgz", - "integrity": "sha512-BU8UtQz6CB3T7RIGhId4BjmjJVXQDujb0+amGL8jpcluFJr6lwspBOvkUbnttfpZCm4zFMHmjrX1QrdPWBBMjQ==", + "version": "1.4.455", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.455.tgz", + "integrity": "sha512-8tgdX0Odl24LtmLwxotpJCVjIndN559AvaOtd67u+2mo+IDsgsTF580NB+uuDCqsHw8yFg53l5+imFV9Fw3cbA==", "devOptional": true }, "node_modules/elliptic": { @@ -15277,7 +15302,7 @@ "version": "2.2.1", "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", - "optional": true, + "devOptional": true, "engines": { "node": ">=6" } @@ -15773,14 +15798,14 @@ } }, "node_modules/expo": { - "version": "49.0.0", - "resolved": "https://registry.npmjs.org/expo/-/expo-49.0.0.tgz", - "integrity": "sha512-6Z0niKnAx0/amM0MDA8ekYwjDnhgRA0gCYwMnN9v0z0zH1ObBxWio8MzRgFyki3dCxktS8Z6WzuYLfnIkTY22w==", + "version": "49.0.2", + "resolved": "https://registry.npmjs.org/expo/-/expo-49.0.2.tgz", + "integrity": "sha512-fpUz1vegrd1lPzS+A+HbkOF5Lt+tIq6vKiSmw6sW89JMBx5rpKTnTnVVvDuMOG1pnXxZlmQtYTrw0C6H9zcTNw==", "optional": true, "peer": true, "dependencies": { "@babel/runtime": "^7.20.0", - "@expo/cli": "0.10.9", + "@expo/cli": "0.10.10", "@expo/config": "8.1.2", "@expo/config-plugins": "7.2.5", "@expo/vector-icons": "^13.0.0", @@ -15792,7 +15817,7 @@ "expo-font": "~11.4.0", "expo-keep-awake": "~12.3.0", "expo-modules-autolinking": "1.5.0", - "expo-modules-core": "1.5.4", + "expo-modules-core": "1.5.6", "fbemitter": "^3.0.0", "invariant": "^2.2.4", "md5-file": "^3.2.3", @@ -15934,9 +15959,9 @@ } }, "node_modules/expo-modules-core": { - "version": "1.5.4", - "resolved": "https://registry.npmjs.org/expo-modules-core/-/expo-modules-core-1.5.4.tgz", - "integrity": "sha512-/oID+SnVYUakb1De3FoT/gBPosPjY+docyHc+M8ZoPsA3LOdlCOkrQG9yw2lWEP2wDNVN6SAa/wcyNeLSIbdAw==", + "version": "1.5.6", + "resolved": "https://registry.npmjs.org/expo-modules-core/-/expo-modules-core-1.5.6.tgz", + "integrity": "sha512-3OsWO8p0BSX7qgkYPnl+B/fz5rCJt1rU3nsa1fi1p3Oy44bvvdb2FVejTBIb87I41i0Rcj7vn2uG1KWuK1TA1Q==", "optional": true, "peer": true, "dependencies": { @@ -16542,9 +16567,9 @@ } }, "node_modules/find-cache-dir/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "optional": true, "peer": true, "bin": { @@ -17323,7 +17348,7 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", - "optional": true + "devOptional": true }, "node_modules/http-errors": { "version": "2.0.0", @@ -17354,9 +17379,9 @@ } }, "node_modules/https-proxy-agent": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.0.tgz", - "integrity": "sha512-0euwPCRyAPSgGdzD1IVN9nJYHtBhJwb6XPfbpQcYbPCwrBidX6GzxmchnaF4sfF/jPb74Ojx5g4yTg3sixlyPw==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.1.tgz", + "integrity": "sha512-Eun8zV0kcYS1g19r78osiQLEFIRspRUDd9tIfBCTBPBeMieF/EsJNL8VI3xOIdYRDEkjQnqOYPsZ2DsWsVsFwQ==", "dev": true, "dependencies": { "agent-base": "^7.0.2", @@ -17379,7 +17404,7 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", - "optional": true, + "devOptional": true, "dependencies": { "ms": "^2.0.0" } @@ -17513,7 +17538,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", - "optional": true + "devOptional": true }, "node_modules/inflight": { "version": "1.0.6", @@ -18123,7 +18148,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==", - "optional": true + "devOptional": true }, "node_modules/is-number": { "version": "7.0.0", @@ -18366,9 +18391,9 @@ } }, "node_modules/istanbul-lib-instrument/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -20858,9 +20883,9 @@ } }, "node_modules/make-dir/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "bin": { "semver": "bin/semver.js" } @@ -20875,7 +20900,7 @@ "version": "9.1.0", "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz", "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==", - "optional": true, + "devOptional": true, "dependencies": { "agentkeepalive": "^4.1.3", "cacache": "^15.2.0", @@ -20902,7 +20927,7 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "optional": true, + "devOptional": true, "dependencies": { "debug": "4" }, @@ -20914,7 +20939,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", - "optional": true, + "devOptional": true, "dependencies": { "@tootallnate/once": "1", "agent-base": "6", @@ -20928,7 +20953,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", - "optional": true, + "devOptional": true, "dependencies": { "agent-base": "6", "debug": "4" @@ -21017,9 +21042,9 @@ } }, "node_modules/marked-terminal/node_modules/type-fest": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.12.0.tgz", - "integrity": "sha512-qj9wWsnFvVEMUDbESiilKeXeHL7FwwiFcogfhfyjmvT968RXSvnl23f1JOClTHYItsi7o501C/7qVllscUP3oA==", + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.0.tgz", + "integrity": "sha512-Gur3yQGM9qiLNs0KPP7LPgeRbio2QTt4xXouobMCarR0/wyW3F+F/+OWwshg3NG0Adon7uQfSZBpB46NfhoF1A==", "dev": true, "engines": { "node": ">=14.16" @@ -21276,9 +21301,9 @@ } }, "node_modules/meow/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "dev": true, "bin": { "semver": "bin/semver" @@ -22165,7 +22190,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", - "optional": true, + "devOptional": true, "dependencies": { "minipass": "^3.0.0" }, @@ -22177,7 +22202,7 @@ "version": "1.4.1", "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz", "integrity": "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==", - "optional": true, + "devOptional": true, "dependencies": { "minipass": "^3.1.0", "minipass-sized": "^1.0.3", @@ -22194,7 +22219,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", - "optional": true, + "devOptional": true, "dependencies": { "minipass": "^3.0.0" }, @@ -22206,7 +22231,7 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", - "optional": true, + "devOptional": true, "dependencies": { "minipass": "^3.0.0" }, @@ -22218,7 +22243,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", - "optional": true, + "devOptional": true, "dependencies": { "minipass": "^3.0.0" }, @@ -22630,7 +22655,7 @@ "version": "8.4.1", "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-8.4.1.tgz", "integrity": "sha512-olTJRgUtAb/hOXG0E93wZDs5YiJlgbXxTwQAFHyNlRsXQnYzUaF2aGgujZbw+hR8aF4ZG/rST57bWMWD16jr9w==", - "optional": true, + "devOptional": true, "dependencies": { "env-paths": "^2.2.0", "glob": "^7.1.4", @@ -22664,7 +22689,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", - "optional": true, + "devOptional": true, "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -22677,7 +22702,7 @@ "version": "4.0.4", "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", - "optional": true, + "devOptional": true, "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -22696,7 +22721,7 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", - "optional": true, + "devOptional": true, "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -22711,7 +22736,7 @@ "version": "3.6.2", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "optional": true, + "devOptional": true, "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -22980,8 +23005,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-7.0.0.tgz", "integrity": "sha512-xXxr8y5U0kl8dVkz2oK7yZjPBvqM2fwaO5l3Yg13p03v8+E3qQcD0JNhHzjL1vyGgxcKkD0cco+NLR72iuPk3g==", - "optional": true, - "peer": true, + "devOptional": true, "dependencies": { "hosted-git-info": "^3.0.2", "osenv": "^0.1.5", @@ -22993,8 +23017,7 @@ "version": "3.0.8", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", - "optional": true, - "peer": true, + "devOptional": true, "dependencies": { "lru-cache": "^6.0.0" }, @@ -23003,11 +23026,10 @@ } }, "node_modules/npm-package-arg/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "optional": true, - "peer": true, + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "devOptional": true, "bin": { "semver": "bin/semver" } @@ -26243,8 +26265,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", "integrity": "sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==", - "optional": true, - "peer": true, + "devOptional": true, "engines": { "node": ">=0.10.0" } @@ -26253,8 +26274,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", - "optional": true, - "peer": true, + "devOptional": true, "engines": { "node": ">=0.10.0" } @@ -26263,8 +26283,7 @@ "version": "0.1.5", "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", - "optional": true, - "peer": true, + "devOptional": true, "dependencies": { "os-homedir": "^1.0.0", "os-tmpdir": "^1.0.0" @@ -26437,7 +26456,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", - "optional": true, + "devOptional": true, "dependencies": { "aggregate-error": "^3.0.0" }, @@ -26608,9 +26627,9 @@ } }, "node_modules/password-prompt/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "optional": true, "peer": true, "bin": { @@ -27602,13 +27621,13 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==", - "optional": true + "devOptional": true }, "node_modules/promise-retry": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", - "optional": true, + "devOptional": true, "dependencies": { "err-code": "^2.0.2", "retry": "^0.12.0" @@ -27621,7 +27640,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", - "optional": true + "devOptional": true }, "node_modules/prompts": { "version": "2.4.2", @@ -27788,8 +27807,7 @@ "version": "0.11.0", "resolved": "https://registry.npmjs.org/qrcode-terminal/-/qrcode-terminal-0.11.0.tgz", "integrity": "sha512-Uu7ii+FQy4Qf82G4xu7ShHhjhGahEpCWc3x8UavY3CTcWV+ufmmCtwkr7ZKsX42jdL0kr1B5FKUeqJvAn51jzQ==", - "optional": true, - "peer": true, + "devOptional": true, "bin": { "qrcode-terminal": "bin/qrcode-terminal.js" } @@ -28110,9 +28128,9 @@ } }, "node_modules/react-devtools-core": { - "version": "4.27.8", - "resolved": "https://registry.npmjs.org/react-devtools-core/-/react-devtools-core-4.27.8.tgz", - "integrity": "sha512-KwoH8/wN/+m5wTItLnsgVraGNmFrcTWR3k1VimP1HjtMMw4CNF+F5vg4S/0tzTEKIdpCi2R7mPNTC+/dswZMgw==", + "version": "4.28.0", + "resolved": "https://registry.npmjs.org/react-devtools-core/-/react-devtools-core-4.28.0.tgz", + "integrity": "sha512-E3C3X1skWBdBzwpOUbmXG8SgH6BtsluSMe+s6rRcujNKG1DGi8uIfhdhszkgDpAsMoE55hwqRUzeXCmETDBpTg==", "optional": true, "peer": true, "dependencies": { @@ -28408,9 +28426,9 @@ } }, "node_modules/read-pkg-up/node_modules/type-fest": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.12.0.tgz", - "integrity": "sha512-qj9wWsnFvVEMUDbESiilKeXeHL7FwwiFcogfhfyjmvT968RXSvnl23f1JOClTHYItsi7o501C/7qVllscUP3oA==", + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.0.tgz", + "integrity": "sha512-Gur3yQGM9qiLNs0KPP7LPgeRbio2QTt4xXouobMCarR0/wyW3F+F/+OWwshg3NG0Adon7uQfSZBpB46NfhoF1A==", "dev": true, "engines": { "node": ">=14.16" @@ -28517,9 +28535,9 @@ } }, "node_modules/read-pkg/node_modules/type-fest": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.12.0.tgz", - "integrity": "sha512-qj9wWsnFvVEMUDbESiilKeXeHL7FwwiFcogfhfyjmvT968RXSvnl23f1JOClTHYItsi7o501C/7qVllscUP3oA==", + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.0.tgz", + "integrity": "sha512-Gur3yQGM9qiLNs0KPP7LPgeRbio2QTt4xXouobMCarR0/wyW3F+F/+OWwshg3NG0Adon7uQfSZBpB46NfhoF1A==", "dev": true, "engines": { "node": ">=14.16" @@ -28901,7 +28919,7 @@ "version": "0.12.0", "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", - "optional": true, + "devOptional": true, "engines": { "node": ">= 4" } @@ -29435,9 +29453,9 @@ } }, "node_modules/semver": { - "version": "7.5.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", - "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dependencies": { "lru-cache": "^6.0.0" }, @@ -29903,7 +29921,7 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", - "optional": true, + "devOptional": true, "engines": { "node": ">= 6.0.0", "npm": ">= 3.0.0" @@ -29913,7 +29931,7 @@ "version": "2.7.1", "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==", - "optional": true, + "devOptional": true, "dependencies": { "ip": "^2.0.0", "smart-buffer": "^4.2.0" @@ -29927,7 +29945,7 @@ "version": "6.2.1", "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz", "integrity": "sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ==", - "optional": true, + "devOptional": true, "dependencies": { "agent-base": "^6.0.2", "debug": "^4.3.3", @@ -29941,7 +29959,7 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "optional": true, + "devOptional": true, "dependencies": { "debug": "4" }, @@ -29953,7 +29971,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==", - "optional": true + "devOptional": true }, "node_modules/sonic-boom": { "version": "2.8.0", @@ -30118,7 +30136,7 @@ "version": "8.0.1", "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", - "optional": true, + "devOptional": true, "dependencies": { "minipass": "^3.1.1" }, @@ -30553,7 +30571,8 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-2.0.0.tgz", "integrity": "sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==", - "devOptional": true, + "optional": true, + "peer": true, "engines": { "node": ">=8" } @@ -30572,13 +30591,13 @@ } }, "node_modules/tempy": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/tempy/-/tempy-3.0.0.tgz", - "integrity": "sha512-B2I9X7+o2wOaW4r/CWMkpOO9mdiTRCxXNgob6iGvPmfPWgH/KyUD6Uy5crtWBxIBe3YrNZKR2lSzv1JJKWD4vA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/tempy/-/tempy-3.1.0.tgz", + "integrity": "sha512-7jDLIdD2Zp0bDe5r3D2qtkd1QOCacylBuL7oa4udvN6v2pqr4+LcCr67C8DR1zkpaZ8XosF5m1yQSabKAW6f2g==", "dev": true, "dependencies": { "is-stream": "^3.0.0", - "temp-dir": "^2.0.0", + "temp-dir": "^3.0.0", "type-fest": "^2.12.2", "unique-string": "^3.0.0" }, @@ -30601,6 +30620,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/tempy/node_modules/temp-dir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-3.0.0.tgz", + "integrity": "sha512-nHc6S/bwIilKHNRgK/3jlhDoIHcp45YgyiwcAk46Tr0LfEqGBVpmiAyuiuxeVE44m3mXnEeVhaipLOEWmH+Njw==", + "dev": true, + "engines": { + "node": ">=14.16" + } + }, "node_modules/tempy/node_modules/type-fest": { "version": "2.19.0", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", @@ -31489,7 +31517,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", - "optional": true, + "devOptional": true, "dependencies": { "unique-slug": "^2.0.0" } @@ -31498,7 +31526,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz", "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", - "optional": true, + "devOptional": true, "dependencies": { "imurmurhash": "^0.1.4" } @@ -31699,8 +31727,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", "integrity": "sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==", - "optional": true, - "peer": true, + "devOptional": true, "dependencies": { "builtins": "^1.0.3" } @@ -31800,9 +31827,9 @@ } }, "node_modules/web-vitals": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/web-vitals/-/web-vitals-3.3.2.tgz", - "integrity": "sha512-qRkpmSeKfEWAzNhtX541xA8gCJ+pqCqBmUlDVkVDSCSYUvfvNqF+k9g8I+uyreRcDBdfiJrd0/aLbTy5ydo49Q==" + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/web-vitals/-/web-vitals-3.4.0.tgz", + "integrity": "sha512-n9fZ5/bG1oeDkyxLWyep0eahrNcPDF6bFqoyispt7xkW0xhDzpUBTgyDKqWDi1twT0MgH4HvvqzpUyh0ZxZV4A==" }, "node_modules/webcrypto-core": { "version": "1.7.7", @@ -31921,9 +31948,9 @@ "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==" }, "node_modules/which-typed-array": { - "version": "1.1.9", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", - "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.10.tgz", + "integrity": "sha512-uxoA5vLUfRPdjCuJ1h5LlYdmTLbYfums398v3WLkM+i/Wltl2/XyZpQWKbN++ck5L64SR/grOHqtXCUKmlZPNA==", "dependencies": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", @@ -31985,8 +32012,7 @@ "version": "2.4.3", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz", "integrity": "sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==", - "optional": true, - "peer": true, + "devOptional": true, "dependencies": { "graceful-fs": "^4.1.11", "imurmurhash": "^0.1.4", diff --git a/package.json b/package.json index 38857758..8553c8bc 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "README.md" ], "dependencies": { - "@cheqd/did-provider-cheqd": "^3.5.0", + "@cheqd/did-provider-cheqd": "^3.6.0", "@cosmjs/amino": "^0.31.0", "@cosmjs/encoding": "^0.30.1", "@logto/express": "^2.0.2", @@ -55,10 +55,10 @@ "@veramo/did-resolver": "^5.2.0", "@veramo/key-manager": "^5.1.2", "@veramo/kms-local": "^5.1.2", - "@verida/account-node": "^2.3.5", - "@verida/client-ts": "^2.3.5", + "@verida/account-node": "^2.3.6", + "@verida/client-ts": "^2.3.6", "@verida/types": "^2.3.1", - "@verida/vda-did-resolver": "^2.3.5", + "@verida/vda-did-resolver": "^2.3.6", "cookie-parser": "^1.4.6", "copyfiles": "^2.4.1", "cors": "^2.8.5", @@ -93,12 +93,12 @@ "@types/express-session": "^1.17.7", "@types/helmet": "^4.0.0", "@types/json-stringify-safe": "^5.0.0", - "@types/node": "^20.4.0", + "@types/node": "^20.4.1", "@types/secp256k1": "^4.0.3", "@types/swagger-ui-express": "^4.1.3", "@types/uuid": "^9.0.2", - "@typescript-eslint/eslint-plugin": "^5.61.0", - "@typescript-eslint/parser": "^5.61.0", + "@typescript-eslint/eslint-plugin": "^5.62.0", + "@typescript-eslint/parser": "^5.62.0", "buffer": "6.0.3", "conventional-changelog-conventionalcommits": "^6.1.0", "eslint": "^8.44.0", From 57fe7ba4cdf2eddc51b9b534c353448c5a969afd Mon Sep 17 00:00:00 2001 From: DaevMithran Date: Tue, 11 Jul 2023 16:43:43 +0530 Subject: [PATCH 3/5] feat: Update domain to verifierDid --- src/controllers/credentials.ts | 12 +++++++++--- src/static/swagger.json | 6 +++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/controllers/credentials.ts b/src/controllers/credentials.ts index 8d890b68..ec8ff992 100644 --- a/src/controllers/credentials.ts +++ b/src/controllers/credentials.ts @@ -29,6 +29,8 @@ export class CredentialController { return false }) .withMessage('Entry must be a jwt string or an credential'), + check('policies').optional().isObject().withMessage('Verification policies should be an object'), + query('verifyStatus').optional().isBoolean().withMessage('verifyStatus should be a boolean value'), query('publish').optional().isBoolean().withMessage('publish should be a boolean value') ] @@ -41,6 +43,9 @@ export class CredentialController { return false }) .withMessage('Entry must be a jwt string or a presentation'), + check('verifierDid').optional().isString().withMessage('Invalid verifier DID'), + check('policies').optional().isObject().withMessage('Verification policies should be an object'), + query('verifyStatus').optional().isBoolean().withMessage('verifyStatus should be a boolean value') ] public async issue(request: Request, response: Response) { @@ -86,7 +91,8 @@ export class CredentialController { verifyStatus, policies }, - response.locals.customerId) + response.locals.customerId + ) if (result.error) { return response.status(400).json({ verified: result.verified, @@ -153,7 +159,7 @@ export class CredentialController { return response.status(400).json({ error: result.array()[0].msg }) } - const { presentation, domain, policies } = request.body + const { presentation, verifierDid, policies } = request.body const verifyStatus = request.query.verifyStatus === 'true' ? true : false try { const result = await Identity.instance.verifyPresentation( @@ -161,7 +167,7 @@ export class CredentialController { { verifyStatus, policies, - domain + domain: verifierDid }, response.locals.customerId ) diff --git a/src/static/swagger.json b/src/static/swagger.json index 511a64a1..e87308f2 100644 --- a/src/static/swagger.json +++ b/src/static/swagger.json @@ -2295,12 +2295,12 @@ } ] }, - "domain": { - "description": "domain parameter to verify the verifiable presentation against", + "verifierDid": { + "description": "Provide an optional verifier DID also known as domain parameter, if the verifier DID in the presentation is not managed in the wallet", "type": "string" }, "policies": { - "description": "Specifc Verification Policies", + "description": "Specific Verification Policies", "type": "object", "properties": { "now": { From fa5614095da1b667207b31666009c6e24083b308 Mon Sep 17 00:00:00 2001 From: Ankur Banerjee Date: Tue, 11 Jul 2023 13:46:56 +0200 Subject: [PATCH 4/5] Fix typos --- src/static/swagger.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/static/swagger.json b/src/static/swagger.json index e87308f2..fe331960 100644 --- a/src/static/swagger.json +++ b/src/static/swagger.json @@ -2090,7 +2090,7 @@ ] }, "policies": { - "description": "Specifc Verification Policies", + "description": "Custom verification policies to execute when verifying credential", "type": "object", "properties": { "now": { @@ -2296,11 +2296,11 @@ ] }, "verifierDid": { - "description": "Provide an optional verifier DID also known as domain parameter, if the verifier DID in the presentation is not managed in the wallet", + "description": "Provide an optional verifier DID (also known as 'domain' parameter), if the verifier DID in the presentation is not managed in the wallet", "type": "string" }, "policies": { - "description": "Specific Verification Policies", + "description": "Custom verification policies to execute when verifying presentation", "type": "object", "properties": { "now": { From 2b366422ca204f596c20e7e72ef8d3c3e18e004b Mon Sep 17 00:00:00 2001 From: Ankur Banerjee Date: Tue, 11 Jul 2023 13:52:05 +0200 Subject: [PATCH 5/5] Update package-lock.json --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index ca662d4e..6f365b89 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30659,9 +30659,9 @@ } }, "node_modules/terser": { - "version": "5.18.2", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.18.2.tgz", - "integrity": "sha512-Ah19JS86ypbJzTzvUCX7KOsEIhDaRONungA4aYBjEP3JZRf4ocuDzTg4QWZnPn9DEMiMYGJPiSOy7aykoCc70w==", + "version": "5.19.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.0.tgz", + "integrity": "sha512-JpcpGOQLOXm2jsomozdMDpd5f8ZHh1rR48OFgWUH3QsyZcfPgv2qDCYbcDEAYNd4OZRj2bWYKpwdll/udZCk/Q==", "devOptional": true, "peer": true, "dependencies": {