You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Public: Captures are now returned as png instead of webp, although webp is still used internally for streaming to the server.
Public: the captures returned by Onfido.getCaptures() have a simplified signature of just {id,image,documentType}.
Public: It's now possible to open and close the modal by calling .setOptions({isModalOpen:boolean})
Internal: The modal has been refactored to be fully reactive, vanilla-modal has been replaced with a fork of react-modal.
Internal: Updated to [email protected], selectors are now more general as in they are no longer specific to each capture type, some new selectors are also being used.
Internal: Camera, Capture and Uploader have been refactored, the pure part of the components have been separated from the state logic part. This adds flexibility and encapsulation.
Internal: The Capture component now orchestrates all the state logic of the Uploader component, this allows to join the camera and uploader state logic together.
Added
Public: The capture screen UI now includes an upload button fallback, for whenever the user experiences problems with the webcam.
Internal: When requesting to validate documents there is now a strategy to cope with slow responses from the server. If the number of unprocessed documents is 3+, the client stops sending more requests until a response is given.
Internal: webp falls back to jpeg in case the browser does not support it.