- Encode
Map
objects in CBOR using the Map tag, not the object tag.
- Support proof encodings that use CBOR tag 64 for Uint8Array instead of simpler major type 2 byte string.
- Ensure promise is awaited when finding matching proof for disclosure.
- Fix typo in
mandatoryIndexes
validation error message.
- Update dependencies:
- Use
cborg@4
.
- Use
- Fix bug where a single matching proof would be rejected during disclosure if non-matching proofs were also present.
- BREAKING: Use
data-integrity
v2 context. - Use
@digitalbazaar/data-integrity@2.0
and@digitalbazaar/data-integrity-context@2.0
in test.
- Fix key encoding bug.
- BREAKING: Require node 18+.
- Use
@digitalbazaar/di-sd-primitives@3
. Existing use cases that worked before should continue to work, but the new primitives support more use cases, such as better selection of items within arrays. - Removed now unnecessary special treatment of VCs with
credentialSubject
that is not an object.
- Ensure label map is properly compressed.
- Ensure non-mandatory indexes are shifted by mandatory ones.
- Use
@digitalbazaar/di-sd-primitives@2.0.1
.
- Initial version.