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

RecordsQuery & RecordsSubscribe supports an array for `author` and `recipient` #777

Closed LiranCohen closed 2 weeks ago

LiranCohen commented 2 months ago

Introduce filtering by multiple authors or recipients. The filters are backward compatible, so that author and recipient filters now accept a string or Array<string>.

NOTE: If an empty array is passed into the filter, it is treated as an undefined filter.

codecov-commenter commented 2 months ago

Codecov Report

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

Project coverage is 98.63%. Comparing base (8d574ed) to head (c06f76a).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #777 +/- ## ======================================= Coverage 98.62% 98.63% ======================================= Files 73 73 Lines 11293 11335 +42 Branches 1616 1628 +12 ======================================= + Hits 11138 11180 +42 Misses 149 149 Partials 6 6 ```

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