Skip to content

0.7.0

Compare
Choose a tag to compare
@pokusew pokusew released this 28 Dec 04:29
· 52 commits to master since this release

A lot of improvements, many fixes and added support for Node.js 10.x and 11.x! 🎉

Many thanks to all of you who have posted an issue, opened a PR or contributed in any way! 🚀
Special thanks to @martijnthe for #55.

⚠️ Breaking Changes ⚠️

Bug Fixes 🐛

Improvements 📝

  • Improve parsing and usage of AID dfa2efe
    Dynamic AID based on detected card now possible
    See possible usages in basic example
  • Improve key parsing in reader.loadAuthenticationKey(keyNumber, key) dfa2efe
    Key can now be an instance of a Buffer, an array of bytes, or a HEX string.
  • Add readClass option to reader.read() method to allow specifying the class (instead of the hard-coded 0xFF class)
  • Change card event when autoProcessing is off (emit a copy of this.card instead of a reference to unify it with other card events) fb8c4e2
  • Add JSdoc comment to Reader.reverseBuffer() to clarify how it works 5a2109f
  • Fix deprecated usage of Buffer (replace new Buffer with Buffer.from) ba4348b
  • Remove invisible unicode characters from ACR122Reader.js PR #52

Docs 📝

Others

  • Improve code style (add trailing commas) ✨
  • Upgrade all dependencies 🔝