feat: Implement Type Metadata utility functions#33
Conversation
Matthew-Meeco
left a comment
There was a problem hiding this comment.
Seems fine, just a few comments to review please.
…h errors - Remove algorithmPrefixes from fetchTypeMetadataFromUrl options - Throw SDJWTVCError instead of console.warn for better error handling - Add validation for algorithm prefix in vct#integrity claims - Update tests to reflect new error-throwing behavior - Remove related algorithmPrefixes tests
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
=== |
PR Code Suggestions ✨Latest suggestions up to 0197b6f
Previous suggestionsSuggestions up to commit 0197b6f
Suggestions up to commit 0197b6f
Suggestions up to commit 0197b6f
|
extractEmbeddedTypeMetadata()utility function to extract and decode Type Metadata documents embedded in thevctmunprotected header of SD-JWT VCsfetchTypeMetadataFromUrl()utility function to fetch and optionally verify Type Metadata from URLs specified in thevctclaim, with integrity validation support