github BlinkID/capture-browser @microblink/capture@1.0.7
v1.0.7

latest releases: v1.2.3, v1.2.2, v1.2.1...
15 months ago
  • Implemented an approach from https://github.com/CezaryDanielNowak/CrossOriginWorker to load workers cross-domain.

    According to spec, new Worker should honor the response's CORS headers
    but this doesn't work in any of the browsers, so an approach was used
    that inlines the fetched resources inside a Blob and a ObjectURL so
    that they execute from the same domain.

    Note, that this approach won't work with certain CSPs and is not
    recommended. It also may break at any point as it's skirting around some
    pretty undefined browser behaviours.

    The recommended way is still to host the resources and the SDK on the
    same domain.

  • Fixed an issue where React refs weren't a valid target for UiSettings.target.

    • Updated JSdoc for createCaptureUI
    • Updated React example to use UiSettings.target

Don't miss a new capture-browser release

NewReleases is sending notifications on new releases.