v2.0.0
Changed
- Updated the
@zxing/librarydependency to0.20.0. - Renamed
onResultandonErrortoonDecodeResultandonDecodeErrorrespectively. - Switched the
onDecodeErrorerror type to use theExceptionclass from@zxing/library.
Added
- Introduced
onErrorto handle errors that occur during initialization.