diff --git a/.github/workflows/build-test-publish-on-push.yml b/.github/workflows/build-test-publish-on-push.yml index 6fa0d394d..3321200f6 100644 --- a/.github/workflows/build-test-publish-on-push.yml +++ b/.github/workflows/build-test-publish-on-push.yml @@ -58,7 +58,7 @@ jobs: - name: setup git coordinates run: | - git remote set-url origin https://Sphereon-Opensource:$GH_TOKEN@github.com/Sphereon-Opensource/ssi-sdk.git + git remote set-url origin https://Sphereon-Opensource:$GH_TOKEN@github.com/Sphereon-Opensource/SSI-SDK.git git config user.name $GH_USER git config user.email $GH_EMAIL diff --git a/lerna.json b/lerna.json index 70f01c7ad..384edb09a 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "0.12.0", + "version": "0.12.2", "npmClient": "pnpm", "command": { "publish": { diff --git a/package.json b/package.json index 831dac570..9f545edbd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@sphereon/sphereon-sdk.workspace", "private": true, - "version": "0.11.0", + "version": "0.12.2", "description": "Sphereon SSI SDK (Workspace)", "repository": "git@github.com:Sphereon-Opensource/SSI-SDK.git", "author": "Sphereon ", @@ -9,6 +9,7 @@ "scripts": { "preinstall": "npx only-allow pnpm", "build": "pnpm build:js && pnpm build:copyfiles && pnpm build:api && pnpm build:schema", + "build:clean": "lerna clean -y && pnpm install && lerna run build:clean --concurrency 1 && pnpm build:copyfiles && pnpm build:schema", "build:js": "pnpm -r --stream build", "build:api": "pnpm -r --stream extract-api", "build:schema": "pnpm -r --stream generate-plugin-schema", @@ -126,3 +127,4 @@ } } } + diff --git a/packages/agent-config/CHANGELOG.md b/packages/agent-config/CHANGELOG.md index dbb52fcd8..05b95405a 100644 --- a/packages/agent-config/CHANGELOG.md +++ b/packages/agent-config/CHANGELOG.md @@ -7,10 +7,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline **Note:** Version bump only for package @sphereon/ssi-sdk.agent-config - - - - # [0.11.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.10.1...v0.11.0) (2023-05-07) ### Features diff --git a/packages/contact-manager/CHANGELOG.md b/packages/contact-manager/CHANGELOG.md index 033cacfb4..4259f9b4e 100644 --- a/packages/contact-manager/CHANGELOG.md +++ b/packages/contact-manager/CHANGELOG.md @@ -5,19 +5,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Features -* move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) - +- move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) ### Reverts -* Revert "chore: remove plugin schemas" ([2870d77](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2870d77a6e1919e94f554e71100fbcdb4fed47af)) - - - - +- Revert "chore: remove plugin schemas" ([2870d77](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2870d77a6e1919e94f554e71100fbcdb4fed47af)) # [0.11.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.10.1...v0.11.0) (2023-05-07) diff --git a/packages/data-store/CHANGELOG.md b/packages/data-store/CHANGELOG.md index 7b5b1ef38..3121c513b 100644 --- a/packages/data-store/CHANGELOG.md +++ b/packages/data-store/CHANGELOG.md @@ -5,15 +5,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Features -* More support for definition Formats when creating VPs from SIOP ([846ef0b](https://github.com/Sphereon-Opensource/SSI-SDK/commit/846ef0b359c4ec5755d9385c5f1c6db1fb14b0c1)) -* move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) - - - - +- More support for definition Formats when creating VPs from SIOP ([846ef0b](https://github.com/Sphereon-Opensource/SSI-SDK/commit/846ef0b359c4ec5755d9385c5f1c6db1fb14b0c1)) +- move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) # [0.11.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.10.1...v0.11.0) (2023-05-07) diff --git a/packages/dev/CHANGELOG.md b/packages/dev/CHANGELOG.md index 6aa80b699..6cf1f9c03 100644 --- a/packages/dev/CHANGELOG.md +++ b/packages/dev/CHANGELOG.md @@ -5,15 +5,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Features -* move schema generation to own plugin because of transitive dependency issues upstream ([51c5156](https://github.com/Sphereon-Opensource/SSI-SDK/commit/51c5156bdf83e12d55bc4e609d741c6ff878daa8)) -* move schema generation to own plugin because of transitive dependency issues upstream ([58002a8](https://github.com/Sphereon-Opensource/SSI-SDK/commit/58002a861f7ed504b0e1d4250d556f8414f961a0)) - - - - +- move schema generation to own plugin because of transitive dependency issues upstream ([51c5156](https://github.com/Sphereon-Opensource/SSI-SDK/commit/51c5156bdf83e12d55bc4e609d741c6ff878daa8)) +- move schema generation to own plugin because of transitive dependency issues upstream ([58002a8](https://github.com/Sphereon-Opensource/SSI-SDK/commit/58002a861f7ed504b0e1d4250d556f8414f961a0)) # [0.11.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.10.1...v0.11.0) (2023-05-07) diff --git a/packages/kv-store/CHANGELOG.md b/packages/kv-store/CHANGELOG.md index 9854190c8..bfc1e6946 100644 --- a/packages/kv-store/CHANGELOG.md +++ b/packages/kv-store/CHANGELOG.md @@ -5,8 +5,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/uport-project/veramo/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Features -* Add key value store plugin ([95244fa](https://github.com/uport-project/veramo/commit/95244fa9f6c79d47660f1afee39c2c9db50f0e27)) -* move schema generation to own plugin because of transitive dependency issues upstream ([58002a8](https://github.com/uport-project/veramo/commit/58002a861f7ed504b0e1d4250d556f8414f961a0)) +- Add key value store plugin ([95244fa](https://github.com/uport-project/veramo/commit/95244fa9f6c79d47660f1afee39c2c9db50f0e27)) +- move schema generation to own plugin because of transitive dependency issues upstream ([58002a8](https://github.com/uport-project/veramo/commit/58002a861f7ed504b0e1d4250d556f8414f961a0)) diff --git a/packages/ms-authenticator/CHANGELOG.md b/packages/ms-authenticator/CHANGELOG.md index 4a3c3ee60..e4ec6eb3f 100644 --- a/packages/ms-authenticator/CHANGELOG.md +++ b/packages/ms-authenticator/CHANGELOG.md @@ -7,10 +7,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline **Note:** Version bump only for package @sphereon/ssi-sdk.ms-authenticator - - - - # [0.11.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.10.1...v0.11.0) (2023-05-07) ### Features diff --git a/packages/ms-request-api/CHANGELOG.md b/packages/ms-request-api/CHANGELOG.md index 6a570ff73..8abe18280 100644 --- a/packages/ms-request-api/CHANGELOG.md +++ b/packages/ms-request-api/CHANGELOG.md @@ -5,15 +5,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Features -* move schema generation to own plugin because of transitive dependency issues upstream ([58002a8](https://github.com/Sphereon-Opensource/SSI-SDK/commit/58002a861f7ed504b0e1d4250d556f8414f961a0)) -* move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) - - - - +- move schema generation to own plugin because of transitive dependency issues upstream ([58002a8](https://github.com/Sphereon-Opensource/SSI-SDK/commit/58002a861f7ed504b0e1d4250d556f8414f961a0)) +- move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) # [0.11.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.10.1...v0.11.0) (2023-05-07) diff --git a/packages/oid4vci-issuer-rest-api/CHANGELOG.md b/packages/oid4vci-issuer-rest-api/CHANGELOG.md index eb751a831..58f48e8c5 100644 --- a/packages/oid4vci-issuer-rest-api/CHANGELOG.md +++ b/packages/oid4vci-issuer-rest-api/CHANGELOG.md @@ -5,16 +5,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Features -* Add issue status support to OID4VCI REST client ([40abd83](https://github.com/Sphereon-Opensource/SSI-SDK/commit/40abd8320dd0097e2e024c2e61ce2f03359926ab)) -* Add OID4VCI issuer modules ([af85f1e](https://github.com/Sphereon-Opensource/SSI-SDK/commit/af85f1e2aace201c5749eef2e1a3fb8223ae7937)) -* Allow to supply data for VCI Issuer REST client and server during offer ([0878c28](https://github.com/Sphereon-Opensource/SSI-SDK/commit/0878c2848aa5144ee863e6f192c9f8b8eb46ff34)) - - - - +- Add issue status support to OID4VCI REST client ([40abd83](https://github.com/Sphereon-Opensource/SSI-SDK/commit/40abd8320dd0097e2e024c2e61ce2f03359926ab)) +- Add OID4VCI issuer modules ([af85f1e](https://github.com/Sphereon-Opensource/SSI-SDK/commit/af85f1e2aace201c5749eef2e1a3fb8223ae7937)) +- Allow to supply data for VCI Issuer REST client and server during offer ([0878c28](https://github.com/Sphereon-Opensource/SSI-SDK/commit/0878c2848aa5144ee863e6f192c9f8b8eb46ff34)) # [0.9.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.8.0...v0.9.0) (2023-03-09) diff --git a/packages/oid4vci-issuer-rest-api/__tests__/agent.ts b/packages/oid4vci-issuer-rest-api/__tests__/agent.ts index 7bbc3a6ac..1278de4a2 100644 --- a/packages/oid4vci-issuer-rest-api/__tests__/agent.ts +++ b/packages/oid4vci-issuer-rest-api/__tests__/agent.ts @@ -2,7 +2,9 @@ import { IonPublicKeyPurpose } from '@decentralized-identity/ion-sdk' import { getUniResolver } from '@sphereon/did-uni-client' import { CredentialIssuerMetadata } from '@sphereon/oid4vci-common' import { JwkDIDProvider } from '@sphereon/ssi-sdk-ext.did-provider-jwk' +import { SphereonKeyManager } from '@sphereon/ssi-sdk-ext.key-manager' import { /*generatePrivateKeyHex, */ toJwk } from '@sphereon/ssi-sdk-ext.key-utils' +import { SphereonKeyManagementSystem } from '@sphereon/ssi-sdk-ext.kms-local' import { OID4VCIIssuer } from '@sphereon/ssi-sdk.oid4vci-issuer' import { OID4VCIStore } from '@sphereon/ssi-sdk.oid4vci-issuer-store' import { @@ -112,10 +114,10 @@ const agent = createAgent({ plugins: [ new DataStore(dbConnection), new DataStoreORM(dbConnection), - new KeyManager({ + new SphereonKeyManager({ store: new KeyStore(dbConnection), kms: { - local: new KeyManagementSystem(privateKeyStore), + local: new SphereonKeyManagementSystem(privateKeyStore), }, }), new DIDManager({ diff --git a/packages/oid4vci-issuer-rest-api/package.json b/packages/oid4vci-issuer-rest-api/package.json index da4de0bfa..6b048ea52 100644 --- a/packages/oid4vci-issuer-rest-api/package.json +++ b/packages/oid4vci-issuer-rest-api/package.json @@ -11,9 +11,9 @@ "start:dev": "ts-node __tests__/RestAPI.ts" }, "dependencies": { - "@sphereon/oid4vci-common": "0.4.1-unstable.308", - "@sphereon/oid4vci-issuer": "0.4.1-unstable.308", - "@sphereon/oid4vci-issuer-server": "0.4.1-unstable.308", + "@sphereon/oid4vci-common": "0.6.0", + "@sphereon/oid4vci-issuer": "0.6.0", + "@sphereon/oid4vci-issuer-server": "0.6.0", "@sphereon/ssi-sdk.kv-store-temp": "workspace:*", "@sphereon/ssi-sdk.oid4vci-issuer": "workspace:*", "@sphereon/ssi-sdk.oid4vci-issuer-store": "workspace:*", @@ -35,9 +35,11 @@ "@sphereon/did-uni-client": "^0.6.0", "@sphereon/pex": "^2.0.1", "@sphereon/pex-models": "^2.0.2", - "@sphereon/ssi-sdk-ext.did-provider-jwk": "^0.12.0", - "@sphereon/ssi-sdk-ext.key-utils": "^0.12.0", + "@sphereon/ssi-sdk-ext.did-provider-jwk": "0.12.1-next.9", + "@sphereon/ssi-sdk-ext.key-utils": "0.12.1-next.9", "@sphereon/ssi-sdk.data-store": "workspace:*", + "@sphereon/ssi-sdk-ext.key-manager": "0.12.1-next.9", + "@sphereon/ssi-sdk-ext.kms-local": "0.12.1-next.9", "@sphereon/ssi-sdk.vc-handler-ld-local": "workspace:*", "@types/body-parser": "^1.19.2", "@types/cookie-parser": "^1.4.3", diff --git a/packages/oid4vci-issuer-rest-client/CHANGELOG.md b/packages/oid4vci-issuer-rest-client/CHANGELOG.md index b2c85453a..f07630f03 100644 --- a/packages/oid4vci-issuer-rest-client/CHANGELOG.md +++ b/packages/oid4vci-issuer-rest-client/CHANGELOG.md @@ -5,16 +5,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-OpenSource/ssi-sdk/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Bug Fixes -* added dev dependencies for oid4vci-issuer-rest-client plus prettier ([7b6c2b3](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/7b6c2b3d08aedfe357345fac47e94be4dcd3d243)) -* added schema export for oid4vci-issuer-rest-client and some docs ([7db9c1b](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/7db9c1be4775f55cf6db4470db1d99e0efdf5caa)) -* skipped integration tests in oid4vci-issuer-rest-client ([c43759b](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/c43759bebc7350cc400d668369105a8cff0e3ee1)) - +- added dev dependencies for oid4vci-issuer-rest-client plus prettier ([7b6c2b3](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/7b6c2b3d08aedfe357345fac47e94be4dcd3d243)) +- added schema export for oid4vci-issuer-rest-client and some docs ([7db9c1b](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/7db9c1be4775f55cf6db4470db1d99e0efdf5caa)) +- skipped integration tests in oid4vci-issuer-rest-client ([c43759b](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/c43759bebc7350cc400d668369105a8cff0e3ee1)) ### Features -* Add issue status support to OID4VCI REST client ([40abd83](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/40abd8320dd0097e2e024c2e61ce2f03359926ab)) -* Allow to supply data for VCI Issuer REST client and server during offer ([0878c28](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/0878c2848aa5144ee863e6f192c9f8b8eb46ff34)) -* changed the test structure and few other pr notes addressed ([6520fbe](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/6520fbe297ab9a1c5f5fbaff5cabb98f51d3cbea)) +- Add issue status support to OID4VCI REST client ([40abd83](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/40abd8320dd0097e2e024c2e61ce2f03359926ab)) +- Allow to supply data for VCI Issuer REST client and server during offer ([0878c28](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/0878c2848aa5144ee863e6f192c9f8b8eb46ff34)) +- changed the test structure and few other pr notes addressed ([6520fbe](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/6520fbe297ab9a1c5f5fbaff5cabb98f51d3cbea)) diff --git a/packages/oid4vci-issuer-rest-client/package.json b/packages/oid4vci-issuer-rest-client/package.json index 93867630f..b8e267337 100644 --- a/packages/oid4vci-issuer-rest-client/package.json +++ b/packages/oid4vci-issuer-rest-client/package.json @@ -16,7 +16,7 @@ "generate-plugin-schema": "ts-node ../../packages/dev/bin/sphereon.js dev generate-plugin-schema" }, "dependencies": { - "@sphereon/oid4vci-common": "0.4.1-unstable.308", + "@sphereon/oid4vci-common": "0.6.0", "@veramo/core": "4.2.0", "cross-fetch": "^3.1.5" }, diff --git a/packages/oid4vci-issuer-store/CHANGELOG.md b/packages/oid4vci-issuer-store/CHANGELOG.md index 42a5f3f43..bf6649c8c 100644 --- a/packages/oid4vci-issuer-store/CHANGELOG.md +++ b/packages/oid4vci-issuer-store/CHANGELOG.md @@ -5,21 +5,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Features -* Add issue status support to OID4VCI REST client ([40abd83](https://github.com/Sphereon-Opensource/SSI-SDK/commit/40abd8320dd0097e2e024c2e61ce2f03359926ab)) -* Add OID4VCI issuer modules ([af85f1e](https://github.com/Sphereon-Opensource/SSI-SDK/commit/af85f1e2aace201c5749eef2e1a3fb8223ae7937)) -* Allow to supply data for VCI Issuer REST client and server during offer ([0878c28](https://github.com/Sphereon-Opensource/SSI-SDK/commit/0878c2848aa5144ee863e6f192c9f8b8eb46ff34)) - +- Add issue status support to OID4VCI REST client ([40abd83](https://github.com/Sphereon-Opensource/SSI-SDK/commit/40abd8320dd0097e2e024c2e61ce2f03359926ab)) +- Add OID4VCI issuer modules ([af85f1e](https://github.com/Sphereon-Opensource/SSI-SDK/commit/af85f1e2aace201c5749eef2e1a3fb8223ae7937)) +- Allow to supply data for VCI Issuer REST client and server during offer ([0878c28](https://github.com/Sphereon-Opensource/SSI-SDK/commit/0878c2848aa5144ee863e6f192c9f8b8eb46ff34)) ### Reverts -* Revert "chore: remove plugin schemas" ([2870d77](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2870d77a6e1919e94f554e71100fbcdb4fed47af)) - - - - +- Revert "chore: remove plugin schemas" ([2870d77](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2870d77a6e1919e94f554e71100fbcdb4fed47af)) # [0.9.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.8.0...v0.9.0) (2023-03-09) diff --git a/packages/oid4vci-issuer-store/package.json b/packages/oid4vci-issuer-store/package.json index 0fde8ff85..7952c4266 100644 --- a/packages/oid4vci-issuer-store/package.json +++ b/packages/oid4vci-issuer-store/package.json @@ -14,8 +14,8 @@ "build:clean": "tsc --build --clean && tsc --build" }, "dependencies": { - "@sphereon/oid4vci-common": "0.4.1-unstable.308", - "@sphereon/ssi-sdk-ext.did-utils": "^0.12.0", + "@sphereon/oid4vci-common": "0.6.0", + "@sphereon/ssi-sdk-ext.did-utils": "0.12.1-next.9", "@sphereon/ssi-sdk.kv-store-temp": "workspace:*", "@types/uuid": "^9.0.1", "@veramo/core": "4.2.0", diff --git a/packages/oid4vci-issuer-store/src/agent/OID4VCIStore.ts b/packages/oid4vci-issuer-store/src/agent/OID4VCIStore.ts index 0351bdd6c..daeb537bd 100644 --- a/packages/oid4vci-issuer-store/src/agent/OID4VCIStore.ts +++ b/packages/oid4vci-issuer-store/src/agent/OID4VCIStore.ts @@ -4,6 +4,7 @@ import { IAgentPlugin } from '@veramo/core' import { IIssuerDefaultOpts, IIssuerOptions, + IIssuerOptsImportArgs, IIssuerOptsPersistArgs, IMetadataPersistArgs, Ioid4vciStoreClearArgs, @@ -20,11 +21,17 @@ export class OID4VCIStore implements IAgentPlugin { return this._defaultOpts } + set defaultOpts(value: IIssuerDefaultOpts | undefined) { + this._defaultOpts = value + } + private readonly _metadataStores: Map> private readonly _optionStores: Map> private readonly defaultStoreId: string private readonly defaultNamespace: string + private _defaultOpts?: IIssuerDefaultOpts + readonly methods: IOID4VCIStore = { oid4vciStoreDefaultMetadata: this.oid4vciStoreDefaultMetadata.bind(this), oid4vciStoreDefaultIssuerOptions: this.oid4vciStoreIssuerOptions.bind(this), @@ -43,7 +50,6 @@ export class OID4VCIStore implements IAgentPlugin { oid4vciStoreRemoveMetadata: this.oid4vciStoreRemoveMetadata.bind(this), oid4vciStoreClearAllMetadata: this.oid4vciStoreClearAllMetadata.bind(this), } - private readonly _defaultOpts?: IIssuerDefaultOpts constructor(opts: IOID4VCIStoreOpts) { this.defaultStoreId = opts.defaultStore ?? '_default' @@ -105,6 +111,10 @@ export class OID4VCIStore implements IAgentPlugin { ) } + public importIssuerOpts(importOpts: IIssuerOptsImportArgs[]) { + importOpts.forEach((opt) => this.oid4vciStorePersistIssuerOpts(opt)) + } + private async oid4vciStoreHasIssuerOpts({ correlationId, storeId, namespace }: Ioid4vciStoreExistsArgs): Promise { return this.store({ stores: this._optionStores, storeId }).has(this.prefix({ namespace, correlationId })) } diff --git a/packages/oid4vci-issuer/CHANGELOG.md b/packages/oid4vci-issuer/CHANGELOG.md index 42a5f3f43..bf6649c8c 100644 --- a/packages/oid4vci-issuer/CHANGELOG.md +++ b/packages/oid4vci-issuer/CHANGELOG.md @@ -5,21 +5,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Features -* Add issue status support to OID4VCI REST client ([40abd83](https://github.com/Sphereon-Opensource/SSI-SDK/commit/40abd8320dd0097e2e024c2e61ce2f03359926ab)) -* Add OID4VCI issuer modules ([af85f1e](https://github.com/Sphereon-Opensource/SSI-SDK/commit/af85f1e2aace201c5749eef2e1a3fb8223ae7937)) -* Allow to supply data for VCI Issuer REST client and server during offer ([0878c28](https://github.com/Sphereon-Opensource/SSI-SDK/commit/0878c2848aa5144ee863e6f192c9f8b8eb46ff34)) - +- Add issue status support to OID4VCI REST client ([40abd83](https://github.com/Sphereon-Opensource/SSI-SDK/commit/40abd8320dd0097e2e024c2e61ce2f03359926ab)) +- Add OID4VCI issuer modules ([af85f1e](https://github.com/Sphereon-Opensource/SSI-SDK/commit/af85f1e2aace201c5749eef2e1a3fb8223ae7937)) +- Allow to supply data for VCI Issuer REST client and server during offer ([0878c28](https://github.com/Sphereon-Opensource/SSI-SDK/commit/0878c2848aa5144ee863e6f192c9f8b8eb46ff34)) ### Reverts -* Revert "chore: remove plugin schemas" ([2870d77](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2870d77a6e1919e94f554e71100fbcdb4fed47af)) - - - - +- Revert "chore: remove plugin schemas" ([2870d77](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2870d77a6e1919e94f554e71100fbcdb4fed47af)) # [0.9.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.8.0...v0.9.0) (2023-03-09) diff --git a/packages/oid4vci-issuer/package.json b/packages/oid4vci-issuer/package.json index ce94708fb..8ca0dce55 100644 --- a/packages/oid4vci-issuer/package.json +++ b/packages/oid4vci-issuer/package.json @@ -14,9 +14,9 @@ "build:clean": "tsc --build --clean && tsc --build" }, "dependencies": { - "@sphereon/oid4vci-common": "0.4.1-unstable.308", - "@sphereon/oid4vci-issuer": "0.4.1-unstable.308", - "@sphereon/ssi-sdk-ext.did-utils": "^0.12.0", + "@sphereon/oid4vci-common": "0.6.0", + "@sphereon/oid4vci-issuer": "0.6.0", + "@sphereon/ssi-sdk-ext.did-utils": "0.12.1-next.9", "@sphereon/ssi-sdk.core": "workspace:*", "@sphereon/ssi-sdk.kv-store-temp": "workspace:*", "@sphereon/ssi-sdk.oid4vci-issuer-store": "workspace:*", diff --git a/packages/presentation-exchange/CHANGELOG.md b/packages/presentation-exchange/CHANGELOG.md index 8b9478102..aee433057 100644 --- a/packages/presentation-exchange/CHANGELOG.md +++ b/packages/presentation-exchange/CHANGELOG.md @@ -5,28 +5,21 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Bug Fixes -* unify naming ([ec7d0b6](https://github.com/Sphereon-Opensource/SSI-SDK/commit/ec7d0b6ced54a792ede23937c7043e53d7121e42)) - +- unify naming ([ec7d0b6](https://github.com/Sphereon-Opensource/SSI-SDK/commit/ec7d0b6ced54a792ede23937c7043e53d7121e42)) ### Features -* Add key value store plugin ([95244fa](https://github.com/Sphereon-Opensource/SSI-SDK/commit/95244fa9f6c79d47660f1afee39c2c9db50f0e27)) -* Add Presentation Exchange module ([a085c81](https://github.com/Sphereon-Opensource/SSI-SDK/commit/a085c81a2608dd072e9b2c3d49174b76dab9705a)) -* Add SIOPv2OID4VP RP auth and REST module ([91b1da3](https://github.com/Sphereon-Opensource/SSI-SDK/commit/91b1da3548fd425aa93424411339e1ec2a2e0fd3)) -* More support for definition Formats when creating VPs from SIOP ([846ef0b](https://github.com/Sphereon-Opensource/SSI-SDK/commit/846ef0b359c4ec5755d9385c5f1c6db1fb14b0c1)) -* move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) - +- Add key value store plugin ([95244fa](https://github.com/Sphereon-Opensource/SSI-SDK/commit/95244fa9f6c79d47660f1afee39c2c9db50f0e27)) +- Add Presentation Exchange module ([a085c81](https://github.com/Sphereon-Opensource/SSI-SDK/commit/a085c81a2608dd072e9b2c3d49174b76dab9705a)) +- Add SIOPv2OID4VP RP auth and REST module ([91b1da3](https://github.com/Sphereon-Opensource/SSI-SDK/commit/91b1da3548fd425aa93424411339e1ec2a2e0fd3)) +- More support for definition Formats when creating VPs from SIOP ([846ef0b](https://github.com/Sphereon-Opensource/SSI-SDK/commit/846ef0b359c4ec5755d9385c5f1c6db1fb14b0c1)) +- move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) ### Reverts -* Revert "chore: remove plugin schemas" ([2870d77](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2870d77a6e1919e94f554e71100fbcdb4fed47af)) - - - - +- Revert "chore: remove plugin schemas" ([2870d77](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2870d77a6e1919e94f554e71100fbcdb4fed47af)) # [0.11.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.10.1...v0.11.0) (2023-05-07) diff --git a/packages/presentation-exchange/package.json b/packages/presentation-exchange/package.json index 19b4a3148..3a8ccb801 100644 --- a/packages/presentation-exchange/package.json +++ b/packages/presentation-exchange/package.json @@ -16,7 +16,7 @@ "dependencies": { "@sphereon/pex": "2.0.1", "@sphereon/pex-models": "^2.0.2", - "@sphereon/ssi-sdk-ext.did-utils": "^0.12.0", + "@sphereon/ssi-sdk-ext.did-utils": "0.12.1-next.9", "@sphereon/ssi-sdk.kv-store-temp": "workspace:*", "@sphereon/ssi-types": "workspace:*", "@veramo/core": "4.2.0" diff --git a/packages/qr-code-generator/CHANGELOG.md b/packages/qr-code-generator/CHANGELOG.md index 929678259..134ce3942 100644 --- a/packages/qr-code-generator/CHANGELOG.md +++ b/packages/qr-code-generator/CHANGELOG.md @@ -5,19 +5,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Bug Fixes -* unify naming ([ec7d0b6](https://github.com/Sphereon-Opensource/SSI-SDK/commit/ec7d0b6ced54a792ede23937c7043e53d7121e42)) - +- unify naming ([ec7d0b6](https://github.com/Sphereon-Opensource/SSI-SDK/commit/ec7d0b6ced54a792ede23937c7043e53d7121e42)) ### Features -* move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) - - - - +- move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) # [0.11.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.10.1...v0.11.0) (2023-05-07) diff --git a/packages/siopv2-oid4vp-common/CHANGELOG.md b/packages/siopv2-oid4vp-common/CHANGELOG.md index d817efa5e..2828836ec 100644 --- a/packages/siopv2-oid4vp-common/CHANGELOG.md +++ b/packages/siopv2-oid4vp-common/CHANGELOG.md @@ -5,14 +5,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-Opensource/ssi-sdk/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Bug Fixes -* unify naming ([ec7d0b6](https://github.com/Sphereon-Opensource/ssi-sdk/commit/ec7d0b6ced54a792ede23937c7043e53d7121e42)) -* unify naming ([94165cd](https://github.com/Sphereon-Opensource/ssi-sdk/commit/94165cdb8d1cf14f866de7fc5fe2c518a97b1986)) - +- unify naming ([ec7d0b6](https://github.com/Sphereon-Opensource/ssi-sdk/commit/ec7d0b6ced54a792ede23937c7043e53d7121e42)) +- unify naming ([94165cd](https://github.com/Sphereon-Opensource/ssi-sdk/commit/94165cdb8d1cf14f866de7fc5fe2c518a97b1986)) ### Features -* Add Presentation Exchange module ([a085c81](https://github.com/Sphereon-Opensource/ssi-sdk/commit/a085c81a2608dd072e9b2c3d49174b76dab9705a)) -* Add SIOPv2OID4VP RP auth and REST module ([91b1da3](https://github.com/Sphereon-Opensource/ssi-sdk/commit/91b1da3548fd425aa93424411339e1ec2a2e0fd3)) +- Add Presentation Exchange module ([a085c81](https://github.com/Sphereon-Opensource/ssi-sdk/commit/a085c81a2608dd072e9b2c3d49174b76dab9705a)) +- Add SIOPv2OID4VP RP auth and REST module ([91b1da3](https://github.com/Sphereon-Opensource/ssi-sdk/commit/91b1da3548fd425aa93424411339e1ec2a2e0fd3)) diff --git a/packages/siopv2-oid4vp-op-auth/CHANGELOG.md b/packages/siopv2-oid4vp-op-auth/CHANGELOG.md index 18a5a6721..239635ad2 100644 --- a/packages/siopv2-oid4vp-op-auth/CHANGELOG.md +++ b/packages/siopv2-oid4vp-op-auth/CHANGELOG.md @@ -5,27 +5,20 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Bug Fixes -* unify naming ([ec7d0b6](https://github.com/Sphereon-Opensource/SSI-SDK/commit/ec7d0b6ced54a792ede23937c7043e53d7121e42)) - +- unify naming ([ec7d0b6](https://github.com/Sphereon-Opensource/SSI-SDK/commit/ec7d0b6ced54a792ede23937c7043e53d7121e42)) ### Features -* Add Presentation Exchange module ([a085c81](https://github.com/Sphereon-Opensource/SSI-SDK/commit/a085c81a2608dd072e9b2c3d49174b76dab9705a)) -* Add SIOPv2OID4VP RP auth and REST module ([91b1da3](https://github.com/Sphereon-Opensource/SSI-SDK/commit/91b1da3548fd425aa93424411339e1ec2a2e0fd3)) -* More support for definition Formats when creating VPs from SIOP ([846ef0b](https://github.com/Sphereon-Opensource/SSI-SDK/commit/846ef0b359c4ec5755d9385c5f1c6db1fb14b0c1)) -* move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) - +- Add Presentation Exchange module ([a085c81](https://github.com/Sphereon-Opensource/SSI-SDK/commit/a085c81a2608dd072e9b2c3d49174b76dab9705a)) +- Add SIOPv2OID4VP RP auth and REST module ([91b1da3](https://github.com/Sphereon-Opensource/SSI-SDK/commit/91b1da3548fd425aa93424411339e1ec2a2e0fd3)) +- More support for definition Formats when creating VPs from SIOP ([846ef0b](https://github.com/Sphereon-Opensource/SSI-SDK/commit/846ef0b359c4ec5755d9385c5f1c6db1fb14b0c1)) +- move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) ### Reverts -* Revert "chore: remove plugin schemas" ([2870d77](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2870d77a6e1919e94f554e71100fbcdb4fed47af)) - - - - +- Revert "chore: remove plugin schemas" ([2870d77](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2870d77a6e1919e94f554e71100fbcdb4fed47af)) # [0.9.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.8.0...v0.9.0) (2023-03-09) diff --git a/packages/siopv2-oid4vp-op-auth/package.json b/packages/siopv2-oid4vp-op-auth/package.json index 42a9902ce..fdeb1fd72 100644 --- a/packages/siopv2-oid4vp-op-auth/package.json +++ b/packages/siopv2-oid4vp-op-auth/package.json @@ -17,7 +17,7 @@ "@sphereon/did-auth-siop": "0.3.2-unstable.6", "@sphereon/pex": "2.0.1", "@sphereon/pex-models": "2.0.2", - "@sphereon/ssi-sdk-ext.did-utils": "^0.12.0", + "@sphereon/ssi-sdk-ext.did-utils": "0.12.1-next.9", "@sphereon/ssi-sdk.core": "workspace:*", "@sphereon/ssi-sdk.presentation-exchange": "workspace:*", "@sphereon/ssi-types": "workspace:*", diff --git a/packages/siopv2-oid4vp-rp-auth/CHANGELOG.md b/packages/siopv2-oid4vp-rp-auth/CHANGELOG.md index 0d9493f0d..c46ab6a73 100644 --- a/packages/siopv2-oid4vp-rp-auth/CHANGELOG.md +++ b/packages/siopv2-oid4vp-rp-auth/CHANGELOG.md @@ -5,27 +5,20 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Bug Fixes -* unify naming ([ec7d0b6](https://github.com/Sphereon-Opensource/SSI-SDK/commit/ec7d0b6ced54a792ede23937c7043e53d7121e42)) - +- unify naming ([ec7d0b6](https://github.com/Sphereon-Opensource/SSI-SDK/commit/ec7d0b6ced54a792ede23937c7043e53d7121e42)) ### Features -* Add key value store plugin ([95244fa](https://github.com/Sphereon-Opensource/SSI-SDK/commit/95244fa9f6c79d47660f1afee39c2c9db50f0e27)) -* Add Presentation Exchange module ([a085c81](https://github.com/Sphereon-Opensource/SSI-SDK/commit/a085c81a2608dd072e9b2c3d49174b76dab9705a)) -* Add SIOPv2OID4VP RP auth and REST module ([91b1da3](https://github.com/Sphereon-Opensource/SSI-SDK/commit/91b1da3548fd425aa93424411339e1ec2a2e0fd3)) -* move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) - +- Add key value store plugin ([95244fa](https://github.com/Sphereon-Opensource/SSI-SDK/commit/95244fa9f6c79d47660f1afee39c2c9db50f0e27)) +- Add Presentation Exchange module ([a085c81](https://github.com/Sphereon-Opensource/SSI-SDK/commit/a085c81a2608dd072e9b2c3d49174b76dab9705a)) +- Add SIOPv2OID4VP RP auth and REST module ([91b1da3](https://github.com/Sphereon-Opensource/SSI-SDK/commit/91b1da3548fd425aa93424411339e1ec2a2e0fd3)) +- move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) ### Reverts -* Revert "chore: remove plugin schemas" ([2870d77](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2870d77a6e1919e94f554e71100fbcdb4fed47af)) - - - - +- Revert "chore: remove plugin schemas" ([2870d77](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2870d77a6e1919e94f554e71100fbcdb4fed47af)) # [0.9.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.8.0...v0.9.0) (2023-03-09) diff --git a/packages/siopv2-oid4vp-rp-auth/package.json b/packages/siopv2-oid4vp-rp-auth/package.json index 83f635a22..9a594b68a 100644 --- a/packages/siopv2-oid4vp-rp-auth/package.json +++ b/packages/siopv2-oid4vp-rp-auth/package.json @@ -16,7 +16,7 @@ "dependencies": { "@sphereon/did-auth-siop": "0.3.2-unstable.6", "@sphereon/pex": "2.0.1", - "@sphereon/ssi-sdk-ext.did-utils": "^0.12.0", + "@sphereon/ssi-sdk-ext.did-utils": "0.12.1-next.9", "@sphereon/ssi-sdk.core": "workspace:*", "@sphereon/ssi-sdk.kv-store-temp": "workspace:*", "@sphereon/ssi-sdk.presentation-exchange": "workspace:*", diff --git a/packages/siopv2-oid4vp-rp-auth/src/agent/SIOPv2RP.ts b/packages/siopv2-oid4vp-rp-auth/src/agent/SIOPv2RP.ts index 75dcbaf9e..abfe76265 100644 --- a/packages/siopv2-oid4vp-rp-auth/src/agent/SIOPv2RP.ts +++ b/packages/siopv2-oid4vp-rp-auth/src/agent/SIOPv2RP.ts @@ -5,12 +5,14 @@ import { IGetAuthResponseStateArgs, IPEXInstanceOptions, IRequiredContext, + IRPDefaultOpts, IRPOptions, ISiopRPInstanceArgs, ISiopv2RPOpts, IUpdateRequestStateArgs, IVerifyAuthResponseStateArgs, schema, + VerifiedDataMode, } from '../index' import { IAgentPlugin } from '@veramo/core' @@ -24,6 +26,9 @@ import { VerifiedAuthorizationResponse, } from '@sphereon/did-auth-siop' import { AuthorizationRequestStateStatus } from '@sphereon/ssi-sdk.siopv2-oid4vp-common' +import { AdditionalClaims, CredentialMapper, ICredentialSubject, IVerifiableCredential } from '@sphereon/ssi-types' +import { AuthorizationResponseStateStatus } from '@sphereon/did-auth-siop/dist/types/SessionManager' +import { OriginalVerifiablePresentation } from '@sphereon/ssi-types/dist' export class SIOPv2RP implements IAgentPlugin { private readonly opts: ISiopv2RPOpts @@ -44,6 +49,10 @@ export class SIOPv2RP implements IAgentPlugin { constructor(opts: ISiopv2RPOpts) { this.opts = opts } + public setDefaultOpts(rpDefaultOpts: IRPDefaultOpts) { + // We allow setting default options later, because in some cases you might want to query the agent for defaults. This cannot happen when the agent is being build (this is when the constructor is being called) + this.opts.defaultOpts = rpDefaultOpts + } private async createAuthorizationRequestURI(createArgs: ICreateAuthRequestArgs, context: IRequiredContext): Promise { return await this.getRPInstance({ definitionId: createArgs.definitionId }, context) @@ -74,9 +83,46 @@ export class SIOPv2RP implements IAgentPlugin { } private async siopGetResponseState(args: IGetAuthResponseStateArgs, context: IRequiredContext): Promise { - return await this.getRPInstance({ definitionId: args.definitionId }, context).then((rp) => + const rpInstance = await this.getRPInstance({ definitionId: args.definitionId }, context).then((rp) => rp.get(context).then((rp) => rp.sessionManager.getResponseStateByCorrelationId(args.correlationId, args.errorOnNotFound)) ) + if (rpInstance === undefined) { + return undefined + } + + const responseState = rpInstance as AuthorizationResponseState + if ( + responseState.status === AuthorizationResponseStateStatus.VERIFIED && + args.includeVerifiedData && + args.includeVerifiedData !== VerifiedDataMode.NONE + ) { + const presentationDecoded = CredentialMapper.decodeVerifiablePresentation( + responseState.response.payload.vp_token as OriginalVerifiablePresentation + ) + const presentation = CredentialMapper.toUniformPresentation(presentationDecoded as OriginalVerifiablePresentation) + switch (args.includeVerifiedData) { + case VerifiedDataMode.VERIFIED_PRESENTATION: + responseState.response.payload.verifiedData = presentation + break + case VerifiedDataMode.CREDENTIAL_SUBJECT_FLATTENED: + const allClaims: AdditionalClaims = {} + presentation.verifiableCredential?.forEach((credential) => { + const vc = credential as IVerifiableCredential + const credentialSubject = vc.credentialSubject as ICredentialSubject & AdditionalClaims + if (!('id' in allClaims)) { + allClaims['id'] = credentialSubject.id + } + + Object.entries(credentialSubject).forEach(([key, value]) => { + if (!(key in allClaims)) { + allClaims[key] = value + } + }) + }) + responseState.response.payload.verifiedData = allClaims + } + } + return responseState } private async siopUpdateRequestState(args: IUpdateRequestStateArgs, context: IRequiredContext): Promise { @@ -152,6 +198,25 @@ export class SIOPv2RP implements IAgentPlugin { if (!options) { throw Error(`Could not get specific nor default options for definition ${definitionId}`) } + if (this.opts.defaultOpts) { + if (!options.didOpts) { + options.didOpts = this.opts.defaultOpts?.didOpts + } else { + if (!options.didOpts.identifierOpts) { + options.didOpts.identifierOpts = this.opts.defaultOpts.didOpts.identifierOpts + } + if (!options.didOpts.resolveOpts) { + options.didOpts.resolveOpts = this.opts.defaultOpts.didOpts.resolveOpts + } + if (!options.didOpts.supportedDIDMethods) { + options.didOpts.supportedDIDMethods = this.opts.defaultOpts.didOpts.supportedDIDMethods + } + if (!options.supportedVersions) { + options.supportedVersions = this.opts.defaultOpts.supportedVersions + } + } + } + return options } diff --git a/packages/siopv2-oid4vp-rp-auth/src/types/ISIOPv2RP.ts b/packages/siopv2-oid4vp-rp-auth/src/types/ISIOPv2RP.ts index 0f2ac4df9..7caeafedb 100644 --- a/packages/siopv2-oid4vp-rp-auth/src/types/ISIOPv2RP.ts +++ b/packages/siopv2-oid4vp-rp-auth/src/types/ISIOPv2RP.ts @@ -36,6 +36,12 @@ import { IPresentationExchange } from '@sphereon/ssi-sdk.presentation-exchange' import { VerifyCallback } from '@sphereon/wellknown-dids-client' import { AuthorizationRequestStateStatus } from '@sphereon/ssi-sdk.siopv2-oid4vp-common' +export enum VerifiedDataMode { + NONE = 'none', + VERIFIED_PRESENTATION = 'vp', + CREDENTIAL_SUBJECT_FLATTENED = 'cs-flat', +} + export interface ISIOPv2RP extends IPluginMethodMap { siopCreateAuthRequestURI(createArgs: ICreateAuthRequestArgs, context: IRequiredContext): Promise siopCreateAuthRequestPayloads(createArgs: ICreateAuthRequestArgs, context: IRequiredContext): Promise @@ -74,6 +80,7 @@ export interface IGetAuthResponseStateArgs { definitionId: string errorOnNotFound?: boolean progressRequestStateTo?: AuthorizationRequestStateStatus + includeVerifiedData?: VerifiedDataMode } export interface IUpdateRequestStateArgs { diff --git a/packages/siopv2-oid4vp-rp-rest-api/CHANGELOG.md b/packages/siopv2-oid4vp-rp-rest-api/CHANGELOG.md index f8a153885..5ba102226 100644 --- a/packages/siopv2-oid4vp-rp-rest-api/CHANGELOG.md +++ b/packages/siopv2-oid4vp-rp-rest-api/CHANGELOG.md @@ -5,22 +5,16 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Bug Fixes -* unify naming ([ec7d0b6](https://github.com/Sphereon-Opensource/SSI-SDK/commit/ec7d0b6ced54a792ede23937c7043e53d7121e42)) -* unify naming ([94165cd](https://github.com/Sphereon-Opensource/SSI-SDK/commit/94165cdb8d1cf14f866de7fc5fe2c518a97b1986)) - +- unify naming ([ec7d0b6](https://github.com/Sphereon-Opensource/SSI-SDK/commit/ec7d0b6ced54a792ede23937c7043e53d7121e42)) +- unify naming ([94165cd](https://github.com/Sphereon-Opensource/SSI-SDK/commit/94165cdb8d1cf14f866de7fc5fe2c518a97b1986)) ### Features -* Add key value store plugin ([95244fa](https://github.com/Sphereon-Opensource/SSI-SDK/commit/95244fa9f6c79d47660f1afee39c2c9db50f0e27)) -* More support for definition Formats when creating VPs from SIOP ([846ef0b](https://github.com/Sphereon-Opensource/SSI-SDK/commit/846ef0b359c4ec5755d9385c5f1c6db1fb14b0c1)) -* move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) - - - - +- Add key value store plugin ([95244fa](https://github.com/Sphereon-Opensource/SSI-SDK/commit/95244fa9f6c79d47660f1afee39c2c9db50f0e27)) +- More support for definition Formats when creating VPs from SIOP ([846ef0b](https://github.com/Sphereon-Opensource/SSI-SDK/commit/846ef0b359c4ec5755d9385c5f1c6db1fb14b0c1)) +- move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) # [0.9.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.8.0...v0.9.0) (2023-03-09) diff --git a/packages/siopv2-oid4vp-rp-rest-api/package.json b/packages/siopv2-oid4vp-rp-rest-api/package.json index 23322d5b4..45ac87f30 100644 --- a/packages/siopv2-oid4vp-rp-rest-api/package.json +++ b/packages/siopv2-oid4vp-rp-rest-api/package.json @@ -34,7 +34,7 @@ "@sphereon/did-uni-client": "^0.6.0", "@sphereon/pex": "^2.0.1", "@sphereon/pex-models": "^2.0.2", - "@sphereon/ssi-sdk-ext.did-provider-jwk": "^0.12.0", + "@sphereon/ssi-sdk-ext.did-provider-jwk": "0.12.1-next.9", "@sphereon/ssi-sdk.data-store": "workspace:*", "@sphereon/ssi-sdk.vc-handler-ld-local": "workspace:*", "@types/body-parser": "^1.19.2", diff --git a/packages/siopv2-oid4vp-rp-rest-api/src/SIOPv2RPRestAPI.ts b/packages/siopv2-oid4vp-rp-rest-api/src/SIOPv2RPRestAPI.ts index a9139091e..e53ce8ab7 100644 --- a/packages/siopv2-oid4vp-rp-rest-api/src/SIOPv2RPRestAPI.ts +++ b/packages/siopv2-oid4vp-rp-rest-api/src/SIOPv2RPRestAPI.ts @@ -5,8 +5,8 @@ import express, { Express, Response } from 'express' import cookieParser from 'cookie-parser' import uuid from 'short-uuid' import { - AuthorizationResponsePayload, AuthorizationRequestState, + AuthorizationResponsePayload, AuthorizationResponseState, AuthorizationResponseStateStatus, PresentationDefinitionLocation, @@ -19,7 +19,7 @@ import { GenerateAuthRequestURIResponse, uriWithBase, } from '@sphereon/ssi-sdk.siopv2-oid4vp-common' -import { ISIOPv2RP } from '@sphereon/ssi-sdk.siopv2-oid4vp-rp-auth' +import { ISIOPv2RP, VerifiedDataMode } from '@sphereon/ssi-sdk.siopv2-oid4vp-rp-auth' import { RequestWithAgent } from './request-agent-router' import { TAgent } from '@veramo/core' import { IPresentationExchange } from '@sphereon/ssi-sdk.presentation-exchange' @@ -114,6 +114,7 @@ export class SIOPv2RPRestAPI { console.log('Received auth-status request...') const correlationId: string = request.body.correlationId as string const definitionId: string = request.body.definitionId as string + const requestState = correlationId && definitionId ? await this.agent.siopGetAuthRequestState({ @@ -138,11 +139,17 @@ export class SIOPv2RPRestAPI { return response.send(statusBody) } + let includeVerifiedData: VerifiedDataMode = VerifiedDataMode.NONE + if ('includeVerifiedData' in request.body) { + includeVerifiedData = request.body.includeVerifiedData as VerifiedDataMode + } + let responseState if (requestState.status === AuthorizationRequestStateStatus.SENT) { responseState = await this.agent.siopGetAuthResponseState({ correlationId, definitionId, + includeVerifiedData: includeVerifiedData, errorOnNotFound: false, }) } diff --git a/packages/siopv2-oid4vp-rp-rest-client/CHANGELOG.md b/packages/siopv2-oid4vp-rp-rest-client/CHANGELOG.md index 86b05b55b..34a817c7e 100644 --- a/packages/siopv2-oid4vp-rp-rest-client/CHANGELOG.md +++ b/packages/siopv2-oid4vp-rp-rest-client/CHANGELOG.md @@ -5,18 +5,16 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-OpenSource/ssi-sdk/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Bug Fixes -* fix test cases and REST arguments ([975801e](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/975801e1e6c8270fd470acd7e2ce67ae4971a16f)) -* fixed a bug in calling cross-fetch with post, modified the tests ([a3defeb](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/a3defeb5d62ff7f4007a88cd772b2164c136da7a)) -* unify naming ([ec7d0b6](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/ec7d0b6ced54a792ede23937c7043e53d7121e42)) -* unify naming ([94165cd](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/94165cdb8d1cf14f866de7fc5fe2c518a97b1986)) - +- fix test cases and REST arguments ([975801e](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/975801e1e6c8270fd470acd7e2ce67ae4971a16f)) +- fixed a bug in calling cross-fetch with post, modified the tests ([a3defeb](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/a3defeb5d62ff7f4007a88cd772b2164c136da7a)) +- unify naming ([ec7d0b6](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/ec7d0b6ced54a792ede23937c7043e53d7121e42)) +- unify naming ([94165cd](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/94165cdb8d1cf14f866de7fc5fe2c518a97b1986)) ### Features -* Add key value store plugin ([95244fa](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/95244fa9f6c79d47660f1afee39c2c9db50f0e27)) -* More support for definition Formats when creating VPs from SIOP ([846ef0b](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/846ef0b359c4ec5755d9385c5f1c6db1fb14b0c1)) -* move schema generation to own plugin because of transitive dependency issues upstream ([58002a8](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/58002a861f7ed504b0e1d4250d556f8414f961a0)) -* move to pnpm ([2714a9c](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) +- Add key value store plugin ([95244fa](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/95244fa9f6c79d47660f1afee39c2c9db50f0e27)) +- More support for definition Formats when creating VPs from SIOP ([846ef0b](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/846ef0b359c4ec5755d9385c5f1c6db1fb14b0c1)) +- move schema generation to own plugin because of transitive dependency issues upstream ([58002a8](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/58002a861f7ed504b0e1d4250d556f8414f961a0)) +- move to pnpm ([2714a9c](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) diff --git a/packages/ssi-sdk-core/CHANGELOG.md b/packages/ssi-sdk-core/CHANGELOG.md index 55801ce2a..b10d179ce 100644 --- a/packages/ssi-sdk-core/CHANGELOG.md +++ b/packages/ssi-sdk-core/CHANGELOG.md @@ -5,14 +5,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-OpenSource/ssi-sdk/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Features -* move to pnpm ([2714a9c](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) - - - - +- move to pnpm ([2714a9c](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) # [0.11.0](https://github.com/Sphereon-OpenSource/ssi-sdk/compare/v0.10.1...v0.11.0) (2023-05-07) diff --git a/packages/ssi-types/CHANGELOG.md b/packages/ssi-types/CHANGELOG.md index 073f2423d..df9c8b032 100644 --- a/packages/ssi-types/CHANGELOG.md +++ b/packages/ssi-types/CHANGELOG.md @@ -5,15 +5,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-OpenSource/ssi-sdk/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Features -* Add Presentation Exchange module ([a085c81](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/a085c81a2608dd072e9b2c3d49174b76dab9705a)) -* More support for definition Formats when creating VPs from SIOP ([846ef0b](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/846ef0b359c4ec5755d9385c5f1c6db1fb14b0c1)) - - - - +- Add Presentation Exchange module ([a085c81](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/a085c81a2608dd072e9b2c3d49174b76dab9705a)) +- More support for definition Formats when creating VPs from SIOP ([846ef0b](https://github.com/Sphereon-OpenSource/ssi-sdk/commit/846ef0b359c4ec5755d9385c5f1c6db1fb14b0c1)) # [0.11.0](https://github.com/Sphereon-OpenSource/ssi-sdk/compare/v0.10.1...v0.11.0) (2023-05-07) diff --git a/packages/vc-handler-ld-local/CHANGELOG.md b/packages/vc-handler-ld-local/CHANGELOG.md index cbf0617d5..dc8735c49 100644 --- a/packages/vc-handler-ld-local/CHANGELOG.md +++ b/packages/vc-handler-ld-local/CHANGELOG.md @@ -5,22 +5,16 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Bug Fixes -* unify naming ([ec7d0b6](https://github.com/Sphereon-Opensource/SSI-SDK/commit/ec7d0b6ced54a792ede23937c7043e53d7121e42)) - +- unify naming ([ec7d0b6](https://github.com/Sphereon-Opensource/SSI-SDK/commit/ec7d0b6ced54a792ede23937c7043e53d7121e42)) ### Features -* Add OID4VCI issuer modules ([af85f1e](https://github.com/Sphereon-Opensource/SSI-SDK/commit/af85f1e2aace201c5749eef2e1a3fb8223ae7937)) -* move schema generation to own plugin because of transitive dependency issues upstream ([51c5156](https://github.com/Sphereon-Opensource/SSI-SDK/commit/51c5156bdf83e12d55bc4e609d741c6ff878daa8)) -* move schema generation to own plugin because of transitive dependency issues upstream ([58002a8](https://github.com/Sphereon-Opensource/SSI-SDK/commit/58002a861f7ed504b0e1d4250d556f8414f961a0)) -* move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) - - - - +- Add OID4VCI issuer modules ([af85f1e](https://github.com/Sphereon-Opensource/SSI-SDK/commit/af85f1e2aace201c5749eef2e1a3fb8223ae7937)) +- move schema generation to own plugin because of transitive dependency issues upstream ([51c5156](https://github.com/Sphereon-Opensource/SSI-SDK/commit/51c5156bdf83e12d55bc4e609d741c6ff878daa8)) +- move schema generation to own plugin because of transitive dependency issues upstream ([58002a8](https://github.com/Sphereon-Opensource/SSI-SDK/commit/58002a861f7ed504b0e1d4250d556f8414f961a0)) +- move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) # [0.11.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.10.1...v0.11.0) (2023-05-07) diff --git a/packages/vc-handler-ld-local/package.json b/packages/vc-handler-ld-local/package.json index b20334a23..70a9f93c2 100644 --- a/packages/vc-handler-ld-local/package.json +++ b/packages/vc-handler-ld-local/package.json @@ -25,7 +25,7 @@ "@mattrglobal/jsonld-signatures-bbs": "^1.1.1", "@sphereon/ed25519-signature-2018": "0.7.0-unstable.6", "@sphereon/isomorphic-webcrypto": "^2.4.0-unstable.4", - "@sphereon/ssi-sdk-ext.did-utils": "^0.12.0", + "@sphereon/ssi-sdk-ext.did-utils": "0.12.1-next.9", "@sphereon/ssi-sdk.core": "workspace:*", "@sphereon/ssi-types": "workspace:*", "@transmute/ed25519-key-pair": "0.7.0-unstable.80", @@ -50,10 +50,10 @@ }, "devDependencies": { "@sphereon/did-uni-client": "^0.6.0", - "@sphereon/ssi-sdk-ext.did-provider-key": "^0.12.0", - "@sphereon/ssi-sdk-ext.did-provider-lto": "^0.12.0", - "@sphereon/ssi-sdk-ext.key-manager": "^0.12.0", - "@sphereon/ssi-sdk-ext.kms-local": "^0.12.0", + "@sphereon/ssi-sdk-ext.did-provider-key": "0.12.1-next.9", + "@sphereon/ssi-sdk-ext.did-provider-lto": "0.12.1-next.9", + "@sphereon/ssi-sdk-ext.key-manager": "0.12.1-next.9", + "@sphereon/ssi-sdk-ext.kms-local": "0.12.1-next.9", "@sphereon/ssi-sdk.agent-config": "workspace:*", "@transmute/lds-ecdsa-secp256k1-recovery2020": "^0.0.7", "@types/nock": "^11.1.0", diff --git a/packages/w3c-vc-api/CHANGELOG.md b/packages/w3c-vc-api/CHANGELOG.md index 65dda3fed..430541789 100644 --- a/packages/w3c-vc-api/CHANGELOG.md +++ b/packages/w3c-vc-api/CHANGELOG.md @@ -5,15 +5,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Features -* Add OID4VCI issuer modules ([af85f1e](https://github.com/Sphereon-Opensource/SSI-SDK/commit/af85f1e2aace201c5749eef2e1a3fb8223ae7937)) -* move schema generation to own plugin because of transitive dependency issues upstream ([58002a8](https://github.com/Sphereon-Opensource/SSI-SDK/commit/58002a861f7ed504b0e1d4250d556f8414f961a0)) - - - - +- Add OID4VCI issuer modules ([af85f1e](https://github.com/Sphereon-Opensource/SSI-SDK/commit/af85f1e2aace201c5749eef2e1a3fb8223ae7937)) +- move schema generation to own plugin because of transitive dependency issues upstream ([58002a8](https://github.com/Sphereon-Opensource/SSI-SDK/commit/58002a861f7ed504b0e1d4250d556f8414f961a0)) # [0.9.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.8.0...v0.9.0) (2023-03-09) diff --git a/packages/w3c-vc-api/package.json b/packages/w3c-vc-api/package.json index a5af39f09..fd0579ab2 100644 --- a/packages/w3c-vc-api/package.json +++ b/packages/w3c-vc-api/package.json @@ -32,8 +32,8 @@ "@sphereon/did-uni-client": "^0.6.0", "@sphereon/pex": "^2.0.1", "@sphereon/pex-models": "^2.0.2", - "@sphereon/ssi-sdk-ext.did-provider-jwk": "^0.12.0", - "@sphereon/ssi-sdk-ext.did-resolver-jwk": "^0.12.0", + "@sphereon/ssi-sdk-ext.did-provider-jwk": "0.12.1-next.9", + "@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.12.1-next.9", "@sphereon/ssi-sdk.data-store": "workspace:*", "@sphereon/ssi-sdk.vc-handler-ld-local": "workspace:*", "@types/body-parser": "^1.19.2", diff --git a/packages/wellknown-did-issuer/CHANGELOG.md b/packages/wellknown-did-issuer/CHANGELOG.md index e05dbd024..76b38bae3 100644 --- a/packages/wellknown-did-issuer/CHANGELOG.md +++ b/packages/wellknown-did-issuer/CHANGELOG.md @@ -5,19 +5,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Features -* move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) - +- move to pnpm ([2714a9c](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2714a9c786b8591de41310a83aff19f62cf65e77)) ### Reverts -* Revert "chore: remove plugin schemas" ([2870d77](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2870d77a6e1919e94f554e71100fbcdb4fed47af)) - - - - +- Revert "chore: remove plugin schemas" ([2870d77](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2870d77a6e1919e94f554e71100fbcdb4fed47af)) # [0.11.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.10.1...v0.11.0) (2023-05-07) diff --git a/packages/wellknown-did-verifier/CHANGELOG.md b/packages/wellknown-did-verifier/CHANGELOG.md index 5aa271eba..4178c4027 100644 --- a/packages/wellknown-did-verifier/CHANGELOG.md +++ b/packages/wellknown-did-verifier/CHANGELOG.md @@ -5,14 +5,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline # [0.12.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.11.0...v0.12.0) (2023-06-21) - ### Reverts -* Revert "chore: remove plugin schemas" ([2870d77](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2870d77a6e1919e94f554e71100fbcdb4fed47af)) - - - - +- Revert "chore: remove plugin schemas" ([2870d77](https://github.com/Sphereon-Opensource/SSI-SDK/commit/2870d77a6e1919e94f554e71100fbcdb4fed47af)) # [0.11.0](https://github.com/Sphereon-Opensource/SSI-SDK/compare/v0.10.1...v0.11.0) (2023-05-07) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0c0456e19..ddf6e6569 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,9 +1,5 @@ lockfileVersion: '6.0' -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false - overrides: '@veramo/cli': 4.2.0 '@veramo/core': 4.2.0 @@ -464,14 +460,14 @@ importers: packages/oid4vci-issuer: dependencies: '@sphereon/oid4vci-common': - specifier: 0.4.1-unstable.308 - version: 0.4.1-unstable.308 + specifier: 0.6.0 + version: 0.6.0 '@sphereon/oid4vci-issuer': - specifier: 0.4.1-unstable.308 - version: 0.4.1-unstable.308 + specifier: 0.6.0 + version: 0.6.0 '@sphereon/ssi-sdk-ext.did-utils': - specifier: ^0.12.0 - version: 0.12.0 + specifier: 0.12.1-next.9 + version: 0.12.1-next.9 '@sphereon/ssi-sdk.core': specifier: workspace:* version: link:../ssi-sdk-core @@ -522,14 +518,14 @@ importers: packages/oid4vci-issuer-rest-api: dependencies: '@sphereon/oid4vci-common': - specifier: 0.4.1-unstable.308 - version: 0.4.1-unstable.308 + specifier: 0.6.0 + version: 0.6.0 '@sphereon/oid4vci-issuer': - specifier: 0.4.1-unstable.308 - version: 0.4.1-unstable.308 + specifier: 0.6.0 + version: 0.6.0 '@sphereon/oid4vci-issuer-server': - specifier: 0.4.1-unstable.308 - version: 0.4.1-unstable.308 + specifier: 0.6.0 + version: 0.6.0 '@sphereon/ssi-sdk.kv-store-temp': specifier: workspace:* version: link:../kv-store @@ -589,11 +585,17 @@ importers: specifier: ^2.0.2 version: 2.0.2 '@sphereon/ssi-sdk-ext.did-provider-jwk': - specifier: ^0.12.0 - version: 0.12.0 + specifier: 0.12.1-next.9 + version: 0.12.1-next.9 + '@sphereon/ssi-sdk-ext.key-manager': + specifier: 0.12.1-next.9 + version: 0.12.1-next.9(expo-crypto@12.2.2)(expo@48.0.19)(msrcrypto@1.5.8)(react-native-securerandom@1.0.1) '@sphereon/ssi-sdk-ext.key-utils': - specifier: ^0.12.0 - version: 0.12.0 + specifier: 0.12.1-next.9 + version: 0.12.1-next.9 + '@sphereon/ssi-sdk-ext.kms-local': + specifier: 0.12.1-next.9 + version: 0.12.1-next.9(expo-crypto@12.2.2)(expo@48.0.19)(msrcrypto@1.5.8)(react-native-securerandom@1.0.1) '@sphereon/ssi-sdk.data-store': specifier: workspace:* version: link:../data-store @@ -673,8 +675,8 @@ importers: packages/oid4vci-issuer-rest-client: dependencies: '@sphereon/oid4vci-common': - specifier: 0.4.1-unstable.308 - version: 0.4.1-unstable.308 + specifier: 0.6.0 + version: 0.6.0 '@veramo/core': specifier: 4.2.0 version: 4.2.0(patch_hash=c5oempznsz4br5w3tcuk2i2mau) @@ -707,11 +709,11 @@ importers: packages/oid4vci-issuer-store: dependencies: '@sphereon/oid4vci-common': - specifier: 0.4.1-unstable.308 - version: 0.4.1-unstable.308 + specifier: 0.6.0 + version: 0.6.0 '@sphereon/ssi-sdk-ext.did-utils': - specifier: ^0.12.0 - version: 0.12.0 + specifier: 0.12.1-next.9 + version: 0.12.1-next.9 '@sphereon/ssi-sdk.kv-store-temp': specifier: workspace:* version: link:../kv-store @@ -759,8 +761,8 @@ importers: specifier: ^2.0.2 version: 2.0.2 '@sphereon/ssi-sdk-ext.did-utils': - specifier: ^0.12.0 - version: 0.12.0 + specifier: 0.12.1-next.9 + version: 0.12.1-next.9 '@sphereon/ssi-sdk.kv-store-temp': specifier: workspace:* version: link:../kv-store @@ -882,8 +884,8 @@ importers: specifier: 2.0.2 version: 2.0.2 '@sphereon/ssi-sdk-ext.did-utils': - specifier: ^0.12.0 - version: 0.12.0 + specifier: 0.12.1-next.9 + version: 0.12.1-next.9 '@sphereon/ssi-sdk.core': specifier: workspace:* version: link:../ssi-sdk-core @@ -952,8 +954,8 @@ importers: specifier: 2.0.1 version: 2.0.1 '@sphereon/ssi-sdk-ext.did-utils': - specifier: ^0.12.0 - version: 0.12.0 + specifier: 0.12.1-next.9 + version: 0.12.1-next.9 '@sphereon/ssi-sdk.core': specifier: workspace:* version: link:../ssi-sdk-core @@ -1074,8 +1076,8 @@ importers: specifier: ^2.0.2 version: 2.0.2 '@sphereon/ssi-sdk-ext.did-provider-jwk': - specifier: ^0.12.0 - version: 0.12.0 + specifier: 0.12.1-next.9 + version: 0.12.1-next.9 '@sphereon/ssi-sdk.data-store': specifier: workspace:* version: link:../data-store @@ -1260,8 +1262,8 @@ importers: specifier: ^2.4.0-unstable.4 version: 2.4.0-unstable.4(expo-crypto@12.2.2)(expo@48.0.19)(msrcrypto@1.5.8)(react-native-securerandom@1.0.1) '@sphereon/ssi-sdk-ext.did-utils': - specifier: ^0.12.0 - version: 0.12.0 + specifier: 0.12.1-next.9 + version: 0.12.1-next.9 '@sphereon/ssi-sdk.core': specifier: workspace:* version: link:../ssi-sdk-core @@ -1333,17 +1335,17 @@ importers: specifier: ^0.6.0 version: 0.6.0 '@sphereon/ssi-sdk-ext.did-provider-key': - specifier: ^0.12.0 - version: 0.12.0 + specifier: 0.12.1-next.9 + version: 0.12.1-next.9 '@sphereon/ssi-sdk-ext.did-provider-lto': - specifier: ^0.12.0 - version: 0.12.0(typescript@4.9.5) + specifier: 0.12.1-next.9 + version: 0.12.1-next.9(typescript@4.9.5) '@sphereon/ssi-sdk-ext.key-manager': - specifier: ^0.12.0 - version: 0.12.0(expo-crypto@12.2.2)(expo@48.0.19)(msrcrypto@1.5.8)(react-native-securerandom@1.0.1) + specifier: 0.12.1-next.9 + version: 0.12.1-next.9(expo-crypto@12.2.2)(expo@48.0.19)(msrcrypto@1.5.8)(react-native-securerandom@1.0.1) '@sphereon/ssi-sdk-ext.kms-local': - specifier: ^0.12.0 - version: 0.12.0(expo-crypto@12.2.2)(expo@48.0.19)(msrcrypto@1.5.8)(react-native-securerandom@1.0.1) + specifier: 0.12.1-next.9 + version: 0.12.1-next.9(expo-crypto@12.2.2)(expo@48.0.19)(msrcrypto@1.5.8)(react-native-securerandom@1.0.1) '@sphereon/ssi-sdk.agent-config': specifier: workspace:* version: link:../agent-config @@ -1478,11 +1480,11 @@ importers: specifier: ^2.0.2 version: 2.0.2 '@sphereon/ssi-sdk-ext.did-provider-jwk': - specifier: ^0.12.0 - version: 0.12.0 + specifier: 0.12.1-next.9 + version: 0.12.1-next.9 '@sphereon/ssi-sdk-ext.did-resolver-jwk': - specifier: ^0.12.0 - version: 0.12.0 + specifier: 0.12.1-next.9 + version: 0.12.1-next.9 '@sphereon/ssi-sdk.data-store': specifier: workspace:* version: link:../data-store @@ -3634,7 +3636,7 @@ packages: getenv: 1.0.0 glob: 7.1.6 resolve-from: 5.0.0 - semver: 7.5.2 + semver: 7.5.3 slash: 3.0.0 xcode: 3.0.1 xml2js: 0.4.23 @@ -4268,7 +4270,7 @@ packages: p-reduce: 2.1.0 pacote: 13.6.2 pify: 5.0.0 - semver: 7.5.2 + semver: 7.5.3 slash: 3.0.0 validate-npm-package-license: 3.0.4 validate-npm-package-name: 4.0.0 @@ -4400,7 +4402,7 @@ packages: nopt: 5.0.0 npmlog: 5.0.1 rimraf: 3.0.2 - semver: 7.5.2 + semver: 7.5.3 tar: 6.1.15 transitivePeerDependencies: - encoding @@ -4417,7 +4419,7 @@ packages: nopt: 5.0.0 npmlog: 5.0.1 rimraf: 3.0.2 - semver: 7.5.2 + semver: 7.5.3 tar: 6.1.15 transitivePeerDependencies: - encoding @@ -4596,7 +4598,7 @@ packages: promise-all-reject-late: 1.0.1 promise-call-limit: 1.0.2 read-package-json-fast: 3.0.2 - semver: 7.5.2 + semver: 7.5.3 ssri: 10.0.4 treeverse: 3.0.0 walk-up-path: 1.0.0 @@ -4609,21 +4611,21 @@ packages: resolution: {integrity: sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==} dependencies: '@gar/promisify': 1.1.3 - semver: 7.5.2 + semver: 7.5.3 /@npmcli/fs@2.1.2: resolution: {integrity: sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} dependencies: '@gar/promisify': 1.1.3 - semver: 7.5.2 + semver: 7.5.3 dev: true /@npmcli/fs@3.1.0: resolution: {integrity: sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - semver: 7.5.2 + semver: 7.5.3 dev: true /@npmcli/git@3.0.2: @@ -4637,7 +4639,7 @@ packages: proc-log: 2.0.1 promise-inflight: 1.0.1 promise-retry: 2.0.1 - semver: 7.5.2 + semver: 7.5.3 which: 2.0.2 transitivePeerDependencies: - bluebird @@ -4653,7 +4655,7 @@ packages: proc-log: 3.0.0 promise-inflight: 1.0.1 promise-retry: 2.0.1 - semver: 7.5.2 + semver: 7.5.3 which: 3.0.1 transitivePeerDependencies: - bluebird @@ -4682,8 +4684,8 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: '@npmcli/name-from-folder': 2.0.0 - glob: 10.2.7 - minimatch: 9.0.1 + glob: 10.3.0 + minimatch: 9.0.2 read-package-json-fast: 3.0.2 dev: true @@ -4694,7 +4696,7 @@ packages: cacache: 17.1.3 json-parse-even-better-errors: 3.0.0 pacote: 15.2.0 - semver: 7.5.2 + semver: 7.5.3 transitivePeerDependencies: - bluebird - supports-color @@ -4737,7 +4739,7 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: '@npmcli/git': 4.1.0 - glob: 10.2.7 + glob: 10.3.0 json-parse-even-better-errors: 3.0.0 normalize-package-data: 5.0.0 npm-normalize-package-bin: 3.0.1 @@ -5224,7 +5226,7 @@ packages: '@react-native-community/cli-tools': 11.3.2 chalk: 4.1.2 execa: 5.1.1 - fast-xml-parser: 4.2.4 + fast-xml-parser: 4.2.5 glob: 7.2.3 ora: 5.4.1 transitivePeerDependencies: @@ -5466,7 +5468,7 @@ packages: read-pkg: 5.2.0 registry-auth-token: 5.0.2 semantic-release: 19.0.5 - semver: 7.5.2 + semver: 7.5.3 tempy: 1.0.1 dev: true @@ -5672,8 +5674,8 @@ packages: - typescript dev: true - /@sphereon/oid4vci-common@0.4.1-unstable.308: - resolution: {integrity: sha512-zFiBN6fTpGansNQ5i82wpSrOlvsicRg6UUW/9wZp8exWPzPVZBU1gsKbp+QgoNWK+4qgC3w1Kfr2ZQ+oYjzgfw==} + /@sphereon/oid4vci-common@0.6.0: + resolution: {integrity: sha512-ApaXhYfkmRtsAKxSuCy70jlFvWdmf7dm8jHCtoUpPT2g+/2q1eoSCYUtA4f9kzskOI74LydPSzbl7QcZCWdueQ==} engines: {node: '>=16'} dependencies: '@sphereon/ssi-types': link:packages/ssi-types @@ -5683,12 +5685,12 @@ packages: - encoding dev: false - /@sphereon/oid4vci-issuer-server@0.4.1-unstable.308: - resolution: {integrity: sha512-p5fMOq3nDlSnMbNZJ/aMsk00JRsZRV1KWuLq78LpwbRAl/7uSyOOCnY1+cQlbjAzaDFageXQlkixC1uCNovgbA==} + /@sphereon/oid4vci-issuer-server@0.6.0: + resolution: {integrity: sha512-IBHy7dZ6cI61sl7e3OnQsp5wHJaAqFe+L6eJZwNwPEA0xB6WjDYQnrKrJFVkXLkaxXqRC3+cy0Ns/NItQVXqXw==} engines: {node: '>=16'} dependencies: - '@sphereon/oid4vci-common': 0.4.1-unstable.308 - '@sphereon/oid4vci-issuer': 0.4.1-unstable.308 + '@sphereon/oid4vci-common': 0.6.0 + '@sphereon/oid4vci-issuer': 0.6.0 '@sphereon/ssi-types': link:packages/ssi-types body-parser: 1.20.2 cookie-parser: 1.4.6 @@ -5701,11 +5703,11 @@ packages: - supports-color dev: false - /@sphereon/oid4vci-issuer@0.4.1-unstable.308: - resolution: {integrity: sha512-94hwnrSfOYJrvL6LOpQhDMT3qGcs3iPbEAbI+b4AfY9Yf5kai1WQvBnkMECgnbAJUjpItkQ38uyvh+j7yJO7zA==} + /@sphereon/oid4vci-issuer@0.6.0: + resolution: {integrity: sha512-bLAa1bPfwzfPBQNuwi5BbJhOSJV2J92fgFVirEnzSCCkirkGv4V7ibhIaYJpVk23xckJkHc4X0860fYKYYIgsQ==} engines: {node: '>=16'} dependencies: - '@sphereon/oid4vci-common': 0.4.1-unstable.308 + '@sphereon/oid4vci-common': 0.6.0 '@sphereon/ssi-types': link:packages/ssi-types uuid: 9.0.0 transitivePeerDependencies: @@ -5736,11 +5738,12 @@ packages: react-native: 0.72.0(@babel/core@7.22.5)(@babel/preset-env@7.22.2)(react-test-renderer@18.2.0)(react@18.2.0) dev: true - /@sphereon/ssi-sdk-ext.did-provider-jwk@0.12.0: - resolution: {integrity: sha512-J6c2iIrzkNPJxs9V57xlfZyIcq+d6rfipOeeCQTRK5Kgr9VPZv+jvNl9Fs2Er49XVXSUCx0bY7QeDqei5SReQg==} + /@sphereon/ssi-sdk-ext.did-provider-jwk@0.12.1-next.9: + resolution: {integrity: sha512-8V2vR/5NNObxl2O5NZ8YeOyljjuvbeN8V41lcGgc/HxGt4wOitPnWcCntybKOmn2ioegktjepq6vVpY9RWNGXg==} dependencies: '@ethersproject/random': 5.7.0 - '@sphereon/ssi-sdk-ext.key-utils': 0.12.0 + '@sphereon/ssi-sdk-ext.did-utils': 0.12.1-next.9 + '@sphereon/ssi-sdk-ext.key-utils': 0.12.1-next.9 '@sphereon/ssi-types': link:packages/ssi-types '@stablelib/ed25519': 1.0.3 '@veramo/core': 4.2.0(patch_hash=c5oempznsz4br5w3tcuk2i2mau) @@ -5750,14 +5753,15 @@ packages: did-resolver: 4.1.0 elliptic: 6.5.4 transitivePeerDependencies: + - encoding - supports-color dev: true - /@sphereon/ssi-sdk-ext.did-provider-key@0.12.0: - resolution: {integrity: sha512-PJNWhpk9kgInX2cMbfpq3Z/Rr0+MZY28LKMM1Vf/oMKgo2B8A6Z7E9kH+x5nXxZdzP5imMXYWVLlk6xf+HusfQ==} + /@sphereon/ssi-sdk-ext.did-provider-key@0.12.1-next.9: + resolution: {integrity: sha512-y1PYgqqLdgQdjh80qQPqUFt6KplouDX1OSSAL52TS0n+Whs1lZh4R1m8PzkCyS+CYNxNmqdoIWqUlfnwlJr1UA==} dependencies: - '@sphereon/ssi-sdk-ext.did-resolver-key': 0.12.0 - '@sphereon/ssi-sdk-ext.key-utils': 0.12.0 + '@sphereon/ssi-sdk-ext.did-resolver-key': 0.12.1-next.9 + '@sphereon/ssi-sdk-ext.key-utils': 0.12.1-next.9 '@transmute/did-key-bls12381': 0.3.0-unstable.10 '@veramo/core': 4.2.0(patch_hash=c5oempznsz4br5w3tcuk2i2mau) '@veramo/did-manager': 4.2.0 @@ -5771,8 +5775,8 @@ packages: - supports-color dev: true - /@sphereon/ssi-sdk-ext.did-provider-lto@0.12.0(typescript@4.9.5): - resolution: {integrity: sha512-XbRO1b2BBIq1jGvQak9AyaBYBiFFPYRr1erfAArzgR322ADqwgx+I2hsM79fuQkSK1MJ2Qt41ZI1B3erXcNR/w==} + /@sphereon/ssi-sdk-ext.did-provider-lto@0.12.1-next.9(typescript@4.9.5): + resolution: {integrity: sha512-bdpCVSM4ynAdA53Af2MBepXKUq+AFx0EcO04/ogWOpcU+rhEppF6Z0LBp3NUjlTMDAujIyeWlUNLCJzvgW6I+g==} dependencies: '@lto-network/lto-crypto': 1.1.1 '@lto-network/lto-transactions': 1.2.12(debug@4.3.4)(typescript@4.9.5) @@ -5789,8 +5793,8 @@ packages: - typescript dev: true - /@sphereon/ssi-sdk-ext.did-resolver-jwk@0.12.0: - resolution: {integrity: sha512-tq4IsKVlkAmUrrpAUQwKllLsX1kUzY8n/CXbvIyEJoycJ1gUmmUn7K9SY0g2e9YXAwRpCNSSqIC9PuWfAaeDKw==} + /@sphereon/ssi-sdk-ext.did-resolver-jwk@0.12.1-next.9: + resolution: {integrity: sha512-oA8HxDgAmIqI0lOhKl3Z/qU41uQ3bp5BvlNIqqA7Tnnb6xVifLuFO1qBlwe26QzcuU47CHjDhQUYugacS8qa1A==} dependencies: '@sphereon/ssi-types': link:packages/ssi-types base64url: 3.0.1 @@ -5801,10 +5805,10 @@ packages: - supports-color dev: true - /@sphereon/ssi-sdk-ext.did-resolver-key@0.12.0: - resolution: {integrity: sha512-oKZqHIo9T94/oZ3eetQ4VDXEMUT34JJfMgGLcUhpBHg/AfRmTb9/rNnSZ4TUAIbbDkoAKCDShl0K5rJ8GenRNQ==} + /@sphereon/ssi-sdk-ext.did-resolver-key@0.12.1-next.9: + resolution: {integrity: sha512-53XfCDlJR6613fwT2h+zMOoTbJG/UYE0qJSgoadqdPTTXG+1rzltzDUmUnx7063RfFGGb37QxEDGlFRVmGDilg==} dependencies: - '@sphereon/ssi-sdk-ext.key-utils': 0.12.0 + '@sphereon/ssi-sdk-ext.key-utils': 0.12.1-next.9 '@stablelib/ed25519': 1.0.3 bigint-mod-arith: 3.2.1 did-resolver: 4.1.0 @@ -5819,11 +5823,11 @@ packages: - supports-color dev: true - /@sphereon/ssi-sdk-ext.did-utils@0.12.0: - resolution: {integrity: sha512-4dtYKDBoY+G0J7ntFNLDjiJpoVfxgFy3N5aKbDJNbr4PPaoJMp3lxuIToPIXUdOnJX4L0MvKWx6ahDyuKe4aYg==} + /@sphereon/ssi-sdk-ext.did-utils@0.12.1-next.9: + resolution: {integrity: sha512-ciwlYr0G9YHXRbgF2RgYFXVuqJv++qVh6u+L+gVysBZPve05Om0+oS3xI2Sv+Z71A9WyLTtCYMod80dGHYejiA==} dependencies: '@sphereon/did-uni-client': 0.6.0 - '@sphereon/ssi-sdk-ext.key-utils': 0.12.0 + '@sphereon/ssi-sdk-ext.key-utils': 0.12.1-next.9 '@veramo/core': 4.2.0(patch_hash=c5oempznsz4br5w3tcuk2i2mau) '@veramo/utils': 4.2.0 did-jwt: 6.11.6(patch_hash=afqywxnnjnsy6hwgax66dyyiey) @@ -5834,11 +5838,11 @@ packages: - encoding - supports-color - /@sphereon/ssi-sdk-ext.key-manager@0.12.0(expo-crypto@12.2.2)(expo@48.0.19)(msrcrypto@1.5.8)(react-native-securerandom@1.0.1): - resolution: {integrity: sha512-pXruY2bprzduE8Irpj3Vv1RY/2FC7hGHVytuYiPNMfq9nPvXCg0kJ3xOw1bkrPEIixhHpR1zlnnrgm2lTPFfsA==} + /@sphereon/ssi-sdk-ext.key-manager@0.12.1-next.9(expo-crypto@12.2.2)(expo@48.0.19)(msrcrypto@1.5.8)(react-native-securerandom@1.0.1): + resolution: {integrity: sha512-GrwTzIeUMvJQDMiFiVW64I2GAu+1OpsmpfQ20dcAVX0E7Za9k87u5BRN3XagLJkjIoteYzqRe01eTxujXDbhBQ==} dependencies: '@mattrglobal/bbs-signatures': 1.1.0 - '@sphereon/ssi-sdk-ext.kms-local': 0.12.0(expo-crypto@12.2.2)(expo@48.0.19)(msrcrypto@1.5.8)(react-native-securerandom@1.0.1) + '@sphereon/ssi-sdk-ext.kms-local': 0.12.1-next.9(expo-crypto@12.2.2)(expo@48.0.19)(msrcrypto@1.5.8)(react-native-securerandom@1.0.1) '@veramo/core': 4.2.0(patch_hash=c5oempznsz4br5w3tcuk2i2mau) '@veramo/key-manager': 4.2.0 transitivePeerDependencies: @@ -5850,8 +5854,8 @@ packages: - supports-color dev: true - /@sphereon/ssi-sdk-ext.key-utils@0.12.0: - resolution: {integrity: sha512-Wu21nxjx7rqKi+tK3OPnNTBdW/cKJJWP+eqjkIJfL3HkwIPxmIRkxpCL+wu/EiB1dKpBffKK/9BvR6e2HnV0Tg==} + /@sphereon/ssi-sdk-ext.key-utils@0.12.1-next.9: + resolution: {integrity: sha512-quUnjYpeCVbxEx0eLKYzBEyGt7TmiLgC813Ag91Qiu1ns5b/FJ3jbAPCpbr7vTFnFrQ1ogYttvguk8BSGfI9AQ==} dependencies: '@ethersproject/random': 5.7.0 '@stablelib/ed25519': 1.0.3 @@ -5869,17 +5873,18 @@ packages: transitivePeerDependencies: - supports-color - /@sphereon/ssi-sdk-ext.kms-local@0.12.0(expo-crypto@12.2.2)(expo@48.0.19)(msrcrypto@1.5.8)(react-native-securerandom@1.0.1): - resolution: {integrity: sha512-PFsCE7HySyF+pDZAZSodFUpxz7ooWqe1fpz1CdDb/BYm4kQS+8ER1X+d4/i3Fhhv5KSfutWPYMeVBoWme1CYbg==} + /@sphereon/ssi-sdk-ext.kms-local@0.12.1-next.9(expo-crypto@12.2.2)(expo@48.0.19)(msrcrypto@1.5.8)(react-native-securerandom@1.0.1): + resolution: {integrity: sha512-bs+47gY6Hjq9Vrckdz5KwXi+AR84OauLKHDyPYQbO2hE9qicp4PSL9vJ+4Tct5qQkUOEgsO1oomolIkztC/stw==} dependencies: '@mattrglobal/bbs-signatures': 1.1.0 '@sphereon/isomorphic-webcrypto': 2.4.0-unstable.4(expo-crypto@12.2.2)(expo@48.0.19)(msrcrypto@1.5.8)(react-native-securerandom@1.0.1) - '@sphereon/ssi-sdk-ext.did-utils': 0.12.0 - '@sphereon/ssi-sdk-ext.key-utils': 0.12.0 + '@sphereon/ssi-sdk-ext.did-utils': 0.12.1-next.9 + '@sphereon/ssi-sdk-ext.key-utils': 0.12.1-next.9 '@trust/keyto': 2.0.0-alpha1 '@veramo/core': 4.2.0(patch_hash=c5oempznsz4br5w3tcuk2i2mau) '@veramo/key-manager': 4.2.0 '@veramo/kms-local': 4.2.0 + elliptic: 6.5.4 uint8arrays: 3.1.1 transitivePeerDependencies: - encoding @@ -6524,7 +6529,7 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: '@tufjs/canonical-json': 1.0.0 - minimatch: 9.0.1 + minimatch: 9.0.2 dev: true /@types/argparse@1.0.38: @@ -6630,7 +6635,7 @@ packages: '@types/body-parser': 1.19.2 '@types/express-serve-static-core': 4.17.35 '@types/qs': 6.9.7 - '@types/serve-static': 1.15.1 + '@types/serve-static': 1.15.2 dev: true /@types/express@4.17.17: @@ -6639,7 +6644,7 @@ packages: '@types/body-parser': 1.19.2 '@types/express-serve-static-core': 4.17.35 '@types/qs': 6.9.7 - '@types/serve-static': 1.15.1 + '@types/serve-static': 1.15.2 dev: true /@types/graceful-fs@4.1.6: @@ -6648,6 +6653,10 @@ packages: '@types/node': 18.16.3 dev: true + /@types/http-errors@2.0.1: + resolution: {integrity: sha512-/K3ds8TRAfBvi5vfjuz8y6+GiAYBZ0x4tXv1Av6CWBWn0IlADc+ZX9pMq7oU0fNQPnBwIZl3rmeLp6SBApbxSQ==} + dev: true + /@types/inquirer-autocomplete-prompt@3.0.0: resolution: {integrity: sha512-qgaINEdGNMP4fq3BJi5rvs8iMNrYhrp6krGwuVJ3jhFr+6gwqiHPSWrKov4x9vCJFbpzDVoDYjNdFG3kepdhDw==} dependencies: @@ -6793,9 +6802,10 @@ packages: '@types/node': 18.16.3 dev: true - /@types/serve-static@1.15.1: - resolution: {integrity: sha512-NUo5XNiAdULrJENtJXZZ3fHtfMolzZwczzBbnAeBbqBwG+LaG6YaJtuwzwGSQZ2wsCrxjEhNNjAkKigy3n8teQ==} + /@types/serve-static@1.15.2: + resolution: {integrity: sha512-J2LqtvFYCzaj8pVYKw8klQXrLLk7TBZmQ4ShlcdkELFKGwGMfevMLneMMRkMgZxotOD9wg497LpC7O8PcvAmfw==} dependencies: + '@types/http-errors': 2.0.1 '@types/mime': 3.0.1 '@types/node': 18.16.3 dev: true @@ -6866,7 +6876,7 @@ packages: eslint: 7.32.0 functional-red-black-tree: 1.0.1 regexpp: 3.2.0 - semver: 7.5.2 + semver: 7.5.3 tsutils: 3.21.0(typescript@4.9.5) typescript: 4.9.5 transitivePeerDependencies: @@ -6894,7 +6904,7 @@ packages: grapheme-splitter: 1.0.4 ignore: 5.2.4 natural-compare-lite: 1.4.0 - semver: 7.5.2 + semver: 7.5.3 tsutils: 3.21.0(typescript@4.9.5) typescript: 4.9.5 transitivePeerDependencies: @@ -7019,7 +7029,7 @@ packages: debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 - semver: 7.5.2 + semver: 7.5.3 tsutils: 3.21.0(typescript@4.9.5) typescript: 4.9.5 transitivePeerDependencies: @@ -7040,7 +7050,7 @@ packages: debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 - semver: 7.5.2 + semver: 7.5.3 tsutils: 3.21.0(typescript@4.9.5) typescript: 4.9.5 transitivePeerDependencies: @@ -7061,7 +7071,7 @@ packages: '@typescript-eslint/typescript-estree': 5.59.2(typescript@4.9.5) eslint: 8.35.0 eslint-scope: 5.1.1 - semver: 7.5.2 + semver: 7.5.3 transitivePeerDependencies: - supports-color - typescript @@ -7427,8 +7437,8 @@ packages: resolution: {integrity: sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==} dev: true - /@yarnpkg/parsers@3.0.0-rc.45: - resolution: {integrity: sha512-Aj0aHBV/crFQTpKQvL6k1xNiOhnlfVLu06LunelQAvl1MTeWrSi8LD9UJJDCFJiG4kx8NysUE6Tx0KZyPQUzIw==} + /@yarnpkg/parsers@3.0.0-rc.46: + resolution: {integrity: sha512-aiATs7pSutzda/rq8fnuPwTglyVwjM22bNnK2ZgjrpAjQHSSl3lztd2f9evst1W/qnC58DRz7T7QndUDumAR4Q==} engines: {node: '>=14.15.0'} dependencies: js-yaml: 3.14.1 @@ -8370,8 +8380,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001506 - electron-to-chromium: 1.4.436 + caniuse-lite: 1.0.30001507 + electron-to-chromium: 1.4.440 node-releases: 2.0.12 update-browserslist-db: 1.0.11(browserslist@4.21.9) @@ -8433,7 +8443,7 @@ packages: /builtins@5.0.1: resolution: {integrity: sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==} dependencies: - semver: 7.5.2 + semver: 7.5.3 dev: true /byte-size@7.0.0: @@ -8511,7 +8521,7 @@ packages: dependencies: '@npmcli/fs': 3.1.0 fs-minipass: 3.0.2 - glob: 10.2.7 + glob: 10.3.0 lru-cache: 7.18.3 minipass: 5.0.0 minipass-collect: 1.0.2 @@ -8581,8 +8591,8 @@ packages: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} - /caniuse-lite@1.0.30001506: - resolution: {integrity: sha512-6XNEcpygZMCKaufIcgpQNZNf00GEqc7VQON+9Rd0K1bMYo8xhMZRAo5zpbnbMNizi4YNgIDAFrdykWsvY3H4Hw==} + /caniuse-lite@1.0.30001507: + resolution: {integrity: sha512-SFpUDoSLCaE5XYL2jfqe9ova/pbQHEmbheDf5r4diNwbAgR3qxM9NQtfsiSscjqoya5K7kFcHPUQ+VsUkIJR4A==} /canonicalize@1.0.1: resolution: {integrity: sha512-N3cmB3QLhS5TJ5smKFf1w42rJXWe6C1qP01z4dxJiI5v269buii4fLHWETDyf7yEd0azGLNC63VxNMiPd2u0Cg==} @@ -9747,8 +9757,8 @@ packages: jake: 10.8.7 dev: true - /electron-to-chromium@1.4.436: - resolution: {integrity: sha512-aktOxo8fnrMC8vOIBMVS3PXbT1nrPQ+SouUuN7Y0a+Rw3pOMrvIV92Ybnax7x4tugA+ZpYA5fOHTby7ama8OQQ==} + /electron-to-chromium@1.4.440: + resolution: {integrity: sha512-r6dCgNpRhPwiWlxbHzZQ/d9swfPaEJGi8ekqRBwQYaR3WmA5VkqQfBWSDDjuJU1ntO+W9tHx8OHV/96Q8e0dVw==} /elliptic@6.5.4: resolution: {integrity: sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==} @@ -10176,7 +10186,7 @@ packages: optionator: 0.9.1 progress: 2.0.3 regexpp: 3.2.0 - semver: 7.5.2 + semver: 7.5.3 strip-ansi: 6.0.1 strip-json-comments: 3.1.1 table: 6.8.1 @@ -10681,8 +10691,8 @@ packages: punycode: 1.4.1 dev: true - /fast-xml-parser@4.2.4: - resolution: {integrity: sha512-fbfMDvgBNIdDJLdLOwacjFAPYt67tr31H9ZhWSm45CDAxvd0I6WTlSOUo7K2P/K5sA5JgMKG64PI3DMcaFdWpQ==} + /fast-xml-parser@4.2.5: + resolution: {integrity: sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g==} hasBin: true dependencies: strnum: 1.0.5 @@ -11271,14 +11281,14 @@ packages: is-glob: 4.0.3 dev: true - /glob@10.2.7: - resolution: {integrity: sha512-jTKehsravOJo8IJxUGfZILnkvVJM/MOfHRs8QcXolVef2zNI9Tqyy5+SeuOAZd3upViEZQLyFpQhYiHLrMUNmA==} + /glob@10.3.0: + resolution: {integrity: sha512-AQ1/SB9HH0yCx1jXAT4vmCbTOPe5RQ+kCurjbel5xSCGhebumUv+GJZfa1rEqor3XIViqwSEmlkZCQD43RWrBg==} engines: {node: '>=16 || 14 >=14.17'} hasBin: true dependencies: foreground-child: 3.1.1 jackspeak: 2.2.1 - minimatch: 9.0.1 + minimatch: 9.0.2 minipass: 6.0.2 path-scurry: 1.9.2 dev: true @@ -11679,7 +11689,7 @@ packages: resolution: {integrity: sha512-C7FfFoTA+bI10qfeydT8aZbvr91vAEU+2W5BZUlzPec47oNb07SsOfwYrtxuvOYdUApPP/Qlh4DtAO51Ekk2QA==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - minimatch: 9.0.1 + minimatch: 9.0.2 dev: true /ignore@4.0.6: @@ -11776,7 +11786,7 @@ packages: promzard: 0.3.0 read: 1.0.7 read-package-json: 5.0.1 - semver: 7.5.2 + semver: 7.5.3 validate-npm-package-license: 3.0.4 validate-npm-package-name: 4.0.0 dev: true @@ -12754,7 +12764,7 @@ packages: jest-util: 27.5.1 natural-compare: 1.4.0 pretty-format: 27.5.1 - semver: 7.5.2 + semver: 7.5.3 transitivePeerDependencies: - supports-color dev: true @@ -13188,7 +13198,7 @@ packages: jws: 3.2.2 lodash: 4.17.21 ms: 2.1.3 - semver: 7.5.2 + semver: 7.5.3 dev: false /just-diff-apply@5.5.0: @@ -13368,7 +13378,7 @@ packages: read-package-json: 5.0.1 resolve-from: 5.0.0 rimraf: 4.4.1 - semver: 7.5.2 + semver: 7.5.3 signal-exit: 3.0.7 slash: 3.0.0 ssri: 9.0.1 @@ -13432,7 +13442,7 @@ packages: normalize-package-data: 4.0.1 npm-package-arg: 9.1.2 npm-registry-fetch: 13.3.1 - semver: 7.5.2 + semver: 7.5.3 ssri: 9.0.1 transitivePeerDependencies: - bluebird @@ -14280,8 +14290,8 @@ packages: brace-expansion: 2.0.1 dev: true - /minimatch@9.0.1: - resolution: {integrity: sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w==} + /minimatch@9.0.2: + resolution: {integrity: sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==} engines: {node: '>=16 || 14 >=14.17'} dependencies: brace-expansion: 2.0.1 @@ -14600,7 +14610,7 @@ packages: inquirer: 7.3.3 make-promises-safe: 5.1.0 rimraf: 3.0.2 - semver: 7.5.2 + semver: 7.5.3 toml: 3.0.0 ts-typed-json: 0.3.2 validate-npm-package-license: 3.0.4 @@ -14621,7 +14631,7 @@ packages: inquirer: 7.3.3 make-promises-safe: 5.1.0 rimraf: 3.0.2 - semver: 7.5.2 + semver: 7.5.3 toml: 3.0.0 ts-typed-json: 0.3.2 validate-npm-package-license: 3.0.4 @@ -14748,7 +14758,7 @@ packages: nopt: 5.0.0 npmlog: 6.0.2 rimraf: 3.0.2 - semver: 7.5.2 + semver: 7.5.3 tar: 6.1.15 which: 2.0.2 transitivePeerDependencies: @@ -14769,7 +14779,7 @@ packages: nopt: 6.0.0 npmlog: 6.0.2 rimraf: 3.0.2 - semver: 7.5.2 + semver: 7.5.3 tar: 6.1.11 which: 2.0.2 transitivePeerDependencies: @@ -14862,7 +14872,7 @@ packages: dependencies: hosted-git-info: 4.1.0 is-core-module: 2.12.1 - semver: 7.5.2 + semver: 7.5.3 validate-npm-package-license: 3.0.4 dev: true @@ -14872,7 +14882,7 @@ packages: dependencies: hosted-git-info: 5.2.1 is-core-module: 2.12.1 - semver: 7.5.2 + semver: 7.5.3 validate-npm-package-license: 3.0.4 dev: true @@ -14882,7 +14892,7 @@ packages: dependencies: hosted-git-info: 6.1.1 is-core-module: 2.12.1 - semver: 7.5.2 + semver: 7.5.3 validate-npm-package-license: 3.0.4 dev: true @@ -14911,14 +14921,14 @@ packages: resolution: {integrity: sha512-65lUsMI8ztHCxFz5ckCEC44DRvEGdZX5usQFriauxHEwt7upv1FKaQEmAtU0YnOAdwuNWCmk64xYiQABNrEyLA==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} dependencies: - semver: 7.5.2 + semver: 7.5.3 dev: true /npm-install-checks@6.1.1: resolution: {integrity: sha512-dH3GmQL4vsPtld59cOn8uY0iOqRmqKvV+DLGwNXV/Q7MDgD2QfOADWd/mFXcIE5LVhYYGjA3baz6W9JneqnuCw==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - semver: 7.5.2 + semver: 7.5.3 dev: true /npm-normalize-package-bin@1.0.1: @@ -14940,7 +14950,7 @@ packages: dependencies: hosted-git-info: 6.1.1 proc-log: 3.0.0 - semver: 7.5.2 + semver: 7.5.3 validate-npm-package-name: 5.0.0 dev: true @@ -14957,7 +14967,7 @@ packages: engines: {node: '>=10'} dependencies: hosted-git-info: 3.0.8 - semver: 7.5.2 + semver: 7.5.3 validate-npm-package-name: 3.0.0 dev: true @@ -14967,7 +14977,7 @@ packages: dependencies: hosted-git-info: 5.2.1 proc-log: 2.0.1 - semver: 7.5.2 + semver: 7.5.3 validate-npm-package-name: 4.0.0 dev: true @@ -15004,7 +15014,7 @@ packages: npm-install-checks: 5.0.0 npm-normalize-package-bin: 2.0.0 npm-package-arg: 9.1.2 - semver: 7.5.2 + semver: 7.5.3 dev: true /npm-pick-manifest@8.0.1: @@ -15014,7 +15024,7 @@ packages: npm-install-checks: 6.1.1 npm-normalize-package-bin: 3.0.1 npm-package-arg: 10.1.0 - semver: 7.5.2 + semver: 7.5.3 dev: true /npm-registry-fetch@13.3.1: @@ -15220,7 +15230,7 @@ packages: '@nrwl/tao': 15.9.4 '@parcel/watcher': 2.0.4 '@yarnpkg/lockfile': 1.1.0 - '@yarnpkg/parsers': 3.0.0-rc.45 + '@yarnpkg/parsers': 3.0.0-rc.46 '@zkochan/js-yaml': 0.0.6 axios: 1.4.0 chalk: 4.1.2 @@ -16382,7 +16392,7 @@ packages: resolution: {integrity: sha512-AEtWXYfopBj2z5N5PbkAOeNHRPUg5q+Nen7QLxV8M2zJq1ym6/lCz3fYNTCXe19puu2d06jfHhrP7v/S2PtMMw==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - glob: 10.2.7 + glob: 10.3.0 json-parse-even-better-errors: 3.0.0 normalize-package-data: 5.0.0 npm-normalize-package-bin: 3.0.1 @@ -16860,7 +16870,7 @@ packages: p-reduce: 2.1.0 read-pkg-up: 7.0.1 resolve-from: 5.0.0 - semver: 7.5.2 + semver: 7.5.3 semver-diff: 3.1.1 signale: 1.4.0 yargs: 16.2.0 @@ -16909,8 +16919,8 @@ packages: dependencies: lru-cache: 6.0.0 - /semver@7.5.2: - resolution: {integrity: sha512-SoftuTROv/cRjCze/scjGyiDtcUyxw1rgYQSZY7XTmtR5hX+dm76iDbTH8TkLPHCQmlbQVSSbNZCPM2hb0knnQ==} + /semver@7.5.3: + resolution: {integrity: sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==} engines: {node: '>=10'} hasBin: true dependencies: @@ -17873,7 +17883,7 @@ packages: json5: 2.2.0 lodash.memoize: 4.1.2 make-error: 1.3.6 - semver: 7.5.2 + semver: 7.5.3 typescript: 4.9.5 yargs-parser: 20.2.9 dev: true