@regulaforensics/document-reader 8.3.309-beta → 8.3.473-rc
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/README.md +1 -1
- package/RNDocumentReader.podspec +2 -2
- package/android/build.gradle +1 -1
- package/android/cordova.gradle +1 -1
- package/android/src/main/java/com/regula/plugin/documentreader/BluetoothUtil.kt +9 -5
- package/android/src/main/java/com/regula/plugin/documentreader/Config.kt +20 -0
- package/android/src/main/java/com/regula/plugin/documentreader/JSONConstructor.kt +3 -0
- package/android/src/main/java/com/regula/plugin/documentreader/Main.kt +8 -5
- package/examples/capacitor/index.tsx +5 -5
- package/examples/capacitor/package-lock.json +372 -335
- package/examples/capacitor/package.json +3 -3
- package/examples/ionic/index.tsx +6 -2
- package/examples/ionic/package-lock.json +519 -814
- package/examples/ionic/package.json +3 -3
- package/examples/react_native/index.html +5 -4
- package/examples/react_native/metro.config.js +0 -2
- package/examples/react_native/package-lock.json +984 -818
- package/examples/react_native/package.json +3 -3
- package/ios/RGLWConfig.m +10 -9
- package/ios/RGLWJSONConstructor.m +3 -0
- package/ios/RGLWMain.h +2 -2
- package/ios/RGLWMain.m +2 -2
- package/ios/RNDocumentReader.m +2 -2
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/test/json.tsx +44 -31
- package/test/package-lock.json +1 -1
- package/test/test.tsx +1 -1
- package/www/capacitor/config/InitConfig.js +3 -0
- package/www/capacitor/index.js +0 -1
- package/www/capacitor/info/DocReaderException.js +2 -0
- package/www/capacitor/params/Functionality.js +8 -0
- package/www/capacitor/params/customization/CustomizationColors.js +32 -0
- package/www/capacitor/params/customization/CustomizationFonts.js +24 -0
- package/www/capacitor/params/customization/CustomizationImages.js +8 -0
- package/www/capacitor/params/process_params/AuthenticityParams.js +1 -0
- package/www/capacitor/params/process_params/LivenessParams.js +2 -2
- package/www/capacitor/params/process_params/ProcessParams.js +10 -0
- package/www/capacitor/results/authenticity/CheckDiagnose.js +2 -0
- package/www/capacitor/results/authenticity/SecurityFeatureType.js +3 -1
- package/www/cordova.js +410 -313
- package/www/react-native/config/InitConfig.js +3 -0
- package/www/react-native/index.js +0 -1
- package/www/react-native/info/DocReaderException.js +2 -0
- package/www/react-native/params/Functionality.js +8 -0
- package/www/react-native/params/customization/CustomizationColors.js +32 -0
- package/www/react-native/params/customization/CustomizationFonts.js +24 -0
- package/www/react-native/params/customization/CustomizationImages.js +8 -0
- package/www/react-native/params/process_params/AuthenticityParams.js +1 -0
- package/www/react-native/params/process_params/LivenessParams.js +2 -2
- package/www/react-native/params/process_params/ProcessParams.js +10 -0
- package/www/react-native/results/authenticity/CheckDiagnose.js +2 -0
- package/www/react-native/results/authenticity/SecurityFeatureType.js +3 -1
- package/www/types/config/InitConfig.d.ts +5 -0
- package/www/types/index.d.ts +2 -2
- package/www/types/info/DocReaderException.d.ts +4 -0
- package/www/types/params/Functionality.d.ts +6 -0
- package/www/types/params/customization/CustomizationColors.d.ts +16 -8
- package/www/types/params/customization/CustomizationFonts.d.ts +6 -0
- package/www/types/params/customization/CustomizationImages.d.ts +6 -1
- package/www/types/params/process_params/ProcessParams.d.ts +5 -0
- package/www/types/results/authenticity/CheckDiagnose.d.ts +4 -0
- package/www/types/results/authenticity/SecurityFeatureType.d.ts +4 -0
|
@@ -241,6 +241,12 @@ export class ProcessParams {
|
|
|
241
241
|
this._set({ "strictSecurityChecks": val });
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
+
get returnTransliteratedFields() { return this._returnTransliteratedFields; }
|
|
245
|
+
set returnTransliteratedFields(val) {
|
|
246
|
+
this._returnTransliteratedFields = val;
|
|
247
|
+
this._set({ "returnTransliteratedFields": val });
|
|
248
|
+
}
|
|
249
|
+
|
|
244
250
|
get barcodeParserType() { return this._barcodeParserType; }
|
|
245
251
|
set barcodeParserType(val) {
|
|
246
252
|
this._barcodeParserType = val;
|
|
@@ -433,6 +439,7 @@ export class ProcessParams {
|
|
|
433
439
|
this._set({ "lcidFilter": val });
|
|
434
440
|
}
|
|
435
441
|
|
|
442
|
+
_imageQA = new ImageQA();
|
|
436
443
|
get imageQA() { return this._imageQA; }
|
|
437
444
|
set imageQA(val) { (this._imageQA = val)._apply(); }
|
|
438
445
|
|
|
@@ -454,6 +461,7 @@ export class ProcessParams {
|
|
|
454
461
|
this._set({ "backendProcessingConfig": val });
|
|
455
462
|
}
|
|
456
463
|
|
|
464
|
+
_authenticityParams = new AuthenticityParams();
|
|
457
465
|
get authenticityParams() { return this._authenticityParams; }
|
|
458
466
|
set authenticityParams(val) { (this._authenticityParams = val)._apply(); }
|
|
459
467
|
|
|
@@ -506,6 +514,7 @@ export class ProcessParams {
|
|
|
506
514
|
result._generateAlpha2Codes = jsonObject["generateAlpha2Codes"];
|
|
507
515
|
result._disableAuthResolutionFilter = jsonObject["disableAuthResolutionFilter"];
|
|
508
516
|
result._strictSecurityChecks = jsonObject["strictSecurityChecks"];
|
|
517
|
+
result._returnTransliteratedFields = jsonObject["returnTransliteratedFields"];
|
|
509
518
|
result._barcodeParserType = jsonObject["barcodeParserType"];
|
|
510
519
|
result._perspectiveAngle = jsonObject["perspectiveAngle"];
|
|
511
520
|
result._minDPI = jsonObject["minDPI"];
|
|
@@ -588,6 +597,7 @@ export class ProcessParams {
|
|
|
588
597
|
"generateAlpha2Codes": this.generateAlpha2Codes,
|
|
589
598
|
"disableAuthResolutionFilter": this.disableAuthResolutionFilter,
|
|
590
599
|
"strictSecurityChecks": this.strictSecurityChecks,
|
|
600
|
+
"returnTransliteratedFields": this.returnTransliteratedFields,
|
|
591
601
|
"measureSystem": this.measureSystem,
|
|
592
602
|
"barcodeParserType": this.barcodeParserType,
|
|
593
603
|
"perspectiveAngle": this.perspectiveAngle,
|
|
@@ -46,6 +46,8 @@ export const CheckDiagnose = {
|
|
|
46
46
|
FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR: 84,
|
|
47
47
|
FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR: 85,
|
|
48
48
|
CHD_FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION: 86,
|
|
49
|
+
CHD_FIELD_POS_CORRECTOR_AGE_CHECK_ERROR: 87,
|
|
50
|
+
CHD_FIELD_POS_CORRECTOR_SEX_CHECK_ERROR: 88,
|
|
49
51
|
OVI_IR_INVISIBLE: 90,
|
|
50
52
|
OVI_INSUFFICIENT_AREA: 91,
|
|
51
53
|
OVI_COLOR_INVARIABLE: 92,
|