TBD54566975 / dwn-sdk-js

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

Added support for owner-delegated grant #707

Closed thehenrytsai closed 7 months ago

thehenrytsai commented 7 months ago
  1. Added support for owner-delegated grant
  2. Added missing checks for author-deleted grant:
    1. Disallowed invocation of non-delegated grant as delegated grant
    2. Disallowed mismatching of grant ID referenced and CID of actual given grant
  3. Added numerous tests to catch up on missing scenario tests for delegated grants in general
codecov-commenter commented 7 months ago

Codecov Report

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

Project coverage is 98.46%. Comparing base (8134078) to head (8cd0fb3).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #707 +/- ## ========================================== + Coverage 98.44% 98.46% +0.02% ========================================== Files 74 74 Lines 10025 10193 +168 Branches 1470 1511 +41 ========================================== + Hits 9869 10037 +168 Misses 150 150 Partials 6 6 ```

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