Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(sdr): returns UniqueVerifiableCredential #593

Merged
merged 1 commit into from
Jun 29, 2021

Conversation

simonas-notcat
Copy link
Contributor

@simonas-notcat simonas-notcat commented Jun 29, 2021

BREAKING CHANGE:
getVerifiableCredentialsForSdr and validatePresentationAgainstSdr
now returns UniqueVerifiableCredential ({ hash: string, verifiableCredential: VerifiableCredential })
instead of VerifiableCredential

Fixes: #496

BREAKING CHANGE:
`getVerifiableCredentialsForSdr` and `validatePresentationAgainstSdr`
now returns { hash: string, verifiableCredential: VerifiableCredential}
instead of `VerifiableCredential`

Fixes: #496
@codecov
Copy link

codecov bot commented Jun 29, 2021

Codecov Report

Merging #593 (bd97c39) into next (0bf7b24) will increase coverage by 10.20%.
The diff coverage is 91.48%.

❗ Current head bd97c39 differs from pull request most recent head ae059b0. Consider uploading reports for the commit ae059b0 to get more accurate results

@@             Coverage Diff             @@
##             next     #593       +/-   ##
===========================================
+ Coverage   67.58%   77.78%   +10.20%     
===========================================
  Files          62       72       +10     
  Lines        1530     2228      +698     
  Branches      247      396      +149     
===========================================
+ Hits         1034     1733      +699     
- Misses        400      493       +93     
+ Partials       96        2       -94     

Copy link
Member

@mirceanis mirceanis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@mirceanis mirceanis merged commit 9c6c090 into next Jun 29, 2021
@mirceanis mirceanis deleted the feature/496-unique-vc-for-sdr branch June 29, 2021 13:03
@mirceanis mirceanis mentioned this pull request Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return UniqueVerifiableCredential array for getCredentialsForSdr
2 participants