Skip to content

Move smartcard to devDependencies#33

Merged
tomkp merged 1 commit intomasterfrom
fix/move-smartcard-to-dev-deps
Dec 28, 2025
Merged

Move smartcard to devDependencies#33
tomkp merged 1 commit intomasterfrom
fix/move-smartcard-to-dev-deps

Conversation

@tomkp
Copy link
Copy Markdown
Owner

@tomkp tomkp commented Dec 28, 2025

Summary

The core library doesn't require smartcard - it works with any transport that can send/receive byte arrays. Move it to devDependencies since it's only used for the demo.

Changes

  • Move smartcard from dependencies to devDependencies
  • Update package description: "ISO 7816 APDU command and response handling library"
  • Rewrite README to clarify transport-agnostic design
  • Add "With custom transport" example
  • Add "Building APDUs directly" example
  • Remove hardware-specific sections (card reader photos)
  • Update Card interface JSDoc comment

Test plan

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

Fixes #32

- Move smartcard from dependencies to devDependencies (only used for demo)
- Update package description to reflect library is transport-agnostic
- Rewrite README to clarify library works with any transport
- Add examples for custom transport and direct APDU building
- Remove hardware-specific sections from README
- Update Card interface comment

Fixes #32
@tomkp tomkp merged commit 99078b1 into master Dec 28, 2025
3 checks passed
@tomkp tomkp deleted the fix/move-smartcard-to-dev-deps branch December 28, 2025 15:53
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.

Move smartcard to devDependencies

1 participant