diff --git a/javascript/fan-club-credential/package-lock.json b/javascript/fan-club-credential/package-lock.json index 5abb7392..661bed04 100644 --- a/javascript/fan-club-credential/package-lock.json +++ b/javascript/fan-club-credential/package-lock.json @@ -10,7 +10,7 @@ "license": "Apache-2.0", "dependencies": { "@web5/api": "0.11.0", - "@web5/credentials": "1.1.2", + "@web5/credentials": "1.1.3", "@web5/dids": "1.1.5", "@web5/user-agent": "^0.6.0" } @@ -151,6 +151,15 @@ "integrity": "sha512-CBiqvsufgmpo01VT5ze94O+uc+Pbf6f/sThlvWss0sBZmAOu6GQn5usrYV2sf2mr17FWYc0rO8c/CNe2T90QAA==", "license": "Apache-2.0 OR MIT" }, + "node_modules/@noble/ciphers": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-0.5.3.tgz", + "integrity": "sha512-B0+6IIHiqEs3BPMT0hcRmHvEj2QHOLu+uwt+tqDDeVd0oyVzh7BPrDcPjRnV1PV/5LaknXJJQvOuRGR0zQJz+w==", + "license": "MIT", + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/@noble/curves": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.3.0.tgz", @@ -356,15 +365,6 @@ "node": ">= 18" } }, - "node_modules/@tbd54566975/dwn-sdk-js/node_modules/@noble/ciphers": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-0.5.3.tgz", - "integrity": "sha512-B0+6IIHiqEs3BPMT0hcRmHvEj2QHOLu+uwt+tqDDeVd0oyVzh7BPrDcPjRnV1PV/5LaknXJJQvOuRGR0zQJz+w==", - "license": "MIT", - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, "node_modules/@tbd54566975/dwn-sdk-js/node_modules/@noble/curves": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.4.2.tgz", @@ -431,15 +431,6 @@ "node": ">=18.0.0" } }, - "node_modules/@web5/agent/node_modules/@noble/ciphers": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-0.5.3.tgz", - "integrity": "sha512-B0+6IIHiqEs3BPMT0hcRmHvEj2QHOLu+uwt+tqDDeVd0oyVzh7BPrDcPjRnV1PV/5LaknXJJQvOuRGR0zQJz+w==", - "license": "MIT", - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, "node_modules/@web5/api": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@web5/api/-/api-0.11.0.tgz", @@ -496,15 +487,15 @@ "license": "Apache-2.0 OR MIT" }, "node_modules/@web5/credentials": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@web5/credentials/-/credentials-1.1.2.tgz", - "integrity": "sha512-tR+mUsXhLZCdJcLsHo28w4ft2b+ETv/YPl3V5RLrhE3t3dBo6On7C8y4edho4iBZFNvDk96Pu6/P7OKDhUHErg==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@web5/credentials/-/credentials-1.1.3.tgz", + "integrity": "sha512-8r8e9Bdq3JsexZbJuyaGq9T9XEDH2Q+wlT0teYqPvwEl7uWV5tJ4IxT6pA3K8ZmImGP5kaaBfyAbffzB29TcVQ==", "license": "Apache-2.0", "dependencies": { "@sphereon/pex": "3.3.3", - "@web5/common": "1.0.2", - "@web5/crypto": "1.0.5", - "@web5/dids": "1.1.5", + "@web5/common": "1.1.0", + "@web5/crypto": "1.0.6", + "@web5/dids": "1.2.0", "jsonschema": "1.4.1", "pako": "^2.1.0" }, @@ -512,6 +503,92 @@ "node": ">=18.0.0" } }, + "node_modules/@web5/credentials/node_modules/@noble/hashes": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz", + "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==", + "license": "MIT", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@web5/credentials/node_modules/@web5/common": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@web5/common/-/common-1.1.0.tgz", + "integrity": "sha512-h08WsnMK7eyCfCgrV++6/h/0xoQeVbJJ/D5uqb2d+wUeTMpQ99bJWAt0if/2AOOB4+8CvyfVc4e9gRZM/YyN+Q==", + "license": "Apache-2.0", + "dependencies": { + "@isaacs/ttlcache": "1.4.1", + "level": "8.0.1", + "multiformats": "13.1.0", + "readable-stream": "4.5.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@web5/credentials/node_modules/@web5/crypto": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@web5/crypto/-/crypto-1.0.6.tgz", + "integrity": "sha512-sxlMZZTEc5hgkavyn+2gRilSaY8N8mKQZkurW0T59XXFbTTD5GDIS+L2z57YXX9Jwdj+mOc5YtSI7Evjvrf+CQ==", + "license": "Apache-2.0", + "dependencies": { + "@noble/ciphers": "0.5.3", + "@noble/curves": "1.3.0", + "@noble/hashes": "1.4.0", + "@web5/common": "1.1.0" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@web5/credentials/node_modules/@web5/dids": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@web5/dids/-/dids-1.2.0.tgz", + "integrity": "sha512-1YkmKaBHA0QRIxANg3dziCG0yY/9XYY6e2KVNUhv1zq2RcPVmIVAcivG4OSwwfcmWieG+H3bE2A4fCLftj3U3g==", + "license": "Apache-2.0", + "dependencies": { + "@decentralized-identity/ion-sdk": "1.0.4", + "@dnsquery/dns-packet": "6.1.1", + "@web5/common": "1.1.0", + "@web5/crypto": "1.0.6", + "abstract-level": "1.0.4", + "bencode": "4.0.0", + "buffer": "6.0.3", + "level": "8.0.1", + "ms": "2.1.3" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@web5/credentials/node_modules/level": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/level/-/level-8.0.1.tgz", + "integrity": "sha512-oPBGkheysuw7DmzFQYyFe8NAia5jFLAgEnkgWnK3OXAuJr8qFT+xBQIwokAZPME2bhPFzS8hlYcL16m8UZrtwQ==", + "license": "MIT", + "dependencies": { + "abstract-level": "^1.0.4", + "browser-level": "^1.0.1", + "classic-level": "^1.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/level" + } + }, + "node_modules/@web5/credentials/node_modules/multiformats": { + "version": "13.1.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.1.0.tgz", + "integrity": "sha512-HzdtdBwxsIkzpeXzhQ5mAhhuxcHbjEHH+JQoxt7hG/2HGFjjwyolLo7hbaexcnhoEuV4e0TNJ8kkpMjiEYY4VQ==", + "license": "Apache-2.0 OR MIT" + }, "node_modules/@web5/crypto": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@web5/crypto/-/crypto-1.0.5.tgz", @@ -527,15 +604,6 @@ "node": ">=18.0.0" } }, - "node_modules/@web5/crypto/node_modules/@noble/ciphers": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-0.5.3.tgz", - "integrity": "sha512-B0+6IIHiqEs3BPMT0hcRmHvEj2QHOLu+uwt+tqDDeVd0oyVzh7BPrDcPjRnV1PV/5LaknXJJQvOuRGR0zQJz+w==", - "license": "MIT", - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, "node_modules/@web5/crypto/node_modules/@noble/hashes": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz", diff --git a/javascript/fan-club-credential/package.json b/javascript/fan-club-credential/package.json index 0d1e21cc..5a0bd96f 100644 --- a/javascript/fan-club-credential/package.json +++ b/javascript/fan-club-credential/package.json @@ -12,7 +12,7 @@ "license": "Apache-2.0", "dependencies": { "@web5/api": "0.11.0", - "@web5/credentials": "1.1.2", + "@web5/credentials": "1.1.3", "@web5/dids": "1.1.5", "@web5/user-agent": "^0.6.0" } diff --git a/javascript/kcc-prototype-exemplar/issuer/package-lock.json b/javascript/kcc-prototype-exemplar/issuer/package-lock.json index dd5c9ad9..fa9560b6 100644 --- a/javascript/kcc-prototype-exemplar/issuer/package-lock.json +++ b/javascript/kcc-prototype-exemplar/issuer/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "Apache-2.0", "dependencies": { - "@web5/credentials": "1.1.2", + "@web5/credentials": "1.1.3", "@web5/dids": "1.1.5", "express": "^4.19.2" } @@ -241,15 +241,15 @@ } }, "node_modules/@web5/credentials": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@web5/credentials/-/credentials-1.1.2.tgz", - "integrity": "sha512-tR+mUsXhLZCdJcLsHo28w4ft2b+ETv/YPl3V5RLrhE3t3dBo6On7C8y4edho4iBZFNvDk96Pu6/P7OKDhUHErg==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@web5/credentials/-/credentials-1.1.3.tgz", + "integrity": "sha512-8r8e9Bdq3JsexZbJuyaGq9T9XEDH2Q+wlT0teYqPvwEl7uWV5tJ4IxT6pA3K8ZmImGP5kaaBfyAbffzB29TcVQ==", "license": "Apache-2.0", "dependencies": { "@sphereon/pex": "3.3.3", - "@web5/common": "1.0.2", - "@web5/crypto": "1.0.5", - "@web5/dids": "1.1.5", + "@web5/common": "1.1.0", + "@web5/crypto": "1.0.6", + "@web5/dids": "1.2.0", "jsonschema": "1.4.1", "pako": "^2.1.0" }, @@ -257,6 +257,56 @@ "node": ">=18.0.0" } }, + "node_modules/@web5/credentials/node_modules/@web5/common": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@web5/common/-/common-1.1.0.tgz", + "integrity": "sha512-h08WsnMK7eyCfCgrV++6/h/0xoQeVbJJ/D5uqb2d+wUeTMpQ99bJWAt0if/2AOOB4+8CvyfVc4e9gRZM/YyN+Q==", + "license": "Apache-2.0", + "dependencies": { + "@isaacs/ttlcache": "1.4.1", + "level": "8.0.1", + "multiformats": "13.1.0", + "readable-stream": "4.5.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@web5/credentials/node_modules/@web5/crypto": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@web5/crypto/-/crypto-1.0.6.tgz", + "integrity": "sha512-sxlMZZTEc5hgkavyn+2gRilSaY8N8mKQZkurW0T59XXFbTTD5GDIS+L2z57YXX9Jwdj+mOc5YtSI7Evjvrf+CQ==", + "license": "Apache-2.0", + "dependencies": { + "@noble/ciphers": "0.5.3", + "@noble/curves": "1.3.0", + "@noble/hashes": "1.4.0", + "@web5/common": "1.1.0" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@web5/credentials/node_modules/@web5/dids": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@web5/dids/-/dids-1.2.0.tgz", + "integrity": "sha512-1YkmKaBHA0QRIxANg3dziCG0yY/9XYY6e2KVNUhv1zq2RcPVmIVAcivG4OSwwfcmWieG+H3bE2A4fCLftj3U3g==", + "license": "Apache-2.0", + "dependencies": { + "@decentralized-identity/ion-sdk": "1.0.4", + "@dnsquery/dns-packet": "6.1.1", + "@web5/common": "1.1.0", + "@web5/crypto": "1.0.6", + "abstract-level": "1.0.4", + "bencode": "4.0.0", + "buffer": "6.0.3", + "level": "8.0.1", + "ms": "2.1.3" + }, + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/@web5/crypto": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@web5/crypto/-/crypto-1.0.5.tgz", diff --git a/javascript/kcc-prototype-exemplar/issuer/package.json b/javascript/kcc-prototype-exemplar/issuer/package.json index 97e93580..aaa485e3 100644 --- a/javascript/kcc-prototype-exemplar/issuer/package.json +++ b/javascript/kcc-prototype-exemplar/issuer/package.json @@ -11,7 +11,7 @@ "author": "", "license": "Apache-2.0", "dependencies": { - "@web5/credentials": "1.1.2", + "@web5/credentials": "1.1.3", "@web5/dids": "1.1.5", "express": "^4.19.2" } diff --git a/javascript/kcc-prototype-exemplar/wallet/package-lock.json b/javascript/kcc-prototype-exemplar/wallet/package-lock.json index dee28b4a..1c213c3e 100644 --- a/javascript/kcc-prototype-exemplar/wallet/package-lock.json +++ b/javascript/kcc-prototype-exemplar/wallet/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "Apache-2.0", "dependencies": { - "@web5/credentials": "1.1.2", + "@web5/credentials": "1.1.3", "@web5/dids": "1.1.5" } }, @@ -240,15 +240,15 @@ } }, "node_modules/@web5/credentials": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@web5/credentials/-/credentials-1.1.2.tgz", - "integrity": "sha512-tR+mUsXhLZCdJcLsHo28w4ft2b+ETv/YPl3V5RLrhE3t3dBo6On7C8y4edho4iBZFNvDk96Pu6/P7OKDhUHErg==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@web5/credentials/-/credentials-1.1.3.tgz", + "integrity": "sha512-8r8e9Bdq3JsexZbJuyaGq9T9XEDH2Q+wlT0teYqPvwEl7uWV5tJ4IxT6pA3K8ZmImGP5kaaBfyAbffzB29TcVQ==", "license": "Apache-2.0", "dependencies": { "@sphereon/pex": "3.3.3", - "@web5/common": "1.0.2", - "@web5/crypto": "1.0.5", - "@web5/dids": "1.1.5", + "@web5/common": "1.1.0", + "@web5/crypto": "1.0.6", + "@web5/dids": "1.2.0", "jsonschema": "1.4.1", "pako": "^2.1.0" }, @@ -256,6 +256,56 @@ "node": ">=18.0.0" } }, + "node_modules/@web5/credentials/node_modules/@web5/common": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@web5/common/-/common-1.1.0.tgz", + "integrity": "sha512-h08WsnMK7eyCfCgrV++6/h/0xoQeVbJJ/D5uqb2d+wUeTMpQ99bJWAt0if/2AOOB4+8CvyfVc4e9gRZM/YyN+Q==", + "license": "Apache-2.0", + "dependencies": { + "@isaacs/ttlcache": "1.4.1", + "level": "8.0.1", + "multiformats": "13.1.0", + "readable-stream": "4.5.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@web5/credentials/node_modules/@web5/crypto": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@web5/crypto/-/crypto-1.0.6.tgz", + "integrity": "sha512-sxlMZZTEc5hgkavyn+2gRilSaY8N8mKQZkurW0T59XXFbTTD5GDIS+L2z57YXX9Jwdj+mOc5YtSI7Evjvrf+CQ==", + "license": "Apache-2.0", + "dependencies": { + "@noble/ciphers": "0.5.3", + "@noble/curves": "1.3.0", + "@noble/hashes": "1.4.0", + "@web5/common": "1.1.0" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@web5/credentials/node_modules/@web5/dids": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@web5/dids/-/dids-1.2.0.tgz", + "integrity": "sha512-1YkmKaBHA0QRIxANg3dziCG0yY/9XYY6e2KVNUhv1zq2RcPVmIVAcivG4OSwwfcmWieG+H3bE2A4fCLftj3U3g==", + "license": "Apache-2.0", + "dependencies": { + "@decentralized-identity/ion-sdk": "1.0.4", + "@dnsquery/dns-packet": "6.1.1", + "@web5/common": "1.1.0", + "@web5/crypto": "1.0.6", + "abstract-level": "1.0.4", + "bencode": "4.0.0", + "buffer": "6.0.3", + "level": "8.0.1", + "ms": "2.1.3" + }, + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/@web5/crypto": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@web5/crypto/-/crypto-1.0.5.tgz", diff --git a/javascript/kcc-prototype-exemplar/wallet/package.json b/javascript/kcc-prototype-exemplar/wallet/package.json index 2dfd079f..0adab45a 100644 --- a/javascript/kcc-prototype-exemplar/wallet/package.json +++ b/javascript/kcc-prototype-exemplar/wallet/package.json @@ -11,7 +11,7 @@ "author": "", "license": "Apache-2.0", "dependencies": { - "@web5/credentials": "1.1.2", + "@web5/credentials": "1.1.3", "@web5/dids": "1.1.5" } } \ No newline at end of file diff --git a/javascript/pfi-aud-usd-tbdex/package-lock.json b/javascript/pfi-aud-usd-tbdex/package-lock.json index 4da65987..374b50ca 100644 --- a/javascript/pfi-aud-usd-tbdex/package-lock.json +++ b/javascript/pfi-aud-usd-tbdex/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "dependencies": { "@tbdex/http-server": "2.0.0", - "@web5/credentials": "1.1.2", + "@web5/credentials": "1.1.3", "@web5/dids": "1.1.5", "ajv": "8.17.1", "cborg": "^4.0.0", @@ -2794,15 +2794,15 @@ } }, "node_modules/@web5/credentials": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@web5/credentials/-/credentials-1.1.2.tgz", - "integrity": "sha512-tR+mUsXhLZCdJcLsHo28w4ft2b+ETv/YPl3V5RLrhE3t3dBo6On7C8y4edho4iBZFNvDk96Pu6/P7OKDhUHErg==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@web5/credentials/-/credentials-1.1.3.tgz", + "integrity": "sha512-8r8e9Bdq3JsexZbJuyaGq9T9XEDH2Q+wlT0teYqPvwEl7uWV5tJ4IxT6pA3K8ZmImGP5kaaBfyAbffzB29TcVQ==", "license": "Apache-2.0", "dependencies": { "@sphereon/pex": "3.3.3", - "@web5/common": "1.0.2", - "@web5/crypto": "1.0.5", - "@web5/dids": "1.1.5", + "@web5/common": "1.1.0", + "@web5/crypto": "1.0.6", + "@web5/dids": "1.2.0", "jsonschema": "1.4.1", "pako": "^2.1.0" }, @@ -2901,9 +2901,9 @@ } }, "node_modules/@web5/credentials/node_modules/@web5/common": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@web5/common/-/common-1.0.2.tgz", - "integrity": "sha512-SerGdrxZF47yidvhrRa8sGLEOunIlDHppxrtWYCuKMVgtQKgheEmaS4+xchGAc/mZggJX4LlwJbRuniIiSaXrw==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@web5/common/-/common-1.1.0.tgz", + "integrity": "sha512-h08WsnMK7eyCfCgrV++6/h/0xoQeVbJJ/D5uqb2d+wUeTMpQ99bJWAt0if/2AOOB4+8CvyfVc4e9gRZM/YyN+Q==", "license": "Apache-2.0", "dependencies": { "@isaacs/ttlcache": "1.4.1", @@ -2916,15 +2916,35 @@ } }, "node_modules/@web5/credentials/node_modules/@web5/crypto": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@web5/crypto/-/crypto-1.0.5.tgz", - "integrity": "sha512-btVYrv6G29VQgdLVtqH4IbaH6DvvEA2UWgF3y0AMv/wAmT4EKSdwVUHhEWt16gtpN05UT5qEYmnKLZUOxk1zzw==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@web5/crypto/-/crypto-1.0.6.tgz", + "integrity": "sha512-sxlMZZTEc5hgkavyn+2gRilSaY8N8mKQZkurW0T59XXFbTTD5GDIS+L2z57YXX9Jwdj+mOc5YtSI7Evjvrf+CQ==", "license": "Apache-2.0", "dependencies": { "@noble/ciphers": "0.5.3", "@noble/curves": "1.3.0", "@noble/hashes": "1.4.0", - "@web5/common": "1.0.2" + "@web5/common": "1.1.0" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@web5/credentials/node_modules/@web5/dids": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@web5/dids/-/dids-1.2.0.tgz", + "integrity": "sha512-1YkmKaBHA0QRIxANg3dziCG0yY/9XYY6e2KVNUhv1zq2RcPVmIVAcivG4OSwwfcmWieG+H3bE2A4fCLftj3U3g==", + "license": "Apache-2.0", + "dependencies": { + "@decentralized-identity/ion-sdk": "1.0.4", + "@dnsquery/dns-packet": "6.1.1", + "@web5/common": "1.1.0", + "@web5/crypto": "1.0.6", + "abstract-level": "1.0.4", + "bencode": "4.0.0", + "buffer": "6.0.3", + "level": "8.0.1", + "ms": "2.1.3" }, "engines": { "node": ">=18.0.0" diff --git a/javascript/pfi-aud-usd-tbdex/package.json b/javascript/pfi-aud-usd-tbdex/package.json index 1c9da0cd..f968ebd9 100644 --- a/javascript/pfi-aud-usd-tbdex/package.json +++ b/javascript/pfi-aud-usd-tbdex/package.json @@ -4,7 +4,7 @@ "version": "1.0.0", "dependencies": { "@tbdex/http-server": "2.0.0", - "@web5/credentials": "1.1.2", + "@web5/credentials": "1.1.3", "@web5/dids": "1.1.5", "ajv": "8.17.1", "cborg": "^4.0.0", diff --git a/javascript/tbdex-pfi-exemplar/package-lock.json b/javascript/tbdex-pfi-exemplar/package-lock.json index e049de86..e744b27b 100644 --- a/javascript/tbdex-pfi-exemplar/package-lock.json +++ b/javascript/tbdex-pfi-exemplar/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@tbdex/http-server": "2.0.0", "@web5/common": "1.0.2", - "@web5/credentials": "1.0.3", + "@web5/credentials": "1.1.3", "@web5/crypto": "1.0.6", "@web5/dids": "1.1.5", "ajv": "8.17.1", @@ -839,6 +839,55 @@ "node": ">=18" } }, + "node_modules/@sd-jwt/present": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@sd-jwt/present/-/present-0.6.1.tgz", + "integrity": "sha512-QRD3TUDLj4PqQNZ70bBxh8FLLrOE9mY8V9qiZrJSsaDOLFs2p1CtZG+v9ig62fxFYJZMf4bWKwYjz+qqGAtxCg==", + "license": "Apache-2.0", + "dependencies": { + "@sd-jwt/decode": "0.6.1", + "@sd-jwt/types": "0.6.1", + "@sd-jwt/utils": "0.6.1" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@sd-jwt/present/node_modules/@sd-jwt/decode": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@sd-jwt/decode/-/decode-0.6.1.tgz", + "integrity": "sha512-QgTIoYd5zyKKLgXB4xEYJTrvumVwtsj5Dog0v0L9UH9ZvHekDaeexS247X7A4iSdzTvmZzUpGskgABOa4D8NmQ==", + "license": "Apache-2.0", + "dependencies": { + "@sd-jwt/types": "0.6.1", + "@sd-jwt/utils": "0.6.1" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@sd-jwt/present/node_modules/@sd-jwt/types": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@sd-jwt/types/-/types-0.6.1.tgz", + "integrity": "sha512-LKpABZJGT77jNhOLvAHIkNNmGqXzyfwBT+6r+DN9zNzMx1CzuNR0qXk1GMUbast9iCfPkGbnEpUv/jHTBvlIvg==", + "license": "Apache-2.0", + "engines": { + "node": ">=16" + } + }, + "node_modules/@sd-jwt/present/node_modules/@sd-jwt/utils": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@sd-jwt/utils/-/utils-0.6.1.tgz", + "integrity": "sha512-1NHZ//+GecGQJb+gSdDicnrHG0DvACUk9jTnXA5yLZhlRjgkjyfJLNsCZesYeCyVp/SiyvIC9B+JwoY4kI0TwQ==", + "license": "Apache-2.0", + "dependencies": { + "@sd-jwt/types": "0.6.1", + "js-base64": "^3.7.6" + }, + "engines": { + "node": ">=16" + } + }, "node_modules/@sd-jwt/types": { "version": "0.7.2", "resolved": "https://registry.npmjs.org/@sd-jwt/types/-/types-0.7.2.tgz", @@ -1659,6 +1708,22 @@ "node": ">=18.0.0" } }, + "node_modules/@tbdex/http-client/node_modules/@web5/credentials": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@web5/credentials/-/credentials-1.0.3.tgz", + "integrity": "sha512-xWLey8+c8yv8XuYhiCkV0aUaxII5g4zDaVxEd84megsGl7RyjFNxxsx7cZBhr0BEYO/lcZRFGsMsBz4HKRYYpQ==", + "license": "Apache-2.0", + "dependencies": { + "@sphereon/pex": "2.1.0", + "@web5/common": "1.0.1", + "@web5/crypto": "1.0.1", + "@web5/dids": "1.1.1", + "pako": "^2.1.0" + }, + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/@tbdex/http-client/node_modules/@web5/crypto": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@web5/crypto/-/crypto-1.0.1.tgz", @@ -2021,6 +2086,22 @@ "node": ">=18.0.0" } }, + "node_modules/@tbdex/protocol/node_modules/@web5/credentials": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@web5/credentials/-/credentials-1.0.3.tgz", + "integrity": "sha512-xWLey8+c8yv8XuYhiCkV0aUaxII5g4zDaVxEd84megsGl7RyjFNxxsx7cZBhr0BEYO/lcZRFGsMsBz4HKRYYpQ==", + "license": "Apache-2.0", + "dependencies": { + "@sphereon/pex": "2.1.0", + "@web5/common": "1.0.1", + "@web5/crypto": "1.0.1", + "@web5/dids": "1.1.1", + "pako": "^2.1.0" + }, + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/@tbdex/protocol/node_modules/@web5/crypto": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@web5/crypto/-/crypto-1.0.1.tgz", @@ -2715,107 +2796,116 @@ } }, "node_modules/@web5/credentials": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@web5/credentials/-/credentials-1.0.3.tgz", - "integrity": "sha512-xWLey8+c8yv8XuYhiCkV0aUaxII5g4zDaVxEd84megsGl7RyjFNxxsx7cZBhr0BEYO/lcZRFGsMsBz4HKRYYpQ==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@web5/credentials/-/credentials-1.1.3.tgz", + "integrity": "sha512-8r8e9Bdq3JsexZbJuyaGq9T9XEDH2Q+wlT0teYqPvwEl7uWV5tJ4IxT6pA3K8ZmImGP5kaaBfyAbffzB29TcVQ==", + "license": "Apache-2.0", "dependencies": { - "@sphereon/pex": "2.1.0", - "@web5/common": "1.0.1", - "@web5/crypto": "1.0.1", - "@web5/dids": "1.1.1", + "@sphereon/pex": "3.3.3", + "@web5/common": "1.1.0", + "@web5/crypto": "1.0.6", + "@web5/dids": "1.2.0", + "jsonschema": "1.4.1", "pako": "^2.1.0" }, "engines": { "node": ">=18.0.0" } }, - "node_modules/@web5/credentials/node_modules/@noble/hashes": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz", - "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==", - "engines": { - "node": ">= 16" + "node_modules/@web5/credentials/node_modules/@sd-jwt/decode": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@sd-jwt/decode/-/decode-0.6.1.tgz", + "integrity": "sha512-QgTIoYd5zyKKLgXB4xEYJTrvumVwtsj5Dog0v0L9UH9ZvHekDaeexS247X7A4iSdzTvmZzUpGskgABOa4D8NmQ==", + "license": "Apache-2.0", + "dependencies": { + "@sd-jwt/types": "0.6.1", + "@sd-jwt/utils": "0.6.1" }, - "funding": { - "url": "https://paulmillr.com/funding/" + "engines": { + "node": ">=16" } }, - "node_modules/@web5/credentials/node_modules/@web5/common": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@web5/common/-/common-1.0.1.tgz", - "integrity": "sha512-dxczXqzWt6HCwuNyOVBeakg6GgOpP74tVEVxBeKkb+D3XcSP96mYaDtky5ZnjY4iBYb16SaCgwje+sgevOL51A==", - "dependencies": { - "@isaacs/ttlcache": "1.4.1", - "level": "8.0.1", - "multiformats": "13.1.0", - "readable-stream": "4.4.2" - }, + "node_modules/@web5/credentials/node_modules/@sd-jwt/types": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@sd-jwt/types/-/types-0.6.1.tgz", + "integrity": "sha512-LKpABZJGT77jNhOLvAHIkNNmGqXzyfwBT+6r+DN9zNzMx1CzuNR0qXk1GMUbast9iCfPkGbnEpUv/jHTBvlIvg==", + "license": "Apache-2.0", "engines": { - "node": ">=18.0.0" + "node": ">=16" } }, - "node_modules/@web5/credentials/node_modules/@web5/crypto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@web5/crypto/-/crypto-1.0.1.tgz", - "integrity": "sha512-LqJsJTDgzEZoxsYSWjhIKDTE3xwjfPF3rpkClMFAxmK4dur/KmYHgeZW2/HjRrFrUhNeaNVClcl7Fg2ZnvjsWw==", + "node_modules/@web5/credentials/node_modules/@sd-jwt/utils": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@sd-jwt/utils/-/utils-0.6.1.tgz", + "integrity": "sha512-1NHZ//+GecGQJb+gSdDicnrHG0DvACUk9jTnXA5yLZhlRjgkjyfJLNsCZesYeCyVp/SiyvIC9B+JwoY4kI0TwQ==", + "license": "Apache-2.0", "dependencies": { - "@noble/ciphers": "0.4.1", - "@noble/curves": "1.3.0", - "@noble/hashes": "1.4.0", - "@web5/common": "1.0.0" + "@sd-jwt/types": "0.6.1", + "js-base64": "^3.7.6" }, "engines": { - "node": ">=18.0.0" + "node": ">=16" } }, - "node_modules/@web5/credentials/node_modules/@web5/crypto/node_modules/@web5/common": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@web5/common/-/common-1.0.0.tgz", - "integrity": "sha512-3JHF6X5o0h+3oAVQeBC4XpMoZeEYZYdEmQdgpOfKv/rnSru2yHQSAM+0wbIvEFcSCmelBT3u7rUAcpJjelLB0w==", + "node_modules/@web5/credentials/node_modules/@sphereon/pex": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/@sphereon/pex/-/pex-3.3.3.tgz", + "integrity": "sha512-CXwdEcMTUh2z/5AriBn3OuShEG06l2tgiIr7qDJthnkez8DQ3sZo2vr4NEQWKKAL+DeAWAI4FryQGO4KuK7yfg==", + "hasInstallScript": true, + "license": "Apache-2.0", "dependencies": { - "@isaacs/ttlcache": "1.4.1", - "level": "8.0.0", - "multiformats": "11.0.2", - "readable-stream": "4.4.2" + "@astronautlabs/jsonpath": "^1.1.2", + "@sd-jwt/decode": "^0.6.1", + "@sd-jwt/present": "^0.6.1", + "@sd-jwt/types": "^0.6.1", + "@sphereon/pex-models": "^2.2.4", + "@sphereon/ssi-types": "0.22.0", + "ajv": "^8.12.0", + "ajv-formats": "^2.1.1", + "jwt-decode": "^3.1.2", + "nanoid": "^3.3.7", + "string.prototype.matchall": "^4.0.10", + "uint8arrays": "^3.1.1" }, "engines": { - "node": ">=18.0.0" + "node": ">=18" } }, - "node_modules/@web5/credentials/node_modules/@web5/crypto/node_modules/level": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/level/-/level-8.0.0.tgz", - "integrity": "sha512-ypf0jjAk2BWI33yzEaaotpq7fkOPALKAgDBxggO6Q9HGX2MRXn0wbP1Jn/tJv1gtL867+YOjOB49WaUF3UoJNQ==", + "node_modules/@web5/credentials/node_modules/@sphereon/ssi-types": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@sphereon/ssi-types/-/ssi-types-0.22.0.tgz", + "integrity": "sha512-YPJAZlKmzNALXK8ohP3ETxj1oVzL4+M9ljj3fD5xrbacvYax1JPCVKc8BWSubGcQckKHPbgbpcS7LYEeghyT9Q==", + "license": "Apache-2.0", "dependencies": { - "browser-level": "^1.0.1", - "classic-level": "^1.2.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/level" + "@sd-jwt/decode": "^0.6.1", + "jwt-decode": "^3.1.2" } }, - "node_modules/@web5/credentials/node_modules/@web5/crypto/node_modules/multiformats": { - "version": "11.0.2", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", - "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "node_modules/@web5/credentials/node_modules/@web5/common": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@web5/common/-/common-1.1.0.tgz", + "integrity": "sha512-h08WsnMK7eyCfCgrV++6/h/0xoQeVbJJ/D5uqb2d+wUeTMpQ99bJWAt0if/2AOOB4+8CvyfVc4e9gRZM/YyN+Q==", + "license": "Apache-2.0", + "dependencies": { + "@isaacs/ttlcache": "1.4.1", + "level": "8.0.1", + "multiformats": "13.1.0", + "readable-stream": "4.5.2" + }, "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" + "node": ">=18.0.0" } }, "node_modules/@web5/credentials/node_modules/@web5/dids": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@web5/dids/-/dids-1.1.1.tgz", - "integrity": "sha512-LKc6Okl2iz78QGJCsd8QKQq3LdtmfQ9cfiRKu1BU4ITWteWsg4JD089hKmslNDd2KKnEf9LE72TqEYWxr/e8JA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@web5/dids/-/dids-1.2.0.tgz", + "integrity": "sha512-1YkmKaBHA0QRIxANg3dziCG0yY/9XYY6e2KVNUhv1zq2RcPVmIVAcivG4OSwwfcmWieG+H3bE2A4fCLftj3U3g==", + "license": "Apache-2.0", "dependencies": { "@decentralized-identity/ion-sdk": "1.0.4", "@dnsquery/dns-packet": "6.1.1", - "@web5/common": "1.0.0", - "@web5/crypto": "1.0.0", + "@web5/common": "1.1.0", + "@web5/crypto": "1.0.6", "abstract-level": "1.0.4", "bencode": "4.0.0", "buffer": "6.0.3", @@ -2826,85 +2916,6 @@ "node": ">=18.0.0" } }, - "node_modules/@web5/credentials/node_modules/@web5/dids/node_modules/@noble/hashes": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.3.tgz", - "integrity": "sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA==", - "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@web5/credentials/node_modules/@web5/dids/node_modules/@web5/common": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@web5/common/-/common-1.0.0.tgz", - "integrity": "sha512-3JHF6X5o0h+3oAVQeBC4XpMoZeEYZYdEmQdgpOfKv/rnSru2yHQSAM+0wbIvEFcSCmelBT3u7rUAcpJjelLB0w==", - "dependencies": { - "@isaacs/ttlcache": "1.4.1", - "level": "8.0.0", - "multiformats": "11.0.2", - "readable-stream": "4.4.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@web5/credentials/node_modules/@web5/dids/node_modules/@web5/common/node_modules/level": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/level/-/level-8.0.0.tgz", - "integrity": "sha512-ypf0jjAk2BWI33yzEaaotpq7fkOPALKAgDBxggO6Q9HGX2MRXn0wbP1Jn/tJv1gtL867+YOjOB49WaUF3UoJNQ==", - "dependencies": { - "browser-level": "^1.0.1", - "classic-level": "^1.2.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/level" - } - }, - "node_modules/@web5/credentials/node_modules/@web5/dids/node_modules/@web5/crypto": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@web5/crypto/-/crypto-1.0.0.tgz", - "integrity": "sha512-z1CsgycTqiXEsS6pPlJDDLGAeGsgzfdBeWvyxLXTgh08Q8ACULmEGRXjSsgWHFn6DO6MpWFn55h/hF4wZZRxvA==", - "dependencies": { - "@noble/ciphers": "0.4.1", - "@noble/curves": "1.3.0", - "@noble/hashes": "1.3.3", - "@web5/common": "1.0.0" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@web5/credentials/node_modules/@web5/dids/node_modules/multiformats": { - "version": "11.0.2", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", - "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@web5/credentials/node_modules/readable-stream": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.4.2.tgz", - "integrity": "sha512-Lk/fICSyIhodxy1IDK2HazkeGjSmezAWX2egdtJnYhtzKEsBPJowlI6F6LPb5tqIQILrMbx22S5o3GuJavPusA==", - "dependencies": { - "abort-controller": "^3.0.0", - "buffer": "^6.0.3", - "events": "^3.3.0", - "process": "^0.11.10", - "string_decoder": "^1.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, "node_modules/@web5/crypto": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/@web5/crypto/-/crypto-1.0.6.tgz", @@ -6287,7 +6298,6 @@ "version": "3.7.7", "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.7.7.tgz", "integrity": "sha512-7rCnleh0z2CkXhH67J8K1Ytz0b2Y+yxTPL+/KOJoa20hfnVQ/3/T6W/KflYI4bRHRagNeXeU2bkNGI3v1oS/lw==", - "dev": true, "license": "BSD-3-Clause" }, "node_modules/js-crypto-aes": { @@ -6478,6 +6488,15 @@ "node": ">=0.10.0" } }, + "node_modules/jsonschema": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsonschema/-/jsonschema-1.4.1.tgz", + "integrity": "sha512-S6cATIPVv1z0IlxdN+zUk5EPjkGCdnhN4wVSBlvoUO1tOLJootbo9CquNJmbIh4yikWHiUedhRYrNPn1arpEmQ==", + "license": "MIT", + "engines": { + "node": "*" + } + }, "node_modules/just-extend": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-6.2.0.tgz", @@ -9177,7 +9196,6 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-3.1.1.tgz", "integrity": "sha512-+QJa8QRnbdXVpHYjLoTpJIdCTiw9Ir62nocClWuXIq2JIh4Uta0cQsTSpFL678p2CN8B+XSApwcU+pQEqVpKWg==", - "dev": true, "license": "MIT", "dependencies": { "multiformats": "^9.4.2" @@ -9187,7 +9205,6 @@ "version": "9.9.0", "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.9.0.tgz", "integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==", - "dev": true, "license": "(Apache-2.0 AND MIT)" }, "node_modules/unbox-primitive": { diff --git a/javascript/tbdex-pfi-exemplar/package.json b/javascript/tbdex-pfi-exemplar/package.json index 104d0392..38dbb783 100644 --- a/javascript/tbdex-pfi-exemplar/package.json +++ b/javascript/tbdex-pfi-exemplar/package.json @@ -5,7 +5,7 @@ "dependencies": { "@tbdex/http-server": "2.0.0", "@web5/common": "1.0.2", - "@web5/credentials": "1.0.3", + "@web5/credentials": "1.1.3", "@web5/crypto": "1.0.6", "@web5/dids": "1.1.5", "ajv": "8.17.1",