@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.
Files changed (223) hide show
  1. package/BlinkidReactNative.podspec +2 -1
  2. package/README.md +490 -282
  3. package/android/build.gradle +56 -4
  4. package/android/gradle.properties +3 -4
  5. package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdDeserializationUtilities.kt +312 -251
  6. package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdSerializationUtilities.kt +859 -710
  7. package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkidReactNativeModule.kt +42 -34
  8. package/ios/BlinkidReactNative.mm +42 -52
  9. package/ios/BlinkidReactNativeModule.swift +92 -57
  10. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/BlinkID +0 -0
  11. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/BlinkID-Swift.h +23857 -17935
  12. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/BlinkID.h +2 -1
  13. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Info.plist +0 -0
  14. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.abi.json +24452 -8480
  15. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.private.swiftinterface +536 -234
  16. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  17. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.swiftinterface +536 -234
  18. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/PrivateHeaders/SwiftCxxBridge.hpp +2 -0
  19. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/_CodeSignature/CodeResources +19 -30
  20. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/conan.xcconfig +3 -3
  21. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/BlinkID +0 -0
  22. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/BlinkID-Swift.h +51708 -39864
  23. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/BlinkID.h +2 -1
  24. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Info.plist +0 -0
  25. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.abi.json +24452 -8480
  26. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +536 -234
  27. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  28. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.swiftinterface +536 -234
  29. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.abi.json +24452 -8480
  30. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +536 -234
  31. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  32. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +536 -234
  33. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/PrivateHeaders/SwiftCxxBridge.hpp +2 -0
  34. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/_CodeSignature/CodeResources +29 -40
  35. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/conan.xcconfig +3 -3
  36. package/ios/Frameworks/BlinkIDUX.xcframework/Info.plist +5 -5
  37. package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeDirectory +0 -0
  38. package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeResources +276 -859
  39. package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeSignature +0 -0
  40. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX +0 -0
  41. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Assets.car +0 -0
  42. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Info.plist +0 -0
  43. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ak.lproj/Localizable.strings +0 -0
  44. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/am.lproj/Localizable.strings +0 -0
  45. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ar.lproj/Localizable.strings +0 -0
  46. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/bn.lproj/Localizable.strings +0 -0
  47. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/cs.lproj/Localizable.strings +0 -0
  48. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/da.lproj/Localizable.strings +0 -0
  49. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/de.lproj/Localizable.strings +0 -0
  50. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/el.lproj/Localizable.strings +0 -0
  51. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en-GB.lproj/Localizable.strings +0 -0
  52. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en.lproj/Localizable.strings +0 -0
  53. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es-MX.lproj/Localizable.strings +0 -0
  54. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es.lproj/Localizable.strings +0 -0
  55. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fa.lproj/Localizable.strings +0 -0
  56. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fi.lproj/Localizable.strings +0 -0
  57. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fil.lproj/Localizable.strings +0 -0
  58. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr-CA.lproj/Localizable.strings +0 -0
  59. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr.lproj/Localizable.strings +0 -0
  60. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ha.lproj/Localizable.strings +0 -0
  61. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/he.lproj/Localizable.strings +0 -0
  62. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hi.lproj/Localizable.strings +0 -0
  63. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hr.lproj/Localizable.strings +0 -0
  64. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hu.lproj/Localizable.strings +0 -0
  65. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/id.lproj/Localizable.strings +0 -0
  66. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/is.lproj/Localizable.strings +0 -0
  67. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/it.lproj/Localizable.strings +0 -0
  68. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ja.lproj/Localizable.strings +0 -0
  69. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ka-GE.lproj/Localizable.strings +0 -0
  70. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/kk.lproj/Localizable.strings +0 -0
  71. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/km-KH.lproj/Localizable.strings +0 -0
  72. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ko.lproj/Localizable.strings +0 -0
  73. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/lv.lproj/Localizable.strings +0 -0
  74. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ms.lproj/Localizable.strings +0 -0
  75. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nb.lproj/Localizable.strings +0 -0
  76. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ne.lproj/Localizable.strings +0 -0
  77. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nl.lproj/Localizable.strings +0 -0
  78. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pl.lproj/Localizable.strings +0 -0
  79. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ps-AF.lproj/Localizable.strings +0 -0
  80. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt-BR.lproj/Localizable.strings +0 -0
  81. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt.lproj/Localizable.strings +0 -0
  82. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ro.lproj/Localizable.strings +0 -0
  83. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ru.lproj/Localizable.strings +0 -0
  84. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/si.lproj/Localizable.strings +0 -0
  85. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sk.lproj/Localizable.strings +0 -0
  86. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sl.lproj/Localizable.strings +0 -0
  87. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sr.lproj/Localizable.strings +0 -0
  88. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sv.lproj/Localizable.strings +0 -0
  89. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sw.lproj/Localizable.strings +0 -0
  90. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/th.lproj/Localizable.strings +0 -0
  91. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/tr.lproj/Localizable.strings +0 -0
  92. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uk.lproj/Localizable.strings +0 -0
  93. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ur.lproj/Localizable.strings +0 -0
  94. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uz.lproj/Localizable.strings +0 -0
  95. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/vi.lproj/Localizable.strings +0 -0
  96. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/yo.lproj/Localizable.strings +0 -0
  97. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hans.lproj/Localizable.strings +0 -0
  98. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hant.lproj/Localizable.strings +0 -0
  99. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Info.plist +0 -0
  100. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.abi.json +8983 -4775
  101. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.package.swiftinterface +234 -100
  102. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.private.swiftinterface +234 -100
  103. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  104. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.swiftinterface +234 -100
  105. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX +0 -0
  106. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Assets.car +0 -0
  107. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Info.plist +0 -0
  108. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeDirectory +0 -0
  109. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeResources +114 -346
  110. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ak.lproj/Localizable.strings +0 -0
  111. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/am.lproj/Localizable.strings +0 -0
  112. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ar.lproj/Localizable.strings +0 -0
  113. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/bn.lproj/Localizable.strings +0 -0
  114. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/cs.lproj/Localizable.strings +0 -0
  115. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/da.lproj/Localizable.strings +0 -0
  116. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/de.lproj/Localizable.strings +0 -0
  117. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/el.lproj/Localizable.strings +0 -0
  118. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en-GB.lproj/Localizable.strings +0 -0
  119. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en.lproj/Localizable.strings +0 -0
  120. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es-MX.lproj/Localizable.strings +0 -0
  121. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es.lproj/Localizable.strings +0 -0
  122. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fa.lproj/Localizable.strings +0 -0
  123. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fi.lproj/Localizable.strings +0 -0
  124. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fil.lproj/Localizable.strings +0 -0
  125. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr-CA.lproj/Localizable.strings +0 -0
  126. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr.lproj/Localizable.strings +0 -0
  127. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ha.lproj/Localizable.strings +0 -0
  128. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/he.lproj/Localizable.strings +0 -0
  129. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hi.lproj/Localizable.strings +0 -0
  130. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hr.lproj/Localizable.strings +0 -0
  131. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hu.lproj/Localizable.strings +0 -0
  132. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/id.lproj/Localizable.strings +0 -0
  133. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/is.lproj/Localizable.strings +0 -0
  134. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/it.lproj/Localizable.strings +0 -0
  135. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ja.lproj/Localizable.strings +0 -0
  136. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ka-GE.lproj/Localizable.strings +0 -0
  137. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/kk.lproj/Localizable.strings +0 -0
  138. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/km-KH.lproj/Localizable.strings +0 -0
  139. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ko.lproj/Localizable.strings +0 -0
  140. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/lv.lproj/Localizable.strings +0 -0
  141. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ms.lproj/Localizable.strings +0 -0
  142. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nb.lproj/Localizable.strings +0 -0
  143. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ne.lproj/Localizable.strings +0 -0
  144. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nl.lproj/Localizable.strings +0 -0
  145. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pl.lproj/Localizable.strings +0 -0
  146. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ps-AF.lproj/Localizable.strings +0 -0
  147. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt-BR.lproj/Localizable.strings +0 -0
  148. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt.lproj/Localizable.strings +0 -0
  149. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ro.lproj/Localizable.strings +0 -0
  150. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ru.lproj/Localizable.strings +0 -0
  151. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/si.lproj/Localizable.strings +0 -0
  152. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sk.lproj/Localizable.strings +0 -0
  153. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sl.lproj/Localizable.strings +0 -0
  154. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sr.lproj/Localizable.strings +0 -0
  155. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sv.lproj/Localizable.strings +0 -0
  156. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sw.lproj/Localizable.strings +0 -0
  157. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/th.lproj/Localizable.strings +0 -0
  158. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/tr.lproj/Localizable.strings +0 -0
  159. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uk.lproj/Localizable.strings +0 -0
  160. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ur.lproj/Localizable.strings +0 -0
  161. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uz.lproj/Localizable.strings +0 -0
  162. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/vi.lproj/Localizable.strings +0 -0
  163. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/yo.lproj/Localizable.strings +0 -0
  164. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hans.lproj/Localizable.strings +0 -0
  165. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hant.lproj/Localizable.strings +0 -0
  166. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Info.plist +0 -0
  167. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.abi.json +8983 -4775
  168. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +234 -100
  169. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +234 -100
  170. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  171. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.swiftinterface +234 -100
  172. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.abi.json +8983 -4775
  173. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +234 -100
  174. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +234 -100
  175. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  176. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +234 -100
  177. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/_CodeSignature/CodeResources +1 -1
  178. package/ios/Serialization/BlinkIdDeserializationUtils.swift +492 -0
  179. package/ios/Serialization/BlinkIdSerializationUtils.swift +866 -0
  180. package/lib/module/NativeBlinkidReactNative.js.map +1 -1
  181. package/lib/module/blinkIdResult.js +1 -764
  182. package/lib/module/blinkIdResult.js.map +1 -1
  183. package/lib/module/blinkIdSettings.js +1 -496
  184. package/lib/module/blinkIdSettings.js.map +1 -1
  185. package/lib/module/index.js +81 -17
  186. package/lib/module/index.js.map +1 -1
  187. package/lib/module/types.js +697 -3334
  188. package/lib/module/types.js.map +1 -1
  189. package/lib/typescript/src/NativeBlinkidReactNative.d.ts +26 -5
  190. package/lib/typescript/src/NativeBlinkidReactNative.d.ts.map +1 -1
  191. package/lib/typescript/src/blinkIdResult.d.ts +35 -17
  192. package/lib/typescript/src/blinkIdResult.d.ts.map +1 -1
  193. package/lib/typescript/src/blinkIdSettings.d.ts +36 -297
  194. package/lib/typescript/src/blinkIdSettings.d.ts.map +1 -1
  195. package/lib/typescript/src/index.d.ts +38 -10
  196. package/lib/typescript/src/index.d.ts.map +1 -1
  197. package/lib/typescript/src/types.d.ts +992 -1149
  198. package/lib/typescript/src/types.d.ts.map +1 -1
  199. package/package.json +5 -4
  200. package/src/NativeBlinkidReactNative.ts +28 -5
  201. package/src/blinkIdResult.ts +44 -432
  202. package/src/blinkIdSettings.ts +53 -373
  203. package/src/index.tsx +208 -35
  204. package/src/types.ts +1180 -1398
  205. package/android/.gradle/8.9/checksums/checksums.lock +0 -0
  206. package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
  207. package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
  208. package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
  209. package/android/.gradle/8.9/gc.properties +0 -0
  210. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  211. package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  212. package/android/.gradle/vcs-1/gc.properties +0 -0
  213. package/ios/BlinkIdDeserializationUtilities.swift +0 -374
  214. package/ios/BlinkIdSerializationUtilities.swift +0 -839
  215. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/MBSampleBufferWrapper.h +0 -28
  216. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/MBSampleBufferWrapper.h +0 -28
  217. package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
  218. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeRequirements-1 +0 -0
  219. package/lib/module/blinkIdUtilities.js +0 -21
  220. package/lib/module/blinkIdUtilities.js.map +0 -1
  221. package/lib/typescript/src/blinkIdUtilities.d.ts +0 -8
  222. package/lib/typescript/src/blinkIdUtilities.d.ts.map +0 -1
  223. package/src/blinkIdUtilities.ts +0 -20
@@ -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 class BlinkIdSdkSettings {
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 class BlinkIdSessionSettings {
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 seconds before scanning step times out and is cancelled.
102
+ * Duration in milliseconds before a scanning step times out and is cancelled.
128
103
  *
129
- * If less than zero, scanning will not time out.
130
- * Defaults to 15000 (miliseconds)
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
- * Represents the configuration settings for a scanning session.
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
- constructor() {
143
- this.scanningMode = ScanningMode.Automatic;
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 class BlinkIdScanningSettings {
158
- /**
159
- * The level of blur detection in the document image.
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
- * See {@link DocumentAnonymizationSettings} for more information.
312
- */
313
- customDocumentAnonymizationSettings?: DocumentAnonymizationSettings[];
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
- * Save the input images at the moment of the data extraction or timeout.
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
- * Default: `false`
136
+ * See {@link DocumentCaptureModuleSettings} for more information.
330
137
  */
331
- scanCroppedDocumentImage: boolean;
138
+ documentCaptureModule: Partial<DocumentCaptureModuleSettings> | null;
332
139
 
333
- /**
334
- * The filter for recognition modes.
140
+ /*
141
+ * Settings for the MRZ (Machine Readable Zone) extraction module.
335
142
  *
336
- * Specifies which recognition modes are enabled during the scanning process, with a default value of true to enable all modes.
337
- * [RecognitionModeFilter] is used to enable/disable recognition of specific document groups.
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
- * This setting is experimental and it will be removed in upcoming releases.
146
+ * Set to `null` to disable this module.
340
147
  *
341
- * By default all modes are enabled (set to `true`).
148
+ * See {@link MrzModuleSettings} for more information.
342
149
  */
343
- recognitionModeFilter: RecognitionModeFilter;
150
+ mrzModule: Partial<MrzModuleSettings> | null;
344
151
 
345
152
  /**
346
- * Indicates whether character validation is enabled.
153
+ * Settings for the barcode extraction module.
347
154
  *
348
- * Allow only results containing expected characters for a given field.
349
- * Each field is validated against a set of rules.
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
- * Default: `true`
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
- * The setting is applicable only when using images from Video source.
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
- * Default: `0.02` (also recommended value)
162
+ * See {@link BarcodeModuleSettings} for more information.
367
163
  */
368
- inputImageMargin: number;
164
+ barcodeModule: Partial<BarcodeModuleSettings> | null;
369
165
 
370
166
  /**
371
- * Indicates whether backside of unsupported document should be scanned also.
167
+ * Settings for the VIZ (Visual Inspection Zone) extraction module.
372
168
  *
373
- * By default, back side of the document will not be scanned if only the front side is supported for a specific
374
- * document.
169
+ * This module is responsible for extracting data from the document's
170
+ * visual fields.
375
171
  *
376
- * Default: `false`
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
- * This only applies to images from Photo input image source - for images from Video source, setting will be
384
- * ignored.
175
+ * Set to `null` to disable this module.
385
176
  *
386
- * Default: `false`
177
+ * See {@link VizModuleSettings} for more information.
387
178
  */
388
- allowUncertainFrontSideScan: boolean;
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
- * Default: `0`
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 class BlinkIdScanningUxSettings {
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 PrefferedCamera.back}
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
+ }>;