From 8d01f305666f95759a39212fb5ca2ae5e0a7c936 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 30 May 2026 01:52:04 +0000 Subject: [PATCH 01/12] fix(deps): update minor-updates-npm --- package-lock.json | 276 ++++++++++++++++++++++++------ package.json | 2 +- packages/consumption/package.json | 10 +- packages/runtime/package.json | 2 +- 4 files changed, 230 insertions(+), 60 deletions(-) diff --git a/package-lock.json b/package-lock.json index 03e9a6e6e..03f39d734 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ ], "devDependencies": { "@babel/preset-env": "^7.29.7", - "@babel/preset-typescript": "^7.28.5", + "@babel/preset-typescript": "^7.29.7", "@js-soft/eslint-config-ts": "^2.0.6", "@js-soft/license-check": "^1.0.10", "@types/jest": "^30.0.0", @@ -748,11 +748,13 @@ } }, "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.28.6", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.29.7.tgz", + "integrity": "sha512-TSu8+mHCoEaaCDEZ0I3+6mvTBYR4PCxQwf2z9/r5Tbztv6NaLR3B9thGTTxX2WGuGHJqRiAbKPeGTJ5XWXVg6A==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.28.6" + "@babel/helper-plugin-utils": "^7.29.7" }, "engines": { "node": ">=6.9.0" @@ -856,11 +858,13 @@ } }, "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.28.6", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.29.7.tgz", + "integrity": "sha512-ngr+82Sh0xMz25TPCZi+nC2iTzjfCdWS2ONXTp/PtSCHCgaCNBpdMqgvJ2ccdLlClVZ7sisIgB914j/JFe+RZA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.28.6" + "@babel/helper-plugin-utils": "^7.29.7" }, "engines": { "node": ">=6.9.0" @@ -1672,15 +1676,17 @@ } }, "node_modules/@babel/plugin-transform-typescript": { - "version": "7.28.6", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.29.7.tgz", + "integrity": "sha512-jK52h8LaLc7JarhQV2ofeFMts4H7vnOXnqZNA6fYglBTZewRBE51KWt3BUltW1P+KoPsYkHoJeXePuz4zo2LMw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.3", - "@babel/helper-create-class-features-plugin": "^7.28.6", - "@babel/helper-plugin-utils": "^7.28.6", - "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", - "@babel/plugin-syntax-typescript": "^7.28.6" + "@babel/helper-annotate-as-pure": "^7.29.7", + "@babel/helper-create-class-features-plugin": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7", + "@babel/plugin-syntax-typescript": "^7.29.7" }, "engines": { "node": ">=6.9.0" @@ -1866,15 +1872,17 @@ } }, "node_modules/@babel/preset-typescript": { - "version": "7.28.5", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.29.7.tgz", + "integrity": "sha512-/Foi8vKY2EVbed/1eZx0gJEEwHAIxogrySI7rULcRIvhZzbvoE/b5qG5Ghc0WKAFKOHA9SD1x7RsFlOYdutIiQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-validator-option": "^7.27.1", - "@babel/plugin-syntax-jsx": "^7.27.1", - "@babel/plugin-transform-modules-commonjs": "^7.27.1", - "@babel/plugin-transform-typescript": "^7.28.5" + "@babel/helper-plugin-utils": "^7.29.7", + "@babel/helper-validator-option": "^7.29.7", + "@babel/plugin-syntax-jsx": "^7.29.7", + "@babel/plugin-transform-modules-commonjs": "^7.29.7", + "@babel/plugin-transform-typescript": "^7.29.7" }, "engines": { "node": ">=6.9.0" @@ -1937,11 +1945,90 @@ "dev": true, "license": "MIT" }, + "node_modules/@cbor-extract/cbor-extract-darwin-arm64": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-darwin-arm64/-/cbor-extract-darwin-arm64-2.2.2.tgz", + "integrity": "sha512-ZKZ/F8US7JR92J4DMct6cLW/Y66o2K576+zjlEN/MevH70bFIsB10wkZEQPLzl2oNh2SMGy55xpJ9JoBRl5DOA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@cbor-extract/cbor-extract-darwin-x64": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-darwin-x64/-/cbor-extract-darwin-x64-2.2.2.tgz", + "integrity": "sha512-32b1mgc+P61Js+KW9VZv/c+xRw5EfmOcPx990JbCBSkYJFY0l25VinvyyWfl+3KjibQmAcYwmyzKF9J4DyKP/Q==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@cbor-extract/cbor-extract-linux-arm": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-linux-arm/-/cbor-extract-linux-arm-2.2.2.tgz", + "integrity": "sha512-tNg0za41TpQfkhWjptD+0gSD2fggMiDCSacuIeELyb2xZhr7PrhPe5h66Jc67B/5dmpIhI2QOUtv4SBsricyYQ==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@cbor-extract/cbor-extract-linux-arm64": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-linux-arm64/-/cbor-extract-linux-arm64-2.2.2.tgz", + "integrity": "sha512-wfqgzqCAy/Vn8i6WVIh7qZd0DdBFaWBjPdB6ma+Wihcjv0gHqD/mw3ouVv7kbbUNrab6dKEx/w3xQZEdeXIlzg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@cbor-extract/cbor-extract-linux-x64": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-linux-x64/-/cbor-extract-linux-x64-2.2.2.tgz", + "integrity": "sha512-rpiLnVEsqtPJ+mXTdx1rfz4RtUGYIUg2rUAZgd1KjiC1SehYUSkJN7Yh+aVfSjvCGtVP0/bfkQkXpPXKbmSUaA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@cbor-extract/cbor-extract-win32-x64": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-win32-x64/-/cbor-extract-win32-x64-2.2.2.tgz", + "integrity": "sha512-dI+9P7cfWxkTQ+oE+7Aa6onEn92PHgfWXZivjNheCRmTBDBf2fx6RyTi0cmgpYLnD1KLZK9ZYrMxaPZ4oiXhGA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, "node_modules/@credo-ts/core": { - "version": "0.6.3", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@credo-ts/core/-/core-0.7.0.tgz", + "integrity": "sha512-J30MqquFaV2NzB1nxl5Nk43nueAsvSt4l+SHQI5fLQ+OwuY42iDmuJZvDmBXO7anoYBCp4ABsF78a1I7AEuL5Q==", "license": "Apache-2.0", "dependencies": { - "@animo-id/mdoc": "^0.5.2", "@animo-id/pex": "^6.1.1", "@astronautlabs/jsonpath": "^1.1.2", "@digitalcredentials/jsonld": "^9.0.0", @@ -1950,11 +2037,13 @@ "@multiformats/base-x": "^4.0.1", "@noble/curves": "^2.0.1", "@noble/hashes": "^2.0.1", + "@owf/mdoc": "^0.6.0", "@peculiar/asn1-ecc": "^2.6.0", "@peculiar/asn1-rsa": "^2.6.0", "@peculiar/asn1-schema": "^2.6.0", - "@peculiar/asn1-x509": "^2.6.0", + "@peculiar/asn1-x509": "^2.6.1", "@peculiar/x509": "^1.14.3", + "@scure/base": "^2.0.0", "@sd-jwt/core": "^0.19.0", "@sd-jwt/decode": "^0.19.0", "@sd-jwt/jwt-status-list": "^0.19.0", @@ -1966,7 +2055,7 @@ "@sphereon/ssi-types": "0.33.0", "@stablelib/ed25519": "^2.0.2", "@types/ws": "^8.18.1", - "buffer": "^6.0.3", + "@verifiables/request-converter": "^0.2.0", "class-transformer": "0.5.1", "class-validator": "^0.14.3", "dcql": "^3.0.0", @@ -1985,33 +2074,13 @@ "zod": "^4.3.6" } }, - "node_modules/@credo-ts/core/node_modules/buffer": { - "version": "6.0.3", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, "node_modules/@credo-ts/openid4vc": { - "version": "0.6.3", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@credo-ts/openid4vc/-/openid4vc-0.7.0.tgz", + "integrity": "sha512-ITKDU1lpQWC0ZWSNCgJnJ3i861QrPTo3gNfXKdXvtznQ8F8dDnKxnU0BOC0pBHH6AaRKoWnjbYT3gkipXbRA/A==", "license": "Apache-2.0", "dependencies": { - "@credo-ts/core": "0.6.3", + "@credo-ts/core": "0.7.0", "@openid4vc/oauth2": "^0.4.6", "@openid4vc/openid4vci": "^0.4.6", "@openid4vc/openid4vp": "^0.4.6", @@ -2335,7 +2404,9 @@ } }, "node_modules/@eudiplo/sdk-core": { - "version": "4.1.0", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eudiplo/sdk-core/-/sdk-core-4.4.0.tgz", + "integrity": "sha512-/OWlwgy1Z9ebJimhzYuvF7QVkSq+GgcA1gj0hjz4+L3gDD28hzdqz9XUbgt7o9k0y5d8ddhznxYBUqhkA/9P7A==", "dev": true, "license": "Apache-2.0", "engines": { @@ -3365,6 +3436,8 @@ }, "node_modules/@noble/ciphers": { "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-2.2.0.tgz", + "integrity": "sha512-Z6pjIZ/8IJcCGzb2S/0Px5J81yij85xASuk1teLNeg75bfT07MV3a/O2Mtn1I2se43k3lkVEcFaR10N4cgQcZA==", "license": "MIT", "engines": { "node": ">= 20.19.0" @@ -3773,6 +3846,17 @@ "ieee754": "^1.2.1" } }, + "node_modules/@owf/mdoc": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@owf/mdoc/-/mdoc-0.6.0.tgz", + "integrity": "sha512-vJL62hzjcSweBjDD9eRUH1RIMSzZUtHKjVFMMo50oHPLO9ZVZbQABFe9IFoa5AgXkwfv27HjnFv/eRbkOrlsUA==", + "license": "Apache-2.0", + "dependencies": { + "cbor-x": "^1.6.4", + "zod": "^4.3.6", + "zod-validation-error": "^5.0.0" + } + }, "node_modules/@peculiar/asn1-cms": { "version": "2.6.1", "license": "MIT", @@ -3984,6 +4068,15 @@ "dev": true, "license": "BSD-3-Clause" }, + "node_modules/@scure/base": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@scure/base/-/base-2.2.0.tgz", + "integrity": "sha512-b8XEupJibegiXV+tDUseI8oLQc8ei3d/4Jkb2RpbHh3MfE054ov3uIz2dhFkB3FI8iwYkEh0gGCApkrYggkPNg==", + "license": "MIT", + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/@sd-jwt/core": { "version": "0.19.0", "license": "Apache-2.0", @@ -5336,6 +5429,23 @@ "win32" ] }, + "node_modules/@verifiables/request-converter": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@verifiables/request-converter/-/request-converter-0.2.0.tgz", + "integrity": "sha512-afhFYBSYf0zqLkHu1xlLJ8DUAV/ved5yD9MKnPPaG9tH68winV10eBBH4/2eoi2qK6hvAtWPjoZ+1pRF6jLUJw==", + "license": "Apache-2.0", + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "dcql": ">=2.0.0" + }, + "peerDependenciesMeta": { + "dcql": { + "optional": true + } + } + }, "node_modules/@vue/compiler-core": { "version": "3.5.28", "dev": true, @@ -6454,6 +6564,37 @@ "version": "1.0.8", "license": "Apache-2.0" }, + "node_modules/cbor-extract": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/cbor-extract/-/cbor-extract-2.2.2.tgz", + "integrity": "sha512-hlSxxI9XO2yQfe9g6msd3g4xCfDqK5T5P0fRMLuaLHhxn4ViPrm+a+MUfhrvH2W962RGxcBwEGzLQyjbDG1gng==", + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "node-gyp-build-optional-packages": "5.1.1" + }, + "bin": { + "download-cbor-prebuilds": "bin/download-prebuilds.js" + }, + "optionalDependencies": { + "@cbor-extract/cbor-extract-darwin-arm64": "2.2.2", + "@cbor-extract/cbor-extract-darwin-x64": "2.2.2", + "@cbor-extract/cbor-extract-linux-arm": "2.2.2", + "@cbor-extract/cbor-extract-linux-arm64": "2.2.2", + "@cbor-extract/cbor-extract-linux-x64": "2.2.2", + "@cbor-extract/cbor-extract-win32-x64": "2.2.2" + } + }, + "node_modules/cbor-x": { + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/cbor-x/-/cbor-x-1.6.4.tgz", + "integrity": "sha512-UGKHjp6RHC6QuZ2yy5LCKm7MojM4716DwoSaqwQpaH4DvZvbBTGcoDNTiG9Y2lByXZYFEs9WRkS5tLl96IrF1Q==", + "license": "MIT", + "optionalDependencies": { + "cbor-extract": "^2.2.2" + } + }, "node_modules/chalk": { "version": "4.1.2", "dev": true, @@ -6992,6 +7133,16 @@ "node": ">=18" } }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "license": "Apache-2.0", + "optional": true, + "engines": { + "node": ">=8" + } + }, "node_modules/detect-newline": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", @@ -9622,7 +9773,9 @@ } }, "node_modules/jose": { - "version": "6.2.2", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.3.tgz", + "integrity": "sha512-YYVDInQKFJfR/xa3ojUTl8c2KoTwiL1R5Wg9YCydwH0x0B9grbzlg5HC7mMjCtUJjbQ/YnGEZIhI5tCgfTb4Hw==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/panva" @@ -10651,6 +10804,21 @@ "node": "^20.17.0 || >=22.9.0" } }, + "node_modules/node-gyp-build-optional-packages": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.1.1.tgz", + "integrity": "sha512-+P72GAjVAbTxjjwUmwjVrqrdZROD4nf8KgpBoDxqXXTiYZZt/ud60dE5yvCSr9lRO8e8yv6kgJIC0K0PfZFVQw==", + "license": "MIT", + "optional": true, + "dependencies": { + "detect-libc": "^2.0.1" + }, + "bin": { + "node-gyp-build-optional-packages": "bin.js", + "node-gyp-build-optional-packages-optional": "optional.js", + "node-gyp-build-optional-packages-test": "build-test.js" + } + }, "node_modules/node-gyp/node_modules/abbrev": { "version": "4.0.0", "dev": true, @@ -14044,6 +14212,8 @@ }, "node_modules/ws": { "version": "8.21.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz", + "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==", "license": "MIT", "engines": { "node": ">=10.0.0" @@ -14223,8 +14393,8 @@ "name": "@nmshd/consumption", "license": "AGPL-3.0-or-later", "dependencies": { - "@credo-ts/core": "^0.6.1", - "@credo-ts/openid4vc": "^0.6.1", + "@credo-ts/core": "^0.7.0", + "@credo-ts/openid4vc": "^0.7.0", "@js-soft/docdb-querytranslator": "^1.1.7", "@js-soft/ts-serval": "2.0.17", "@js-soft/ts-utils": "2.3.6", @@ -14232,12 +14402,12 @@ "@nmshd/core-types": "*", "@nmshd/iql": "^1.0.5", "@nmshd/transport": "*", - "@noble/ciphers": "^2.0.1", - "jose": "^6.1.1", + "@noble/ciphers": "^2.2.0", + "jose": "^6.2.3", "lodash": "^4.18.1", "sjcl": "^1.0.9", "ts-simple-nameof": "^1.3.3", - "ws": "^8.18.3" + "ws": "^8.21.0" }, "devDependencies": { "@js-soft/docdb-access-loki": "1.4.1", @@ -14306,7 +14476,7 @@ "ts-simple-nameof": "^1.3.3" }, "devDependencies": { - "@eudiplo/sdk-core": "^4.1.0", + "@eudiplo/sdk-core": "^4.4.0", "@js-soft/docdb-access-loki": "1.4.1", "@js-soft/docdb-access-mongo": "1.4.1", "@js-soft/node-logger": "1.2.4", diff --git a/package.json b/package.json index 2f999e1b0..ed6d82b69 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ }, "devDependencies": { "@babel/preset-env": "^7.29.7", - "@babel/preset-typescript": "^7.28.5", + "@babel/preset-typescript": "^7.29.7", "@js-soft/eslint-config-ts": "^2.0.6", "@js-soft/license-check": "^1.0.10", "@types/jest": "^30.0.0", diff --git a/packages/consumption/package.json b/packages/consumption/package.json index 766100aa3..9bcaaa825 100644 --- a/packages/consumption/package.json +++ b/packages/consumption/package.json @@ -76,8 +76,8 @@ ] }, "dependencies": { - "@credo-ts/core": "^0.6.1", - "@credo-ts/openid4vc": "^0.6.1", + "@credo-ts/core": "^0.7.0", + "@credo-ts/openid4vc": "^0.7.0", "@js-soft/docdb-querytranslator": "^1.1.7", "@js-soft/ts-serval": "2.0.17", "@js-soft/ts-utils": "2.3.6", @@ -85,12 +85,12 @@ "@nmshd/core-types": "*", "@nmshd/iql": "^1.0.5", "@nmshd/transport": "*", - "@noble/ciphers": "^2.0.1", - "jose": "^6.1.1", + "@noble/ciphers": "^2.2.0", + "jose": "^6.2.3", "lodash": "^4.18.1", "sjcl": "^1.0.9", "ts-simple-nameof": "^1.3.3", - "ws": "^8.18.3" + "ws": "^8.21.0" }, "devDependencies": { "@js-soft/docdb-access-loki": "1.4.1", diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 1b0077dc8..aee86d62d 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -100,7 +100,7 @@ "ts-simple-nameof": "^1.3.3" }, "devDependencies": { - "@eudiplo/sdk-core": "^4.1.0", + "@eudiplo/sdk-core": "^4.4.0", "@js-soft/docdb-access-loki": "1.4.1", "@js-soft/docdb-access-mongo": "1.4.1", "@js-soft/node-logger": "1.2.4", From a4460c303b0db620aee9488742c812901c117b37 Mon Sep 17 00:00:00 2001 From: britsta Date: Mon, 1 Jun 2026 08:35:06 +0200 Subject: [PATCH 02/12] chore: use LogLevel.Off instead of LogLevel.off --- packages/consumption/src/modules/openid4vc/local/BaseAgent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/consumption/src/modules/openid4vc/local/BaseAgent.ts b/packages/consumption/src/modules/openid4vc/local/BaseAgent.ts index 044144d79..24f1fe6b0 100644 --- a/packages/consumption/src/modules/openid4vc/local/BaseAgent.ts +++ b/packages/consumption/src/modules/openid4vc/local/BaseAgent.ts @@ -38,7 +38,7 @@ export class BaseAgent { ) { const config = { allowInsecureHttpUrls: true, - logger: new ConsoleLogger(LogLevel.off) + logger: new ConsoleLogger(LogLevel.Off) } satisfies InitConfig; this.config = config; From 04b88baf39d8bdce4122ee6ee7ed836970c10cb1 Mon Sep 17 00:00:00 2001 From: britsta Date: Mon, 1 Jun 2026 08:39:20 +0200 Subject: [PATCH 03/12] chore: remove unnecessary type assertion --- .../openid4vc/local/EnmeshedHolderKeyManagementService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/consumption/src/modules/openid4vc/local/EnmeshedHolderKeyManagementService.ts b/packages/consumption/src/modules/openid4vc/local/EnmeshedHolderKeyManagementService.ts index 7869ac9b0..6564b57a1 100644 --- a/packages/consumption/src/modules/openid4vc/local/EnmeshedHolderKeyManagementService.ts +++ b/packages/consumption/src/modules/openid4vc/local/EnmeshedHolderKeyManagementService.ts @@ -204,7 +204,7 @@ export class EnmeshedHolderKeyManagementService implements Kms.KeyManagementServ const signature = SodiumWrapper.sodium.crypto_sign_detached(options.data, fullPrivateKeyBytes); return { - signature: signature as Uint8Array + signature: signature }; } From 3fb6175f4116e8e13def70a3ea1b096801a1236f Mon Sep 17 00:00:00 2001 From: britsta Date: Mon, 1 Jun 2026 09:18:18 +0200 Subject: [PATCH 04/12] chore: add @verifiables to transformIgnorePatterns --- packages/app-runtime/package.json | 2 +- packages/consumption/package.json | 2 +- packages/runtime/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/app-runtime/package.json b/packages/app-runtime/package.json index 6c636fc20..b597bc311 100644 --- a/packages/app-runtime/package.json +++ b/packages/app-runtime/package.json @@ -65,7 +65,7 @@ ] }, "transformIgnorePatterns": [ - "/node_modules/(?!(@noble|@stablelib|@credo\\-ts)/)" + "/node_modules/(?!(@noble|@stablelib|@credo\\-ts|@verifiables)/)" ] }, "dependencies": { diff --git a/packages/consumption/package.json b/packages/consumption/package.json index 9bcaaa825..d44ce6ea2 100644 --- a/packages/consumption/package.json +++ b/packages/consumption/package.json @@ -72,7 +72,7 @@ ] }, "transformIgnorePatterns": [ - "/node_modules/(?!(@noble|@stablelib|@credo\\-ts)/)" + "/node_modules/(?!(@noble|@stablelib|@credo\\-ts|@verifiables)/)" ] }, "dependencies": { diff --git a/packages/runtime/package.json b/packages/runtime/package.json index aee86d62d..fa45ba4d9 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -73,7 +73,7 @@ ] }, "transformIgnorePatterns": [ - "/node_modules/(?!(@noble|@stablelib|@credo\\-ts)/)" + "/node_modules/(?!(@noble|@stablelib|@credo\\-ts|@verifiables)/)" ] }, "dependencies": { From 6fabe2d4c29c0f8ee23c8aecd35be1e94be895f9 Mon Sep 17 00:00:00 2001 From: britsta Date: Mon, 1 Jun 2026 09:36:20 +0200 Subject: [PATCH 05/12] chore: remove @verifiables from transformIgnorePatterns --- packages/app-runtime/package.json | 2 +- packages/consumption/package.json | 2 +- packages/runtime/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/app-runtime/package.json b/packages/app-runtime/package.json index b597bc311..6c636fc20 100644 --- a/packages/app-runtime/package.json +++ b/packages/app-runtime/package.json @@ -65,7 +65,7 @@ ] }, "transformIgnorePatterns": [ - "/node_modules/(?!(@noble|@stablelib|@credo\\-ts|@verifiables)/)" + "/node_modules/(?!(@noble|@stablelib|@credo\\-ts)/)" ] }, "dependencies": { diff --git a/packages/consumption/package.json b/packages/consumption/package.json index d44ce6ea2..9bcaaa825 100644 --- a/packages/consumption/package.json +++ b/packages/consumption/package.json @@ -72,7 +72,7 @@ ] }, "transformIgnorePatterns": [ - "/node_modules/(?!(@noble|@stablelib|@credo\\-ts|@verifiables)/)" + "/node_modules/(?!(@noble|@stablelib|@credo\\-ts)/)" ] }, "dependencies": { diff --git a/packages/runtime/package.json b/packages/runtime/package.json index fa45ba4d9..aee86d62d 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -73,7 +73,7 @@ ] }, "transformIgnorePatterns": [ - "/node_modules/(?!(@noble|@stablelib|@credo\\-ts|@verifiables)/)" + "/node_modules/(?!(@noble|@stablelib|@credo\\-ts)/)" ] }, "dependencies": { From 005aff1b86cb7781066491fe4fe652dffa764d74 Mon Sep 17 00:00:00 2001 From: britsta Date: Mon, 1 Jun 2026 10:03:00 +0200 Subject: [PATCH 06/12] chore: use concrete import --- packages/consumption/test/customMatchers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/consumption/test/customMatchers.ts b/packages/consumption/test/customMatchers.ts index da38e13e5..b1f50f33e 100644 --- a/packages/consumption/test/customMatchers.ts +++ b/packages/consumption/test/customMatchers.ts @@ -1,4 +1,4 @@ -import { ErrorValidationResult, SuccessfulValidationResult, ValidationResult } from "../src"; +import { ErrorValidationResult, SuccessfulValidationResult, ValidationResult } from "../src/modules/common/ValidationResult"; expect.extend({ successfulValidationResult(actual: ValidationResult) { From 3a171479a58654c1d963b6180fbadab03690b42d Mon Sep 17 00:00:00 2001 From: britsta Date: Mon, 1 Jun 2026 11:02:11 +0200 Subject: [PATCH 07/12] chore: undo concrete import --- packages/consumption/test/customMatchers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/consumption/test/customMatchers.ts b/packages/consumption/test/customMatchers.ts index b1f50f33e..da38e13e5 100644 --- a/packages/consumption/test/customMatchers.ts +++ b/packages/consumption/test/customMatchers.ts @@ -1,4 +1,4 @@ -import { ErrorValidationResult, SuccessfulValidationResult, ValidationResult } from "../src/modules/common/ValidationResult"; +import { ErrorValidationResult, SuccessfulValidationResult, ValidationResult } from "../src"; expect.extend({ successfulValidationResult(actual: ValidationResult) { From 872e9e1585fe574f8bd7aa2567472411b61737d1 Mon Sep 17 00:00:00 2001 From: britsta Date: Wed, 3 Jun 2026 14:28:54 +0200 Subject: [PATCH 08/12] chore: undo breaking changes --- package-lock.json | 336 +++++++++--------------------- packages/consumption/package.json | 4 +- 2 files changed, 96 insertions(+), 244 deletions(-) diff --git a/package-lock.json b/package-lock.json index 03f39d734..a9d5ca24a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1945,153 +1945,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@cbor-extract/cbor-extract-darwin-arm64": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-darwin-arm64/-/cbor-extract-darwin-arm64-2.2.2.tgz", - "integrity": "sha512-ZKZ/F8US7JR92J4DMct6cLW/Y66o2K576+zjlEN/MevH70bFIsB10wkZEQPLzl2oNh2SMGy55xpJ9JoBRl5DOA==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@cbor-extract/cbor-extract-darwin-x64": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-darwin-x64/-/cbor-extract-darwin-x64-2.2.2.tgz", - "integrity": "sha512-32b1mgc+P61Js+KW9VZv/c+xRw5EfmOcPx990JbCBSkYJFY0l25VinvyyWfl+3KjibQmAcYwmyzKF9J4DyKP/Q==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@cbor-extract/cbor-extract-linux-arm": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-linux-arm/-/cbor-extract-linux-arm-2.2.2.tgz", - "integrity": "sha512-tNg0za41TpQfkhWjptD+0gSD2fggMiDCSacuIeELyb2xZhr7PrhPe5h66Jc67B/5dmpIhI2QOUtv4SBsricyYQ==", - "cpu": [ - "arm" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@cbor-extract/cbor-extract-linux-arm64": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-linux-arm64/-/cbor-extract-linux-arm64-2.2.2.tgz", - "integrity": "sha512-wfqgzqCAy/Vn8i6WVIh7qZd0DdBFaWBjPdB6ma+Wihcjv0gHqD/mw3ouVv7kbbUNrab6dKEx/w3xQZEdeXIlzg==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@cbor-extract/cbor-extract-linux-x64": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-linux-x64/-/cbor-extract-linux-x64-2.2.2.tgz", - "integrity": "sha512-rpiLnVEsqtPJ+mXTdx1rfz4RtUGYIUg2rUAZgd1KjiC1SehYUSkJN7Yh+aVfSjvCGtVP0/bfkQkXpPXKbmSUaA==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@cbor-extract/cbor-extract-win32-x64": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-win32-x64/-/cbor-extract-win32-x64-2.2.2.tgz", - "integrity": "sha512-dI+9P7cfWxkTQ+oE+7Aa6onEn92PHgfWXZivjNheCRmTBDBf2fx6RyTi0cmgpYLnD1KLZK9ZYrMxaPZ4oiXhGA==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@credo-ts/core": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@credo-ts/core/-/core-0.7.0.tgz", - "integrity": "sha512-J30MqquFaV2NzB1nxl5Nk43nueAsvSt4l+SHQI5fLQ+OwuY42iDmuJZvDmBXO7anoYBCp4ABsF78a1I7AEuL5Q==", - "license": "Apache-2.0", - "dependencies": { - "@animo-id/pex": "^6.1.1", - "@astronautlabs/jsonpath": "^1.1.2", - "@digitalcredentials/jsonld": "^9.0.0", - "@digitalcredentials/jsonld-signatures": "^12.0.1", - "@digitalcredentials/vc": "^10.0.2", - "@multiformats/base-x": "^4.0.1", - "@noble/curves": "^2.0.1", - "@noble/hashes": "^2.0.1", - "@owf/mdoc": "^0.6.0", - "@peculiar/asn1-ecc": "^2.6.0", - "@peculiar/asn1-rsa": "^2.6.0", - "@peculiar/asn1-schema": "^2.6.0", - "@peculiar/asn1-x509": "^2.6.1", - "@peculiar/x509": "^1.14.3", - "@scure/base": "^2.0.0", - "@sd-jwt/core": "^0.19.0", - "@sd-jwt/decode": "^0.19.0", - "@sd-jwt/jwt-status-list": "^0.19.0", - "@sd-jwt/present": "^0.19.0", - "@sd-jwt/sd-jwt-vc": "^0.19.0", - "@sd-jwt/types": "^0.19.0", - "@sd-jwt/utils": "^0.19.0", - "@sphereon/pex-models": "^2.3.2", - "@sphereon/ssi-types": "0.33.0", - "@stablelib/ed25519": "^2.0.2", - "@types/ws": "^8.18.1", - "@verifiables/request-converter": "^0.2.0", - "class-transformer": "0.5.1", - "class-validator": "^0.14.3", - "dcql": "^3.0.0", - "did-resolver": "^4.1.0", - "ec-compression": "0.0.1-alpha.12", - "lru_map": "^0.4.1", - "make-error": "^1.3.6", - "object-inspect": "^1.13.4", - "reflect-metadata": "0.2.2", - "rxjs": "^7.8.2", - "tsyringe": "^4.10.0", - "uuid": "^13.0.0", - "varint": "^6.0.0", - "web-did-resolver": "^2.0.32", - "webcrypto-core": "^1.8.1", - "zod": "^4.3.6" - } - }, - "node_modules/@credo-ts/openid4vc": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@credo-ts/openid4vc/-/openid4vc-0.7.0.tgz", - "integrity": "sha512-ITKDU1lpQWC0ZWSNCgJnJ3i861QrPTo3gNfXKdXvtznQ8F8dDnKxnU0BOC0pBHH6AaRKoWnjbYT3gkipXbRA/A==", - "license": "Apache-2.0", - "dependencies": { - "@credo-ts/core": "0.7.0", - "@openid4vc/oauth2": "^0.4.6", - "@openid4vc/openid4vci": "^0.4.6", - "@openid4vc/openid4vp": "^0.4.6", - "@openid4vc/utils": "^0.4.6", - "@types/express": "^5.0.6", - "class-transformer": "0.5.1", - "express": "^5.2.1", - "rxjs": "^7.8.2", - "zod": "^4.3.6" - } - }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", "dev": true, @@ -3846,17 +3699,6 @@ "ieee754": "^1.2.1" } }, - "node_modules/@owf/mdoc": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@owf/mdoc/-/mdoc-0.6.0.tgz", - "integrity": "sha512-vJL62hzjcSweBjDD9eRUH1RIMSzZUtHKjVFMMo50oHPLO9ZVZbQABFe9IFoa5AgXkwfv27HjnFv/eRbkOrlsUA==", - "license": "Apache-2.0", - "dependencies": { - "cbor-x": "^1.6.4", - "zod": "^4.3.6", - "zod-validation-error": "^5.0.0" - } - }, "node_modules/@peculiar/asn1-cms": { "version": "2.6.1", "license": "MIT", @@ -4068,15 +3910,6 @@ "dev": true, "license": "BSD-3-Clause" }, - "node_modules/@scure/base": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@scure/base/-/base-2.2.0.tgz", - "integrity": "sha512-b8XEupJibegiXV+tDUseI8oLQc8ei3d/4Jkb2RpbHh3MfE054ov3uIz2dhFkB3FI8iwYkEh0gGCApkrYggkPNg==", - "license": "MIT", - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, "node_modules/@sd-jwt/core": { "version": "0.19.0", "license": "Apache-2.0", @@ -5429,23 +5262,6 @@ "win32" ] }, - "node_modules/@verifiables/request-converter": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@verifiables/request-converter/-/request-converter-0.2.0.tgz", - "integrity": "sha512-afhFYBSYf0zqLkHu1xlLJ8DUAV/ved5yD9MKnPPaG9tH68winV10eBBH4/2eoi2qK6hvAtWPjoZ+1pRF6jLUJw==", - "license": "Apache-2.0", - "engines": { - "node": ">=18.0.0" - }, - "peerDependencies": { - "dcql": ">=2.0.0" - }, - "peerDependenciesMeta": { - "dcql": { - "optional": true - } - } - }, "node_modules/@vue/compiler-core": { "version": "3.5.28", "dev": true, @@ -6564,37 +6380,6 @@ "version": "1.0.8", "license": "Apache-2.0" }, - "node_modules/cbor-extract": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/cbor-extract/-/cbor-extract-2.2.2.tgz", - "integrity": "sha512-hlSxxI9XO2yQfe9g6msd3g4xCfDqK5T5P0fRMLuaLHhxn4ViPrm+a+MUfhrvH2W962RGxcBwEGzLQyjbDG1gng==", - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "dependencies": { - "node-gyp-build-optional-packages": "5.1.1" - }, - "bin": { - "download-cbor-prebuilds": "bin/download-prebuilds.js" - }, - "optionalDependencies": { - "@cbor-extract/cbor-extract-darwin-arm64": "2.2.2", - "@cbor-extract/cbor-extract-darwin-x64": "2.2.2", - "@cbor-extract/cbor-extract-linux-arm": "2.2.2", - "@cbor-extract/cbor-extract-linux-arm64": "2.2.2", - "@cbor-extract/cbor-extract-linux-x64": "2.2.2", - "@cbor-extract/cbor-extract-win32-x64": "2.2.2" - } - }, - "node_modules/cbor-x": { - "version": "1.6.4", - "resolved": "https://registry.npmjs.org/cbor-x/-/cbor-x-1.6.4.tgz", - "integrity": "sha512-UGKHjp6RHC6QuZ2yy5LCKm7MojM4716DwoSaqwQpaH4DvZvbBTGcoDNTiG9Y2lByXZYFEs9WRkS5tLl96IrF1Q==", - "license": "MIT", - "optionalDependencies": { - "cbor-extract": "^2.2.2" - } - }, "node_modules/chalk": { "version": "4.1.2", "dev": true, @@ -7133,16 +6918,6 @@ "node": ">=18" } }, - "node_modules/detect-libc": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", - "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", - "license": "Apache-2.0", - "optional": true, - "engines": { - "node": ">=8" - } - }, "node_modules/detect-newline": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", @@ -10804,21 +10579,6 @@ "node": "^20.17.0 || >=22.9.0" } }, - "node_modules/node-gyp-build-optional-packages": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.1.1.tgz", - "integrity": "sha512-+P72GAjVAbTxjjwUmwjVrqrdZROD4nf8KgpBoDxqXXTiYZZt/ud60dE5yvCSr9lRO8e8yv6kgJIC0K0PfZFVQw==", - "license": "MIT", - "optional": true, - "dependencies": { - "detect-libc": "^2.0.1" - }, - "bin": { - "node-gyp-build-optional-packages": "bin.js", - "node-gyp-build-optional-packages-optional": "optional.js", - "node-gyp-build-optional-packages-test": "build-test.js" - } - }, "node_modules/node-gyp/node_modules/abbrev": { "version": "4.0.0", "dev": true, @@ -14393,8 +14153,8 @@ "name": "@nmshd/consumption", "license": "AGPL-3.0-or-later", "dependencies": { - "@credo-ts/core": "^0.7.0", - "@credo-ts/openid4vc": "^0.7.0", + "@credo-ts/core": "^0.6.1", + "@credo-ts/openid4vc": "^0.6.1", "@js-soft/docdb-querytranslator": "^1.1.7", "@js-soft/ts-serval": "2.0.17", "@js-soft/ts-utils": "2.3.6", @@ -14419,6 +14179,98 @@ "ts-mockito": "^2.6.1" } }, + "packages/consumption/node_modules/@credo-ts/core": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@credo-ts/core/-/core-0.6.3.tgz", + "integrity": "sha512-wGnYa58yj6gp3TUWKhH7D9PrQMW7fo4F5AEnR/aW5mxvguv5GaOC6ZeHPcl7UnLcNAWhSPKTcly7fEjpoGwyNA==", + "license": "Apache-2.0", + "dependencies": { + "@animo-id/mdoc": "^0.5.2", + "@animo-id/pex": "^6.1.1", + "@astronautlabs/jsonpath": "^1.1.2", + "@digitalcredentials/jsonld": "^9.0.0", + "@digitalcredentials/jsonld-signatures": "^12.0.1", + "@digitalcredentials/vc": "^10.0.2", + "@multiformats/base-x": "^4.0.1", + "@noble/curves": "^2.0.1", + "@noble/hashes": "^2.0.1", + "@peculiar/asn1-ecc": "^2.6.0", + "@peculiar/asn1-rsa": "^2.6.0", + "@peculiar/asn1-schema": "^2.6.0", + "@peculiar/asn1-x509": "^2.6.0", + "@peculiar/x509": "^1.14.3", + "@sd-jwt/core": "^0.19.0", + "@sd-jwt/decode": "^0.19.0", + "@sd-jwt/jwt-status-list": "^0.19.0", + "@sd-jwt/present": "^0.19.0", + "@sd-jwt/sd-jwt-vc": "^0.19.0", + "@sd-jwt/types": "^0.19.0", + "@sd-jwt/utils": "^0.19.0", + "@sphereon/pex-models": "^2.3.2", + "@sphereon/ssi-types": "0.33.0", + "@stablelib/ed25519": "^2.0.2", + "@types/ws": "^8.18.1", + "buffer": "^6.0.3", + "class-transformer": "0.5.1", + "class-validator": "^0.14.3", + "dcql": "^3.0.0", + "did-resolver": "^4.1.0", + "ec-compression": "0.0.1-alpha.12", + "lru_map": "^0.4.1", + "make-error": "^1.3.6", + "object-inspect": "^1.13.4", + "reflect-metadata": "0.2.2", + "rxjs": "^7.8.2", + "tsyringe": "^4.10.0", + "uuid": "^13.0.0", + "varint": "^6.0.0", + "web-did-resolver": "^2.0.32", + "webcrypto-core": "^1.8.1", + "zod": "^4.3.6" + } + }, + "packages/consumption/node_modules/@credo-ts/openid4vc": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@credo-ts/openid4vc/-/openid4vc-0.6.3.tgz", + "integrity": "sha512-g/QpgtZP1Df3cQRN5sA9Ys2SRILI7jZdXrgdLOyDptC74v155A0nMfaeeD2Tc57BuW29cv2W7exc0bJ4EC5pkg==", + "license": "Apache-2.0", + "dependencies": { + "@credo-ts/core": "0.6.3", + "@openid4vc/oauth2": "^0.4.6", + "@openid4vc/openid4vci": "^0.4.6", + "@openid4vc/openid4vp": "^0.4.6", + "@openid4vc/utils": "^0.4.6", + "@types/express": "^5.0.6", + "class-transformer": "0.5.1", + "express": "^5.2.1", + "rxjs": "^7.8.2", + "zod": "^4.3.6" + } + }, + "packages/consumption/node_modules/buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, "packages/content": { "name": "@nmshd/content", "license": "AGPL-3.0-or-later", diff --git a/packages/consumption/package.json b/packages/consumption/package.json index 9bcaaa825..cb77835f9 100644 --- a/packages/consumption/package.json +++ b/packages/consumption/package.json @@ -76,8 +76,8 @@ ] }, "dependencies": { - "@credo-ts/core": "^0.7.0", - "@credo-ts/openid4vc": "^0.7.0", + "@credo-ts/core": "^0.6.1", + "@credo-ts/openid4vc": "^0.6.1", "@js-soft/docdb-querytranslator": "^1.1.7", "@js-soft/ts-serval": "2.0.17", "@js-soft/ts-utils": "2.3.6", From 1e7ac22ff06a577d1cd95d9f8c097f0c79345053 Mon Sep 17 00:00:00 2001 From: britsta Date: Wed, 3 Jun 2026 14:30:24 +0200 Subject: [PATCH 09/12] chore: use LogLevel.off instead of LogLevel.Off --- packages/consumption/src/modules/openid4vc/local/BaseAgent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/consumption/src/modules/openid4vc/local/BaseAgent.ts b/packages/consumption/src/modules/openid4vc/local/BaseAgent.ts index 24f1fe6b0..044144d79 100644 --- a/packages/consumption/src/modules/openid4vc/local/BaseAgent.ts +++ b/packages/consumption/src/modules/openid4vc/local/BaseAgent.ts @@ -38,7 +38,7 @@ export class BaseAgent { ) { const config = { allowInsecureHttpUrls: true, - logger: new ConsoleLogger(LogLevel.Off) + logger: new ConsoleLogger(LogLevel.off) } satisfies InitConfig; this.config = config; From 6112efa8d83eb09a7e876bf34d4b1cc779455967 Mon Sep 17 00:00:00 2001 From: britsta Date: Wed, 3 Jun 2026 14:32:53 +0200 Subject: [PATCH 10/12] chore: re-add type assertion --- .../openid4vc/local/EnmeshedHolderKeyManagementService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/consumption/src/modules/openid4vc/local/EnmeshedHolderKeyManagementService.ts b/packages/consumption/src/modules/openid4vc/local/EnmeshedHolderKeyManagementService.ts index 6564b57a1..7869ac9b0 100644 --- a/packages/consumption/src/modules/openid4vc/local/EnmeshedHolderKeyManagementService.ts +++ b/packages/consumption/src/modules/openid4vc/local/EnmeshedHolderKeyManagementService.ts @@ -204,7 +204,7 @@ export class EnmeshedHolderKeyManagementService implements Kms.KeyManagementServ const signature = SodiumWrapper.sodium.crypto_sign_detached(options.data, fullPrivateKeyBytes); return { - signature: signature + signature: signature as Uint8Array }; } From 2e9e4e0d27eae60fdce5502a96cd1d0070e96f08 Mon Sep 17 00:00:00 2001 From: britsta Date: Wed, 3 Jun 2026 14:51:25 +0200 Subject: [PATCH 11/12] chore: fix broken package-lock.json --- package-lock.json | 182 ++++++++++++++++++++++------------------------ 1 file changed, 86 insertions(+), 96 deletions(-) diff --git a/package-lock.json b/package-lock.json index a9d5ca24a..2e3171f79 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1945,6 +1945,92 @@ "dev": true, "license": "MIT" }, + "node_modules/@credo-ts/core": { + "version": "0.6.3", + "license": "Apache-2.0", + "dependencies": { + "@animo-id/mdoc": "^0.5.2", + "@animo-id/pex": "^6.1.1", + "@astronautlabs/jsonpath": "^1.1.2", + "@digitalcredentials/jsonld": "^9.0.0", + "@digitalcredentials/jsonld-signatures": "^12.0.1", + "@digitalcredentials/vc": "^10.0.2", + "@multiformats/base-x": "^4.0.1", + "@noble/curves": "^2.0.1", + "@noble/hashes": "^2.0.1", + "@peculiar/asn1-ecc": "^2.6.0", + "@peculiar/asn1-rsa": "^2.6.0", + "@peculiar/asn1-schema": "^2.6.0", + "@peculiar/asn1-x509": "^2.6.0", + "@peculiar/x509": "^1.14.3", + "@sd-jwt/core": "^0.19.0", + "@sd-jwt/decode": "^0.19.0", + "@sd-jwt/jwt-status-list": "^0.19.0", + "@sd-jwt/present": "^0.19.0", + "@sd-jwt/sd-jwt-vc": "^0.19.0", + "@sd-jwt/types": "^0.19.0", + "@sd-jwt/utils": "^0.19.0", + "@sphereon/pex-models": "^2.3.2", + "@sphereon/ssi-types": "0.33.0", + "@stablelib/ed25519": "^2.0.2", + "@types/ws": "^8.18.1", + "buffer": "^6.0.3", + "class-transformer": "0.5.1", + "class-validator": "^0.14.3", + "dcql": "^3.0.0", + "did-resolver": "^4.1.0", + "ec-compression": "0.0.1-alpha.12", + "lru_map": "^0.4.1", + "make-error": "^1.3.6", + "object-inspect": "^1.13.4", + "reflect-metadata": "0.2.2", + "rxjs": "^7.8.2", + "tsyringe": "^4.10.0", + "uuid": "^13.0.0", + "varint": "^6.0.0", + "web-did-resolver": "^2.0.32", + "webcrypto-core": "^1.8.1", + "zod": "^4.3.6" + } + }, + "node_modules/@credo-ts/core/node_modules/buffer": { + "version": "6.0.3", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "node_modules/@credo-ts/openid4vc": { + "version": "0.6.3", + "license": "Apache-2.0", + "dependencies": { + "@credo-ts/core": "0.6.3", + "@openid4vc/oauth2": "^0.4.6", + "@openid4vc/openid4vci": "^0.4.6", + "@openid4vc/openid4vp": "^0.4.6", + "@openid4vc/utils": "^0.4.6", + "@types/express": "^5.0.6", + "class-transformer": "0.5.1", + "express": "^5.2.1", + "rxjs": "^7.8.2", + "zod": "^4.3.6" + } + }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", "dev": true, @@ -3289,8 +3375,6 @@ }, "node_modules/@noble/ciphers": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-2.2.0.tgz", - "integrity": "sha512-Z6pjIZ/8IJcCGzb2S/0Px5J81yij85xASuk1teLNeg75bfT07MV3a/O2Mtn1I2se43k3lkVEcFaR10N4cgQcZA==", "license": "MIT", "engines": { "node": ">= 20.19.0" @@ -13972,8 +14056,6 @@ }, "node_modules/ws": { "version": "8.21.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz", - "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==", "license": "MIT", "engines": { "node": ">=10.0.0" @@ -14179,98 +14261,6 @@ "ts-mockito": "^2.6.1" } }, - "packages/consumption/node_modules/@credo-ts/core": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/@credo-ts/core/-/core-0.6.3.tgz", - "integrity": "sha512-wGnYa58yj6gp3TUWKhH7D9PrQMW7fo4F5AEnR/aW5mxvguv5GaOC6ZeHPcl7UnLcNAWhSPKTcly7fEjpoGwyNA==", - "license": "Apache-2.0", - "dependencies": { - "@animo-id/mdoc": "^0.5.2", - "@animo-id/pex": "^6.1.1", - "@astronautlabs/jsonpath": "^1.1.2", - "@digitalcredentials/jsonld": "^9.0.0", - "@digitalcredentials/jsonld-signatures": "^12.0.1", - "@digitalcredentials/vc": "^10.0.2", - "@multiformats/base-x": "^4.0.1", - "@noble/curves": "^2.0.1", - "@noble/hashes": "^2.0.1", - "@peculiar/asn1-ecc": "^2.6.0", - "@peculiar/asn1-rsa": "^2.6.0", - "@peculiar/asn1-schema": "^2.6.0", - "@peculiar/asn1-x509": "^2.6.0", - "@peculiar/x509": "^1.14.3", - "@sd-jwt/core": "^0.19.0", - "@sd-jwt/decode": "^0.19.0", - "@sd-jwt/jwt-status-list": "^0.19.0", - "@sd-jwt/present": "^0.19.0", - "@sd-jwt/sd-jwt-vc": "^0.19.0", - "@sd-jwt/types": "^0.19.0", - "@sd-jwt/utils": "^0.19.0", - "@sphereon/pex-models": "^2.3.2", - "@sphereon/ssi-types": "0.33.0", - "@stablelib/ed25519": "^2.0.2", - "@types/ws": "^8.18.1", - "buffer": "^6.0.3", - "class-transformer": "0.5.1", - "class-validator": "^0.14.3", - "dcql": "^3.0.0", - "did-resolver": "^4.1.0", - "ec-compression": "0.0.1-alpha.12", - "lru_map": "^0.4.1", - "make-error": "^1.3.6", - "object-inspect": "^1.13.4", - "reflect-metadata": "0.2.2", - "rxjs": "^7.8.2", - "tsyringe": "^4.10.0", - "uuid": "^13.0.0", - "varint": "^6.0.0", - "web-did-resolver": "^2.0.32", - "webcrypto-core": "^1.8.1", - "zod": "^4.3.6" - } - }, - "packages/consumption/node_modules/@credo-ts/openid4vc": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/@credo-ts/openid4vc/-/openid4vc-0.6.3.tgz", - "integrity": "sha512-g/QpgtZP1Df3cQRN5sA9Ys2SRILI7jZdXrgdLOyDptC74v155A0nMfaeeD2Tc57BuW29cv2W7exc0bJ4EC5pkg==", - "license": "Apache-2.0", - "dependencies": { - "@credo-ts/core": "0.6.3", - "@openid4vc/oauth2": "^0.4.6", - "@openid4vc/openid4vci": "^0.4.6", - "@openid4vc/openid4vp": "^0.4.6", - "@openid4vc/utils": "^0.4.6", - "@types/express": "^5.0.6", - "class-transformer": "0.5.1", - "express": "^5.2.1", - "rxjs": "^7.8.2", - "zod": "^4.3.6" - } - }, - "packages/consumption/node_modules/buffer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, "packages/content": { "name": "@nmshd/content", "license": "AGPL-3.0-or-later", From 14b422f2a904da267833ed153b3eabe25b89b84e Mon Sep 17 00:00:00 2001 From: britsta Date: Wed, 3 Jun 2026 15:42:49 +0200 Subject: [PATCH 12/12] chore: undo bump of eudiplo/sdk-core --- package-lock.json | 6 ++---- packages/runtime/package.json | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2e3171f79..b27294816 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2343,9 +2343,7 @@ } }, "node_modules/@eudiplo/sdk-core": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eudiplo/sdk-core/-/sdk-core-4.4.0.tgz", - "integrity": "sha512-/OWlwgy1Z9ebJimhzYuvF7QVkSq+GgcA1gj0hjz4+L3gDD28hzdqz9XUbgt7o9k0y5d8ddhznxYBUqhkA/9P7A==", + "version": "4.1.0", "dev": true, "license": "Apache-2.0", "engines": { @@ -14318,7 +14316,7 @@ "ts-simple-nameof": "^1.3.3" }, "devDependencies": { - "@eudiplo/sdk-core": "^4.4.0", + "@eudiplo/sdk-core": "^4.1.0", "@js-soft/docdb-access-loki": "1.4.1", "@js-soft/docdb-access-mongo": "1.4.1", "@js-soft/node-logger": "1.2.4", diff --git a/packages/runtime/package.json b/packages/runtime/package.json index aee86d62d..1b0077dc8 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -100,7 +100,7 @@ "ts-simple-nameof": "^1.3.3" }, "devDependencies": { - "@eudiplo/sdk-core": "^4.4.0", + "@eudiplo/sdk-core": "^4.1.0", "@js-soft/docdb-access-loki": "1.4.1", "@js-soft/docdb-access-mongo": "1.4.1", "@js-soft/node-logger": "1.2.4",