Skip to content

Remove unused size parameter from CommandApdu#25

Merged
tomkp merged 1 commit intomasterfrom
fix/remove-unused-size-parameter
Dec 28, 2025
Merged

Remove unused size parameter from CommandApdu#25
tomkp merged 1 commit intomasterfrom
fix/remove-unused-size-parameter

Conversation

@tomkp
Copy link
Copy Markdown
Owner

@tomkp tomkp commented Dec 28, 2025

Summary

Remove the unused size parameter from CommandApduOptions interface and simplify the constructor.

Changes

  • Remove size from CommandApduOptions interface
  • Remove unused size calculation logic from constructor
  • Simplify byte array initialization

Test plan

  • All 30 tests pass
  • ESLint passes
  • Prettier formatting applied

Fixes #24

- Remove size from CommandApduOptions interface
- Simplify constructor by removing unused size calculation logic
- Initialize _bytes array inline with header bytes

Fixes #24
@tomkp tomkp merged commit bd03f8f into master Dec 28, 2025
3 checks passed
@tomkp tomkp deleted the fix/remove-unused-size-parameter branch December 28, 2025 14:42
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.

Remove unused size parameter from CommandApdu

1 participant