digitalbazaar / vc

W3C Verifiable Credentials implementation in JavaScript
BSD 3-Clause "New" or "Revised" License
173 stars 50 forks source link

_credentialCheck fails for StatusList2021 credentials #151

Open F-Node-Karlsruhe opened 10 months ago

F-Node-Karlsruhe commented 10 months ago

As long as the credentialStatus is an object is works fine, but when using an array of credential status [revocation + suspension] the _checkCredential function fails, as it only expects an object https://github.com/digitalbazaar/vc/blob/main/lib/index.js#L619

Fixed in PR https://github.com/digitalbazaar/vc/pull/150