Skip to content
Open
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
8 changes: 0 additions & 8 deletions .changeset/crazy-peaches-give.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/good-starfishes-chew.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lemon-geckos-yell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/seven-pears-relate.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/violet-needles-own.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wise-dodos-warn.md

This file was deleted.

22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# @animo-id/mdoc

## 0.6.0

### Minor Changes

- 153111e: - Major rework of the library, primairly the underlying CBOR structures
- Includes an `Issuer`, `Holder` and `Verifier` class that should make it easier to issue, hold and verify mDocs
- More aligned with the specification, w.r.t. naming conventions
- Simplified additions/modifitcations, so adding newer features will be a lot simpler
- fd7cc00: feat: add new openid4vp session transcript calculation methods.

NOTE that this introduces breaking chnages since `calculateSessionTranscriptBytesForOid4VpDcApi` has been renamed to `calculateSessionTranscriptBytesForOid4VpDcApiDraft24`. The `calculateSessionTranscriptBytesForOid4VpDcApi` method is now used for the latest (draft29/1.0) session transcript structure.

In addtion, `calculateSessionTranscriptBytesForOid4Vp` has been renamed to `calculateSessionTranscriptBytesForOid4VpDraft18`. The `calculateSessionTranscriptBytesForOid4Vp` method is now used for the latest (draft29/1.0) session transcript structure.

- 0311619: fix: use variable map size for map encoding
- 15a8efa: Remove support for the CommonJS/CJS syntax. Since React Native bundles your code, the update to ESM should not cause issues. In addition all latest minor releases of Node 20+ support requiring ESM modules. This means that even if you project is still a CommonJS project, it can now depend on ESM modules. For this reason mDOC is now fully an ESM module.

### Patch Changes

- 2963990: feat: native JS implementation of byte encoding and decoding
- 3f19ace: fix: always true statement throws error. In the DeviceResponse model there was an always true if statement that throws an error before allowing the creation of the response.

## 0.5.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"packageManager": "[email protected]+sha512.cf9998222162dd85864d0a8102e7892e7ba4ceadebbf5a31f9c2fce48dfce317a9c53b9f6464d1ef9042cba2e02ae02a9f7c143a2b438cd93c91840f0192b9dd",
"author": "Animo Solutions",
"exports": "./src/index.ts",
"version": "0.5.2",
"version": "0.6.0",
"files": [
"dist"
],
Expand Down