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

Add VCDM v2 context value. #85

Merged
merged 1 commit into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Added
- **BREAKING**: Add support for compressing RFC 2397 data URLs. Base64 encoded
data is compressed as binary.
- Add VCDM v2 context value.

### Changed
- **BREAKING**: Encode cryptosuite strings using a separate registry (specific
Expand Down
3 changes: 2 additions & 1 deletion lib/codecs/registeredTermCodecs.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ _addRegistration(0x1D, 'https://w3id.org/vaccination/v1');
_addRegistration(0x1E, 'https://w3id.org/vc-revocation-list-2020/v1');
_addRegistration(0x1F, 'https://w3id.org/dcc/v1');
_addRegistration(0x20, 'https://w3id.org/vc/status-list/v1');
// 0x21 - 0x2F: available
_addRegistration(0x21, 'https://www.w3.org/ns/credentials/v2');
// 0x22 - 0x2F: available
_addRegistration(0x30, 'https://w3id.org/security/data-integrity/v1');
_addRegistration(0x31, 'https://w3id.org/security/multikey/v1');
// 0x32: reserved (in spec)
Expand Down
Loading