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

fix(core): convert legacy prefix for inner msgs #479

Merged
merged 2 commits into from
Oct 7, 2021

Conversation

karimStekelenburg
Copy link
Contributor

@karimStekelenburg karimStekelenburg commented Oct 7, 2021

This commit adds legacy type prefix support for CredentialPreview,
PresentationPreview and SignatureDecorator.

It does this by replacing the did:sov:BzCbsNYhMrjHiqZDTUASHg;spec legacy prefix with the newer https://didcomm.org prefix.

Signed-off-by: Karim Stekelenburg [email protected]

This commit adds legacy type prefix support for CredentialPreview,
PresentationPreview and SignatureDecorator.

It does this by converting replacing the
`did:sov:BzCbsNYhMrjHiqZDTUASHg;spec` legacy prefix with the newer
`https://didcomm.org` prefix.

Signed-off-by: Karim Stekelenburg <[email protected]>
@karimStekelenburg karimStekelenburg requested a review from a team as a code owner October 7, 2021 13:21
@TimoGlastra TimoGlastra changed the title feat: convert legacy prefix for inner msgs fix(core): convert legacy prefix for inner msgs Oct 7, 2021
@TimoGlastra
Copy link
Contributor

Nice!

@TimoGlastra TimoGlastra enabled auto-merge (squash) October 7, 2021 13:25
@TimoGlastra TimoGlastra disabled auto-merge October 7, 2021 13:25
@TimoGlastra TimoGlastra enabled auto-merge (squash) October 7, 2021 13:26
@codecov-commenter
Copy link

codecov-commenter commented Oct 7, 2021

Codecov Report

Merging #479 (9332c4d) into main (cf236df) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #479      +/-   ##
==========================================
+ Coverage   85.75%   85.76%   +0.01%     
==========================================
  Files         254      254              
  Lines        5516     5522       +6     
  Branches      892      892              
==========================================
+ Hits         4730     4736       +6     
  Misses        785      785              
  Partials        1        1              
Impacted Files Coverage Δ
...ore/src/decorators/signature/SignatureDecorator.ts 100.00% <100.00%> (ø)
.../modules/credentials/messages/CredentialPreview.ts 86.66% <100.00%> (+0.95%) ⬆️
...src/modules/proofs/messages/PresentationPreview.ts 87.23% <100.00%> (+0.56%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cf236df...9332c4d. Read the comment docs.

Signed-off-by: Karim Stekelenburg <[email protected]>
@TimoGlastra TimoGlastra merged commit a2b655a into main Oct 7, 2021
@TimoGlastra TimoGlastra deleted the feat/inner-msg-legacy-type-support branch October 7, 2021 15:14
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.

3 participants