github microblink/web-sdks @microblink/blinkcard@3001.0.0

5 hours ago

v3001.0.0

What's new

Improved card extraction

  • Upgraded the card OCR model for more reliable character recognition, including better handling of spaces when card-number segments are merged.
  • Expiry dates are recognized in additional layouts, including:
    • day-first dates (15/06/2021)
    • year-first dates (2021/06)
    • formats that use an apostrophe (06/'21) or a backslash (06\21)
  • Fixed CVV validation for American Express. Valid 4-digit Amex security codes are no longer discarded.

BIN intelligence

  • We now list an explicit binCheckResult on the card account:
    • Pass: BIN was found
    • Fail: PAN was read, but BIN was not found
    • Not available: BIN check was not run (including when the license does not allow it)

Privacy: redaction defaults

  • Scanning now redacts sensitive card data by default:
    • Card number: Redacted in both the image and the result; first 4 and last 4 digits remain visible
    • CVV: Fully redacted in both the image and the result
    • IBAN: Not redacted
    • Cardholder name: Not redacted

General Improvements

  • Faster startup on supported browsers: BlinkCard can compile WebAssembly while it downloads and automatically selects new relaxed-SIMD builds where available.
  • Updated English scanning guidance and timeout messages. Partial localization overrides now retain unspecified default strings.
  • Fixed frame processing continuing after a timeout when showTimeoutModal is false.
  • Improved keyboard focus visibility. Cross-origin worker resources now require HTTPS.

Migration notes

  • The UX manager now has separate inactivity and scan-step timeouts. Replace getTimeoutDuration() and setTimeoutDuration() with getTimeoutConfiguration() and setTimeoutConfiguration(), and handle inactivity_timeout and scan_step_timeout
    instead of timeout.
  • If you use the UX manager’s root or /ui entrypoint, install its UI peer dependencies explicitly. Use /core if you do not use the provided UI.
  • The basic WebAssembly build is removed. BlinkCard now requires WebAssembly SIMD: Chrome/Edge 91+, Firefox 89+, Safari/iOS Safari 16.4+, or Samsung Internet 16+. Custom resource hosting should use simd and simd-threads in place of the former
    advanced and advanced-threads directories.

Don't miss a new web-sdks release

NewReleases is sending notifications on new releases.