Skip to content

Commit

Permalink
fix: add method name
Browse files Browse the repository at this point in the history
Signed-off-by: Ariel Gentile <[email protected]>
  • Loading branch information
genaris committed Apr 5, 2023
1 parent 1cf3ad2 commit 6743a73
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 46 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
"typescript": "~4.9.5"
},
"dependencies": {
"@aries-framework/anoncreds": "^0.4.0-alpha.84",
"@aries-framework/core": "^0.4.0-alpha.84",
"@aries-framework/node": "0.4.0-alpha.84",
"@aries-framework/anoncreds": "^0.4.0-alpha.103",
"@aries-framework/core": "^0.4.0-alpha.103",
"@aries-framework/node": "0.4.0-alpha.103",
"canonicalize": "^1.0.8",
"class-transformer": "0.5.1",
"class-validator": "0.13.1",
Expand Down
2 changes: 2 additions & 0 deletions src/anoncreds/DidWebAnonCredsRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import { AnonCredsObjectResolutionResult } from './AnonCredsObjectResolutionResu
import { calculateObjectId, verifyObjectId } from './utils'

export class DidWebAnonCredsRegistry implements AnonCredsRegistry {
public readonly methodName = 'web'

public readonly supportedIdentifier = /^did:web:[_a-z0-9.%A-]*/
private didsApi: DidsApi

Expand Down
101 changes: 58 additions & 43 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,21 @@
"@jridgewell/gen-mapping" "^0.1.0"
"@jridgewell/trace-mapping" "^0.3.9"

"@aries-framework/anoncreds@^0.4.0-alpha.84":
version "0.4.0-alpha.84"
resolved "https://registry.yarnpkg.com/@aries-framework/anoncreds/-/anoncreds-0.4.0-alpha.84.tgz#abd0d5c81aa5319afce54ae82ee56893ca38373b"
integrity sha512-HGbMxHPKoPtjxFQmoJjmLREVRWZR6h2GbiHfAunZaOQRgOQJHiYEzy61gh324UPahK7MNLF9nXhTcaMur5JZZw==
"@aries-framework/anoncreds@^0.4.0-alpha.103":
version "0.4.0-alpha.103"
resolved "https://registry.yarnpkg.com/@aries-framework/anoncreds/-/anoncreds-0.4.0-alpha.103.tgz#a2318798da46bfbe60b4afdee5809ca0f866bf5f"
integrity sha512-eFbpbZ3KYf6dL9bLuNz7+bm7TnXTVAEP2CZ/E7DslvqwGM+MJF7KZdFFSwyGyAyERJsdZy0qB0D+mfJkN6M+Qw==
dependencies:
"@aries-framework/core" "0.4.0-alpha.84+d6e2ea21"
"@aries-framework/core" "0.4.0-alpha.103+7b596291"
bn.js "^5.2.1"
class-transformer "0.5.1"
class-validator "0.13.1"
class-validator "0.14.0"
reflect-metadata "^0.1.13"

"@aries-framework/[email protected].84+d6e2ea21", "@aries-framework/core@^0.4.0-alpha.84":
version "0.4.0-alpha.84"
resolved "https://registry.yarnpkg.com/@aries-framework/core/-/core-0.4.0-alpha.84.tgz#9a8de42c05bb30032469d1dae857cbbb45f595e8"
integrity sha512-OJZ7usPruDyirgeWKc3YP8y0Ac41wWkWjztqXANnJ0rhsqRqyxeAp3nlwF62EkChJKea6qh8s0fCzX2g8tIeUw==
"@aries-framework/[email protected].103+7b596291", "@aries-framework/core@^0.4.0-alpha.103":
version "0.4.0-alpha.103"
resolved "https://registry.yarnpkg.com/@aries-framework/core/-/core-0.4.0-alpha.103.tgz#09e0d35658d335ff494d823642da7c0d285db510"
integrity sha512-3uw0PlJUZX4bqiINCEAuOlfHIfYgFwSHNqpmdJvhtkdxoIFeva6JiksEU9rnwdDcf2HR1GL5omIc8rCiWq7jMQ==
dependencies:
"@digitalcredentials/jsonld" "^5.2.1"
"@digitalcredentials/jsonld-signatures" "^9.3.1"
Expand All @@ -33,37 +34,37 @@
"@stablelib/random" "^1.0.1"
"@stablelib/sha256" "^1.0.1"
"@types/node-fetch" "^2.5.10"
"@types/ws" "^7.4.6"
"@types/ws" "^8.5.4"
abort-controller "^3.0.0"
borc "^3.0.0"
buffer "^6.0.3"
class-transformer "0.5.1"
class-validator "0.13.1"
did-resolver "^3.1.3"
class-validator "0.14.0"
did-resolver "^4.1.0"
lru_map "^0.4.1"
luxon "^1.27.0"
luxon "^3.3.0"
make-error "^1.3.6"
object-inspect "^1.10.3"
query-string "^7.0.1"
reflect-metadata "^0.1.13"
rxjs "^7.2.0"
tsyringe "^4.7.0"
uuid "^8.3.2"
uuid "^9.0.0"
varint "^6.0.0"
web-did-resolver "^2.0.8"
web-did-resolver "^2.0.21"

"@aries-framework/[email protected].84":
version "0.4.0-alpha.84"
resolved "https://registry.yarnpkg.com/@aries-framework/node/-/node-0.4.0-alpha.84.tgz#7abdccdd5882f3bc04ad8d436bcf71e4cafb7b79"
integrity sha512-eQ8bMghCMZTi4lQn9CNOEb5CHyIqg9N0+C67R0T1MTxrh/f2vaE/5lHM2IJqIH1cg6WrwPAWGgYZ3N/gy9MilQ==
"@aries-framework/[email protected].103":
version "0.4.0-alpha.103"
resolved "https://registry.yarnpkg.com/@aries-framework/node/-/node-0.4.0-alpha.103.tgz#9954793d3d36e924dc6422a5a2fdebe8ff30c724"
integrity sha512-6YzW8t+U96GRZ8uhkDXjcl6fTeEnFuqVY7gkBC4GxLUeXqlsz1kY4wfqu+0olrFyyXHWfpgpN94fGNoQ4HSnlg==
dependencies:
"@aries-framework/core" "0.4.0-alpha.84+d6e2ea21"
"@aries-framework/core" "0.4.0-alpha.103+7b596291"
"@types/express" "^4.17.15"
express "^4.17.1"
ffi-napi "^4.0.3"
node-fetch "^2.6.1"
ref-napi "^3.0.3"
ws "^7.5.3"
ws "^8.13.0"

"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6":
version "7.18.6"
Expand Down Expand Up @@ -1088,15 +1089,15 @@
resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-9.0.1.tgz#98586dc36aee8dacc98cc396dbca8d0429647aa6"
integrity sha512-rFT3ak0/2trgvp4yYZo5iKFEPsET7vKydKF+VRCxlQ9bpheehyAJH89dAkaLEq/j/RZXJIqcgsmPJKUP1Z28HA==

"@types/validator@^13.1.3":
"@types/validator@^13.1.3", "@types/validator@^13.7.10":
version "13.7.14"
resolved "https://registry.yarnpkg.com/@types/validator/-/validator-13.7.14.tgz#5512aef43ba353ea2fe2d0d8c7ce71c75c2ad9e6"
integrity sha512-J6OAed6rhN6zyqL9Of6ZMamhlsOEU/poBVvbHr/dKOYKTeuYYMlDkMv+b6UUV0o2i0tw73cgyv/97WTWaUl0/g==

"@types/ws@^7.4.6":
version "7.4.7"
resolved "https://registry.yarnpkg.com/@types/ws/-/ws-7.4.7.tgz#f7c390a36f7a0679aa69de2d501319f4f8d9b702"
integrity sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==
"@types/ws@^8.5.4":
version "8.5.4"
resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.4.tgz#bb10e36116d6e570dd943735f86c933c1587b8a5"
integrity sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg==
dependencies:
"@types/node" "*"

Expand Down Expand Up @@ -1720,6 +1721,15 @@ [email protected]:
libphonenumber-js "^1.9.7"
validator "^13.5.2"

[email protected]:
version "0.14.0"
resolved "https://registry.yarnpkg.com/class-validator/-/class-validator-0.14.0.tgz#40ed0ecf3c83b2a8a6a320f4edb607be0f0df159"
integrity sha512-ct3ltplN8I9fOwUd8GrP8UQixwff129BkEtuWDKL5W45cQuLd19xqmTLu5ge78YDm/fdje6FMt0hGOhl0lii3A==
dependencies:
"@types/validator" "^13.7.10"
libphonenumber-js "^1.10.14"
validator "^13.7.0"

cli-boxes@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-2.2.1.tgz#ddd5035d25094fce220e9cab40a45840a440318f"
Expand Down Expand Up @@ -2059,11 +2069,6 @@ detect-newline@^3.0.0:
resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651"
integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==

did-resolver@^3.1.3:
version "3.2.2"
resolved "https://registry.yarnpkg.com/did-resolver/-/did-resolver-3.2.2.tgz#6f4e252a810f785d1b28a10265fad6dffee25158"
integrity sha512-Eeo2F524VM5N3W4GwglZrnul2y6TLTwMQP3In62JdG34NZoqihYyOZLk+5wUW8sSgvIYIcJM8Dlt3xsdKZZ3tg==

did-resolver@^4.0.0, did-resolver@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/did-resolver/-/did-resolver-4.1.0.tgz#740852083c4fd5bf9729d528eca5d105aff45eb6"
Expand Down Expand Up @@ -3969,6 +3974,11 @@ levn@~0.3.0:
prelude-ls "~1.1.2"
type-check "~0.3.2"

libphonenumber-js@^1.10.14:
version "1.10.26"
resolved "https://registry.yarnpkg.com/libphonenumber-js/-/libphonenumber-js-1.10.26.tgz#3e6604357b3434b0005f85778b44153f4fadeecd"
integrity sha512-oB3l4J5gEhMV+ymmlIjWedsbCpsNRqbEZ/E/MpN2QVyinKNra6DcuXywxSk/72M3DZDoH/6kzurOq1erznBMwQ==

libphonenumber-js@^1.9.7:
version "1.10.24"
resolved "https://registry.yarnpkg.com/libphonenumber-js/-/libphonenumber-js-1.10.24.tgz#a1744cf29df86d5a587562ea28dde12320eb6ab6"
Expand Down Expand Up @@ -4047,10 +4057,10 @@ lru_map@^0.4.1:
resolved "https://registry.yarnpkg.com/lru_map/-/lru_map-0.4.1.tgz#f7b4046283c79fb7370c36f8fca6aee4324b0a98"
integrity sha512-I+lBvqMMFfqaV8CJCISjI3wbjmwVu/VyOoU7+qtu9d7ioW5klMgsTTiUOUp+DJvfTTzKXoPbyC6YfgkNcyPSOg==

luxon@^1.27.0:
version "1.28.1"
resolved "https://registry.yarnpkg.com/luxon/-/luxon-1.28.1.tgz#528cdf3624a54506d710290a2341aa8e6e6c61b0"
integrity sha512-gYHAa180mKrNIUJCbwpmD0aTu9kV0dREDrwNnuyFAsO1Wt0EVYSZelPnJlbj9HplzXX/YWXHFTL45kvZ53M0pw==
luxon@^3.3.0:
version "3.3.0"
resolved "https://registry.yarnpkg.com/luxon/-/luxon-3.3.0.tgz#d73ab5b5d2b49a461c47cedbc7e73309b4805b48"
integrity sha512-An0UCfG/rSiqtAIiBPO0Y9/zAnHUZxAMiCpTd5h2smgsj7GGmcenvrvww2cqNA8/4A5ZrD1gJpHN2mIHZQF+Mg==

macos-release@^2.5.0:
version "2.5.1"
Expand Down Expand Up @@ -5598,7 +5608,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==

[email protected], uuid@^8.3.2:
[email protected]:
version "8.3.2"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==
Expand All @@ -5622,7 +5632,7 @@ v8-to-istanbul@^8.1.0:
convert-source-map "^1.6.0"
source-map "^0.7.3"

validator@^13.5.2:
validator@^13.5.2, validator@^13.7.0:
version "13.9.0"
resolved "https://registry.yarnpkg.com/validator/-/validator-13.9.0.tgz#33e7b85b604f3bbce9bb1a05d5c3e22e1c2ff855"
integrity sha512-B+dGG8U3fdtM0/aNK4/X8CXq/EcxU2WPrPEkJGslb47qyHsxmbggTWK0yEA4qnYVNF+nxNlN88o14hIcPmSIEA==
Expand Down Expand Up @@ -5673,10 +5683,10 @@ wcwidth@^1.0.1:
dependencies:
defaults "^1.0.3"

web-did-resolver@^2.0.8:
version "2.0.21"
resolved "https://registry.yarnpkg.com/web-did-resolver/-/web-did-resolver-2.0.21.tgz#065797dee3e37cd9f19261d04a90144fe576e5df"
integrity sha512-vKYz0s9spYfYrKhrF88F44lkofS1yj6TCF40+i077a7boru2BNROl5VZEIVL9jJRUDsNzvmVSKkq3kS8kZnB2Q==
web-did-resolver@^2.0.21:
version "2.0.23"
resolved "https://registry.yarnpkg.com/web-did-resolver/-/web-did-resolver-2.0.23.tgz#59806a8bc6f5709403929a3d2b49c06279580632"
integrity sha512-7yOKnY9E322cVFfVkpV6g2j7QWB3H32aezGn2VagBmTAQr74zf0hxRN0p/PzK/kcgnc/oDCIRuiWUGwJEJAh0w==
dependencies:
cross-fetch "^3.1.5"
did-resolver "^4.0.0"
Expand Down Expand Up @@ -5819,11 +5829,16 @@ write-file-atomic@^3.0.0:
signal-exit "^3.0.2"
typedarray-to-buffer "^3.1.5"

ws@^7.4.6, ws@^7.5.3:
ws@^7.4.6:
version "7.5.9"
resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591"
integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==

ws@^8.13.0:
version "8.13.0"
resolved "https://registry.yarnpkg.com/ws/-/ws-8.13.0.tgz#9a9fb92f93cf41512a0735c8f4dd09b8a1211cd0"
integrity sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==

xdg-basedir@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-4.0.0.tgz#4bc8d9984403696225ef83a1573cbbcb4e79db13"
Expand Down

0 comments on commit 6743a73

Please sign in to comment.