diff --git a/CHANGELOG.md b/CHANGELOG.md index 27fa5b5..4e5d354 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ WIP --- +1.7.3 (2023-10-09) +--- + +- support empty presentations for proof of possession + + 1.7.2 (2023-09-11) --- diff --git a/api/package.json b/api/package.json index 77767ba..43e9691 100644 --- a/api/package.json +++ b/api/package.json @@ -1,6 +1,6 @@ { "name": "vc-verifier", - "version": "1.7.2", + "version": "1.7.3", "description": "The EECC verifier for verifiable credentials which provides an verification API as well as the corresponding UI.", "main": "index.js", "type": "module", diff --git a/api/src/services/verifier/index.ts b/api/src/services/verifier/index.ts index 00a40c8..9e032fa 100644 --- a/api/src/services/verifier/index.ts +++ b/api/src/services/verifier/index.ts @@ -53,6 +53,8 @@ function getSuites(proof: Proof | Proof[]): unknown[] { function getPresentationStatus(presentation: VerifiablePresentation): CredentialStatus[] | CredentialStatus | undefined { + if (!presentation.verifiableCredential) return undefined; + const credentials = ( Array.isArray(presentation.verifiableCredential) ? presentation.verifiableCredential diff --git a/frontend/package.json b/frontend/package.json index f797ea6..f7584d9 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "verifier_frontend", - "version": "1.7.2", + "version": "1.7.3", "description": "Vue frontend for the EECC vc verifier API", "scripts": { "build": "vue-cli-service build", diff --git a/frontend/src/store/index.js b/frontend/src/store/index.js index 999f77c..a364f95 100644 --- a/frontend/src/store/index.js +++ b/frontend/src/store/index.js @@ -5,7 +5,7 @@ import api from '../api' export default createStore({ state: { - version: '1.7.2', + version: '1.7.3', authentication: undefined, verifiables: [], disclosedCredentials: [],