TBD54566975 / dwn-sdk-js

Decentralized Web Node (DWN) Reference implementation
https://identity.foundation/decentralized-web-node/spec/
Apache License 2.0
324 stars 95 forks source link

Improved typing of PermissionGrant.parse() to avoid misuse #760

Closed thehenrytsai closed 2 months ago

thehenrytsai commented 2 months ago
  1. Improved typing of PermissionGrant.parse() to avoid misuse
  2. Detected and fixed a couple of unimportant misuses in the tests after the above change (case in point).
codecov-commenter commented 2 months ago

Codecov Report

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

Project coverage is 98.64%. Comparing base (158470f) to head (2d5cf5f).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #760 +/- ## ========================================== + Coverage 98.57% 98.64% +0.07% ========================================== Files 73 73 Lines 10986 10987 +1 Branches 1582 1585 +3 ========================================== + Hits 10829 10838 +9 + Misses 151 143 -8 Partials 6 6 ```

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