@regulaforensics/document-reader 8.3.273-beta → 8.3.279-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 (172) hide show
  1. package/RNDocumentReader.podspec +1 -1
  2. package/examples/capacitor/package.json +1 -3
  3. package/examples/ionic/package.json +1 -1
  4. package/examples/react_native/package.json +1 -1
  5. package/package.json +1 -1
  6. package/plugin.xml +1 -1
  7. package/test/json.tsx +92 -92
  8. package/test/package-lock.json +1 -1
  9. package/test/package.json +0 -3
  10. package/test/test.tsx +87 -87
  11. package/test/utils.tsx +29 -25
  12. package/www/capacitor/config/OnlineProcessingConfig.js +11 -0
  13. package/www/capacitor/config/RecognizeConfig.js +23 -0
  14. package/www/capacitor/config/ScannerConfig.js +10 -0
  15. package/www/capacitor/info/DocReaderException.js +7 -0
  16. package/www/capacitor/info/DocReaderScenario.js +18 -0
  17. package/www/capacitor/info/DocReaderVersion.js +9 -0
  18. package/www/capacitor/info/DocumentsDatabase.js +12 -0
  19. package/www/capacitor/info/License.js +8 -0
  20. package/www/capacitor/info/PrepareProgress.js +8 -0
  21. package/www/capacitor/info/RFIDException.js +7 -0
  22. package/www/capacitor/params/Functionality.js +44 -0
  23. package/www/capacitor/params/customization/Customization.js +76 -0
  24. package/www/capacitor/params/customization/CustomizationColors.js +13 -0
  25. package/www/capacitor/params/customization/CustomizationFonts.js +8 -0
  26. package/www/capacitor/params/customization/CustomizationImages.js +6 -0
  27. package/www/capacitor/params/customization/Font.js +8 -0
  28. package/www/capacitor/params/process_params/AuthenticityParams.js +21 -0
  29. package/www/capacitor/params/process_params/BackendProcessingConfig.js +9 -0
  30. package/www/capacitor/params/process_params/FaceApiParams.js +13 -0
  31. package/www/capacitor/params/process_params/FaceApiSearchParams.js +8 -0
  32. package/www/capacitor/params/process_params/GlaresCheckParams.js +7 -0
  33. package/www/capacitor/params/process_params/ImageQA.js +16 -0
  34. package/www/capacitor/params/process_params/LivenessParams.js +12 -0
  35. package/www/capacitor/params/process_params/ProcessParams.js +82 -2
  36. package/www/capacitor/params/process_params/RfidParams.js +6 -0
  37. package/www/capacitor/params/rfid_scenario/DTCDataGroup.js +10 -0
  38. package/www/capacitor/params/rfid_scenario/EDLDataGroups.js +19 -0
  39. package/www/capacitor/params/rfid_scenario/EIDDataGroups.js +26 -0
  40. package/www/capacitor/params/rfid_scenario/EPassportDataGroups.js +21 -0
  41. package/www/capacitor/params/rfid_scenario/RFIDScenario.js +67 -0
  42. package/www/capacitor/results/Position.js +28 -0
  43. package/www/capacitor/results/Results.js +25 -0
  44. package/www/capacitor/results/TransactionInfo.js +8 -0
  45. package/www/capacitor/results/authenticity/AuthenticityCheck.js +10 -0
  46. package/www/capacitor/results/authenticity/AuthenticityElement.js +10 -0
  47. package/www/capacitor/results/authenticity/AuthenticityResult.js +7 -0
  48. package/www/capacitor/results/barcode/BarcodeField.js +10 -0
  49. package/www/capacitor/results/barcode/BarcodeResult.js +6 -0
  50. package/www/capacitor/results/barcode/PDF417Info.js +8 -0
  51. package/www/capacitor/results/image_quality/ImageQuality.js +9 -0
  52. package/www/capacitor/results/image_quality/ImageQualityGroup.js +9 -0
  53. package/www/capacitor/results/rfid/AccessControlProcedureType.js +9 -0
  54. package/www/capacitor/results/rfid/Application.js +12 -0
  55. package/www/capacitor/results/rfid/Attribute.js +7 -0
  56. package/www/capacitor/results/rfid/Authority.js +8 -0
  57. package/www/capacitor/results/rfid/CardProperties.js +19 -0
  58. package/www/capacitor/results/rfid/CertificateChain.js +18 -0
  59. package/www/capacitor/results/rfid/CertificateData.js +7 -0
  60. package/www/capacitor/results/rfid/DataField.js +7 -0
  61. package/www/capacitor/results/rfid/Extension.js +7 -0
  62. package/www/capacitor/results/rfid/File.js +17 -0
  63. package/www/capacitor/results/rfid/FileData.js +9 -0
  64. package/www/capacitor/results/rfid/RFIDSessionData.js +16 -0
  65. package/www/capacitor/results/rfid/RFIDValidity.js +7 -0
  66. package/www/capacitor/results/rfid/RFIDValue.js +10 -0
  67. package/www/capacitor/results/rfid/SecurityObject.js +10 -0
  68. package/www/capacitor/results/rfid/SecurityObjectCertificates.js +6 -0
  69. package/www/capacitor/results/rfid/SignerInfo.js +17 -0
  70. package/www/capacitor/results/status/OpticalStatus.js +14 -0
  71. package/www/capacitor/results/status/RFIDStatus.js +12 -0
  72. package/www/capacitor/results/status/ResultsStatus.js +12 -0
  73. package/www/capacitor/results/visible_digital_seals/BytesData.js +9 -0
  74. package/www/capacitor/results/visible_digital_seals/VDSNCData.js +14 -0
  75. package/www/capacitor/results/visual_results/Comparison.js +8 -0
  76. package/www/capacitor/results/visual_results/GraphicField.js +14 -0
  77. package/www/capacitor/results/visual_results/GraphicResult.js +6 -0
  78. package/www/capacitor/results/visual_results/RFIDOrigin.js +9 -0
  79. package/www/capacitor/results/visual_results/Rect.js +9 -0
  80. package/www/capacitor/results/visual_results/Symbol.js +8 -0
  81. package/www/capacitor/results/visual_results/TextField.js +17 -0
  82. package/www/capacitor/results/visual_results/TextResult.js +10 -0
  83. package/www/capacitor/results/visual_results/TextSource.js +8 -0
  84. package/www/capacitor/results/visual_results/Validity.js +7 -0
  85. package/www/capacitor/results/visual_results/Value.js +13 -0
  86. package/www/capacitor/rfid/PAAttribute.js +7 -0
  87. package/www/capacitor/rfid/PAResourcesIssuer.js +8 -0
  88. package/www/capacitor/rfid/PKDCertificate.js +8 -0
  89. package/www/capacitor/rfid/RFIDNotification.js +8 -0
  90. package/www/capacitor/rfid/TAChallenge.js +10 -0
  91. package/www/capacitor/rfid/TccParams.js +10 -0
  92. package/www/cordova.js +1122 -2
  93. package/www/react-native/config/OnlineProcessingConfig.js +11 -0
  94. package/www/react-native/config/RecognizeConfig.js +23 -0
  95. package/www/react-native/config/ScannerConfig.js +10 -0
  96. package/www/react-native/info/DocReaderException.js +7 -0
  97. package/www/react-native/info/DocReaderScenario.js +18 -0
  98. package/www/react-native/info/DocReaderVersion.js +9 -0
  99. package/www/react-native/info/DocumentsDatabase.js +12 -0
  100. package/www/react-native/info/License.js +8 -0
  101. package/www/react-native/info/PrepareProgress.js +8 -0
  102. package/www/react-native/info/RFIDException.js +7 -0
  103. package/www/react-native/params/Functionality.js +44 -0
  104. package/www/react-native/params/customization/Customization.js +76 -0
  105. package/www/react-native/params/customization/CustomizationColors.js +13 -0
  106. package/www/react-native/params/customization/CustomizationFonts.js +8 -0
  107. package/www/react-native/params/customization/CustomizationImages.js +6 -0
  108. package/www/react-native/params/customization/Font.js +8 -0
  109. package/www/react-native/params/process_params/AuthenticityParams.js +21 -0
  110. package/www/react-native/params/process_params/BackendProcessingConfig.js +9 -0
  111. package/www/react-native/params/process_params/FaceApiParams.js +13 -0
  112. package/www/react-native/params/process_params/FaceApiSearchParams.js +8 -0
  113. package/www/react-native/params/process_params/GlaresCheckParams.js +7 -0
  114. package/www/react-native/params/process_params/ImageQA.js +16 -0
  115. package/www/react-native/params/process_params/LivenessParams.js +12 -0
  116. package/www/react-native/params/process_params/ProcessParams.js +82 -2
  117. package/www/react-native/params/process_params/RfidParams.js +6 -0
  118. package/www/react-native/params/rfid_scenario/DTCDataGroup.js +10 -0
  119. package/www/react-native/params/rfid_scenario/EDLDataGroups.js +19 -0
  120. package/www/react-native/params/rfid_scenario/EIDDataGroups.js +26 -0
  121. package/www/react-native/params/rfid_scenario/EPassportDataGroups.js +21 -0
  122. package/www/react-native/params/rfid_scenario/RFIDScenario.js +67 -0
  123. package/www/react-native/results/Position.js +28 -0
  124. package/www/react-native/results/Results.js +25 -0
  125. package/www/react-native/results/TransactionInfo.js +8 -0
  126. package/www/react-native/results/authenticity/AuthenticityCheck.js +10 -0
  127. package/www/react-native/results/authenticity/AuthenticityElement.js +10 -0
  128. package/www/react-native/results/authenticity/AuthenticityResult.js +7 -0
  129. package/www/react-native/results/barcode/BarcodeField.js +10 -0
  130. package/www/react-native/results/barcode/BarcodeResult.js +6 -0
  131. package/www/react-native/results/barcode/PDF417Info.js +8 -0
  132. package/www/react-native/results/image_quality/ImageQuality.js +9 -0
  133. package/www/react-native/results/image_quality/ImageQualityGroup.js +9 -0
  134. package/www/react-native/results/rfid/AccessControlProcedureType.js +9 -0
  135. package/www/react-native/results/rfid/Application.js +12 -0
  136. package/www/react-native/results/rfid/Attribute.js +7 -0
  137. package/www/react-native/results/rfid/Authority.js +8 -0
  138. package/www/react-native/results/rfid/CardProperties.js +19 -0
  139. package/www/react-native/results/rfid/CertificateChain.js +18 -0
  140. package/www/react-native/results/rfid/CertificateData.js +7 -0
  141. package/www/react-native/results/rfid/DataField.js +7 -0
  142. package/www/react-native/results/rfid/Extension.js +7 -0
  143. package/www/react-native/results/rfid/File.js +17 -0
  144. package/www/react-native/results/rfid/FileData.js +9 -0
  145. package/www/react-native/results/rfid/RFIDSessionData.js +16 -0
  146. package/www/react-native/results/rfid/RFIDValidity.js +7 -0
  147. package/www/react-native/results/rfid/RFIDValue.js +10 -0
  148. package/www/react-native/results/rfid/SecurityObject.js +10 -0
  149. package/www/react-native/results/rfid/SecurityObjectCertificates.js +6 -0
  150. package/www/react-native/results/rfid/SignerInfo.js +17 -0
  151. package/www/react-native/results/status/OpticalStatus.js +14 -0
  152. package/www/react-native/results/status/RFIDStatus.js +12 -0
  153. package/www/react-native/results/status/ResultsStatus.js +12 -0
  154. package/www/react-native/results/visible_digital_seals/BytesData.js +9 -0
  155. package/www/react-native/results/visible_digital_seals/VDSNCData.js +14 -0
  156. package/www/react-native/results/visual_results/Comparison.js +8 -0
  157. package/www/react-native/results/visual_results/GraphicField.js +14 -0
  158. package/www/react-native/results/visual_results/GraphicResult.js +6 -0
  159. package/www/react-native/results/visual_results/RFIDOrigin.js +9 -0
  160. package/www/react-native/results/visual_results/Rect.js +9 -0
  161. package/www/react-native/results/visual_results/Symbol.js +8 -0
  162. package/www/react-native/results/visual_results/TextField.js +17 -0
  163. package/www/react-native/results/visual_results/TextResult.js +10 -0
  164. package/www/react-native/results/visual_results/TextSource.js +8 -0
  165. package/www/react-native/results/visual_results/Validity.js +7 -0
  166. package/www/react-native/results/visual_results/Value.js +13 -0
  167. package/www/react-native/rfid/PAAttribute.js +7 -0
  168. package/www/react-native/rfid/PAResourcesIssuer.js +8 -0
  169. package/www/react-native/rfid/PKDCertificate.js +8 -0
  170. package/www/react-native/rfid/RFIDNotification.js +8 -0
  171. package/www/react-native/rfid/TAChallenge.js +10 -0
  172. package/www/react-native/rfid/TccParams.js +10 -0
@@ -5,7 +5,7 @@ source = File.join(__dir__, 'ios')
5
5
 
6
6
  Pod::Spec.new do |s|
7
7
  s.name = 'RNDocumentReader'
8
- s.version = '8.3.273-beta'
8
+ s.version = '8.3.279-beta'
9
9
  s.summary = package['description']
10
10
  s.license = package['license']
11
11
 
@@ -6,15 +6,13 @@
6
6
  "android": "scripts/android.sh"
7
7
  },
8
8
  "dependencies": {
9
- "@regulaforensics/document-reader": "8.3.273-beta",
9
+ "@regulaforensics/document-reader": "8.3.279-beta",
10
10
  "@regulaforensics/document-reader-core-fullauthrfid": "8.2.8-beta",
11
11
  "@regulaforensics/document-reader-btdevice": "8.2.8-beta",
12
12
  "@awesome-cordova-plugins/file": "6.6.0",
13
13
  "@awesome-cordova-plugins/camera": "6.6.0",
14
- "@awesome-cordova-plugins/dialogs": "6.6.0",
15
14
  "cordova-plugin-file": "8.1.3",
16
15
  "cordova-plugin-camera": "8.0.0",
17
- "cordova-plugin-dialogs": "2.0.2",
18
16
  "@capacitor/cli": "7.0.1",
19
17
  "@capacitor/core": "7.0.1",
20
18
  "@capacitor/app": "7.0.0",
@@ -6,7 +6,7 @@
6
6
  "android": "scripts/android.sh"
7
7
  },
8
8
  "dependencies": {
9
- "@regulaforensics/document-reader": "8.3.273-beta",
9
+ "@regulaforensics/document-reader": "8.3.279-beta",
10
10
  "@regulaforensics/document-reader-core-fullauthrfid": "8.2.8-beta",
11
11
  "@regulaforensics/document-reader-btdevice": "8.2.8-beta",
12
12
  "@awesome-cordova-plugins/file": "6.14.0",
@@ -8,7 +8,7 @@
8
8
  "start": "expo start"
9
9
  },
10
10
  "dependencies": {
11
- "@regulaforensics/document-reader": "8.3.273-beta",
11
+ "@regulaforensics/document-reader": "8.3.279-beta",
12
12
  "@regulaforensics/document-reader-core-fullauthrfid": "8.2.8-beta",
13
13
  "@regulaforensics/document-reader-btdevice": "8.2.8-beta",
14
14
  "react-native": "0.79.5",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/document-reader",
3
- "version": "8.3.273-beta",
3
+ "version": "8.3.279-beta",
4
4
  "description": "This is an npm module for Regula Document Reader SDK. It allows you to read various kinds of identification documents using your phone's camera.",
5
5
  "main": "www/react-native/index.js",
6
6
  "module": "www/capacitor/index.js",
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version='1.0' encoding='utf-8'?>
2
- <plugin id="@regulaforensics/document-reader" version="8.3.273-beta" xmlns="http://apache.org/cordova/ns/plugins/1.0">
2
+ <plugin id="@regulaforensics/document-reader" version="8.3.279-beta" xmlns="http://apache.org/cordova/ns/plugins/1.0">
3
3
  <name>DocumentReader</name>
4
4
  <description>Cordova plugin for Regula Document Reader SDK</description>
5
5
  <license>commercial</license>
package/test/json.tsx CHANGED
@@ -1,12 +1,12 @@
1
- var img1 = 'data1';
2
- var img2 = 'data2';
3
- var img3 = 'data3';
1
+ var img1 = 'data1'
2
+ var img2 = 'data2'
3
+ var img3 = 'data3'
4
4
 
5
5
  export var faceApiSearchParams = {
6
6
  "limit": 1,
7
7
  "threshold": 2,
8
8
  "groupIds": [3, 4, 5],
9
- };
9
+ }
10
10
  export var faceApiParams = {
11
11
  "url": "test1",
12
12
  "mode": "test2",
@@ -16,7 +16,7 @@ export var faceApiParams = {
16
16
  "proxyPassword": "test4",
17
17
  "proxyType": 3,
18
18
  "searchParams": faceApiSearchParams,
19
- };
19
+ }
20
20
  export var livenessParams = {
21
21
  "checkOVI": true,
22
22
  "checkMLI": false,
@@ -25,7 +25,7 @@ export var livenessParams = {
25
25
  "checkBlackAndWhiteCopy": true,
26
26
  "checkDynaprint": false,
27
27
  "checkGeometry": true,
28
- };
28
+ }
29
29
  export var authenticityParams = {
30
30
  "useLivenessCheck": true,
31
31
  "checkUVLuminiscence": false,
@@ -43,8 +43,8 @@ export var authenticityParams = {
43
43
  "checkLetterScreen": false,
44
44
  "checkSecurityText": true,
45
45
  "livenessParams": livenessParams,
46
- };
47
- export var glaresCheckParams = {"imgMarginPart": 0.5, "maxGlaringPart": 1.5};
46
+ }
47
+ export var glaresCheckParams = {"imgMarginPart": 0.5, "maxGlaringPart": 1.5}
48
48
  export var imageQA = {
49
49
  "dpiThreshold": 1,
50
50
  "angleThreshold": 2,
@@ -57,16 +57,16 @@ export var imageQA = {
57
57
  "glaresCheckParams": glaresCheckParams,
58
58
  "brightnessThreshold": 0.5,
59
59
  "occlusionCheck": true,
60
- };
60
+ }
61
61
  export var rfidParams = {
62
62
  "paIgnoreNotificationCodes": [1, 2, 3],
63
- };
63
+ }
64
64
  export var backendProcessingConfig = {
65
65
  "url": "test",
66
66
  "rfidServerSideChipVerification": true,
67
67
  "httpHeaders": {"key1": "val1", "key2": "val2", "key3": "val3"},
68
68
  "timeoutConnection": 0.5,
69
- };
69
+ }
70
70
  export var processParams = {
71
71
  "multipageProcessing": true,
72
72
  "debugSaveImages": false,
@@ -143,9 +143,9 @@ export var processParams = {
143
143
  "backendProcessingConfig": backendProcessingConfig,
144
144
  "authenticityParams": authenticityParams,
145
145
  "customParams": {"test1": true, "test2": 1, "test3": "test"},
146
- };
147
- export var font1 = {"name": "AppleSDGothicNeo-Thin", "size": 10, "style": 2};
148
- export var font2 = {"name": "Copperplate-Light", "size": 20, "style": 1};
146
+ }
147
+ export var font1 = {"name": "AppleSDGothicNeo-Thin", "size": 10, "style": 2}
148
+ export var font2 = {"name": "Copperplate-Light", "size": 20, "style": 1}
149
149
  export var customizationColors = {
150
150
  "rfidProcessingScreenBackground": 0xff000000,
151
151
  "rfidProcessingScreenHintLabelText": 0xff000001,
@@ -155,13 +155,13 @@ export var customizationColors = {
155
155
  "rfidProcessingScreenProgressBarBackground": 0xff000005,
156
156
  "rfidProcessingScreenResultLabelText": 0xff000006,
157
157
  "rfidProcessingScreenLoadingBar": 0xff000007,
158
- };
158
+ }
159
159
  export var customizationFonts = {
160
160
  "rfidProcessingScreenHintLabel": font1,
161
161
  "rfidProcessingScreenProgressLabel": font2,
162
162
  "rfidProcessingScreenResultLabel": font1,
163
- };
164
- export var customizationImages = {"rfidProcessingScreenFailureImage": img1};
163
+ }
164
+ export var customizationImages = {"rfidProcessingScreenFailureImage": img1}
165
165
  export var customization = {
166
166
  "showStatusMessages": true,
167
167
  "showResultStatusMessages": false,
@@ -254,8 +254,8 @@ export var customization = {
254
254
  "colors": customizationColors,
255
255
  "fonts": customizationFonts,
256
256
  "images": customizationImages,
257
- };
258
- export var cameraSize = {"width": 0, "height": 1};
257
+ }
258
+ export var cameraSize = {"width": 0, "height": 1}
259
259
  export var functionality = {
260
260
  "pictureOnBoundsReady": true,
261
261
  "showTorchButton": false,
@@ -289,7 +289,7 @@ export var functionality = {
289
289
  "excludedCamera2Models": ["test1", "test2", "test3"],
290
290
  "cameraSize": cameraSize,
291
291
  "videoSessionPreset": 6,
292
- };
292
+ }
293
293
  export var eDLDataGroups = {
294
294
  "DG1": true,
295
295
  "DG2": false,
@@ -305,7 +305,7 @@ export var eDLDataGroups = {
305
305
  "DG12": false,
306
306
  "DG13": true,
307
307
  "DG14": false,
308
- };
308
+ }
309
309
  export var ePassportDataGroups = {
310
310
  "DG1": true,
311
311
  "DG2": false,
@@ -323,7 +323,7 @@ export var ePassportDataGroups = {
323
323
  "DG14": false,
324
324
  "DG15": true,
325
325
  "DG16": false,
326
- };
326
+ }
327
327
  export var eIDDataGroups = {
328
328
  "DG1": true,
329
329
  "DG2": false,
@@ -346,14 +346,14 @@ export var eIDDataGroups = {
346
346
  "DG19": true,
347
347
  "DG20": false,
348
348
  "DG21": true,
349
- };
349
+ }
350
350
  export var dtcDataGroup = {
351
351
  "DG17": true,
352
352
  "DG18": false,
353
353
  "DG22": false,
354
354
  "DG23": true,
355
355
  "DG24": false,
356
- };
356
+ }
357
357
  export var rfidScenario = {
358
358
  "paceStaticBinding": true,
359
359
  "onlineTA": false,
@@ -417,7 +417,7 @@ export var rfidScenario = {
417
417
  "ePassportDataGroups": ePassportDataGroups,
418
418
  "eIDDataGroups": eIDDataGroups,
419
419
  "dtcDataGroups": dtcDataGroup,
420
- };
420
+ }
421
421
 
422
422
  export var initConfig = {
423
423
  "delayedNNLoad": false,
@@ -427,7 +427,7 @@ export var initConfig = {
427
427
  "databasePath": "test",
428
428
  "license": img2,
429
429
  "useBleDevice": true,
430
- };
430
+ }
431
431
  export var onlineProcessingConfig = {
432
432
  "mode": 1,
433
433
  "url": "test",
@@ -435,8 +435,8 @@ export var onlineProcessingConfig = {
435
435
  "imageCompressionQuality": 1.5,
436
436
  "processParams": processParams,
437
437
  "requestHeaders": {"key1": "val1", "key2": "val2", "key3": "val3"},
438
- };
439
- export var imageInputData = {"image": img1, "light": 128, "pageIndex": 2};
438
+ }
439
+ export var imageInputData = {"image": img1, "light": 128, "pageIndex": 2}
440
440
  export var recognizeConfig = {
441
441
  "scenario": "Mrz",
442
442
  "livePortrait": img1,
@@ -447,7 +447,7 @@ export var recognizeConfig = {
447
447
  "data": img1,
448
448
  "images": [img1, img2, img3],
449
449
  "imageInputData": [imageInputData, imageInputData, imageInputData],
450
- };
450
+ }
451
451
  export var recognizeConfig2 = {
452
452
  "onlineProcessingConfig": onlineProcessingConfig,
453
453
  "livePortrait": img1,
@@ -457,14 +457,14 @@ export var recognizeConfig2 = {
457
457
  "data": img1,
458
458
  "images": [img1, img2, img3],
459
459
  "imageInputData": [imageInputData, imageInputData, imageInputData],
460
- };
460
+ }
461
461
  export var scannerConfig = {
462
462
  "scenario": "Mrz",
463
463
  "onlineProcessingConfig": onlineProcessingConfig,
464
464
  "livePortrait": img1,
465
465
  "extPortrait": img2,
466
466
  "cameraId": 1,
467
- };
467
+ }
468
468
 
469
469
  export var documentsDatabase = {
470
470
  "databaseID": "test1",
@@ -474,13 +474,13 @@ export var documentsDatabase = {
474
474
  "countriesNumber": 1,
475
475
  "documentsNumber": 2,
476
476
  "size": 3,
477
- };
477
+ }
478
478
  export var docReaderVersion = {
479
479
  "api": "test1",
480
480
  "core": "test2",
481
481
  "coreMode": "test3",
482
482
  "database": documentsDatabase,
483
- };
483
+ }
484
484
  export var docReaderScenario = {
485
485
  "uvTorch": true,
486
486
  "frameOrientation": 2,
@@ -495,15 +495,15 @@ export var docReaderScenario = {
495
495
  "caption": "test2",
496
496
  "description": "test3",
497
497
  "manualCrop": false,
498
- };
498
+ }
499
499
  export var license = {
500
500
  "expiryDate": "test1",
501
501
  "countryFilter": ["test2", "test3", "test4"],
502
502
  "isRfidAvailable": true,
503
- };
504
- export var docReaderException = {"code": 1, "message": "test1"};
505
- export var rfidException = {"code": 2, "message": "test2"};
506
- export var prepareProgress = {"downloadedBytes": 1, "totalBytes": 2, "progress": 50};
503
+ }
504
+ export var docReaderException = {"code": 1, "message": "test1"}
505
+ export var rfidException = {"code": 2, "message": "test2"}
506
+ export var prepareProgress = {"downloadedBytes": 1, "totalBytes": 2, "progress": 50}
507
507
 
508
508
  export var authenticityElement = {
509
509
  "status": 1,
@@ -511,51 +511,51 @@ export var authenticityElement = {
511
511
  "elementDiagnose": 3,
512
512
  "elementTypeName": "Photo element",
513
513
  "elementDiagnoseName": "Error of internal data processing",
514
- };
514
+ }
515
515
  export var authenticityCheck = {
516
516
  "type": 1,
517
517
  "status": 2,
518
518
  "typeName": "UV dull paper check",
519
519
  "pageIndex": 3,
520
520
  "elements": [authenticityElement, authenticityElement, authenticityElement],
521
- };
521
+ }
522
522
  export var authenticityResult = {
523
523
  "status": 2,
524
524
  "checks": [authenticityCheck, authenticityCheck, authenticityCheck],
525
- };
526
- export var pdf417Info = {"errorLevel": 2, "columns": 3, "rows": 4};
525
+ }
526
+ export var pdf417Info = {"errorLevel": 2, "columns": 3, "rows": 4}
527
527
  export var barcodeField = {
528
528
  "barcodeType": 5,
529
529
  "status": -6001,
530
530
  "pageIndex": 2,
531
531
  "pdf417Info": pdf417Info,
532
532
  "data": img1,
533
- };
533
+ }
534
534
  export var barcodeResult = {
535
535
  "fields": [barcodeField, barcodeField, barcodeField],
536
- };
537
- export var rect = {"bottom": 0, "top": 1, "left": 2, "right": 3};
536
+ }
537
+ export var rect = {"bottom": 0, "top": 1, "left": 2, "right": 3}
538
538
  export var imageQuality = {
539
539
  "featureType": 1,
540
540
  "result": 2,
541
541
  "type": 3,
542
542
  "boundRects": [rect, rect, rect],
543
- };
543
+ }
544
544
  export var imageQualityGroup = {
545
545
  "count": 1,
546
546
  "result": 2,
547
547
  "pageIndex": 3,
548
548
  "imageQualityList": [imageQuality, imageQuality, imageQuality],
549
- };
549
+ }
550
550
  export var accessControlProcedureType = {
551
551
  "activeOptionIdx": 1,
552
552
  "type": 2,
553
553
  "status": 1,
554
554
  "notifications": [1, 2, 3],
555
- };
556
- export var fileData = {"data": "test", "length": 2, "type": 3, "status": 4};
557
- export var certificateData = {"data": "test", "length": 1};
558
- export var securityObjectCertificates = {"securityObject": certificateData};
555
+ }
556
+ export var fileData = {"data": "test", "length": 2, "type": 3, "status": 4}
557
+ export var certificateData = {"data": "test", "length": 1}
558
+ export var securityObjectCertificates = {"securityObject": certificateData}
559
559
  export var file = {
560
560
  "fileData": fileData,
561
561
  "fileID": "test1",
@@ -569,7 +569,7 @@ export var file = {
569
569
  "docFieldsGraphics": [7, 8, 9],
570
570
  "docFieldsOriginals": [10, 11, 12],
571
571
  "certificates": securityObjectCertificates,
572
- };
572
+ }
573
573
  export var application = {
574
574
  "applicationID": "test1",
575
575
  "dataHashAlgorithm": "test2",
@@ -578,20 +578,20 @@ export var application = {
578
578
  "type": 2,
579
579
  "unicodeVersion": "test3",
580
580
  "version": "test4",
581
- };
581
+ }
582
582
  export var rfidValue = {
583
583
  "data": "test1",
584
584
  "length": 1,
585
585
  "status": 2,
586
586
  "type": 3,
587
587
  "format": "test2",
588
- };
589
- export var attribute = {"type": "test", "value": rfidValue};
588
+ }
589
+ export var attribute = {"type": "test", "value": rfidValue}
590
590
  export var authority = {
591
591
  "attributes": [attribute, attribute, attribute],
592
592
  "data": "test",
593
593
  "friendlyName": rfidValue,
594
- };
594
+ }
595
595
  export var cardProperties = {
596
596
  "aTQA": 1,
597
597
  "bitRateR": 2,
@@ -607,9 +607,9 @@ export var cardProperties = {
607
607
  "baudrate1": "test3",
608
608
  "baudrate2": "test4",
609
609
  "uID": "test5",
610
- };
611
- export var extension = {"data": "test1", "type": "test2"};
612
- export var rfidValidity = {"notAfter": rfidValue, "notBefore": rfidValue};
610
+ }
611
+ export var extension = {"data": "test1", "type": "test2"}
612
+ export var rfidValidity = {"notAfter": rfidValue, "notBefore": rfidValue}
613
613
  export var certificateChain = {
614
614
  "type": 1,
615
615
  "extensions": [extension, extension, extension],
@@ -624,8 +624,8 @@ export var certificateChain = {
624
624
  "subjectPKAlgorithm": "test3",
625
625
  "validity": rfidValidity,
626
626
  "version": 4,
627
- };
628
- export var dataField = {"data": "test", "fieldType": 1};
627
+ }
628
+ export var dataField = {"data": "test", "fieldType": 1}
629
629
  export var signerInfo = {
630
630
  "dataToHash": "test1",
631
631
  "digestAlgorithm": "test2",
@@ -639,14 +639,14 @@ export var signerInfo = {
639
639
  "signedAttributes": [extension, extension, extension],
640
640
  "certificateChain": [certificateChain, certificateChain, certificateChain],
641
641
  "notifications": [1, 2, 3],
642
- };
642
+ }
643
643
  export var securityObject = {
644
644
  "fileReference": 1,
645
645
  "objectType": "test",
646
646
  "version": 2,
647
647
  "signerInfos": [signerInfo, signerInfo, signerInfo],
648
648
  "notifications": [1, 2, 3],
649
- };
649
+ }
650
650
  export var rfidSessionData = {
651
651
  "accessControls": [
652
652
  accessControlProcedureType,
@@ -663,8 +663,8 @@ export var rfidSessionData = {
663
663
  "status": 1,
664
664
  "extLeSupport": 1,
665
665
  "processTime": 4,
666
- };
667
- export var bytesData = {"data": "test", "length": 1, "status": 2, "type": 3};
666
+ }
667
+ export var bytesData = {"data": "test", "length": 1, "status": 2, "type": 3}
668
668
  export var vdsncData = {
669
669
  "type": "test1",
670
670
  "version": 1,
@@ -675,7 +675,7 @@ export var vdsncData = {
675
675
  "certificate": bytesData,
676
676
  "certificateChain": [certificateChain, certificateChain, certificateChain],
677
677
  "notifications": [3000000001, 3000000002, 3000000003],
678
- };
678
+ }
679
679
  export var opticalStatus = {
680
680
  "overallStatus": 0,
681
681
  "mrz": 1,
@@ -686,7 +686,7 @@ export var opticalStatus = {
686
686
  "expiry": 0,
687
687
  "vds": 1,
688
688
  "pagesCount": 3,
689
- };
689
+ }
690
690
  export var rfidStatus = {
691
691
  "overallStatus": 0,
692
692
  "pa": 1,
@@ -695,7 +695,7 @@ export var rfidStatus = {
695
695
  "ta": 1,
696
696
  "bac": 2,
697
697
  "pace": 0,
698
- };
698
+ }
699
699
  export var resultsStatus = {
700
700
  "overallStatus": 0,
701
701
  "optical": 1,
@@ -704,8 +704,8 @@ export var resultsStatus = {
704
704
  "stopList": 1,
705
705
  "detailsOptical": opticalStatus,
706
706
  "detailsRFID": rfidStatus,
707
- };
708
- export var comparison = {"sourceTypeLeft": 0, "sourceTypeRight": 1, "status": 2};
707
+ }
708
+ export var comparison = {"sourceTypeLeft": 0, "sourceTypeRight": 1, "status": 2}
709
709
  export var graphicField = {
710
710
  "sourceType": 0,
711
711
  "fieldType": 201,
@@ -716,13 +716,13 @@ export var graphicField = {
716
716
  "originalPageIndex": 4,
717
717
  "value": img1,
718
718
  "fieldRect": rect,
719
- };
719
+ }
720
720
  export var graphicResult = {
721
721
  "fields": [graphicField, graphicField, graphicField],
722
- };
723
- export var rfidOrigin = {"dg": 1, "dgTag": 2, "entryView": 3, "tagEntry": 4};
724
- export var symbol = {"rect": rect, "code": 1, "probability": 2};
725
- export var validity = {"sourceType": 1, "status": 2};
722
+ }
723
+ export var rfidOrigin = {"dg": 1, "dgTag": 2, "entryView": 3, "tagEntry": 4}
724
+ export var symbol = {"rect": rect, "code": 1, "probability": 2}
725
+ export var validity = {"sourceType": 1, "status": 2}
726
726
  export var value = {
727
727
  "sourceType": 3,
728
728
  "value": "test1",
@@ -732,7 +732,7 @@ export var value = {
732
732
  "rfidOrigin": rfidOrigin,
733
733
  "originalSymbols": [symbol, symbol, symbol],
734
734
  "probability": 1,
735
- };
735
+ }
736
736
  export var textField = {
737
737
  "fieldType": 1,
738
738
  "fieldName": "Issuing state code",
@@ -746,22 +746,22 @@ export var textField = {
746
746
  "validityList": [validity, validity, validity],
747
747
  "comparisonStatus": 0,
748
748
  "validityStatus": 1,
749
- };
749
+ }
750
750
  export var textSource = {
751
751
  "sourceType": validity["sourceType"],
752
752
  "source": "sourceType",
753
753
  "validityStatus": 1,
754
- };
754
+ }
755
755
  export var documentReaderTextSource2 = {
756
756
  "sourceType": comparison["sourceTypeLeft"],
757
757
  "source": "sourceTypeLeft",
758
758
  "validityStatus": 1,
759
- };
759
+ }
760
760
  export var documentReaderTextSource3 = {
761
761
  "sourceType": comparison["sourceTypeRight"],
762
762
  "source": "sourceTypeRight",
763
763
  "validityStatus": 1,
764
- };
764
+ }
765
765
  export var textResult = {
766
766
  "status": 0,
767
767
  "comparisonStatus": 1,
@@ -772,7 +772,7 @@ export var textResult = {
772
772
  documentReaderTextSource3,
773
773
  ],
774
774
  "fields": [textField, textField, textField],
775
- };
775
+ }
776
776
  export var documentType = {
777
777
  "name": "test1",
778
778
  "documentID": 1,
@@ -786,8 +786,8 @@ export var documentType = {
786
786
  "dYear": "test4",
787
787
  "dCountryName": "test5",
788
788
  "pageIndex": 3,
789
- };
790
- export var coordinate = {"x": 1, "y": 2};
789
+ }
790
+ export var coordinate = {"x": 1, "y": 2}
791
791
  export var position = {
792
792
  "docFormat": 0,
793
793
  "resultStatus": 1,
@@ -805,12 +805,12 @@ export var position = {
805
805
  "leftBottom": coordinate,
806
806
  "rightTop": coordinate,
807
807
  "rightBottom": coordinate,
808
- };
808
+ }
809
809
  export var transactionInfo = {
810
810
  "transactionId": "test1",
811
811
  "tag": "test2",
812
812
  "sessionLogFolder": "test3",
813
- };
813
+ }
814
814
  export var results = {
815
815
  "chipPage": 0,
816
816
  "processingFinishedStatus": 2,
@@ -832,35 +832,35 @@ export var results = {
832
832
  "vdsncData": vdsncData,
833
833
  "dtcData": img1,
834
834
  "transactionInfo": transactionInfo,
835
- };
835
+ }
836
836
 
837
837
  export var rfidNotification = {
838
838
  "notificationCode": 65536,
839
839
  "dataFileType": 1,
840
840
  "progress": 2,
841
- };
842
- export var paAttribute = {"type": "test1", "value": "test2"};
841
+ }
842
+ export var paAttribute = {"type": "test1", "value": "test2"}
843
843
  export var paResourcesIssuer = {
844
844
  "data": img1,
845
845
  "friendlyName": "test",
846
846
  "attributes": [paAttribute, paAttribute, paAttribute],
847
- };
847
+ }
848
848
  export var pkdCertificate = {
849
849
  "binaryData": img1,
850
850
  "resourceType": 0,
851
851
  "privateKey": img2,
852
- };
852
+ }
853
853
  export var taChallenge = {
854
854
  "data": img1,
855
855
  "auxPCD": "test1",
856
856
  "challengePICC": "test2",
857
857
  "hashPK": "test3",
858
858
  "idPICC": "test4",
859
- };
859
+ }
860
860
  export var tccParams = {
861
861
  "serviceUrlTA": "test1",
862
862
  "serviceUrlPA": "test2",
863
863
  "pfxCertUrl": "test3",
864
864
  "pfxPassPhrase": "test4",
865
865
  "pfxCert": img1,
866
- };
866
+ }
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "..": {
15
15
  "name": "@regulaforensics/document-reader",
16
- "version": "8.3.273-beta",
16
+ "version": "8.3.279-beta",
17
17
  "dev": true,
18
18
  "license": "commercial"
19
19
  },
package/test/package.json CHANGED
@@ -1,9 +1,6 @@
1
1
  {
2
2
  "name": "test-runner",
3
3
  "type": "module",
4
- "scripts": {
5
- "test": "tsx --test"
6
- },
7
4
  "devDependencies": {
8
5
  "@regulaforensics/document-reader": "file:../",
9
6
  "@types/node": "24.3.0",