@regulaforensics/document-reader 8.3.281-beta → 8.3.288-beta

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 (42) hide show
  1. package/RNDocumentReader.podspec +2 -2
  2. package/android/build.gradle +2 -2
  3. package/android/cordova.gradle +2 -2
  4. package/android/src/main/java/com/regula/plugin/documentreader/Config.kt +4 -0
  5. package/android/src/main/java/com/regula/plugin/documentreader/JSONConstructor.kt +4 -4
  6. package/examples/capacitor/android/app/build.gradle +2 -2
  7. package/examples/capacitor/android/app/src/main/AndroidManifest.xml +1 -1
  8. package/examples/capacitor/android/app/src/main/java/com/regula/{dr/fullauthrfid → example/dr/capacitor}/MainActivity.java +1 -1
  9. package/examples/capacitor/android/app/src/main/res/values/strings.xml +2 -2
  10. package/examples/capacitor/ios/App/App/Info.plist +60 -60
  11. package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +2 -2
  12. package/examples/capacitor/package-lock.json +30 -159
  13. package/examples/capacitor/package.json +3 -3
  14. package/examples/ionic/config.xml +2 -2
  15. package/examples/ionic/package-lock.json +7962 -10570
  16. package/examples/ionic/package.json +16 -16
  17. package/examples/react_native/app.config.ts +3 -3
  18. package/examples/react_native/package-lock.json +54 -71
  19. package/examples/react_native/package.json +3 -3
  20. package/examples/react_native/scripts/android.sh +1 -0
  21. package/examples/react_native/scripts/ios.sh +2 -1
  22. package/ios/RGLWConfig.m +2 -0
  23. package/ios/RGLWMain.m +1 -1
  24. package/package.json +1 -1
  25. package/plugin.xml +2 -2
  26. package/test/json.tsx +3 -1
  27. package/test/package-lock.json +1 -1
  28. package/www/capacitor/params/Functionality.js +8 -0
  29. package/www/capacitor/params/process_params/ProcessParams.js +8 -0
  30. package/www/capacitor/results/authenticity/CheckDiagnose.js +1 -0
  31. package/www/cordova.js +17 -0
  32. package/www/react-native/params/Functionality.js +8 -0
  33. package/www/react-native/params/process_params/ProcessParams.js +8 -0
  34. package/www/react-native/results/authenticity/CheckDiagnose.js +1 -0
  35. package/www/types/params/Functionality.d.ts +4 -0
  36. package/www/types/params/process_params/FaceApiSearchParams.d.ts +2 -2
  37. package/www/types/params/process_params/ProcessParams.d.ts +4 -0
  38. package/www/types/results/TransactionInfo.d.ts +1 -1
  39. package/www/types/results/authenticity/CheckDiagnose.d.ts +2 -0
  40. /package/www/capacitor/params/process_params/{RfidParams.js → RFIDParams.js} +0 -0
  41. /package/www/react-native/params/process_params/{RfidParams.js → RFIDParams.js} +0 -0
  42. /package/www/types/params/process_params/{RfidParams.d.ts → RFIDParams.d.ts} +0 -0
@@ -17,13 +17,13 @@ export declare class FaceApiSearchParams {
17
17
  /**
18
18
  * The IDs of the groups in which the search is performed.
19
19
  */
20
- readonly groupIds?: number[];
20
+ readonly groupIds?: string[];
21
21
 
22
22
  constructor(
23
23
  options?: {
24
24
  limit?: number,
25
25
  threshold?: number,
26
- groupIds?: number[],
26
+ groupIds?: string[],
27
27
  }
28
28
  );
29
29
 
@@ -197,6 +197,10 @@ export declare class ProcessParams {
197
197
  * This parameter if enabled will ignore the minimum barcode resolution needed to start processing.
198
198
  */
199
199
  disableAuthResolutionFilter?: boolean;
200
+ /**
201
+ * When enabled, this parameter marks security checks that don’t meet minimum requirements as 'Failed' (instead of 'WasNotDone'), which causes the overall security status to be 'Failed'.
202
+ */
203
+ strictSecurityChecks?: boolean;
200
204
  /**
201
205
  * There are documents that contain barcodes which data can be parsed only
202
206
  * if document type verification is performed. The following property allows
@@ -2,7 +2,7 @@ export declare class TransactionInfo {
2
2
  readonly transactionId?: string;
3
3
  readonly tag?: string;
4
4
  /** The path to the logs folder of the session. */
5
- readonly sessionLogFolder?: string;
5
+ readonly sessionLogFolder: string;
6
6
 
7
7
  /** Allows you to deserialize object. */
8
8
  static fromJson(jsonObject: any): TransactionInfo | null;
@@ -153,6 +153,8 @@ export declare enum CheckDiagnose {
153
153
  TEXT_COLOR_SHOULD_BE_RED = 132,
154
154
  /** Text should be black. */
155
155
  TEXT_SHOULD_BE_BLACK = 133,
156
+ /** Security text is absent. */
157
+ SECURITY_TEXT_IS_ABSENT = 134,
156
158
  /** Barcode read with errors. */
157
159
  BARCODE_WAS_READ_WITH_ERRORS = 140,
158
160
  /** Barcode data format error. */