Releases: cryptographix/pcsc-deno
Releases · cryptographix/pcsc-deno
Improved compatibility with windows and linux
Incorporates a number of fixes:
- Improve compatibility with Windows and Linux (endianness, padding, libso name)
- Fix cases of communication with T=0/1 cards
Improved documentation.
Requires Deno 1.25 or greater.
Improve docs, add example and licence
v0.3.2 docs
Bump release to trigger update at `deno.land/x/pcsc`
v0.3.1 cleanup for V0.3.0
ContextProvider and registry, reorg exports
Changes:
- Adds
ContextProvider
, a static registry that
- Is a central point for obtaining
Context
implementations. - Auto-registers the FFI implementation if required, when running under Deno.
- Allows additional implementations of
Context
to be registered, ready for card-emulator, node-compat, etc
- Reorganized exports to facilitate tree-shaking,
mod.ts
- exports complete functionalityiso7816/iso7816.ts
exports ISO7816 types, enums and classes, non-Deno specificpcsc/pcsc.ts
exports PC/SC types and enums, non-Deno specificdeno-pcsc-ffi/deno-pcsc-ffi.ts
exports Deno specific 'ffi' functionality
Basic functionality for HL and LL APIs.
This release includes the basic functionality for using Smartcards with Deno.
-
Working low-level API - equivalent to PC/SC (winscard/pcsclite) API, useful for porting legacy applications.
-
High Level abstraction for new applications, based on the following objects:
FFIContext
- connection to PC/SC, list readers, listen for reader/card eventsReader
- check status (PRESENT/MUTE/CONNECTED), connect to cards, listen for card eventsCard
- a connection to a powered-up smart-card, transmit APDU commands, status
Needs Deno 1.23.2 or greater for FFI functionality, along with --allow-ffi
and --unstable
flags.
Tests in ./tests
.