From 2ce4f3250c7610271805c1328e5a6953d7703023 Mon Sep 17 00:00:00 2001 From: DaevMithran <61043607+DaevMithran@users.noreply.github.com> Date: Wed, 8 Feb 2023 15:49:03 +0530 Subject: [PATCH] build: Upgrade did-provider-cheqd (#163) --- package-lock.json | 484 ++++++++++++++++++----------- package.json | 2 +- src/api/controllers/credentials.ts | 2 +- 3 files changed, 306 insertions(+), 182 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8f31c55b..ac4b5015 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.4.4", "license": "Apache-2.0", "dependencies": { - "@cheqd/did-provider-cheqd": "^1.7.20", + "@cheqd/did-provider-cheqd": "^2.0.1", "@veramo/core": "^4.2.0", "@veramo/credential-w3c": "^4.2.0", "@veramo/did-manager": "^4.2.0", @@ -2275,12 +2275,13 @@ } }, "node_modules/@cheqd/did-provider-cheqd": { - "version": "1.7.20", - "resolved": "https://registry.npmjs.org/@cheqd/did-provider-cheqd/-/did-provider-cheqd-1.7.20.tgz", - "integrity": "sha512-v0KbhuzMWTZcG/kq+1zrgf5vP1LuyMaen2psgHUD3bitEy25RYU26sUotjccVQR/NRF3SZ8kHx0CQweYhChgow==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@cheqd/did-provider-cheqd/-/did-provider-cheqd-2.0.1.tgz", + "integrity": "sha512-6PDyD1zJPfKgGdjk8wbpHHJwpHPacOcWshDKQ1R+SnzE9OJi2dK0vcsgP5VlUy3ycv4A7XRWY3UC9bJl98dGiA==", "dependencies": { - "@cheqd/sdk": "^1.3.14", - "@cheqd/ts-proto": "^1.0.15", + "@cheqd/sdk": "^2.0.1", + "@cheqd/ts-proto": "^2.0.0", + "@cosmjs/crypto": "^0.29.5", "@cosmjs/proto-signing": "^0.29.4", "@cosmjs/utils": "^0.29.4", "@veramo/core": "^4.1.1", @@ -2288,17 +2289,18 @@ "@veramo/did-provider-key": "^4.1.1", "@veramo/key-manager": "^4.1.1", "debug": "^4.3.4", + "did-resolver": "^4.0.1", "multibase": "^4.0.6", "multicodec": "^3.2.1", "uint8arrays": "^3.1.1" } }, "node_modules/@cheqd/sdk": { - "version": "1.3.14", - "resolved": "https://registry.npmjs.org/@cheqd/sdk/-/sdk-1.3.14.tgz", - "integrity": "sha512-ZfvTMc2n5UoeENJoFpBJAwPmuD6ekc0MGTz/XDvyQWnj40VvLl2mbUX/BV118OBHEhx9D204PBOy1/oUlnmWZw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@cheqd/sdk/-/sdk-2.0.1.tgz", + "integrity": "sha512-4OV8o+Aou0iNlF9Z7n4Jkk5CViDqRadIr7s/PlUuAs6x5+bFPPt7qET7yoyrZxOqHaV0lSHlXBqVZFR4E1wAmg==", "dependencies": { - "@cheqd/ts-proto": "^1.0.15", + "@cheqd/ts-proto": "^2.0.0-develop.1", "@cosmjs/amino": "^0.29.4", "@cosmjs/encoding": "^0.29.4", "@cosmjs/math": "^0.29.4", @@ -2309,6 +2311,8 @@ "@stablelib/ed25519": "^1.0.3", "cosmjs-types": "^0.5.2", "did-jwt": "^6.9.0", + "did-resolver": "^4.0.1", + "file-type": "^16.5.4", "multiformats": "^9.9.0", "uuid": "^9.0.0" } @@ -2322,12 +2326,12 @@ } }, "node_modules/@cheqd/ts-proto": { - "version": "1.0.15", - "resolved": "https://registry.npmjs.org/@cheqd/ts-proto/-/ts-proto-1.0.15.tgz", - "integrity": "sha512-S2/tomBAuNSMMkFfeNjLI7fJ5ckZLXODFV398lK0j3x4MDianLPJGV6WRR0W/eFva5B32OP3mRaCEw4H8ZRKEA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@cheqd/ts-proto/-/ts-proto-2.0.0.tgz", + "integrity": "sha512-a095Ce5agVofAUCwJkcgUUYpueCKa5ybVvqkvinJBNVGbPd9/+rroAMDUEGBy7Hj3pwd/iMXIMgxZjqDYYVrBA==", "dependencies": { "long": "^5.2.1", - "protobufjs": "~7.1.1" + "protobufjs": "~7.2.0" } }, "node_modules/@cloudflare/workers-types": { @@ -2386,24 +2390,24 @@ } }, "node_modules/@cosmjs/amino": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.4.tgz", - "integrity": "sha512-FBjaJ4oUKFtH34O7XjUk370x8sF7EbXD29miXrm0Rl5GEtEORJgQwutXQllHo5gBkpOxC+ZQ40CibXhPzH7G7A==", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.5.tgz", + "integrity": "sha512-Qo8jpC0BiziTSUqpkNatBcwtKNhCovUnFul9SlT/74JUCdLYaeG5hxr3q1cssQt++l4LvlcpF+OUXL48XjNjLw==", "dependencies": { - "@cosmjs/crypto": "^0.29.4", - "@cosmjs/encoding": "^0.29.4", - "@cosmjs/math": "^0.29.4", - "@cosmjs/utils": "^0.29.4" + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5" } }, "node_modules/@cosmjs/crypto": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.4.tgz", - "integrity": "sha512-PmSxoFl/Won7kHZv3PQUUgdmEiAMqdY7XnEnVh9PbU7Hht6uo7PQ+M0eIGW3NIXYKmn6oVExER+xOfLfq4YNGw==", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.5.tgz", + "integrity": "sha512-2bKkaLGictaNL0UipQCL6C1afaisv6k8Wr/GCLx9FqiyFkh9ZgRHDyetD64ZsjnWV/N/D44s/esI+k6oPREaiQ==", "dependencies": { - "@cosmjs/encoding": "^0.29.4", - "@cosmjs/math": "^0.29.4", - "@cosmjs/utils": "^0.29.4", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5", "@noble/hashes": "^1", "bn.js": "^5.2.0", "elliptic": "^6.5.4", @@ -2411,9 +2415,9 @@ } }, "node_modules/@cosmjs/encoding": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.4.tgz", - "integrity": "sha512-nlwCh4j+kIqEcwNu8AFSmqXGj0bvF4nLC3J1X0eJyJenlgJBiiAGjYp3nxMf/ZjKkZP65Fq7MXVtAYs3K8xvvQ==", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.5.tgz", + "integrity": "sha512-G4rGl/Jg4dMCw5u6PEZHZcoHnUBlukZODHbm/wcL4Uu91fkn5jVo5cXXZcvs4VCkArVGrEj/52eUgTZCmOBGWQ==", "dependencies": { "base64-js": "^1.3.0", "bech32": "^1.1.4", @@ -2421,32 +2425,32 @@ } }, "node_modules/@cosmjs/json-rpc": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.4.tgz", - "integrity": "sha512-pmb918u7QlLUOX7twJCBC7bK/L87uhknnP2yh9f+n7zmmslBbwENxLdM6KBAb1Yc0tbzSaLLLRoaN8kvfaiwUA==", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.5.tgz", + "integrity": "sha512-C78+X06l+r9xwdM1yFWIpGl03LhB9NdM1xvZpQHwgCOl0Ir/WV8pw48y3Ez2awAoUBRfTeejPe4KvrE6NoIi/w==", "dependencies": { - "@cosmjs/stream": "^0.29.4", + "@cosmjs/stream": "^0.29.5", "xstream": "^11.14.0" } }, "node_modules/@cosmjs/math": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.4.tgz", - "integrity": "sha512-IvT1Cj3qOMGqz7v5FxdDCBEIDL2k9m5rufrkuD4oL9kS79ebnhA0lquX6ApPubUohTXl+5PnLo02W8HEH6Stkg==", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.5.tgz", + "integrity": "sha512-2GjKcv+A9f86MAWYLUkjhw1/WpRl2R1BTb3m9qPG7lzMA7ioYff9jY5SPCfafKdxM4TIQGxXQlYGewQL16O68Q==", "dependencies": { "bn.js": "^5.2.0" } }, "node_modules/@cosmjs/proto-signing": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.4.tgz", - "integrity": "sha512-GdLOhMd54LZgG+kHf7uAWGYDT628yVhXPMWaG/1i3f3Kq4VsZgFBwJhhziM5kWblmFjBOhooGRwLrBnOxMusCg==", - "dependencies": { - "@cosmjs/amino": "^0.29.4", - "@cosmjs/crypto": "^0.29.4", - "@cosmjs/encoding": "^0.29.4", - "@cosmjs/math": "^0.29.4", - "@cosmjs/utils": "^0.29.4", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.5.tgz", + "integrity": "sha512-QRrS7CiKaoETdgIqvi/7JC2qCwCR7lnWaUsTzh/XfRy3McLkEd+cXbKAW3cygykv7IN0VAEIhZd2lyIfT8KwNA==", + "dependencies": { + "@cosmjs/amino": "^0.29.5", + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5", "cosmjs-types": "^0.5.2", "long": "^4.0.0" } @@ -2457,29 +2461,29 @@ "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" }, "node_modules/@cosmjs/socket": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.4.tgz", - "integrity": "sha512-+J79SRVD6VSnGqKmUwLFAxXTiLYw/AmAu+075RenQxzkCxehGrGpaty+T3jJGE2p1458AjgkrmTQnfp6f+HIWw==", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.5.tgz", + "integrity": "sha512-5VYDupIWbIXq3ftPV1LkS5Ya/T7Ol/AzWVhNxZ79hPe/mBfv1bGau/LqIYOm2zxGlgm9hBHOTmWGqNYDwr9LNQ==", "dependencies": { - "@cosmjs/stream": "^0.29.4", + "@cosmjs/stream": "^0.29.5", "isomorphic-ws": "^4.0.1", "ws": "^7", "xstream": "^11.14.0" } }, "node_modules/@cosmjs/stargate": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.4.tgz", - "integrity": "sha512-MEzBkOhYX0tdGgJg4mxFDjf7NMJYKNtXHX0Fu4HVACdBrxLlStf630KodmzPFlLOHfiz3CB/mqj3TobZZz8mTw==", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.5.tgz", + "integrity": "sha512-hjEv8UUlJruLrYGJcUZXM/CziaINOKwfVm2BoSdUnNTMxGvY/jC1ABHKeZUYt9oXHxEJ1n9+pDqzbKc8pT0nBw==", "dependencies": { "@confio/ics23": "^0.6.8", - "@cosmjs/amino": "^0.29.4", - "@cosmjs/encoding": "^0.29.4", - "@cosmjs/math": "^0.29.4", - "@cosmjs/proto-signing": "^0.29.4", - "@cosmjs/stream": "^0.29.4", - "@cosmjs/tendermint-rpc": "^0.29.4", - "@cosmjs/utils": "^0.29.4", + "@cosmjs/amino": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/proto-signing": "^0.29.5", + "@cosmjs/stream": "^0.29.5", + "@cosmjs/tendermint-rpc": "^0.29.5", + "@cosmjs/utils": "^0.29.5", "cosmjs-types": "^0.5.2", "long": "^4.0.0", "protobufjs": "~6.11.3", @@ -2517,34 +2521,34 @@ } }, "node_modules/@cosmjs/stream": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.4.tgz", - "integrity": "sha512-bCcPIxxyrvtIusmZEOVZT5YS3t+dfB6wfLO6tadumYyPcCBJkXLRK6LSYcsiPjnTNr2UAlCSZX24djM2mFvlWQ==", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.5.tgz", + "integrity": "sha512-TToTDWyH1p05GBtF0Y8jFw2C+4783ueDCmDyxOMM6EU82IqpmIbfwcdMOCAm0JhnyMh+ocdebbFvnX/sGKzRAA==", "dependencies": { "xstream": "^11.14.0" } }, "node_modules/@cosmjs/tendermint-rpc": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.4.tgz", - "integrity": "sha512-ByW5tFK8epc7fx82DogUaLkWSyr9scAY9UmOC9Zn4uFfISOwRdN5c0DvYZ1pI49elMT3/MroIdORotdtYirm1g==", - "dependencies": { - "@cosmjs/crypto": "^0.29.4", - "@cosmjs/encoding": "^0.29.4", - "@cosmjs/json-rpc": "^0.29.4", - "@cosmjs/math": "^0.29.4", - "@cosmjs/socket": "^0.29.4", - "@cosmjs/stream": "^0.29.4", - "@cosmjs/utils": "^0.29.4", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.5.tgz", + "integrity": "sha512-ar80twieuAxsy0x2za/aO3kBr2DFPAXDmk2ikDbmkda+qqfXgl35l9CVAAjKRqd9d+cRvbQyb5M4wy6XQpEV6w==", + "dependencies": { + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/json-rpc": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/socket": "^0.29.5", + "@cosmjs/stream": "^0.29.5", + "@cosmjs/utils": "^0.29.5", "axios": "^0.21.2", "readonly-date": "^1.0.0", "xstream": "^11.14.0" } }, "node_modules/@cosmjs/utils": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.4.tgz", - "integrity": "sha512-X1pZWRHDbTPLa6cYW0NHvtig+lSxOdLAX7K/xp67ywBy2knnDOyzz1utGTOowmiM98XuV9quK/BWePKkJOaHpQ==" + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.5.tgz", + "integrity": "sha512-m7h+RXDUxOzEOGt4P+3OVPX7PuakZT3GBmaM/Y2u+abN3xZkziykD/NvedYFvvCCdQo714XcGl33bwifS9FZPQ==" }, "node_modules/@did-core/data-model": { "version": "0.1.1-unstable.15", @@ -5041,9 +5045,9 @@ "integrity": "sha512-eMk0b9ReBbV23xXU693TAIrLyeO5iTgBZGSJfpqriG8UkYvr/hC9u9pyMlAakDNHWmbhMZCDs6KQO0jzKD8OTw==" }, "node_modules/@noble/hashes": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.3.tgz", - "integrity": "sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.2.0.tgz", + "integrity": "sha512-FZfhjEDbT5GRswV3C6uvLPHMiVD6lQBmpoX5+eSiPaMTXte/IKqI5dykDxzZB/WBeK/CDuQRBWarPdi3FNY2zQ==", "funding": [ { "type": "individual", @@ -7253,6 +7257,11 @@ "@stablelib/wipe": "^1.0.1" } }, + "node_modules/@tokenizer/token": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz", + "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==" + }, "node_modules/@tootallnate/once": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", @@ -12680,6 +12689,22 @@ "node": "^10.12.0 || >=12.0.0" } }, + "node_modules/file-type": { + "version": "16.5.4", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-16.5.4.tgz", + "integrity": "sha512-/yFHK0aGjFEgDJjEKP0pWCplsPFPhwyfwevf/pVxiN0tmE4L9LmwWxWukdJSHdoCli4VgQLehjJtwQBnqmsKcw==", + "dependencies": { + "readable-web-to-node-stream": "^3.0.0", + "strtok3": "^6.2.4", + "token-types": "^4.1.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/file-type?sponsor=1" + } + }, "node_modules/fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", @@ -13893,7 +13918,6 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "devOptional": true, "funding": [ { "type": "github", @@ -22052,6 +22076,18 @@ "node": ">=0.12" } }, + "node_modules/peek-readable": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-4.1.0.tgz", + "integrity": "sha512-ZI3LnwUv5nOGbQzD9c2iDG6toheuXSZP5esSHBjopsXH4dg19soufvpUGA3uohi5anFtGb2lhAVdHzH6R/Evvg==", + "engines": { + "node": ">=8" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, "node_modules/picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", @@ -22483,9 +22519,9 @@ } }, "node_modules/protobufjs": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.1.2.tgz", - "integrity": "sha512-4ZPTPkXCdel3+L81yw3dG6+Kq3umdWKh7Dc7GW/CpNk4SX3hK58iPCWeCyhVTDrbkNeKrYNZ7EojM5WDaEWTLQ==", + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.1.tgz", + "integrity": "sha512-L3pCItypTnPK27+CS8nuhZMYtsY+i8dqdq2vZsYHlG17CnWp1DWPQ/sos0vOKrj1fHEAzo3GBqSHLaeZyKUCDA==", "hasInstallScript": true, "dependencies": { "@protobufjs/aspromise": "^1.1.2", @@ -23061,7 +23097,6 @@ "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "devOptional": true, "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -23071,6 +23106,21 @@ "node": ">= 6" } }, + "node_modules/readable-web-to-node-stream": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/readable-web-to-node-stream/-/readable-web-to-node-stream-3.0.2.tgz", + "integrity": "sha512-ePeK6cc1EcKLEhJFt/AebMCLL+GgSKhuygrZ/GLaKZYEecIgIECf4UaUuaByiGtzckwR4ain9VzUh95T1exYGw==", + "dependencies": { + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, "node_modules/readline": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/readline/-/readline-1.3.0.tgz", @@ -24981,7 +25031,6 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "devOptional": true, "dependencies": { "safe-buffer": "~5.1.0" } @@ -24989,8 +25038,7 @@ "node_modules/string_decoder/node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "devOptional": true + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, "node_modules/string-length": { "version": "4.0.2", @@ -25126,6 +25174,22 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/strtok3": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-6.3.0.tgz", + "integrity": "sha512-fZtbhtvI9I48xDSywd/somNqgUHl2L2cstmXCCif0itOf96jeW18MBSyrLuNicYQVkvpOxkZtkzujiTJ9LW5Jw==", + "dependencies": { + "@tokenizer/token": "^0.3.0", + "peek-readable": "^4.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, "node_modules/structured-headers": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/structured-headers/-/structured-headers-0.4.1.tgz", @@ -25604,6 +25668,22 @@ "node": ">=0.6" } }, + "node_modules/token-types": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/token-types/-/token-types-4.2.1.tgz", + "integrity": "sha512-6udB24Q737UD/SDsKAHI9FCRP7Bqc9D/MQUV02ORQg5iskjtLJlZJNdN4kKtcdtwCeWIwIHDGaUsTsCCAa8sFQ==", + "dependencies": { + "@tokenizer/token": "^0.3.0", + "ieee754": "^1.2.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", @@ -26207,8 +26287,7 @@ "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", - "devOptional": true + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, "node_modules/utils-merge": { "version": "1.0.1", @@ -28428,12 +28507,13 @@ "integrity": "sha512-R524tD5VwOt3QRHr7N518nqTVR/HKgfWL4LypekcGuNQN8R4PWScvuRcRzrY39A28kLztMv+TJdiKuMNbkU1ug==" }, "@cheqd/did-provider-cheqd": { - "version": "1.7.20", - "resolved": "https://registry.npmjs.org/@cheqd/did-provider-cheqd/-/did-provider-cheqd-1.7.20.tgz", - "integrity": "sha512-v0KbhuzMWTZcG/kq+1zrgf5vP1LuyMaen2psgHUD3bitEy25RYU26sUotjccVQR/NRF3SZ8kHx0CQweYhChgow==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@cheqd/did-provider-cheqd/-/did-provider-cheqd-2.0.1.tgz", + "integrity": "sha512-6PDyD1zJPfKgGdjk8wbpHHJwpHPacOcWshDKQ1R+SnzE9OJi2dK0vcsgP5VlUy3ycv4A7XRWY3UC9bJl98dGiA==", "requires": { - "@cheqd/sdk": "^1.3.14", - "@cheqd/ts-proto": "^1.0.15", + "@cheqd/sdk": "^2.0.1", + "@cheqd/ts-proto": "^2.0.0", + "@cosmjs/crypto": "^0.29.5", "@cosmjs/proto-signing": "^0.29.4", "@cosmjs/utils": "^0.29.4", "@veramo/core": "^4.1.1", @@ -28441,17 +28521,18 @@ "@veramo/did-provider-key": "^4.1.1", "@veramo/key-manager": "^4.1.1", "debug": "^4.3.4", + "did-resolver": "^4.0.1", "multibase": "^4.0.6", "multicodec": "^3.2.1", "uint8arrays": "^3.1.1" } }, "@cheqd/sdk": { - "version": "1.3.14", - "resolved": "https://registry.npmjs.org/@cheqd/sdk/-/sdk-1.3.14.tgz", - "integrity": "sha512-ZfvTMc2n5UoeENJoFpBJAwPmuD6ekc0MGTz/XDvyQWnj40VvLl2mbUX/BV118OBHEhx9D204PBOy1/oUlnmWZw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@cheqd/sdk/-/sdk-2.0.1.tgz", + "integrity": "sha512-4OV8o+Aou0iNlF9Z7n4Jkk5CViDqRadIr7s/PlUuAs6x5+bFPPt7qET7yoyrZxOqHaV0lSHlXBqVZFR4E1wAmg==", "requires": { - "@cheqd/ts-proto": "^1.0.15", + "@cheqd/ts-proto": "^2.0.0-develop.1", "@cosmjs/amino": "^0.29.4", "@cosmjs/encoding": "^0.29.4", "@cosmjs/math": "^0.29.4", @@ -28462,6 +28543,8 @@ "@stablelib/ed25519": "^1.0.3", "cosmjs-types": "^0.5.2", "did-jwt": "^6.9.0", + "did-resolver": "^4.0.1", + "file-type": "^16.5.4", "multiformats": "^9.9.0", "uuid": "^9.0.0" }, @@ -28474,12 +28557,12 @@ } }, "@cheqd/ts-proto": { - "version": "1.0.15", - "resolved": "https://registry.npmjs.org/@cheqd/ts-proto/-/ts-proto-1.0.15.tgz", - "integrity": "sha512-S2/tomBAuNSMMkFfeNjLI7fJ5ckZLXODFV398lK0j3x4MDianLPJGV6WRR0W/eFva5B32OP3mRaCEw4H8ZRKEA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@cheqd/ts-proto/-/ts-proto-2.0.0.tgz", + "integrity": "sha512-a095Ce5agVofAUCwJkcgUUYpueCKa5ybVvqkvinJBNVGbPd9/+rroAMDUEGBy7Hj3pwd/iMXIMgxZjqDYYVrBA==", "requires": { "long": "^5.2.1", - "protobufjs": "~7.1.1" + "protobufjs": "~7.2.0" } }, "@cloudflare/workers-types": { @@ -28532,24 +28615,24 @@ } }, "@cosmjs/amino": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.4.tgz", - "integrity": "sha512-FBjaJ4oUKFtH34O7XjUk370x8sF7EbXD29miXrm0Rl5GEtEORJgQwutXQllHo5gBkpOxC+ZQ40CibXhPzH7G7A==", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.5.tgz", + "integrity": "sha512-Qo8jpC0BiziTSUqpkNatBcwtKNhCovUnFul9SlT/74JUCdLYaeG5hxr3q1cssQt++l4LvlcpF+OUXL48XjNjLw==", "requires": { - "@cosmjs/crypto": "^0.29.4", - "@cosmjs/encoding": "^0.29.4", - "@cosmjs/math": "^0.29.4", - "@cosmjs/utils": "^0.29.4" + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5" } }, "@cosmjs/crypto": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.4.tgz", - "integrity": "sha512-PmSxoFl/Won7kHZv3PQUUgdmEiAMqdY7XnEnVh9PbU7Hht6uo7PQ+M0eIGW3NIXYKmn6oVExER+xOfLfq4YNGw==", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.5.tgz", + "integrity": "sha512-2bKkaLGictaNL0UipQCL6C1afaisv6k8Wr/GCLx9FqiyFkh9ZgRHDyetD64ZsjnWV/N/D44s/esI+k6oPREaiQ==", "requires": { - "@cosmjs/encoding": "^0.29.4", - "@cosmjs/math": "^0.29.4", - "@cosmjs/utils": "^0.29.4", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5", "@noble/hashes": "^1", "bn.js": "^5.2.0", "elliptic": "^6.5.4", @@ -28557,9 +28640,9 @@ } }, "@cosmjs/encoding": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.4.tgz", - "integrity": "sha512-nlwCh4j+kIqEcwNu8AFSmqXGj0bvF4nLC3J1X0eJyJenlgJBiiAGjYp3nxMf/ZjKkZP65Fq7MXVtAYs3K8xvvQ==", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.5.tgz", + "integrity": "sha512-G4rGl/Jg4dMCw5u6PEZHZcoHnUBlukZODHbm/wcL4Uu91fkn5jVo5cXXZcvs4VCkArVGrEj/52eUgTZCmOBGWQ==", "requires": { "base64-js": "^1.3.0", "bech32": "^1.1.4", @@ -28567,32 +28650,32 @@ } }, "@cosmjs/json-rpc": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.4.tgz", - "integrity": "sha512-pmb918u7QlLUOX7twJCBC7bK/L87uhknnP2yh9f+n7zmmslBbwENxLdM6KBAb1Yc0tbzSaLLLRoaN8kvfaiwUA==", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.5.tgz", + "integrity": "sha512-C78+X06l+r9xwdM1yFWIpGl03LhB9NdM1xvZpQHwgCOl0Ir/WV8pw48y3Ez2awAoUBRfTeejPe4KvrE6NoIi/w==", "requires": { - "@cosmjs/stream": "^0.29.4", + "@cosmjs/stream": "^0.29.5", "xstream": "^11.14.0" } }, "@cosmjs/math": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.4.tgz", - "integrity": "sha512-IvT1Cj3qOMGqz7v5FxdDCBEIDL2k9m5rufrkuD4oL9kS79ebnhA0lquX6ApPubUohTXl+5PnLo02W8HEH6Stkg==", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.5.tgz", + "integrity": "sha512-2GjKcv+A9f86MAWYLUkjhw1/WpRl2R1BTb3m9qPG7lzMA7ioYff9jY5SPCfafKdxM4TIQGxXQlYGewQL16O68Q==", "requires": { "bn.js": "^5.2.0" } }, "@cosmjs/proto-signing": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.4.tgz", - "integrity": "sha512-GdLOhMd54LZgG+kHf7uAWGYDT628yVhXPMWaG/1i3f3Kq4VsZgFBwJhhziM5kWblmFjBOhooGRwLrBnOxMusCg==", - "requires": { - "@cosmjs/amino": "^0.29.4", - "@cosmjs/crypto": "^0.29.4", - "@cosmjs/encoding": "^0.29.4", - "@cosmjs/math": "^0.29.4", - "@cosmjs/utils": "^0.29.4", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.5.tgz", + "integrity": "sha512-QRrS7CiKaoETdgIqvi/7JC2qCwCR7lnWaUsTzh/XfRy3McLkEd+cXbKAW3cygykv7IN0VAEIhZd2lyIfT8KwNA==", + "requires": { + "@cosmjs/amino": "^0.29.5", + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5", "cosmjs-types": "^0.5.2", "long": "^4.0.0" }, @@ -28605,29 +28688,29 @@ } }, "@cosmjs/socket": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.4.tgz", - "integrity": "sha512-+J79SRVD6VSnGqKmUwLFAxXTiLYw/AmAu+075RenQxzkCxehGrGpaty+T3jJGE2p1458AjgkrmTQnfp6f+HIWw==", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.5.tgz", + "integrity": "sha512-5VYDupIWbIXq3ftPV1LkS5Ya/T7Ol/AzWVhNxZ79hPe/mBfv1bGau/LqIYOm2zxGlgm9hBHOTmWGqNYDwr9LNQ==", "requires": { - "@cosmjs/stream": "^0.29.4", + "@cosmjs/stream": "^0.29.5", "isomorphic-ws": "^4.0.1", "ws": "^7", "xstream": "^11.14.0" } }, "@cosmjs/stargate": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.4.tgz", - "integrity": "sha512-MEzBkOhYX0tdGgJg4mxFDjf7NMJYKNtXHX0Fu4HVACdBrxLlStf630KodmzPFlLOHfiz3CB/mqj3TobZZz8mTw==", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.5.tgz", + "integrity": "sha512-hjEv8UUlJruLrYGJcUZXM/CziaINOKwfVm2BoSdUnNTMxGvY/jC1ABHKeZUYt9oXHxEJ1n9+pDqzbKc8pT0nBw==", "requires": { "@confio/ics23": "^0.6.8", - "@cosmjs/amino": "^0.29.4", - "@cosmjs/encoding": "^0.29.4", - "@cosmjs/math": "^0.29.4", - "@cosmjs/proto-signing": "^0.29.4", - "@cosmjs/stream": "^0.29.4", - "@cosmjs/tendermint-rpc": "^0.29.4", - "@cosmjs/utils": "^0.29.4", + "@cosmjs/amino": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/proto-signing": "^0.29.5", + "@cosmjs/stream": "^0.29.5", + "@cosmjs/tendermint-rpc": "^0.29.5", + "@cosmjs/utils": "^0.29.5", "cosmjs-types": "^0.5.2", "long": "^4.0.0", "protobufjs": "~6.11.3", @@ -28662,34 +28745,34 @@ } }, "@cosmjs/stream": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.4.tgz", - "integrity": "sha512-bCcPIxxyrvtIusmZEOVZT5YS3t+dfB6wfLO6tadumYyPcCBJkXLRK6LSYcsiPjnTNr2UAlCSZX24djM2mFvlWQ==", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.5.tgz", + "integrity": "sha512-TToTDWyH1p05GBtF0Y8jFw2C+4783ueDCmDyxOMM6EU82IqpmIbfwcdMOCAm0JhnyMh+ocdebbFvnX/sGKzRAA==", "requires": { "xstream": "^11.14.0" } }, "@cosmjs/tendermint-rpc": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.4.tgz", - "integrity": "sha512-ByW5tFK8epc7fx82DogUaLkWSyr9scAY9UmOC9Zn4uFfISOwRdN5c0DvYZ1pI49elMT3/MroIdORotdtYirm1g==", - "requires": { - "@cosmjs/crypto": "^0.29.4", - "@cosmjs/encoding": "^0.29.4", - "@cosmjs/json-rpc": "^0.29.4", - "@cosmjs/math": "^0.29.4", - "@cosmjs/socket": "^0.29.4", - "@cosmjs/stream": "^0.29.4", - "@cosmjs/utils": "^0.29.4", + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.5.tgz", + "integrity": "sha512-ar80twieuAxsy0x2za/aO3kBr2DFPAXDmk2ikDbmkda+qqfXgl35l9CVAAjKRqd9d+cRvbQyb5M4wy6XQpEV6w==", + "requires": { + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/json-rpc": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/socket": "^0.29.5", + "@cosmjs/stream": "^0.29.5", + "@cosmjs/utils": "^0.29.5", "axios": "^0.21.2", "readonly-date": "^1.0.0", "xstream": "^11.14.0" } }, "@cosmjs/utils": { - "version": "0.29.4", - "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.4.tgz", - "integrity": "sha512-X1pZWRHDbTPLa6cYW0NHvtig+lSxOdLAX7K/xp67ywBy2knnDOyzz1utGTOowmiM98XuV9quK/BWePKkJOaHpQ==" + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.5.tgz", + "integrity": "sha512-m7h+RXDUxOzEOGt4P+3OVPX7PuakZT3GBmaM/Y2u+abN3xZkziykD/NvedYFvvCCdQo714XcGl33bwifS9FZPQ==" }, "@did-core/data-model": { "version": "0.1.1-unstable.15", @@ -30568,9 +30651,9 @@ "integrity": "sha512-eMk0b9ReBbV23xXU693TAIrLyeO5iTgBZGSJfpqriG8UkYvr/hC9u9pyMlAakDNHWmbhMZCDs6KQO0jzKD8OTw==" }, "@noble/hashes": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.3.tgz", - "integrity": "sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A==" + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.2.0.tgz", + "integrity": "sha512-FZfhjEDbT5GRswV3C6uvLPHMiVD6lQBmpoX5+eSiPaMTXte/IKqI5dykDxzZB/WBeK/CDuQRBWarPdi3FNY2zQ==" }, "@nodelib/fs.scandir": { "version": "2.1.5", @@ -32389,6 +32472,11 @@ "@stablelib/wipe": "^1.0.1" } }, + "@tokenizer/token": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz", + "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==" + }, "@tootallnate/once": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", @@ -36869,6 +36957,16 @@ "flat-cache": "^3.0.4" } }, + "file-type": { + "version": "16.5.4", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-16.5.4.tgz", + "integrity": "sha512-/yFHK0aGjFEgDJjEKP0pWCplsPFPhwyfwevf/pVxiN0tmE4L9LmwWxWukdJSHdoCli4VgQLehjJtwQBnqmsKcw==", + "requires": { + "readable-web-to-node-stream": "^3.0.0", + "strtok3": "^6.2.4", + "token-types": "^4.1.1" + } + }, "fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", @@ -37817,8 +37915,7 @@ "ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "devOptional": true + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" }, "ignore": { "version": "5.2.0", @@ -44046,6 +44143,11 @@ "sha.js": "^2.4.8" } }, + "peek-readable": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-4.1.0.tgz", + "integrity": "sha512-ZI3LnwUv5nOGbQzD9c2iDG6toheuXSZP5esSHBjopsXH4dg19soufvpUGA3uohi5anFtGb2lhAVdHzH6R/Evvg==" + }, "picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", @@ -44366,9 +44468,9 @@ } }, "protobufjs": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.1.2.tgz", - "integrity": "sha512-4ZPTPkXCdel3+L81yw3dG6+Kq3umdWKh7Dc7GW/CpNk4SX3hK58iPCWeCyhVTDrbkNeKrYNZ7EojM5WDaEWTLQ==", + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.1.tgz", + "integrity": "sha512-L3pCItypTnPK27+CS8nuhZMYtsY+i8dqdq2vZsYHlG17CnWp1DWPQ/sos0vOKrj1fHEAzo3GBqSHLaeZyKUCDA==", "requires": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", @@ -44842,13 +44944,20 @@ "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "devOptional": true, "requires": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", "util-deprecate": "^1.0.1" } }, + "readable-web-to-node-stream": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/readable-web-to-node-stream/-/readable-web-to-node-stream-3.0.2.tgz", + "integrity": "sha512-ePeK6cc1EcKLEhJFt/AebMCLL+GgSKhuygrZ/GLaKZYEecIgIECf4UaUuaByiGtzckwR4ain9VzUh95T1exYGw==", + "requires": { + "readable-stream": "^3.6.0" + } + }, "readline": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/readline/-/readline-1.3.0.tgz", @@ -46416,7 +46525,6 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "devOptional": true, "requires": { "safe-buffer": "~5.1.0" }, @@ -46424,8 +46532,7 @@ "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "devOptional": true + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" } } }, @@ -46529,6 +46636,15 @@ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true }, + "strtok3": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-6.3.0.tgz", + "integrity": "sha512-fZtbhtvI9I48xDSywd/somNqgUHl2L2cstmXCCif0itOf96jeW18MBSyrLuNicYQVkvpOxkZtkzujiTJ9LW5Jw==", + "requires": { + "@tokenizer/token": "^0.3.0", + "peek-readable": "^4.1.0" + } + }, "structured-headers": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/structured-headers/-/structured-headers-0.4.1.tgz", @@ -46888,6 +47004,15 @@ "optional": true, "peer": true }, + "token-types": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/token-types/-/token-types-4.2.1.tgz", + "integrity": "sha512-6udB24Q737UD/SDsKAHI9FCRP7Bqc9D/MQUV02ORQg5iskjtLJlZJNdN4kKtcdtwCeWIwIHDGaUsTsCCAa8sFQ==", + "requires": { + "@tokenizer/token": "^0.3.0", + "ieee754": "^1.2.1" + } + }, "tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", @@ -47332,8 +47457,7 @@ "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", - "devOptional": true + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, "utils-merge": { "version": "1.0.1", diff --git a/package.json b/package.json index 70f12755..abc187a2 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ ] }, "dependencies": { - "@cheqd/did-provider-cheqd": "^1.7.20", + "@cheqd/did-provider-cheqd": "^2.0.1", "@veramo/core": "^4.2.0", "@veramo/credential-w3c": "^4.2.0", "@veramo/did-manager": "^4.2.0", diff --git a/src/api/controllers/credentials.ts b/src/api/controllers/credentials.ts index 0667171b..db6b806a 100644 --- a/src/api/controllers/credentials.ts +++ b/src/api/controllers/credentials.ts @@ -44,7 +44,7 @@ export class Credentials { providerPrefix: new CheqdDIDProvider( { defaultKms: 'local', - cosmosPayerMnemonic: COSMOS_PAYER_MNEMONIC, + cosmosPayerSeed: COSMOS_PAYER_MNEMONIC, networkType: network, rpcUrl: NETWORK_RPC_URL, }