diff --git a/package-lock.json b/package-lock.json index 32e81f46..013bb086 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "learner-credential-wallet", - "version": "1.0.0", + "version": "2.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "learner-credential-wallet", - "version": "1.0.0", + "version": "2.1.1", "hasInstallScript": true, "dependencies": { "@digitalcredentials/cborld": "^4.3.4", @@ -15,7 +15,8 @@ "@digitalcredentials/ed25519-verification-key-2020": "^4.0.0", "@digitalcredentials/issuer-registry-client": "^2.0.0", "@digitalcredentials/security-document-loader": "^5.0.0", - "@digitalcredentials/vc": "^7.0.0", + "@digitalcredentials/vc": "digitalcredentials/vc#vc-2.0-time-props", + "@digitalcredentials/vc-bitstring-status-list": "digitalcredentials/vc-bitstring-status-list#add-vc-2.0", "@digitalcredentials/vc-status-list": "^8.0.0", "@digitalcredentials/vpqr": "^2.2.1", "@expo-google-fonts/roboto-mono": "^0.2.2", @@ -2261,6 +2262,13 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "node_modules/@digitalbazaar/credentials-v2-context": { + "version": "0.0.1-0", + "resolved": "git+ssh://git@github.com/digitalbazaar/credentials-v2-context.git#2b9b2b83e6ee64a839e4c919d00844bee413e753", + "engines": { + "node": ">=18" + } + }, "node_modules/@digitalbazaar/http-client": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/@digitalbazaar/http-client/-/http-client-4.1.0.tgz", @@ -2278,6 +2286,14 @@ "resolved": "https://registry.npmjs.org/@digitalbazaar/security-context/-/security-context-1.0.1.tgz", "integrity": "sha512-0WZa6tPiTZZF8leBtQgYAfXQePFQp2z5ivpCEN/iZguYYZ0TB9qRmWtan5XH6mNFuusHtMcyIzAcReyE6rZPhA==" }, + "node_modules/@digitalbazaar/vc-bitstring-status-list-context": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@digitalbazaar/vc-bitstring-status-list-context/-/vc-bitstring-status-list-context-1.0.0.tgz", + "integrity": "sha512-9I+UBpM4aHif2y06i3U/ehBtmUnQMgJbns+/MGu0zKT+NcRAfimfT1/n8VBGvz+cdPKveDMrRLNZAaEH/dFa1Q==", + "engines": { + "node": ">=18" + } + }, "node_modules/@digitalbazaar/vc-status-list-context": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/@digitalbazaar/vc-status-list-context/-/vc-status-list-context-3.0.1.tgz", @@ -2340,6 +2356,14 @@ "node": ">=12" } }, + "node_modules/@digitalcredentials/credentials-v2-context": { + "version": "0.0.1-beta.0", + "resolved": "https://registry.npmjs.org/@digitalcredentials/credentials-v2-context/-/credentials-v2-context-0.0.1-beta.0.tgz", + "integrity": "sha512-i0AQXFnMeOqf2uKNBUcnN78mO8L9H91QKMdpDqsgDYzTIKGLnNCOOxbRbrJOimhR+soYO64xn54U8/R7Qx0nyA==", + "engines": { + "node": ">=18" + } + }, "node_modules/@digitalcredentials/crypto-ld": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/@digitalcredentials/crypto-ld/-/crypto-ld-7.0.6.tgz", @@ -2489,6 +2513,20 @@ "node": ">=18.0" } }, + "node_modules/@digitalcredentials/jsonld": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@digitalcredentials/jsonld/-/jsonld-9.0.0.tgz", + "integrity": "sha512-lWVpg65xQbi4lvXWs3BezCwPrGDAllFjHwTBUWJCoKsfGzxtxTwbRNXpfhii5psQ2vvpjPXSI+y0uyRNOzr4cw==", + "dependencies": { + "@digitalcredentials/http-client": "^5.0.1", + "canonicalize": "^1.0.1", + "lru-cache": "^6.0.0", + "rdf-canonize": "^3.4.0" + }, + "engines": { + "node": ">=14" + } + }, "node_modules/@digitalcredentials/jsonld-signatures": { "version": "10.0.1", "resolved": "https://registry.npmjs.org/@digitalcredentials/jsonld-signatures/-/jsonld-signatures-10.0.1.tgz", @@ -2504,6 +2542,37 @@ "node": ">=18" } }, + "node_modules/@digitalcredentials/jsonld/node_modules/@digitalcredentials/http-client": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@digitalcredentials/http-client/-/http-client-5.0.2.tgz", + "integrity": "sha512-Y/qAXrjl8vDqIea9doeMbjrlszUx9jbmH1fosmvAhxOQwOTzewAJOZ3hIIRSPILuNUw5wnMrtL8BhnuI2gsVRg==", + "dependencies": { + "ky": "^1.0.1", + "undici": "^6.6.2" + }, + "engines": { + "node": ">=18.0" + } + }, + "node_modules/@digitalcredentials/jsonld/node_modules/rdf-canonize": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/rdf-canonize/-/rdf-canonize-3.4.0.tgz", + "integrity": "sha512-fUeWjrkOO0t1rg7B2fdyDTvngj+9RlUyL92vOdiB7c0FPguWVsniIMjEtHH+meLBO9rzkUlUzBVXgWrjI8P9LA==", + "dependencies": { + "setimmediate": "^1.0.5" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@digitalcredentials/jsonld/node_modules/undici": { + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.19.8.tgz", + "integrity": "sha512-U8uCCl2x9TK3WANvmBavymRzxbfFYG+tAu+fgx3zxQy3qdagQqBLwJVrdyO1TBfUXvfKveMKJZhpvUYoOjM+4g==", + "engines": { + "node": ">=18.17" + } + }, "node_modules/@digitalcredentials/keypair": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@digitalcredentials/keypair/-/keypair-1.0.5.tgz", @@ -2594,19 +2663,32 @@ } }, "node_modules/@digitalcredentials/vc": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@digitalcredentials/vc/-/vc-7.0.0.tgz", - "integrity": "sha512-CgjUOqU2VWanbcKUA8L50/72O8rTtCtOY9indMwRIUgFgWkdY4wT89UTWs5QG3SGimXJsbjzKhVJ67VahPxg+Q==", + "version": "8.0.0", + "resolved": "git+ssh://git@github.com/digitalcredentials/vc.git#1394f03d2eb2c96e45db6579f79cae4624f3b3ab", "dependencies": { - "@digitalcredentials/ed25519-signature-2020": "^4.0.0", - "@digitalcredentials/jsonld-signatures": "^10.0.1", + "@digitalcredentials/credentials-v2-context": "~0.0.1-beta.0", + "@digitalcredentials/jsonld": "^9.0.0", + "@digitalcredentials/jsonld-signatures": "^11.0.0", "@digitalcredentials/open-badges-context": "^2.1.0", "credentials-context": "^2.0.0", - "fix-esm": "^1.0.1", - "jsonld": "github:digitalcredentials/jsonld.js#v10.x" + "ed25519-signature-2018-context": "^1.1.0" }, "engines": { - "node": ">=12" + "node": ">=18" + } + }, + "node_modules/@digitalcredentials/vc-bitstring-status-list": { + "version": "0.0.1-0", + "resolved": "git+ssh://git@github.com/digitalcredentials/vc-bitstring-status-list.git#440e673b59581f2ba8dc6cba1634b8f1b016a849", + "dependencies": { + "@digitalbazaar/credentials-v2-context": "digitalbazaar/credentials-v2-context#main", + "@digitalbazaar/vc-bitstring-status-list-context": "^1.0.0", + "@digitalcredentials/bitstring": "^3.1.2", + "@digitalcredentials/vc": "digitalcredentials/vc#vc-2.0-time-props", + "credentials-context": "^2.0.0" + }, + "engines": { + "node": ">=18" } }, "node_modules/@digitalcredentials/vc-status-list": { @@ -2623,6 +2705,77 @@ "node": ">=16" } }, + "node_modules/@digitalcredentials/vc-status-list/node_modules/@digitalcredentials/vc": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@digitalcredentials/vc/-/vc-7.0.0.tgz", + "integrity": "sha512-CgjUOqU2VWanbcKUA8L50/72O8rTtCtOY9indMwRIUgFgWkdY4wT89UTWs5QG3SGimXJsbjzKhVJ67VahPxg+Q==", + "dependencies": { + "@digitalcredentials/ed25519-signature-2020": "^4.0.0", + "@digitalcredentials/jsonld-signatures": "^10.0.1", + "@digitalcredentials/open-badges-context": "^2.1.0", + "credentials-context": "^2.0.0", + "fix-esm": "^1.0.1", + "jsonld": "github:digitalcredentials/jsonld.js#v10.x" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@digitalcredentials/vc/node_modules/@digitalcredentials/jsonld-signatures": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/@digitalcredentials/jsonld-signatures/-/jsonld-signatures-11.0.0.tgz", + "integrity": "sha512-M44z5H66kr0p5CftQH3BlHkj2s9jCzEntIjauSZw/vUo/AALbRr50sICallaHi/KiuJ3qVyVJDRo/UxrsUN5jQ==", + "dependencies": { + "@digitalbazaar/security-context": "^1.0.0", + "@digitalcredentials/jsonld": "^9.0.0", + "@sphereon/isomorphic-webcrypto": "^2.5.0-unstable.0", + "fast-text-encoding": "^1.0.3", + "serialize-error": "^8.0.1" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@digitalcredentials/vc/node_modules/@sphereon/isomorphic-webcrypto": { + "version": "2.5.0-unstable.0", + "resolved": "https://registry.npmjs.org/@sphereon/isomorphic-webcrypto/-/isomorphic-webcrypto-2.5.0-unstable.0.tgz", + "integrity": "sha512-HEOpZATW7zzYiF8Ak2X0lMvrVQL+6FTeIHm6E815zu7xP5PLjwYPJ0galBjc/F+kex22BzK9hndsdH0/y3bjqA==", + "dependencies": { + "@peculiar/webcrypto": "^1.5.0", + "asmcrypto.js": "^2.3.2", + "b64-lite": "^1.4.0", + "b64u-lite": "^1.1.0", + "cipher-base": "^1.0.4", + "create-hash": "^1.2.0", + "inherits": "^2.0.4", + "md5.js": "^1.3.5", + "randomfill": "^1.0.4", + "ripemd160": "^2.0.2", + "sha.js": "^2.4.11", + "str2buf": "^1.3.0", + "webcrypto-shim": "^0.1.7" + }, + "peerDependencies": { + "expo": "*", + "expo-crypto": "*", + "msrcrypto": "^1.5.8", + "react-native-securerandom": "^1.0.1" + }, + "peerDependenciesMeta": { + "expo": { + "optional": true + }, + "expo-crypto": { + "optional": true + }, + "msrcrypt": { + "optional": true + }, + "react-native-securerandom": { + "optional": true + } + } + }, "node_modules/@digitalcredentials/vpqr": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/@digitalcredentials/vpqr/-/vpqr-2.2.1.tgz", @@ -5393,9 +5546,9 @@ } }, "node_modules/@peculiar/asn1-schema": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.3.8.tgz", - "integrity": "sha512-ULB1XqHKx1WBU/tTFIA+uARuRoBVZ4pNdOA878RDrRbBfBGcSzi5HBkdScC6ZbHn8z7L8gmKCgPC1LHRrP46tA==", + "version": "2.3.13", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.3.13.tgz", + "integrity": "sha512-3Xq3a01WkHRZL8X04Zsfg//mGaA21xlL4tlVn4v2xGT0JStiztATRkMwa5b+f/HXmY2smsiLXYK46Gwgzvfg3g==", "dependencies": { "asn1js": "^3.0.5", "pvtsutils": "^1.3.5", @@ -5414,15 +5567,15 @@ } }, "node_modules/@peculiar/webcrypto": { - "version": "1.4.5", - "resolved": "https://registry.npmjs.org/@peculiar/webcrypto/-/webcrypto-1.4.5.tgz", - "integrity": "sha512-oDk93QCDGdxFRM8382Zdminzs44dg3M2+E5Np+JWkpqLDyJC9DviMh8F8mEJkYuUcUOGA5jHO5AJJ10MFWdbZw==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@peculiar/webcrypto/-/webcrypto-1.5.0.tgz", + "integrity": "sha512-BRs5XUAwiyCDQMsVA9IDvDa7UBR9gAvPHgugOeGng3YN6vJ9JYonyDc0lNczErgtCWtucjR5N7VtaonboD/ezg==", "dependencies": { "@peculiar/asn1-schema": "^2.3.8", "@peculiar/json-schema": "^1.1.12", "pvtsutils": "^1.3.5", "tslib": "^2.6.2", - "webcrypto-core": "^1.7.8" + "webcrypto-core": "^1.8.0" }, "engines": { "node": ">=10.12.0" @@ -23830,9 +23983,9 @@ } }, "node_modules/webcrypto-core": { - "version": "1.7.8", - "resolved": "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.7.8.tgz", - "integrity": "sha512-eBR98r9nQXTqXt/yDRtInszPMjTaSAMJAFDg2AHsgrnczawT1asx9YNBX6k5p+MekbPF4+s/UJJrr88zsTqkSg==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.8.0.tgz", + "integrity": "sha512-kR1UQNH8MD42CYuLzvibfakG5Ew5seG85dMMoAM/1LqvckxaF6pUiidLuraIu4V+YCIFabYecUZAW0TuxAoaqw==", "dependencies": { "@peculiar/asn1-schema": "^2.3.8", "@peculiar/json-schema": "^1.1.12",