TBD54566975 / web5-js

Monorepo for the Web5 JS TypeScript implementation
https://tbd54566975.github.io/web5-js/
Apache License 2.0
118 stars 44 forks source link

Use empty filters for sync `EventsQuery` #695

Closed LiranCohen closed 6 days ago

LiranCohen commented 1 week ago

Hope you don't mind I included the ResumableTaskStore in the DWN scaffolding to get the tests to pass, not sure if there is any agent-specific paths to test with it.

The fix you needed was to pass an empty filters array (to get all events) for sync. In future enhancements it will pass filters depending on what it's syncing and the permissions it has.

This is reliant on: https://github.com/TBD54566975/dwn-server/pull/137

Testing against that server version goes all green, so just need to merge that + bump the dwn-server dependency on this repo.

changeset-bot[bot] commented 1 week ago

⚠️ No Changeset found

Latest commit: 828912477b570b778a8cdd5934a91d1a2e885404

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR