Skip to content

Commit 5031d33

Browse files
committed
add credential object to result
1 parent 5c502e7 commit 5031d33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@ async function _verifyPresentation(options = {}) {
550550

551551
for(const [i, credentialResult] of credentialResults.entries()) {
552552
credentialResult.credentialId = credentials[i].id;
553+
credentialResult.credential = credentials[i]
553554
}
554555

555556
const allCredentialsVerified = credentialResults.every(r => r.verified);

0 commit comments

Comments
 (0)