Skip to content

0.6.0

Compare
Choose a tag to compare
@pokusew pokusew released this 31 Jul 12:17
· 72 commits to master since this release

⚠️ Breaking Change ⚠️

Default export was removed to standardise require/import behaviour in ES5 and ES6 envs #12
You have to update all requires or imports of this library to the following (note the brackets around NFC):

// in ES6 environment
import { NFC } from 'nfc-pcsc';

// in ES2015 environment
const { NFC } = require('nfc-pcsc');

New features 🎉

  • Add card.off event (emitted when card is removed from the reader) (see in example in README) #15

Docs

  • Improve documentation for Mifare Classic cards #8 #7 #16
  • 📦 Add more examples, FAQs, and solutions of frequent errors

Others

  • Standardise card data in events