TBD54566975 / dwn-sdk-js

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

Added `prune` feature #732

Closed thehenrytsai closed 4 months ago

thehenrytsai commented 4 months ago

1st of a few PRs for the prune feature. This one lights up the capability for anyone who is able to perform RecordsDelete, which should be immediately useful to unblock app development.

There will need to be 2 more follow up PRs:

  1. Its own distinct action support in protocol rules.
  2. Ephemeral state keeping to handle unexpected termination and resumption.
codecov-commenter commented 4 months ago

Codecov Report

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

Project coverage is 98.52%. Comparing base (a23bbb3) to head (32db04f).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #732 +/- ## ========================================== - Coverage 98.58% 98.52% -0.07% ========================================== Files 71 71 Lines 10462 10563 +101 Branches 1527 1539 +12 ========================================== + Hits 10314 10407 +93 - Misses 142 150 +8 Partials 6 6 ```

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