Skip to content

Add filter support to values() method#4

Merged
zourzouvillys merged 1 commit into
mainfrom
theo/values-filter
Mar 4, 2026
Merged

Add filter support to values() method#4
zourzouvillys merged 1 commit into
mainfrom
theo/values-filter

Conversation

@zourzouvillys
Copy link
Copy Markdown
Contributor

Summary

  • client.values() now accepts an optional Filter parameter (same type as subscribe())
  • Filter is encoded as query params on the /values request
  • Updated package README and CLAUDE.md to document the new API
  • 3 new tests: filter encoding, empty filter omission, no-filter omission

Test plan

  • All 33 vitest tests pass
  • npm run lint passes
  • npm run typecheck passes
  • npm run build passes

The values() method now accepts an optional Filter parameter, matching
the subscribe() API. Filter is encoded as query params (pgn,
manufacturer, instance, name) on the /values request.
@zourzouvillys zourzouvillys merged commit 94e98e3 into main Mar 4, 2026
1 check passed
@zourzouvillys zourzouvillys deleted the theo/values-filter branch March 4, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant