@microblink/blinkid-react-native 7.6.2 → 8000.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BlinkidReactNative.podspec +2 -1
- package/README.md +490 -282
- package/android/build.gradle +56 -4
- package/android/gradle.properties +3 -4
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdDeserializationUtilities.kt +312 -251
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdSerializationUtilities.kt +859 -710
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkidReactNativeModule.kt +42 -34
- package/ios/BlinkidReactNative.mm +42 -52
- package/ios/BlinkidReactNativeModule.swift +92 -57
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/BlinkID +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/BlinkID-Swift.h +23857 -17935
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/BlinkID.h +2 -1
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Info.plist +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.abi.json +24452 -8480
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.private.swiftinterface +536 -234
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.swiftinterface +536 -234
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/PrivateHeaders/SwiftCxxBridge.hpp +2 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/_CodeSignature/CodeResources +19 -30
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/conan.xcconfig +3 -3
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/BlinkID +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/BlinkID-Swift.h +51708 -39864
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/BlinkID.h +2 -1
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Info.plist +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.abi.json +24452 -8480
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +536 -234
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.swiftinterface +536 -234
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.abi.json +24452 -8480
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +536 -234
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +536 -234
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/PrivateHeaders/SwiftCxxBridge.hpp +2 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/_CodeSignature/CodeResources +29 -40
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/conan.xcconfig +3 -3
- package/ios/Frameworks/BlinkIDUX.xcframework/Info.plist +5 -5
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeResources +276 -859
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Assets.car +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Info.plist +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ak.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/am.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ar.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/bn.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/cs.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/da.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/de.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/el.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en-GB.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es-MX.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fa.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fi.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fil.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr-CA.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ha.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/he.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hi.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hu.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/id.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/is.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/it.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ja.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ka-GE.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/kk.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/km-KH.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ko.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/lv.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ms.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nb.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ne.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nl.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pl.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ps-AF.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt-BR.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ro.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ru.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/si.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sk.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sl.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sv.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sw.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/th.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/tr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uk.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ur.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uz.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/vi.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/yo.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hans.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hant.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Info.plist +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.abi.json +8983 -4775
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.package.swiftinterface +234 -100
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.private.swiftinterface +234 -100
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.swiftinterface +234 -100
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Assets.car +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Info.plist +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeResources +114 -346
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ak.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/am.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ar.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/bn.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/cs.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/da.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/de.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/el.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en-GB.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es-MX.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fa.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fi.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fil.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr-CA.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ha.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/he.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hi.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hu.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/id.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/is.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/it.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ja.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ka-GE.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/kk.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/km-KH.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ko.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/lv.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ms.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nb.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ne.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nl.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pl.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ps-AF.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt-BR.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ro.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ru.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/si.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sk.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sl.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sv.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sw.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/th.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/tr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uk.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ur.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uz.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/vi.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/yo.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hans.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hant.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Info.plist +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.abi.json +8983 -4775
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +234 -100
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +234 -100
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.swiftinterface +234 -100
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.abi.json +8983 -4775
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +234 -100
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +234 -100
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +234 -100
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/_CodeSignature/CodeResources +1 -1
- package/ios/Serialization/BlinkIdDeserializationUtils.swift +492 -0
- package/ios/Serialization/BlinkIdSerializationUtils.swift +866 -0
- package/lib/module/NativeBlinkidReactNative.js.map +1 -1
- package/lib/module/blinkIdResult.js +1 -764
- package/lib/module/blinkIdResult.js.map +1 -1
- package/lib/module/blinkIdSettings.js +1 -496
- package/lib/module/blinkIdSettings.js.map +1 -1
- package/lib/module/index.js +81 -17
- package/lib/module/index.js.map +1 -1
- package/lib/module/types.js +697 -3334
- package/lib/module/types.js.map +1 -1
- package/lib/typescript/src/NativeBlinkidReactNative.d.ts +26 -5
- package/lib/typescript/src/NativeBlinkidReactNative.d.ts.map +1 -1
- package/lib/typescript/src/blinkIdResult.d.ts +35 -17
- package/lib/typescript/src/blinkIdResult.d.ts.map +1 -1
- package/lib/typescript/src/blinkIdSettings.d.ts +36 -297
- package/lib/typescript/src/blinkIdSettings.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +38 -10
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/types.d.ts +992 -1149
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/package.json +5 -4
- package/src/NativeBlinkidReactNative.ts +28 -5
- package/src/blinkIdResult.ts +44 -432
- package/src/blinkIdSettings.ts +53 -373
- package/src/index.tsx +208 -35
- package/src/types.ts +1180 -1398
- package/android/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.9/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/ios/BlinkIdDeserializationUtilities.swift +0 -374
- package/ios/BlinkIdSerializationUtilities.swift +0 -839
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/MBSampleBufferWrapper.h +0 -28
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/MBSampleBufferWrapper.h +0 -28
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeRequirements-1 +0 -0
- package/lib/module/blinkIdUtilities.js +0 -21
- package/lib/module/blinkIdUtilities.js.map +0 -1
- package/lib/typescript/src/blinkIdUtilities.d.ts +0 -8
- package/lib/typescript/src/blinkIdUtilities.d.ts.map +0 -1
- package/src/blinkIdUtilities.ts +0 -20
package/src/blinkIdSettings.ts
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DetectionLevel,
|
|
3
|
-
AnonymizationMode,
|
|
1
|
+
import type {
|
|
4
2
|
ScanningMode,
|
|
5
|
-
DocumentRules,
|
|
6
|
-
DocumentAnonymizationSettings,
|
|
7
|
-
RecognitionModeFilter,
|
|
8
3
|
PreferredCamera,
|
|
4
|
+
DocumentCaptureModuleSettings,
|
|
5
|
+
MrzModuleSettings,
|
|
6
|
+
BarcodeModuleSettings,
|
|
7
|
+
VizModuleSettings,
|
|
9
8
|
} from "./types";
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
11
|
* Settings for the initialization of the BlinkID SDK.
|
|
13
12
|
*
|
|
14
13
|
*/
|
|
15
|
-
export
|
|
14
|
+
export type BlinkIdSdkSettings = {
|
|
16
15
|
/**
|
|
17
16
|
* License key for the native SDK.
|
|
18
17
|
*
|
|
@@ -72,31 +71,7 @@ export class BlinkIdSdkSettings {
|
|
|
72
71
|
*
|
|
73
72
|
*/
|
|
74
73
|
microblinkProxyURL?: string;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* Settings for the initialization of the BlinkID SDK.
|
|
79
|
-
*/
|
|
80
|
-
constructor(
|
|
81
|
-
licenseKey: string,
|
|
82
|
-
licensee?: string,
|
|
83
|
-
downloadResources?: boolean,
|
|
84
|
-
resourceDownloadUrl?: string,
|
|
85
|
-
resourceLocalFolder?: string,
|
|
86
|
-
bundleIdentifier?: string,
|
|
87
|
-
resourceRequestTimeout?: number,
|
|
88
|
-
microblinkProxyURL?: string
|
|
89
|
-
) {
|
|
90
|
-
this.licenseKey = licenseKey;
|
|
91
|
-
this.licensee = licensee;
|
|
92
|
-
this.downloadResources = downloadResources;
|
|
93
|
-
this.resourceDownloadUrl = resourceDownloadUrl;
|
|
94
|
-
this.resourceLocalFolder = resourceLocalFolder;
|
|
95
|
-
this.bundleIdentifier = bundleIdentifier;
|
|
96
|
-
this.resourceRequestTimeout = resourceRequestTimeout;
|
|
97
|
-
this.microblinkProxyURL = microblinkProxyURL;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
74
|
+
};
|
|
100
75
|
|
|
101
76
|
/**
|
|
102
77
|
* Represents the configuration settings for a scanning session.
|
|
@@ -105,7 +80,7 @@ export class BlinkIdSdkSettings {
|
|
|
105
80
|
* scanning mode, and specific scanning configurations that define how the scanning
|
|
106
81
|
* session should behave.
|
|
107
82
|
*/
|
|
108
|
-
export
|
|
83
|
+
export type BlinkIdSessionSettings = Partial<{
|
|
109
84
|
/**
|
|
110
85
|
* The scanning mode to be used during the scanning session.
|
|
111
86
|
*
|
|
@@ -121,30 +96,24 @@ export class BlinkIdSessionSettings {
|
|
|
121
96
|
*
|
|
122
97
|
* Defines various parameters that control the scanning process.
|
|
123
98
|
*/
|
|
124
|
-
scanningSettings: BlinkIdScanningSettings
|
|
99
|
+
scanningSettings: Partial<BlinkIdScanningSettings>;
|
|
125
100
|
|
|
126
101
|
/**
|
|
127
|
-
* Duration in
|
|
102
|
+
* Duration in milliseconds before a scanning step times out and is cancelled.
|
|
128
103
|
*
|
|
129
|
-
*
|
|
130
|
-
* Defaults to
|
|
104
|
+
* Resets on side changes and pauses while onboarding or help dialogs are shown.
|
|
105
|
+
* Set to `0` to disable the step timeout. Defaults to `60000` (60 seconds).
|
|
131
106
|
*/
|
|
132
107
|
stepTimeoutDuration: number;
|
|
133
108
|
|
|
134
109
|
/**
|
|
110
|
+
* Duration in milliseconds of UI inactivity (no state change) before timeout.
|
|
135
111
|
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
* This class holds the settings related to the resources initialization,
|
|
139
|
-
* scanning mode, and specific scanning configurations that define how the scanning
|
|
140
|
-
* session should behave.
|
|
112
|
+
* Resets whenever the UI state changes (reticle type or message).
|
|
113
|
+
* Set to `0` to disable the inactivity timeout. Defaults to `10000` (10 seconds).
|
|
141
114
|
*/
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
this.scanningSettings = new BlinkIdScanningSettings();
|
|
145
|
-
this.stepTimeoutDuration = 15000;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
115
|
+
inactivityTimeoutDuration: number;
|
|
116
|
+
}>;
|
|
148
117
|
|
|
149
118
|
/**
|
|
150
119
|
* Represents the configurable settings for scanning a document.
|
|
@@ -154,306 +123,77 @@ export class BlinkIdSessionSettings {
|
|
|
154
123
|
* along with options for frame processing and image extraction.
|
|
155
124
|
*
|
|
156
125
|
* */
|
|
157
|
-
export
|
|
158
|
-
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
* Defines the severity of blur detected in the document image, as defined
|
|
162
|
-
* in [DetectionLevel]. Values range from `off` (detection NotAvailable) to higher
|
|
163
|
-
* levels of blur detection.
|
|
164
|
-
*
|
|
165
|
-
* `low` – less sensitive to blur; if something is detected as blur, it is almost certainly actual blur,
|
|
166
|
-
* but some amount of blur may not be detected at all.
|
|
167
|
-
* `high` – highly sensitive to blur; it may detect as blur even something that only resembles blur.
|
|
168
|
-
*
|
|
169
|
-
* Default: {@link DetectionLevel.Mid}
|
|
170
|
-
* */
|
|
171
|
-
blurDetectionLevel: DetectionLevel;
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* Indicates whether images with blur in the document image should be skipped.
|
|
175
|
-
*
|
|
176
|
-
* A value of `true` means images with detected blur will be excluded from further processing to prevent blurred images from being used
|
|
177
|
-
* - If blurDetectionLevel = `off` - blurred images will be processed
|
|
178
|
-
* - If blur is detected `ProcessingStatus` will be `ImagePreprocessingFailed` and blur will be reported in the `ProcessResult`
|
|
179
|
-
* A value of `false` means images with detected blur will not be excluded from further processing
|
|
180
|
-
* - If blurDetectionLevel != `off` - even if blur is detected, the image will be processed and blur will be reported in the `ProcessResult`.
|
|
181
|
-
*
|
|
182
|
-
* Default: `true`
|
|
183
|
-
*/
|
|
184
|
-
skipImagesWithBlur: boolean;
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* The level of glare detection in the document image.
|
|
188
|
-
*
|
|
189
|
-
* Defines the severity of glare detected in the document image, as defined in [DetectionLevel].
|
|
190
|
-
* Values range from `off` (detection NotAvailable) to higher levels of glare detection.
|
|
191
|
-
* `low` – less sensitive to glare; if something is detected as glare, it is almost certainly actual glare,
|
|
192
|
-
* but some amount of glare may not be detected at all.
|
|
193
|
-
* `high` – highly sensitive to glare; it may detect as glare even something that only resembles glare.
|
|
194
|
-
*
|
|
195
|
-
* Default: {@link DetectionLevel.Mid}
|
|
196
|
-
*/
|
|
197
|
-
glareDetectionLevel: DetectionLevel;
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* Indicates whether images with glare in the document image should be skipped.
|
|
201
|
-
*
|
|
202
|
-
* A value of `true` means images with detected glare will be excluded from further processing to prevent glared images from being used
|
|
203
|
-
* - If glareDetectionLevel = `off` - glared images will be processed
|
|
204
|
-
* - If glare is detected `ProcessingStatus` will be `ImagePreprocessingFailed` and glare will be reported in the `ProcessResult`
|
|
205
|
-
* A value of `false` means images with detected glare will not be excluded from further processing
|
|
206
|
-
* - If glareDetectionLevel != `off` - even if glare is detected, the image will be processed and glare will be reported in the `ProcessResult`
|
|
207
|
-
*
|
|
208
|
-
* Default: `true`
|
|
209
|
-
*/
|
|
210
|
-
skipImagesWithGlare: boolean;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* The level of allowed detected tilt of the document in the image.
|
|
214
|
-
*
|
|
215
|
-
* Defines the severity of allowed detected tilt of the document in the image, as defined in [DetectionLevel].
|
|
216
|
-
* Values range from `off` (detection NotAvailable) to higher levels of allowed tilt.
|
|
217
|
-
* `low` – less sensitive to tilt.
|
|
218
|
-
* `high` – highly sensitive to tilt.
|
|
219
|
-
*
|
|
220
|
-
* Default: {@link DetectionLevel.Mid}
|
|
221
|
-
*/
|
|
222
|
-
tiltDetectionLevel: DetectionLevel;
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* Indicates whether images with inadequate lighting conditions should be rejected.
|
|
226
|
-
*
|
|
227
|
-
* Inadequate lighting conditions are represented as either `TooBright` or `TooDark` document images,
|
|
228
|
-
* as defined in the `ImageAnalysisLightingStatus` enum.
|
|
229
|
-
* A value of `true` means images with inadequate lighting conditions will be excluded from further processing to prevent images with
|
|
230
|
-
* inadequate lighting from being used
|
|
231
|
-
* - If inadequate light conditions are detected `ProcessingStatus` will be `ImagePreprocessingFailed` and lighting status will be
|
|
232
|
-
* reported in the `ProcessResult`.
|
|
233
|
-
*
|
|
234
|
-
* Default: `true`
|
|
235
|
-
*/
|
|
236
|
-
skipImagesWithInadequateLightingConditions: boolean;
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* Indicates whether images occluded by hand should be rejected.
|
|
240
|
-
*
|
|
241
|
-
* A value of `true` means images occluded by hand will be excluded from further processing to prevent occluded images from being used
|
|
242
|
-
* - If hand occlusion is detected `ProcessingStatus` will be `ImagePreprocessingFailed` and hand occlusion status will be reported
|
|
243
|
-
* in the `ProcessResult`
|
|
244
|
-
* This setting is applicable only if `scanCroppedDocumentImage` = false.
|
|
245
|
-
*
|
|
246
|
-
* Default: `true`
|
|
247
|
-
*/
|
|
248
|
-
skipImagesOccludedByHand: boolean;
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* Indicates whether the aggregation of data from multiple images is enabled.
|
|
252
|
-
*
|
|
253
|
-
* Disabling this setting will yield higher-quality captured images, but it may slow down the scanning process due to the additional
|
|
254
|
-
* effort required to find the optimal image.
|
|
255
|
-
* Enabling this setting will simplify the extraction process, but the extracted data will be aggregated from multiple images instead
|
|
256
|
-
* of being sourced from a single image.
|
|
257
|
-
* This only applies to images from Video input image source - for images from Photo source, setting will be ignored.
|
|
258
|
-
*
|
|
259
|
-
* Default: `true`
|
|
260
|
-
*/
|
|
261
|
-
combineResultsFromMultipleInputImages: boolean;
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* Enables barcode recognition to proceed even if the initial VIZ extraction fails.
|
|
265
|
-
*
|
|
266
|
-
* If the barcode recognition is successful, recognition will still end in a valid state.
|
|
267
|
-
* This setting is applicable only to images from Photo source.
|
|
268
|
-
* For multi-side scanning, it is permitted only for the back side.
|
|
269
|
-
*
|
|
270
|
-
* Default: `false`
|
|
271
|
-
*/
|
|
272
|
-
enableBarcodeScanOnly: boolean;
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* Defines custom rules for specific document class.
|
|
276
|
-
*
|
|
277
|
-
* When defining [DocumentRules], [DocumentFilter] is optionally set to specify the document to which the rule applies, and a `fields` with
|
|
278
|
-
* the appropriate `alphabetType` should be specified as mandatory for that document.
|
|
279
|
-
* If a `fields` is set to a field that is optional for that document or does not exist on it, all fields on the document become optional.
|
|
280
|
-
* If a `fields` is set to a field with an incorrect alphabetType, all fields on the document become optional.
|
|
281
|
-
* If a `fields` is set to a field that doesn’t exist in the internal rules, that rule is ignored.
|
|
282
|
-
* When adding multiple `fields`, any field that does not match our rules is ignored. Only fields that comply with our rules are set as mandatory.
|
|
283
|
-
* If the documentFilter fields `country`, `region`, or `type` are set to `null`, all supported values for those fields will be considered.
|
|
284
|
-
* For example, if `country = null`, the rule will apply to all supported countries in BlinkID.
|
|
285
|
-
*
|
|
286
|
-
* By default, document fields are validated using internal rules that define mandatory fields for the scanned document class. This setting allows
|
|
287
|
-
* users to narrow down our internal rules on mandatory fields. All undefined fields will become optional. It is not possible to mark fields as
|
|
288
|
-
* mandatory if they cannot theoretically appear on the document.
|
|
289
|
-
* The more detailed document filter will have priority over the other.
|
|
290
|
-
*
|
|
291
|
-
* See {@link DocumentRules} for more detailed information.
|
|
292
|
-
*/
|
|
293
|
-
customDocumentRules?: DocumentRules[];
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* The mode of anonymization applied to the document.
|
|
297
|
-
*
|
|
298
|
-
* Redact specific fields based on requirements or laws regarding a specific document.
|
|
299
|
-
* Data can be redacted from the image, the result or both.
|
|
300
|
-
*
|
|
301
|
-
* Default: {@link AnonymizationMode.fullResult}
|
|
302
|
-
*/
|
|
303
|
-
anonymizationMode: AnonymizationMode;
|
|
304
|
-
|
|
305
|
-
/**
|
|
306
|
-
* Redact fields for specific document class.
|
|
307
|
-
*
|
|
308
|
-
* Fields specified by requirements or laws for a specific document will be redacted regardless of this setting.
|
|
309
|
-
* Based on anonymizationMode setting, data will be redacted from the image, the result or both.
|
|
126
|
+
export type BlinkIdScanningSettings = Partial<{
|
|
127
|
+
/*
|
|
128
|
+
* Settings for the document capture module.
|
|
310
129
|
*
|
|
311
|
-
*
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* Indicates whether input images should be returned.
|
|
130
|
+
* This module is responsible for the initial document detection, image extraction
|
|
131
|
+
* (such as face and document images), and image quality validation (blur, glare,
|
|
132
|
+
* and lighting checks).
|
|
316
133
|
*
|
|
317
|
-
*
|
|
318
|
-
* This significantly increases memory consumption. The scanning performance is not affected.
|
|
319
|
-
*
|
|
320
|
-
* Default: `false`
|
|
321
|
-
*/
|
|
322
|
-
returnInputImages: boolean;
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* Process only cropped document images.
|
|
326
|
-
* Requires the input image to consist solely of the cropped document image with perspective correction applied.
|
|
327
|
-
* This only applies to images from Photo input image source - for images from Video input image source, setting will be ignored.
|
|
134
|
+
* Set to `null` to disable this module.
|
|
328
135
|
*
|
|
329
|
-
*
|
|
136
|
+
* See {@link DocumentCaptureModuleSettings} for more information.
|
|
330
137
|
*/
|
|
331
|
-
|
|
138
|
+
documentCaptureModule: Partial<DocumentCaptureModuleSettings> | null;
|
|
332
139
|
|
|
333
|
-
|
|
334
|
-
*
|
|
140
|
+
/*
|
|
141
|
+
* Settings for the MRZ (Machine Readable Zone) extraction module.
|
|
335
142
|
*
|
|
336
|
-
*
|
|
337
|
-
*
|
|
143
|
+
* This module is dedicated to the detection and parsing of machine-readable
|
|
144
|
+
* zone typically found on passports, visas, and identity cards.
|
|
338
145
|
*
|
|
339
|
-
*
|
|
146
|
+
* Set to `null` to disable this module.
|
|
340
147
|
*
|
|
341
|
-
*
|
|
148
|
+
* See {@link MrzModuleSettings} for more information.
|
|
342
149
|
*/
|
|
343
|
-
|
|
150
|
+
mrzModule: Partial<MrzModuleSettings> | null;
|
|
344
151
|
|
|
345
152
|
/**
|
|
346
|
-
*
|
|
153
|
+
* Settings for the barcode extraction module.
|
|
347
154
|
*
|
|
348
|
-
*
|
|
349
|
-
*
|
|
350
|
-
* All fields have to be successfully validated in order to successfully scan a document.
|
|
351
|
-
* Setting is used to improve scanning accuracy.
|
|
352
|
-
* If set to `true`, when an invalid character is detected `ProcessingStatus.InvalidCharactersFound` is returned.
|
|
155
|
+
* This module manages the detection and data extraction from various 1D and 2D
|
|
156
|
+
* barcode formats (such as PDF417, QR codes, and various retail codes).
|
|
353
157
|
*
|
|
354
|
-
*
|
|
355
|
-
*/
|
|
356
|
-
enableCharacterValidation: boolean;
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* Defines the minimum required margin (in percentage) between the edge of the input image and the document.
|
|
158
|
+
* It can operate as a standalone module or in combination with document capture.
|
|
360
159
|
*
|
|
361
|
-
*
|
|
362
|
-
* The setting is not applicable if `scanCroppedDocumentImage = true` (it will be ignored).
|
|
363
|
-
* This setting is implemented to comply with regulations in certain countries that mandate documents
|
|
364
|
-
* to be stored with adequate margins in the image.
|
|
160
|
+
* Set to `null` to disable this module.
|
|
365
161
|
*
|
|
366
|
-
*
|
|
162
|
+
* See {@link BarcodeModuleSettings} for more information.
|
|
367
163
|
*/
|
|
368
|
-
|
|
164
|
+
barcodeModule: Partial<BarcodeModuleSettings> | null;
|
|
369
165
|
|
|
370
166
|
/**
|
|
371
|
-
*
|
|
167
|
+
* Settings for the VIZ (Visual Inspection Zone) extraction module.
|
|
372
168
|
*
|
|
373
|
-
*
|
|
374
|
-
*
|
|
169
|
+
* This module is responsible for extracting data from the document's
|
|
170
|
+
* visual fields.
|
|
375
171
|
*
|
|
376
|
-
*
|
|
377
|
-
|
|
378
|
-
scanUnsupportedBack: boolean;
|
|
379
|
-
|
|
380
|
-
/**
|
|
381
|
-
* Indicates whether scanning can continue to the next side despite an uncertain front-side scan.
|
|
172
|
+
* It supports features such as character validation for increased accuracy,
|
|
173
|
+
* signature image extraction, and data aggregation across multiple video frames.
|
|
382
174
|
*
|
|
383
|
-
*
|
|
384
|
-
* ignored.
|
|
175
|
+
* Set to `null` to disable this module.
|
|
385
176
|
*
|
|
386
|
-
*
|
|
177
|
+
* See {@link VizModuleSettings} for more information.
|
|
387
178
|
*/
|
|
388
|
-
|
|
179
|
+
vizModule: Partial<VizModuleSettings> | null;
|
|
389
180
|
|
|
390
181
|
/**
|
|
391
182
|
* The maximum allowed mismatches per field during data matching.
|
|
392
183
|
*
|
|
393
184
|
* Configures the maximum number of characters per field that can be inconsistent during data matching.
|
|
394
|
-
* By defualt, no mismatches are allowed.
|
|
395
185
|
*
|
|
396
|
-
*
|
|
186
|
+
* By default, no mismatches are allowed.
|
|
397
187
|
*/
|
|
398
188
|
maxAllowedMismatchesPerField: number;
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* Indicates whether only the passport data page should be scanned.
|
|
402
|
-
*
|
|
403
|
-
* Scan only the data page ( page containing MRZ ) of the passport.
|
|
404
|
-
* If set to `false`, it will be required to scan the second page of certain passports.
|
|
405
|
-
*
|
|
406
|
-
* Default: `true`
|
|
407
|
-
*/
|
|
408
|
-
scanPassportDataPageOnly: boolean;
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* Configures the image processing settings during the scanning process.
|
|
412
|
-
*
|
|
413
|
-
* Allows customization of cropped image handling, such as dotsPerInch, extensions, and
|
|
414
|
-
* whether images should be returned for the document, face or signature regions.
|
|
415
|
-
*
|
|
416
|
-
* See {@link CroppedImageSettings} for more information.
|
|
417
|
-
*/
|
|
418
|
-
croppedImageSettings: CroppedImageSettings;
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* Represents the configurable settings for scanning a document.
|
|
422
|
-
*
|
|
423
|
-
* This class defines various parameters and policies related to the scanning
|
|
424
|
-
* process, including image quality handling, data extraction and anonymization,
|
|
425
|
-
* along with options for frame processing and image extraction.
|
|
426
|
-
*/
|
|
427
|
-
constructor() {
|
|
428
|
-
this.blurDetectionLevel = DetectionLevel.Mid;
|
|
429
|
-
this.skipImagesWithBlur = true;
|
|
430
|
-
this.glareDetectionLevel = DetectionLevel.Mid;
|
|
431
|
-
this.skipImagesWithGlare = true;
|
|
432
|
-
this.tiltDetectionLevel = DetectionLevel.Mid;
|
|
433
|
-
this.skipImagesWithInadequateLightingConditions = true;
|
|
434
|
-
this.skipImagesOccludedByHand = true;
|
|
435
|
-
this.combineResultsFromMultipleInputImages = true;
|
|
436
|
-
this.enableBarcodeScanOnly = false;
|
|
437
|
-
this.anonymizationMode = AnonymizationMode.FullResult;
|
|
438
|
-
this.returnInputImages = false;
|
|
439
|
-
this.scanCroppedDocumentImage = false;
|
|
440
|
-
this.recognitionModeFilter = new RecognitionModeFilter();
|
|
441
|
-
this.enableCharacterValidation = true;
|
|
442
|
-
this.inputImageMargin = 0.02;
|
|
443
|
-
this.scanUnsupportedBack = false;
|
|
444
|
-
this.allowUncertainFrontSideScan = false;
|
|
445
|
-
this.maxAllowedMismatchesPerField = 0;
|
|
446
|
-
this.scanPassportDataPageOnly = true;
|
|
447
|
-
this.croppedImageSettings = new CroppedImageSettings();
|
|
448
|
-
}
|
|
449
|
-
}
|
|
189
|
+
}>;
|
|
450
190
|
|
|
451
191
|
/**
|
|
452
192
|
* Allows customization of various aspects of the UI
|
|
453
193
|
* used during the scanning process.
|
|
454
194
|
*
|
|
455
195
|
*/
|
|
456
|
-
export
|
|
196
|
+
export type BlinkIdScanningUxSettings = Partial<{
|
|
457
197
|
/**
|
|
458
198
|
* A boolean indicating whether to show a help button
|
|
459
199
|
* and enable help screens during the scanning session.
|
|
@@ -486,67 +226,7 @@ export class BlinkIdScanningUxSettings {
|
|
|
486
226
|
* This value represents the user’s choice of front or back camera.
|
|
487
227
|
* The system determines the actual physical camera device.
|
|
488
228
|
*
|
|
489
|
-
* Default: {@link
|
|
229
|
+
* Default: {@link PreferredCamera.back}
|
|
490
230
|
*/
|
|
491
231
|
preferredCamera: PreferredCamera;
|
|
492
|
-
|
|
493
|
-
constructor() {
|
|
494
|
-
this.showHelpButton = true;
|
|
495
|
-
this.showOnboardingDialog = true;
|
|
496
|
-
this.allowHapticFeedback = true;
|
|
497
|
-
this.preferredCamera = PreferredCamera.Back;
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
/**
|
|
502
|
-
* Represents the image cropping settings.
|
|
503
|
-
*
|
|
504
|
-
*/
|
|
505
|
-
export class CroppedImageSettings {
|
|
506
|
-
/**
|
|
507
|
-
* The DPI value for the cropped image.
|
|
508
|
-
*
|
|
509
|
-
* Default: `250`
|
|
510
|
-
*/
|
|
511
|
-
dotsPerInch: number;
|
|
512
|
-
|
|
513
|
-
/**
|
|
514
|
-
* The extension factor for the cropped image.
|
|
515
|
-
*
|
|
516
|
-
* Default: `0`
|
|
517
|
-
*/
|
|
518
|
-
extensionFactor: number;
|
|
519
|
-
|
|
520
|
-
/**
|
|
521
|
-
* Indicates whether the document image should be returned.
|
|
522
|
-
*
|
|
523
|
-
* Default: `false`
|
|
524
|
-
*/
|
|
525
|
-
returnDocumentImage: boolean;
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
* Indicates whether the face image should be returned.
|
|
529
|
-
*
|
|
530
|
-
* Default: `false`
|
|
531
|
-
*/
|
|
532
|
-
returnFaceImage: boolean;
|
|
533
|
-
|
|
534
|
-
/**
|
|
535
|
-
* Indicates whether the signature image should be returned.
|
|
536
|
-
*
|
|
537
|
-
* Default: `false`
|
|
538
|
-
*/
|
|
539
|
-
returnSignatureImage: boolean;
|
|
540
|
-
|
|
541
|
-
/**
|
|
542
|
-
* Represents the image cropping settings.
|
|
543
|
-
*
|
|
544
|
-
*/
|
|
545
|
-
constructor() {
|
|
546
|
-
this.dotsPerInch = 250;
|
|
547
|
-
this.extensionFactor = 0;
|
|
548
|
-
this.returnDocumentImage = false;
|
|
549
|
-
this.returnFaceImage = false;
|
|
550
|
-
this.returnSignatureImage = false;
|
|
551
|
-
}
|
|
552
|
-
}
|
|
232
|
+
}>;
|