Release Notes

Have a feature request? Contact us

1.2.1 - 2021/09/14

Bug fixes

  • Fixed Correlation ID not being passed down correctly

1.2.0 - 2021/09/10

Breaking changes

  • Changed all onBeforeWebcam events to onBeforeScan.

Changes & additions

  • Inverted the video feed when a frontal camera is being used in order to improve the alignment process.

  • Added typings for Typescript. These can be found under the src folder.

  • The library no longer requires sybrin.identity.css to be included and referenced separately for default component styling to take effect. You may still apply overrides using your own stylesheet by referencing a custom .css file after the library.

  • Added a read-only mode to the wizard component which disables all events.

  • Added an option to set request headers for asset retrieval requests.

  • Added a flattenAssets option which results in the library looking for samples in a flat structure instead of nested within folders for each country. To use this, asset file names must manually be moved one level up and prefixed with the country code and a dash. For instance: gha/passport.png changes to gha-passport.png.

Bug fixes

  • Fixed a bug where the wizard fired the onBeforeStepChanged and onAfterStepChanged events on initialization.

  • Fixed a bug where an error occurred if the SDK was included multiple times.

  • Fixed issue where DocumentScanResult was not being exported from the library.

1.1.0 - 2021/08/19

Changes & additions

  • Added blur detection as well as a configuration option to set the blur threshold.

  • Added lighting detection as well as configuration options to set values and thresholds to use when checking for image overexposure or underexposure.

  • Added version info retrieval functionality.

  • Added client info retrieval functionality.

  • Added instructions page to the document scan component in order to pre-emptively give the user some guidelines on how to ensure a viable document image.

  • Added localization options to document scan component initialization for changing guideline instruction texts.

  • Added useModal configuration option to the document scan component which enables launching the video feed in a modal.

  • Updated wizard component with matching properties for instruction localization and modal usage to pass down to the document scan component upon initialization.

  • Updated the demo application to make use of the newly added client info retrieval functionality and initialize the wizard component to use the newly added modal functionality only when the client environment is not mobile.

Bug fixes

  • Fixed issue with video stream remaining open when using the wizard's back button after the feed had started.

  • Ensured that the video stream always closes when the document scan component is destroyed.

Last updated