You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We check all matching statuses in parallel (which is good) here: https://github.com/digitalbazaar/vc-bitstring-status-list/blob/main/lib/index.js#L308 ... however, we need to ensure that all the checks happen and we don't shortcircuit all of them if just one fails. This can be done either by using Promise.allSettled and writing some mapping code on the results, or probably more simply by making _checkStatus wrap everything internally in a try/catch that catches any error and maps it to {verified: false, error}.
The text was updated successfully, but these errors were encountered:
We check all matching statuses in parallel (which is good) here: https://github.com/digitalbazaar/vc-bitstring-status-list/blob/main/lib/index.js#L308 ... however, we need to ensure that all the checks happen and we don't shortcircuit all of them if just one fails. This can be done either by using
Promise.allSettled
and writing some mapping code on the results, or probably more simply by making_checkStatus
wrap everything internally in a try/catch that catches any error and maps it to{verified: false, error}
.The text was updated successfully, but these errors were encountered: