Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@microblink/blinkid-in-browser-sdk

Package Overview
Dependencies
Maintainers
0
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microblink/blinkid-in-browser-sdk - npm Package Versions

1
7

6.3.1

Diff

Changelog

Source

6.3.1

  • Reintroduce missing lightweight build
ivancuric
published 6.3.0 •

Changelog

Source

6.3.0

New features

  • Changes to the BlinkIdSingleSideRecognizer and BlinkIdMultiSideRecognizer:
    • add new fields inside StringResult:
      • arabicLocation - location coordinates of the arabic text or undefined if arabic text is empty
      • cyrillicLocation - location coordinates of the cyrillic text or undefined if cyrillic text is empty
      • latinLocation - location coordinates of the latin text or undefined if latin text is empty
      • arabicSide - document side of the arabic text or undefined if arabic text is empty
      • cyrillicSide - document side of the cyrillic text or undefined if cyrillic text is empty
      • latinSide - document side of the latin text or undefined if latin text is empty
    • new results in Recognizer.Result:
      • faceImageLocation
      • faceImageSide
  • Add new Country enum value - SCHENGEN_AREA
  • And new Type enum value - IMMIGRANT_VISA

Bugfixes

  • Improved scanning success rate and stability when using BlinkIdMultiSideRecognizer

Minor breaking changes

  • renamed and reordeded elements in the DetectionStatus enum
ivancuric
published 6.2.1 •

Changelog

Source

6.2.1

  • fixed "payload corrupted" error when using online license key
  • fixed integer overflow in BlinkID class filter implementation
mirzamesic
published 6.2.0 •

Changelog

Source

6.2.0

New features

  • new and improved machine learning models for data extraction
  • expanded support for arabic documents
  • added isFilledByDomainKnowledge flag to Date and DateResult
    • indicates that date is not extracted from image but filled based on our internal document knowledge
  • added new setting additionalAnonymization
    • enables custom anonymization for any field per country, region and type of document
  • added new items to enums:
    • Region:
      • NORTHWEST_TERRITORIES (added item to enum, no document support for NORTHWEST_TERRITORIES yet)
      • NUNAVUT (added item to enum, no document support for NUNAVUT yet)
      • PRINCE_EDWARD_ISLAND
    • Type:
      • ASYLUM_REQUEST
      • DRIVER_QUALIFICATION_CARD
      • PROVISIONAL_DL
      • REFUGEE_PASSPORT
      • SPECIAL_ID
      • UNIFORMED_SERVICES_ID
    • FieldType:
      • BloodType
      • Sponsor

Added support for 9 new documents

  • Belarus - ID Card
  • Guyana - ID Card
  • Jamaica - Paper Passport
  • Myanmar - Paper Passport
  • Palestine - Paper Passport
  • Saint Kitts and Nevis - Driving License
  • Syria - ID Card
  • Trinidad and Tobago - Paper Passport
  • USA - Uniformed Services ID Card

Added support for 23 new documents in BETA

  • Barbados - Driving License
  • Belarus - Polycarbonate Passport
  • Belarus - Residence Permit
  • Belgium - Provisional Driving License
  • Belgium - Special ID Card
  • Bulgaria - Alien ID Card
  • Bulgaria - Residence Permit
  • Canada - New Brunswick - ID Card
  • Canada - Prince Edward Island - Driving License
  • Estonia - Polycarbonate Passport
  • Germany - Driver Qualification Card
  • Guyana - Driving License
  • Kuwait - Paper Passport
  • Lebanon - Paper Passport
  • Liechtenstein - Driving License
  • Malta - Paper Passport
  • Malta - Polycarbonate Passport
  • Moldova - Driving License
  • Netherlands - Alien ID Card
  • Oman - Paper Passport
  • Peru - Alien ID Card
  • Romania - Residence Permit
  • UK - Asylum Request

Added support for 28 new versions of already supported documents

  • Canada - British Columbia - Public Services Card
  • Canada - British Columbia - Driving License
  • Cyprus - Residence Permit
  • Denmark - Polycarbonate Passport
  • Germany - ID Card
  • Italy - ID Card
  • Ireland - Passport Card
  • Malta - ID Card
  • Montenegro - ID Card
  • Montenegro - Polycarbonate Passport
  • North Macedonia - ID Card
  • North Macedonia - Polycarbonate Passport
  • Norway - Driving License
  • Norway - Residence Permit
  • Norway - Polycarbonate Passport
  • Philippines - Driving License
  • Sweden - Polycarbonate Refugee Passport
  • Sweden - Social Security Card
  • UAE - Resident ID Card
  • UK - Proof of Age Card
  • USA - Arkansas - ID Card
  • USA - Colorado - ID Card
  • USA - Idaho - ID Card
  • USA - Illinois - ID Card
  • USA - New York - Driving License
  • USA - New York - ID card
  • USA - Pennsylvania - Driving License
  • USA - Washington - Driving License

Added support for 3 new versions of already supported documents in BETA

  • Denmark - Residence Permit
  • Estonia - Residence Permit
  • Latvia - Residence Permit

Bugfixes

  • We've fixed the issue with reading the information on the back side of USA/Washington and USA/Vermont driver's license documents.

Platform-related SDK changes

  • We've fixed a bug within our UI component when using RTL direction on Safari and Firefox browsers.
mirzamesic
published 6.1.0 •

Changelog

Source

6.1.0

New features

  • New and improved machine learning models for data extraction
  • Further improved barcode scanning (parsing for non-standard US DLs)
  • Added anonymization for QR code on Dutch ID card
  • Anonymization of religion field on Malaysian documents
  • Device-to-device (D2D) feature - BETA (see more in UI improvements section below)

Added support for 9 new documents:

  • Australia - Victoria - Proof of Age Card
  • Brazil - Rio de Janeiro - ID Card
  • Liechtenstein - ID Card
  • Luxembourg - Passport
  • Mozambique - ID Card
  • Norway - ID Card
  • Togo - ID Card
  • USA - Wyoming - ID Card
  • Zimbabwe - ID Card

Added support for 9 new documents in BETA:

  • Barbados - ID Card
  • Belgium - Passport
  • Brazil - Rio Grande do Sul - ID Card
  • Ireland - Residence Permit
  • Japan - Residence Permit
  • Lithuania - Residence Permit
  • Saint Lucia - ID Card
  • USA - New Hampshire - ID Card
  • USA - South Dakota - ID Card

Added support for 34 new versions of already supported documents:

  • Belgium - Resident ID Card
  • Canada - Residence Permit
  • Estonia - ID Card
  • Finland - Alien ID Card
  • Finland - ID Card
  • Latvia - Alien ID Card
  • Lithuania - ID Card
  • Luxembourg - ID Card
  • Malta - Residence Permit
  • Netherlands - ID Card
  • Netherlands - Residence Permit
  • Poland - ID Card
  • Sweden Residence Permit
  • USA - Alabama - ID Card
  • USA - Alaska - ID Card
  • USA - Colorado - Driving License
  • USA - Connecticut - ID Card
  • USA - District of Colombia - Driving License
  • USA - District of Colombia - ID Card
  • USA - Iowa - ID Card
  • USA - Kansas - ID Card
  • USA - Louisiana - Driving License
  • USA - Maine - Driving License
  • USA - Maine - ID Card
  • USA - Minnesota - ID Card
  • USA - Mississippi - ID Card
  • USA - Nevada - Driving License
  • USA - New York - Driving License
  • USA - South Carolina - ID Card
  • USA - South Dakota - Driving License
  • USA - Texas - ID Card
  • USA - Vermont - Driving License
  • USA - Washington - ID Card
  • USA - Wisconsin - Driving License

Added support for 2 new versions of already supported documents in BETA:

  • Poland - Residence Permit
  • Portugal - Residence Permit

Changes to BlinkID VideoRecognizer

VideoRecognizer has been refactored.

  • This refactor has fixed some memory leak issues present in the previous implementation.
  • Now uses requestVideoFrameCallback for queuing video frames in browsers which support it.
  • Errors are no longer treated as rejected promises, but are instead thrown.
  • this.videoElement can no longer be changed or removed on the instance.
  • Implemented iOS browser security rules for video playback.
  • Added a helper this.getVideoElement method for getting the reference to the video.

Breaking changes:

  • NotSupportedReason has been removed and videoRecognizerErrors are used directly instead.
  • onScanningDone will no longer trigger on user cancellation.
  • setClearTimeoutCallback has been removed from the RecognizerRunner as it's effectively the same thing as onFirstSideDone — it triggers once any recognizer has anything recognized for multi-side recognizers, which is the same as RecognizerResultState.StageValid.

Environmental changes

  • TypeScript has been upgraded to 5.x .
  • Packages are now built without regenerator runtime. TSconfig compile target is now ES2020.

UI improvements

Device-to-device (D2D) feature - BETA
  • The idea behind the device-to-device (D2D) feature is to provide extraction functionality when the initial device has technical limitations like no camera or no support for WebAssembly. Also, it can be used to direct users to use mobile instead of web cameras for a better scanning experience. Being optimized for conference calls, web cameras often struggle with a focus which causes the image of a document to have a high level of blur thus making it hard to read.

  • D2D can achieve these goals without the need to restart the existing process, such as form filling. When D2D is used, the scanning process is moved from a problematic device to another auxiliary device that has the necessary requirements or better camera quality. There, the scanning will take place, and the extracted results will be sent directly between the initial and auxiliary device browsers without sending images or result data to a Microblink server.

  • Please check out our D2D documentation to learn more about this fantastic feature.

BlinkID MultiSide image upload
  • The UI component now supports image upload on both front and back sides, meaning that through our UI component, it is now possible to use the MultiSide recognizer as well.
New user instructions, help screens, that lead to successful scans
  • Detailed instructions on how to scan identity documents, via an intro tutorial (onboarding) or floating-action-button (FAB) during scanning, leading to improved success rates in ID scanning and data extraction.
    • New properties introduced: allowHelpScreensFab, allowHelpScreensOnboarding, allowHelpScreensOnboardingPerpetuity and helpScreensTooltipPauseTimeout.
Camera selection toolbar
  • We've introduced the default option of camera selection through a dropdown menu of all available device cameras.
    • If only one camera is available, the camera selection dropdown will not be displayed.
  • We've introduced icon/button for the option of mirroring the camera video feed.
  • Camera device names are now reported as "[Front/Back] facing camera [n]" on Android devices.
General
  • We've improved the responsiveness of our user interface accross different browsers for users on mobile devices.

Other platform-related SDK changes

  • We've improved error exposure to console.
  • We've fixed minor internal reporting logic issue.
mirzamesic
published 6.0.1 •

Changelog

Source

6.0.1

Platform-related SDK changes

  • The SDK can now be used with the wasm-unsafe-eval content security policy.

Bugfixes

  • We've fixed a regression in the recognizer runner that could cause subsequent scans to fail.
mirzamesic
published 6.0.0 •

Changelog

Source

6.0.0

New features:

Extracting ID data from Arabic and Cyrillic IDs
  • When we say you can scan IDs across the globe, we really mean it. Our list of supported documents got richer now that we can scan IDs including Arabic and Cyrillic scripts. This fantastic new feature also covers multiscript IDs meaning that we extract data written in both Latin and Arabic data fields.
Better barcode scanning and data extraction
  • We’ve improved scanning accuracy for all IDs that hold a PDF417 or other barcode types. This means that the error rate is now 20% lower, which brings even cleaner and more reliable data with every scan of an identity document.

What's new in the BlinkId(Combined) Recognizer?

  • Renamed BlinkIdRecognizer to BlinkIdSingleSideRecognizer
  • Renamed BlinkIdCombinedRecognizer to BlinkIdMultiSideRecognizer
  • We introduced new classes: StringResult, DateResult, and Date in order to support multiple alphabets. If a recognizer supports multiple alphabets, its result class (e.g., BlinkIdMultiSideRecognizer.Result) will return StringResult for results that previously returned String.
  • Added new result property of an AdditionalProcessingInfo type that provides information about missingMandatoryFields, invalidCharacterFields, and extraPresentFields
  • Unified DataMatchResult and DataMatchDetailedInfo into a single structure DataMatchResult (removed dataMatchDetailedInfo result member)
  • Added new result member cardOrientation to ImageAnalysisResult structure
  • More info about transitioning to BlinkID v6.0.0 can be found in Transition Guide

Added support for 50 new versions of already supported documents:

  • Mexico - Aguascalientes - Driving license
  • Mexico - Baja California - Driving license
  • Mexico - Hidalgo - Driving license
  • USA - Delaware - Driving license
  • USA - Florida - ID card
  • USA - Hawaii - Driving license
  • USA - Kentucky - ID card
  • USA - Maryland - ID card
  • USA - Michigan - ID card
  • USA - Mississippi - Driving license
  • USA - Mississippi - ID card
  • USA - Missouri - ID card
  • USA - Ohio - ID card
  • USA - Oklahoma - ID card
  • USA - Rhode Island - Driving license

These documents are no longer BETA:

  • Australia - New South Wales - ID card
  • Australia - South Australia - Proof of Age Card
  • Belgium - Minors ID card
  • Belgium - Passport
  • Canada - Tribal ID card
  • Canada - Weapon Permit
  • Canada - British Columbia - Minors Public Services Card
  • Ireland - Public Services Card
  • Israel - ID card
  • Ivory Coast - Driving License
  • Lebanon - ID card
  • Libya - Polycarbonate Passport
  • Mexico - Colima - Driving license
  • Mexico - Michoacan - Driving license
  • Mexico - Tamaulipas - Driving license
  • Mexico - Zacatecas - Driving license
  • Myanmar - Driving license
  • Panama - Temporary Residence Permit
  • Slovenia - Residence Permit
  • Trinidad and Tobago - Driving license
  • USA - Passport
  • USA - Maine - ID card

Added support for 2 new ID types in BETA:

Latin America and the Caribbean
  • Cuba - ID card
  • Cayman Islands - Drivers License

Already supported documents but now with option to enable extraction for new scripts

Arabic - 5 ID types
  • Egypt - ID card
  • Jordan - ID card
  • UAE - ID card
  • UAE - Passport
  • UAE - Resident ID
Cyrillic - 10 ID types
  • Bosnia and Herzegovina - ID card
  • Bulgaria - Drivers License
  • Bulgaria - ID card
  • North Macedonia - Drivers License
  • North Macedonia - ID card
  • Serbia - ID card
  • Ukraine - Drivers License
  • Ukraine - ID card
  • Ukraine - Residence Permit
  • Ukraine - Temporary Residence Permit

Bugfixes

  • We've fixed a problem with camera focus on iPhone devices that use iOS 16 or newer, most notably iPhone 14.
mirzamesic
published 5.20.1 •

Changelog

Source

5.20.1

  • We've fixed a target endpoint for internal reporting logic.
ivancuric
published 5.19.3 •

mirzamesic
published 5.20.0 •

Changelog

Source

5.20.0

New feature:

  • ML models with new architecture that result in further 8% decrease in error rate

Support for 8 new document types:

Northern America
  • USA - Polycarbonate Passport
  • USA - Nebraska - ID Card
  • USA - New York - ID Card
  • USA - Utah - ID Card
Latin America and the Caribbean
  • Mexico - Polycarbonate Passport
  • Brazil - Sao Paolo - ID Card
Europe
  • Austria - Residence Permit
Asia
  • Philippines - ID Card

Back side support added:

  • Australia - South Australia - Driving license

Added support for 29 new versions of already supported documents:

  • Australia - Northern Territory - Proof of Age Card
  • Belgium - Minors ID Card
  • Belgium - Residence Permit
  • Bolivia - ID Card
  • Croatia - Residence Permit
  • Cyprus - ID Card
  • Czechia - ID card
  • Czechia - Residence Permit
  • Dominican Republic - Paper Passport
  • Greece - Residence Permit
  • Italy - Residence Permit
  • Ivory Coast - Driving license
  • Kuwait - Driving license
  • Mexico - Jalisco - Driving license
  • Mexico - Nuevo Leon - Driving license
  • Peru - ID Card
  • Poland - Driving license
  • Slovenia - ID Card
  • Sweden - ID Card
  • Sweden - Polycarbonate Passport
  • USA - Georgia - ID Card
  • USA - Iowa - ID Card
  • USA - Kansas - Driving license
  • USA - Maryland - ID Card
  • USA - Nebraska - ID Card
  • USA - New York - Driving license
  • USA - New York - ID Card
  • USA - Oklahoma - Driving license
  • Vietnam - ID Card

These documents are no longer BETA:

  • Finland - Residence Permit
  • Guatemala - Driving license

Added support for 2 new ID types in BETA:

  • Antigua and Barbuda - Driving license
  • Mexico - Professional ID Card

Changes to BlinkID(Combined) Recognizer

  • ClassInfo:

    • Added to JSON serialization:
      • isoNumericCountryCode
      • isoAlpha2CountryCode
      • isoAlpha3CountryCode
  • BarcodeData:

    • JSON serialization update: stringData member is now in base64 format
  • Added new item to enums:

    • Region:
      • Sao Paulo, when scanning Brazilian Driving licenses
  • Fixed scanning for Argentina ID - there were confusions for Veteran ID, now we enabled successful extraction on Veteran ID as well

Environment changes

  • We've updated environment to Node v16.3.0.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc