openwallet-foundation-labs / sd-jwt-js

A JavaScript implementation of the Selective Disclosure JWT (SD-JWT) spec.
https://sdjwt.js.org/
Apache License 2.0
36 stars 12 forks source link

feat: add clone ojbect logic in unpackObj #181

Closed lukasjhan closed 5 months ago

lukasjhan commented 6 months ago

the old UnpackObj function changes the input object. So I changed with clone logic and make old unpackObj rename to unpackObjInternal.

NOTE

It closes #163

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.01%. Comparing base (b0f6a1b) to head (4647a56).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #181 +/- ## ========================================== - Coverage 98.02% 98.01% -0.01% ========================================== Files 23 23 Lines 2074 2068 -6 Branches 307 309 +2 ========================================== - Hits 2033 2027 -6 Misses 41 41 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.