Skip to content

v6.0.0

Compare
Choose a tag to compare
@camerona93 camerona93 released this 14 Dec 00:23
· 3 commits to master since this release
  • Added APIs for fetching card reader battery levels
  • Implemented card reader mocking for use during development and testing
  • Added integration and unit tests
  • Separated card reader lifecycle from restarting transactions:
    • Added WPConfig.stopCardReaderAfterTransaction to control if the card reader stops or stays on after a transaction
    • Replaced WPConfig.restartCardReaderAfterSuccess with restartTransactionAfterSuccess
    • Replaced WPConfig.restartCardReaderAfterGeneralError with restartTransactionAfterGeneralError
    • Replaced WPConfig.restartCardReaderAfterOtherErrors with restartTransactionAfterOtherErrors
    • Renamed WePay.startCardReaderForReading to startTransactionForReading
    • Renamed WePay.startCardReaderForTokenizing to startTransactionForTokenizing