Skip to content

docs: fix getCards() return type in README to ReadonlyMap#103

Merged
tomkp merged 1 commit intomasterfrom
docs/fix-readme-getCards-signature
Dec 29, 2025
Merged

docs: fix getCards() return type in README to ReadonlyMap#103
tomkp merged 1 commit intomasterfrom
docs/fix-readme-getCards-signature

Conversation

@tomkp
Copy link
Owner

@tomkp tomkp commented Dec 29, 2025

Summary

Update the Devices API reference to reflect the correct return type after #101 changed it from Map to ReadonlyMap.

Test plan

  • README renders correctly

Fixes #102

Update the Devices API reference to reflect the correct return type
after #101 changed it from Map to ReadonlyMap.

Fixes #102
@tomkp tomkp merged commit 7b9a864 into master Dec 29, 2025
9 checks passed
@tomkp tomkp deleted the docs/fix-readme-getCards-signature branch December 29, 2025 16:53
tomkp added a commit that referenced this pull request Dec 29, 2025
Changes since 3.5.0:
- docs: Update README with getCards, getCard, transmitWithAutoResponse, control codes (#85)
- test: Add unit tests for parseFeatures() (#87)
- fix: Add explicit buffer bounds validation in parseFeatures() (#89)
- refactor: Extract isUnresponsiveCardError as pure function (#91)
- refactor: Consolidate addon type definitions (#93)
- test: Add createTestSetup helper to reduce boilerplate (#95)
- feat: Add typed addListener/removeListener methods (#97)
- refactor: Extract APDU building functions as pure utilities (#99)
- feat: Return ReadonlyMap from getCards() (#101)
- docs: Fix getCards() return type in README (#103)
@tomkp tomkp mentioned this pull request Dec 29, 2025
1 task
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.

Update README getCards() signature to ReadonlyMap

1 participant