Skip to content

0.9.0

Compare
Choose a tag to compare
@rfreitas rfreitas released this 28 Nov 18:52
· 11247 commits to master since this release

Changed

  • Public: document and face callback are now passed only their respective capture, instead of both their captures.
  • Public: document and face callback are now only called after the user has confirmed the capture
  • Public: document, face and complete callback can be called multiple times, if the condition that triggers them is met more than once (eg. if the user goes back to redo the capture steps)
  • Internal: callbacks' returned value now have no impact on the event dispatcher.

Fixed

  • Some callbacks were not being called. This happened when only some and not all of the callbacks were defined in the init(options). All callbacks now have a default no op function. This fixes the exception raise which caused the bug.