Skip to content

3.1.1

Compare
Choose a tag to compare
@willmorgan willmorgan released this 24 Dec 18:24
· 95 commits to master since this release

Available at: https://www.npmjs.com/package/@iproov/web/v/3.1.1

24.12.2020 3.1.1

Fixed

  • Assets which contained // caused 403 issues when hosting assets on Amazon S3. The paths have now been fixed.
  • When starting iProov on a bezel-free phone, the layout appeared misaligned. This has now been fixed.
  • Disabled underlying TensorflowJS WASM threads due to instability. SIMD remains available.

23.12.2020 3.1.0

Added

  • Desktop device support for Liveness. We no longer require a mobile device for Liveness transactions.
  • The SDK can now optionally return a selfie frame from the scanning process for both GPA and Liveness transactions.
    • If this is enabled for your service provider, this will be present in the passed and failed callback payloads.
  • iProovSupport is a separate export to facilitate a smaller critical bundle size for integrators.
    • Using a module bundler you can run import { iProovSupport } from "@iproov/web/iProovSupport"
    • Script tag integrations can still access window.IProov.IProovSupport for the time being.
  • version property on the iProovMe component.
    • This is also accessible on window.IProov.version.
  • Multiple camera device support on desktop, including ability to customise.
  • Added the csp_nonce option. See Content Security Policy.
  • External dependencies are now loaded with <link rel=preload> for non-blocking parallel loading.
  • Our feature detector now runs the latest Tensorflow release which includes support for WebAssembly threads and SIMD.
  • New streamed event to accommodate the original documented functionality.
  • Support added from iOS 14.3 for WKWebView based browsers on iOS such as Chrome, Firefox, MS Edge, etc.

Fixed

  • Various CSP warnings have been resolved. See Content Security Policy.
  • Firefox and Safari no longer display the grant button unless required.
  • Further performance improvements targeted at lower end machines which have a net-positive effect across the board.
  • UX improvements for Liveness on mobile devices
  • Kiosk mode performance issues on Safari
  • Progress bar animation

Changed

  • Bundling and modularisation upgrades.
    • Dependencies are once again modular, and will be loaded as needed.
    • This reduces the bundle size from 4MB (plus dependencies) to around 1.3MB gzipped (including dependencies).
    • With the iProovSupport change, the pre-gzip impact to an integration's critical bundle is 16KB raw (was 4MB).
    • With that, assets_url's meaning is changing again, we're afraid...
    • Customers now have a choice to either serve Web SDK assets "on premises", use our CDN, or reverse proxy.
    • This affects CDN and reverse proxy configurations; we do hope this is the last change to asset loading for a long time.
    • Please see the upgrade guide for steps needed.
  • The main entry file for the npm package is now iProovMe.js.
  • Language files have been updated to be brought into line with native SDKs.
  • Minor tweaks to UI to bring the UI experience inline with native SDKs.
  • Improved resolution management for less capable or hardware constrained devices.
  • Improved our encoder for better speed and the latest bugfixes.
  • Bandwidth usage reduced
  • The streamed event now emits at the correct time, which may break integrations that rely upon it.
    • To upgrade, replace streamed with streaming which takes its place.

Removed

  • Bundled Web Component support. Polyfills are now loaded on an as-needed basis.
  • Automatic transpilation for the following outdated browsers:
    • Blackberry < 10
    • Edge < 85
    • Firefox < 82
    • IE < 11
    • IE Mobile (all)
    • iOS Safari < 13.4
    • Opera < 70
    • Safari < 13.1
    • Please see .browserslistrc for the current targeted browsers.
    • If your app must support older browsers, simply transpile the standalone iProovSupport.js checker as needed.