@regulaforensics/document-reader 9.2.610-rc → 9.2.613-nightly

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.
@@ -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 = '9.2.610-rc'
8
+ s.version = '9.2.613-nightly'
9
9
  s.summary = package['description']
10
10
  s.license = package['license']
11
11
 
@@ -16,6 +16,6 @@ Pod::Spec.new do |s|
16
16
  s.ios.deployment_target = '13.0'
17
17
  s.source_files = 'ios/**/*.{h,m}'
18
18
  s.exclude_files = [ 'ios/CVDDocumentReader.h', 'ios/CVDDocumentReader.m' ]
19
- s.dependency 'DocumentReaderStage', '9.2.5920'
19
+ s.dependency 'DocumentReaderNightly', '9.2.5926'
20
20
  s.dependency 'React'
21
21
  end
@@ -20,7 +20,7 @@ android {
20
20
  rootProject.allprojects {
21
21
  repositories {
22
22
  maven {
23
- url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
23
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
24
24
  }
25
25
  }
26
26
  }
@@ -29,7 +29,7 @@ dependencies {
29
29
  //noinspection GradleDynamicVersion
30
30
  implementation 'com.facebook.react:react-native:+'
31
31
  //noinspection GradleDependency
32
- implementation('com.regula.documentreader:api:9.2.12454'){
32
+ implementation('com.regula.documentreader:api:9.2.12463'){
33
33
  transitive = true
34
34
  }
35
35
  }
@@ -1,12 +1,12 @@
1
1
  repositories {
2
2
  maven {
3
- url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
3
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
4
4
  }
5
5
  }
6
6
 
7
7
  dependencies {
8
8
  //noinspection GradleDependency
9
- implementation('com.regula.documentreader:api:9.2.12454'){
9
+ implementation('com.regula.documentreader:api:9.2.12463'){
10
10
  transitive = true
11
11
  }
12
12
  }
@@ -18,7 +18,6 @@ import com.regula.documentreader.api.params.ImageQA
18
18
  import com.regula.documentreader.api.params.LivenessParams
19
19
  import com.regula.documentreader.api.params.ParamsCustomization
20
20
  import com.regula.documentreader.api.params.ProcessParam
21
- import com.regula.documentreader.api.params.Bsi
22
21
  import com.regula.documentreader.api.params.RfidScenario
23
22
  import com.regula.documentreader.api.params.rfid.dg.DTCDataGroup
24
23
  import com.regula.documentreader.api.params.rfid.dg.DataGroups
@@ -148,11 +147,6 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
148
147
  "strictSecurityChecks" -> processParams.strictSecurityChecks = v as Boolean
149
148
  "returnTransliteratedFields" -> processParams.returnTransliteratedFields = v as Boolean
150
149
  "checkCaptureProcessIntegrity" -> processParams.checkCaptureProcessIntegrity = v as Boolean
151
- "bsiTr03135" -> {
152
- val temp = Bsi()
153
- temp.generateResult = (v as JSONObject).getBooleanOrNull("generateResult")
154
- processParams.bsiTr03135 = temp
155
- }
156
150
  "measureSystem" -> processParams.measureSystem = v.toInt()
157
151
  "barcodeParserType" -> processParams.barcodeParserType = v.toInt()
158
152
  "perspectiveAngle" -> processParams.perspectiveAngle = v.toInt()
@@ -191,6 +185,7 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
191
185
  "rfidParams" -> processParams.rfidParams = rfidParamsFromJSON(v as JSONObject)
192
186
  "faceApiParams" -> processParams.faceApiParams = faceApiParamsFromJSON(v as JSONObject)
193
187
  "backendProcessingConfig" -> processParams.backendProcessingConfig = backendProcessingConfigFromJSON(v as JSONObject)
188
+ "bsiTr03135" -> processParams.bsiTr03135 = bsiFromJSON(v as JSONObject)
194
189
  "authenticityParams" -> {
195
190
  if (processParams.authenticityParams == null) processParams.authenticityParams = AuthenticityParams.defaultParams()
196
191
  setAuthenticityParams(processParams.authenticityParams!!, v as JSONObject)
@@ -242,9 +237,6 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
242
237
  "strictSecurityChecks" to processParams.strictSecurityChecks,
243
238
  "returnTransliteratedFields" to processParams.returnTransliteratedFields,
244
239
  "checkCaptureProcessIntegrity" to processParams.checkCaptureProcessIntegrity,
245
- "bsiTr03135" to mapOf(
246
- "generateResult" to processParams.bsiTr03135?.generateResult
247
- ).toJson(),
248
240
  "measureSystem" to processParams.measureSystem,
249
241
  "barcodeParserType" to processParams.barcodeParserType,
250
242
  "perspectiveAngle" to processParams.perspectiveAngle,
@@ -282,6 +274,7 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
282
274
  "rfidParams" to generateRFIDParams(processParams.rfidParams),
283
275
  "faceApiParams" to generateFaceApiParams(processParams.faceApiParams),
284
276
  "backendProcessingConfig" to generateBackendProcessingConfig(processParams.backendProcessingConfig),
277
+ "bsiTr03135" to generateBsi(processParams.bsiTr03135),
285
278
  "authenticityParams" to getAuthenticityParams(processParams.authenticityParams),
286
279
  "customParams" to processParams.customParams,
287
280
  ).toJson()
@@ -29,6 +29,7 @@ import com.regula.documentreader.api.listener.NetworkInterceptorListener
29
29
  import com.regula.documentreader.api.params.AuthenticityParams
30
30
  import com.regula.documentreader.api.params.BackendProcessingConfig
31
31
  import com.regula.documentreader.api.params.BleDeviceConfig
32
+ import com.regula.documentreader.api.params.Bsi
32
33
  import com.regula.documentreader.api.params.DocReaderConfig
33
34
  import com.regula.documentreader.api.params.FaceApiParams
34
35
  import com.regula.documentreader.api.params.Functionality
@@ -325,6 +326,18 @@ fun generateBackendProcessingConfig(input: BackendProcessingConfig?) = input?.le
325
326
  ).toJson()
326
327
  }
327
328
 
329
+ fun bsiFromJSON(input: JSONObject?) = input?.let {
330
+ val result = Bsi()
331
+ result.generateResult = it.getBooleanOrNull("generateResult")
332
+ result
333
+ }
334
+
335
+ fun generateBsi(input: Bsi?) = input?.let {
336
+ mapOf(
337
+ "generateResult" to it.generateResult,
338
+ ).toJson()
339
+ }
340
+
328
341
  val weakReferencesHolder = mutableListOf<Any>()
329
342
  fun onlineProcessingConfigFromJSON(input: JSONObject?) = input?.let {
330
343
  val builder = OnlineProcessingConfig.Builder(it.getInt("mode"))
@@ -6,7 +6,7 @@
6
6
  "android": "scripts/android.sh"
7
7
  },
8
8
  "dependencies": {
9
- "@regulaforensics/document-reader": "9.2.610-rc",
9
+ "@regulaforensics/document-reader": "9.2.613-nightly",
10
10
  "@regulaforensics/document-reader-core-fullauthrfid": "9.2.1513",
11
11
  "@regulaforensics/document-reader-btdevice": "9.1.35",
12
12
  "@awesome-cordova-plugins/file": "^8.1.0",
@@ -433,12 +433,12 @@
433
433
  }
434
434
  },
435
435
  "node_modules/@angular-devkit/schematics": {
436
- "version": "21.1.2",
437
- "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-21.1.2.tgz",
438
- "integrity": "sha512-PA3gkiFhHUuXd2XuP7yzKg/9N++bjw+uOl473KwIsMuZwMPhncKa4+mUYBaffDoPqaujZvjfo6mjtCBuiBv05w==",
436
+ "version": "21.1.4",
437
+ "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-21.1.4.tgz",
438
+ "integrity": "sha512-Nqq0ioCUxrbEX+L4KOarETcZZJNnJ1mAJ0ubO4VM91qnn8RBBM9SnQ91590TfC34Szk/wh+3+Uj6KUvTJNuegQ==",
439
439
  "license": "MIT",
440
440
  "dependencies": {
441
- "@angular-devkit/core": "21.1.2",
441
+ "@angular-devkit/core": "21.1.4",
442
442
  "jsonc-parser": "3.3.1",
443
443
  "magic-string": "0.30.21",
444
444
  "ora": "9.0.0",
@@ -451,9 +451,9 @@
451
451
  }
452
452
  },
453
453
  "node_modules/@angular-devkit/schematics/node_modules/@angular-devkit/core": {
454
- "version": "21.1.2",
455
- "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-21.1.2.tgz",
456
- "integrity": "sha512-0wl5nJlFWsbwfUB2CQeTSmnVQ8AtqqwM3bYPYtXSc+vA8+hzsOAjjDuRnBxZS9zTnqtXKXB1e7M3Iy7KUwh7LA==",
454
+ "version": "21.1.4",
455
+ "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-21.1.4.tgz",
456
+ "integrity": "sha512-ObPTI5gYCB1jGxTRhcqZ6oQVUBFVJ8GH4LksVuAiz0nFX7xxpzARWvlhq943EtnlovVlUd9I8fM3RQqjfGVVAQ==",
457
457
  "license": "MIT",
458
458
  "dependencies": {
459
459
  "ajv": "8.17.1",
@@ -577,18 +577,18 @@
577
577
  }
578
578
  },
579
579
  "node_modules/@angular/cli": {
580
- "version": "21.1.2",
581
- "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-21.1.2.tgz",
582
- "integrity": "sha512-AHjXCBl2PEilMJct6DX3ih5Fl5PiKpNDIj0ViTyVh1YcfpYjt6NzhVlV2o++8VNPNH/vMcmf2551LZIDProXXA==",
580
+ "version": "21.1.4",
581
+ "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-21.1.4.tgz",
582
+ "integrity": "sha512-XsMHgxTvHGiXXrhYZz3zMZYhYU0gHdpoHKGiEKXwcx+S1KoYbIssyg6oF2Kq49ZaE0OYCTKjnvgDce6ZqdkJ/A==",
583
583
  "license": "MIT",
584
584
  "dependencies": {
585
- "@angular-devkit/architect": "0.2101.2",
586
- "@angular-devkit/core": "21.1.2",
587
- "@angular-devkit/schematics": "21.1.2",
585
+ "@angular-devkit/architect": "0.2101.4",
586
+ "@angular-devkit/core": "21.1.4",
587
+ "@angular-devkit/schematics": "21.1.4",
588
588
  "@inquirer/prompts": "7.10.1",
589
589
  "@listr2/prompt-adapter-inquirer": "3.0.5",
590
- "@modelcontextprotocol/sdk": "1.25.2",
591
- "@schematics/angular": "21.1.2",
590
+ "@modelcontextprotocol/sdk": "1.26.0",
591
+ "@schematics/angular": "21.1.4",
592
592
  "@yarnpkg/lockfile": "1.1.0",
593
593
  "algoliasearch": "5.46.2",
594
594
  "ini": "6.0.0",
@@ -612,12 +612,12 @@
612
612
  }
613
613
  },
614
614
  "node_modules/@angular/cli/node_modules/@angular-devkit/architect": {
615
- "version": "0.2101.2",
616
- "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.2101.2.tgz",
617
- "integrity": "sha512-pV2onJgp16xO0vAqEfRWVynRPPLVHydYLANNa3UX3l5T39JcYdMIoOHSIIl8tWrxVeOwiWd1ajub0VsFTUok4Q==",
615
+ "version": "0.2101.4",
616
+ "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.2101.4.tgz",
617
+ "integrity": "sha512-3yyebORk+ovtO+LfDjIGbGCZhCMDAsyn9vkCljARj3sSshS4blOQBar0g+V3kYAweLT5Gf+rTKbN5jneOkBAFQ==",
618
618
  "license": "MIT",
619
619
  "dependencies": {
620
- "@angular-devkit/core": "21.1.2",
620
+ "@angular-devkit/core": "21.1.4",
621
621
  "rxjs": "7.8.2"
622
622
  },
623
623
  "bin": {
@@ -630,9 +630,9 @@
630
630
  }
631
631
  },
632
632
  "node_modules/@angular/cli/node_modules/@angular-devkit/core": {
633
- "version": "21.1.2",
634
- "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-21.1.2.tgz",
635
- "integrity": "sha512-0wl5nJlFWsbwfUB2CQeTSmnVQ8AtqqwM3bYPYtXSc+vA8+hzsOAjjDuRnBxZS9zTnqtXKXB1e7M3Iy7KUwh7LA==",
633
+ "version": "21.1.4",
634
+ "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-21.1.4.tgz",
635
+ "integrity": "sha512-ObPTI5gYCB1jGxTRhcqZ6oQVUBFVJ8GH4LksVuAiz0nFX7xxpzARWvlhq943EtnlovVlUd9I8fM3RQqjfGVVAQ==",
636
636
  "license": "MIT",
637
637
  "dependencies": {
638
638
  "ajv": "8.17.1",
@@ -3664,24 +3664,6 @@
3664
3664
  "yarn": ">= 1.13.0"
3665
3665
  }
3666
3666
  },
3667
- "node_modules/@ionic/cordova-builders/node_modules/@angular/common": {
3668
- "version": "20.3.16",
3669
- "resolved": "https://registry.npmjs.org/@angular/common/-/common-20.3.16.tgz",
3670
- "integrity": "sha512-GRAziNlntwdnJy3F+8zCOvDdy7id0gITjDnM6P9+n2lXvtDuBLGJKU3DWBbvxcCjtD6JK/g/rEX5fbCxbUHkQQ==",
3671
- "license": "MIT",
3672
- "optional": true,
3673
- "peer": true,
3674
- "dependencies": {
3675
- "tslib": "^2.3.0"
3676
- },
3677
- "engines": {
3678
- "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
3679
- },
3680
- "peerDependencies": {
3681
- "@angular/core": "20.3.16",
3682
- "rxjs": "^6.5.3 || ^7.4.0"
3683
- }
3684
- },
3685
3667
  "node_modules/@ionic/cordova-builders/node_modules/@angular/compiler": {
3686
3668
  "version": "20.3.16",
3687
3669
  "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-20.3.16.tgz",
@@ -3728,57 +3710,6 @@
3728
3710
  }
3729
3711
  }
3730
3712
  },
3731
- "node_modules/@ionic/cordova-builders/node_modules/@angular/core": {
3732
- "version": "20.3.16",
3733
- "resolved": "https://registry.npmjs.org/@angular/core/-/core-20.3.16.tgz",
3734
- "integrity": "sha512-KSFPKvOmWWLCJBbEO+CuRUXfecX2FRuO0jNi9c54ptXMOPHlK1lIojUnyXmMNzjdHgRug8ci9qDuftvC2B7MKg==",
3735
- "license": "MIT",
3736
- "optional": true,
3737
- "peer": true,
3738
- "dependencies": {
3739
- "tslib": "^2.3.0"
3740
- },
3741
- "engines": {
3742
- "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
3743
- },
3744
- "peerDependencies": {
3745
- "@angular/compiler": "20.3.16",
3746
- "rxjs": "^6.5.3 || ^7.4.0",
3747
- "zone.js": "~0.15.0"
3748
- },
3749
- "peerDependenciesMeta": {
3750
- "@angular/compiler": {
3751
- "optional": true
3752
- },
3753
- "zone.js": {
3754
- "optional": true
3755
- }
3756
- }
3757
- },
3758
- "node_modules/@ionic/cordova-builders/node_modules/@angular/platform-browser": {
3759
- "version": "20.3.16",
3760
- "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-20.3.16.tgz",
3761
- "integrity": "sha512-YsrLS6vyS77i4pVHg4gdSBW74qvzHjpQRTVQ5Lv/OxIjJdYYYkMmjNalCNgy1ZuyY6CaLIB11ccxhrNnxfKGOQ==",
3762
- "license": "MIT",
3763
- "optional": true,
3764
- "peer": true,
3765
- "dependencies": {
3766
- "tslib": "^2.3.0"
3767
- },
3768
- "engines": {
3769
- "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
3770
- },
3771
- "peerDependencies": {
3772
- "@angular/animations": "20.3.16",
3773
- "@angular/common": "20.3.16",
3774
- "@angular/core": "20.3.16"
3775
- },
3776
- "peerDependenciesMeta": {
3777
- "@angular/animations": {
3778
- "optional": true
3779
- }
3780
- }
3781
- },
3782
3713
  "node_modules/@ionic/cordova-builders/node_modules/@babel/core": {
3783
3714
  "version": "7.28.3",
3784
3715
  "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.3.tgz",
@@ -6227,12 +6158,12 @@
6227
6158
  ]
6228
6159
  },
6229
6160
  "node_modules/@modelcontextprotocol/sdk": {
6230
- "version": "1.25.2",
6231
- "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.25.2.tgz",
6232
- "integrity": "sha512-LZFeo4F9M5qOhC/Uc1aQSrBHxMrvxett+9KLHt7OhcExtoiRN9DKgbZffMP/nxjutWDQpfMDfP3nkHI4X9ijww==",
6161
+ "version": "1.26.0",
6162
+ "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.26.0.tgz",
6163
+ "integrity": "sha512-Y5RmPncpiDtTXDbLKswIJzTqu2hyBKxTNsgKqKclDbhIgg1wgtf1fRuvxgTnRfcnxtvvgbIEcqUOzZrJ6iSReg==",
6233
6164
  "license": "MIT",
6234
6165
  "dependencies": {
6235
- "@hono/node-server": "^1.19.7",
6166
+ "@hono/node-server": "^1.19.9",
6236
6167
  "ajv": "^8.17.1",
6237
6168
  "ajv-formats": "^3.0.1",
6238
6169
  "content-type": "^1.0.5",
@@ -6240,14 +6171,15 @@
6240
6171
  "cross-spawn": "^7.0.5",
6241
6172
  "eventsource": "^3.0.2",
6242
6173
  "eventsource-parser": "^3.0.0",
6243
- "express": "^5.0.1",
6244
- "express-rate-limit": "^7.5.0",
6245
- "jose": "^6.1.1",
6174
+ "express": "^5.2.1",
6175
+ "express-rate-limit": "^8.2.1",
6176
+ "hono": "^4.11.4",
6177
+ "jose": "^6.1.3",
6246
6178
  "json-schema-typed": "^8.0.2",
6247
6179
  "pkce-challenge": "^5.0.0",
6248
6180
  "raw-body": "^3.0.0",
6249
6181
  "zod": "^3.25 || ^4.0",
6250
- "zod-to-json-schema": "^3.25.0"
6182
+ "zod-to-json-schema": "^3.25.1"
6251
6183
  },
6252
6184
  "engines": {
6253
6185
  "node": ">=18"
@@ -7787,13 +7719,13 @@
7787
7719
  ]
7788
7720
  },
7789
7721
  "node_modules/@schematics/angular": {
7790
- "version": "21.1.2",
7791
- "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-21.1.2.tgz",
7792
- "integrity": "sha512-kxwxhCIUrj7DfzEtDSs/pi/w+aII/WQLpPfLgoQCWE8/95v60WnTfd1afmsXsFoxikKPxkwoPWtU2YbhSoX9MQ==",
7722
+ "version": "21.1.4",
7723
+ "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-21.1.4.tgz",
7724
+ "integrity": "sha512-I1zdSNzdbrVCWpeE2NsZQmIoa9m0nlw4INgdGIkqUH6FgwvoGKC0RoOxKAmm6HHVJ48FE/sPI13dwAeK89ow5A==",
7793
7725
  "license": "MIT",
7794
7726
  "dependencies": {
7795
- "@angular-devkit/core": "21.1.2",
7796
- "@angular-devkit/schematics": "21.1.2",
7727
+ "@angular-devkit/core": "21.1.4",
7728
+ "@angular-devkit/schematics": "21.1.4",
7797
7729
  "jsonc-parser": "3.3.1"
7798
7730
  },
7799
7731
  "engines": {
@@ -7803,9 +7735,9 @@
7803
7735
  }
7804
7736
  },
7805
7737
  "node_modules/@schematics/angular/node_modules/@angular-devkit/core": {
7806
- "version": "21.1.2",
7807
- "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-21.1.2.tgz",
7808
- "integrity": "sha512-0wl5nJlFWsbwfUB2CQeTSmnVQ8AtqqwM3bYPYtXSc+vA8+hzsOAjjDuRnBxZS9zTnqtXKXB1e7M3Iy7KUwh7LA==",
7738
+ "version": "21.1.4",
7739
+ "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-21.1.4.tgz",
7740
+ "integrity": "sha512-ObPTI5gYCB1jGxTRhcqZ6oQVUBFVJ8GH4LksVuAiz0nFX7xxpzARWvlhq943EtnlovVlUd9I8fM3RQqjfGVVAQ==",
7809
7741
  "license": "MIT",
7810
7742
  "dependencies": {
7811
7743
  "ajv": "8.17.1",
@@ -10502,10 +10434,13 @@
10502
10434
  }
10503
10435
  },
10504
10436
  "node_modules/express-rate-limit": {
10505
- "version": "7.5.1",
10506
- "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-7.5.1.tgz",
10507
- "integrity": "sha512-7iN8iPMDzOMHPUYllBEsQdWVB6fPDMPqwjBaFrgr4Jgr/+okjvzAy+UHlYYL/Vs0OsOrMkwS6PJDkFlJwoxUnw==",
10437
+ "version": "8.2.1",
10438
+ "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.2.1.tgz",
10439
+ "integrity": "sha512-PCZEIEIxqwhzw4KF0n7QF4QqruVTcF73O5kFKUnGOyjbCCgizBBiFaYpd/fnBLUMPw/BWw9OsiN7GgrNYr7j6g==",
10508
10440
  "license": "MIT",
10441
+ "dependencies": {
10442
+ "ip-address": "10.0.1"
10443
+ },
10509
10444
  "engines": {
10510
10445
  "node": ">= 16"
10511
10446
  },
@@ -10516,6 +10451,15 @@
10516
10451
  "express": ">= 4.11"
10517
10452
  }
10518
10453
  },
10454
+ "node_modules/express-rate-limit/node_modules/ip-address": {
10455
+ "version": "10.0.1",
10456
+ "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.0.1.tgz",
10457
+ "integrity": "sha512-NWv9YLW4PoW2B7xtzaS3NCot75m6nK7Icdv0o3lfMceJVRfSoQwqD4wEH5rLwoKJwUiZ/rfpiVBhnaF0FK4HoA==",
10458
+ "license": "MIT",
10459
+ "engines": {
10460
+ "node": ">= 12"
10461
+ }
10462
+ },
10519
10463
  "node_modules/extsprintf": {
10520
10464
  "version": "1.4.1",
10521
10465
  "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.4.1.tgz",
@@ -10977,11 +10921,10 @@
10977
10921
  }
10978
10922
  },
10979
10923
  "node_modules/hono": {
10980
- "version": "4.11.7",
10981
- "resolved": "https://registry.npmjs.org/hono/-/hono-4.11.7.tgz",
10982
- "integrity": "sha512-l7qMiNee7t82bH3SeyUCt9UF15EVmaBvsppY2zQtrbIhl/yzBTny+YUxsVjSjQ6gaqaeVtZmGocom8TzBlA4Yw==",
10924
+ "version": "4.11.9",
10925
+ "resolved": "https://registry.npmjs.org/hono/-/hono-4.11.9.tgz",
10926
+ "integrity": "sha512-Eaw2YTGM6WOxA6CXbckaEvslr2Ne4NFsKrvc0v97JD5awbmeBLO5w9Ho9L9kmKonrwF9RJlW6BxT1PVv/agBHQ==",
10983
10927
  "license": "MIT",
10984
- "peer": true,
10985
10928
  "engines": {
10986
10929
  "node": ">=16.9.0"
10987
10930
  }
@@ -13694,9 +13637,9 @@
13694
13637
  }
13695
13638
  },
13696
13639
  "node_modules/qs": {
13697
- "version": "6.14.1",
13698
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.1.tgz",
13699
- "integrity": "sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==",
13640
+ "version": "6.14.2",
13641
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.2.tgz",
13642
+ "integrity": "sha512-V/yCWTTF7VJ9hIh18Ugr2zhJMP01MY7c5kh4J870L7imm6/DIzBsNLTXzMwUA3yZ5b/KBqLx8Kp3uRvd7xSe3Q==",
13700
13643
  "license": "BSD-3-Clause",
13701
13644
  "dependencies": {
13702
13645
  "side-channel": "^1.1.0"
@@ -18,7 +18,7 @@
18
18
  "@ionic/cordova-builders": "^12.3.0",
19
19
  "@awesome-cordova-plugins/camera": "^8.1.0",
20
20
  "@awesome-cordova-plugins/file": "^8.1.0",
21
- "@regulaforensics/document-reader": "9.2.610-rc",
21
+ "@regulaforensics/document-reader": "9.2.613-nightly",
22
22
  "@regulaforensics/document-reader-core-fullauthrfid": "9.2.1513",
23
23
  "@regulaforensics/document-reader-btdevice": "9.1.35",
24
24
  "cordova-android": "^14.0.1",
@@ -8,7 +8,7 @@
8
8
  "start": "expo start"
9
9
  },
10
10
  "dependencies": {
11
- "@regulaforensics/document-reader": "9.2.610-rc",
11
+ "@regulaforensics/document-reader": "9.2.613-nightly",
12
12
  "@regulaforensics/document-reader-core-fullauthrfid": "9.2.1513",
13
13
  "@regulaforensics/document-reader-btdevice": "9.1.35",
14
14
  "react-native": "^0.81.4",
package/ios/RGLWConfig.m CHANGED
@@ -194,10 +194,6 @@
194
194
  if (options[@"strictSecurityChecks"]) processParams.strictSecurityChecks = options[@"strictSecurityChecks"];
195
195
  if (options[@"returnTransliteratedFields"]) processParams.returnTransliteratedFields = options[@"returnTransliteratedFields"];
196
196
  if (options[@"checkCaptureProcessIntegrity"]) processParams.checkCaptureProcessIntegrity = options[@"checkCaptureProcessIntegrity"];
197
- if (options[@"bsiTr03135"]) {
198
- processParams.bsiTr03135 = [RGLBsi new];
199
- processParams.bsiTr03135.generateResult = options[@"bsiTr03135"][@"generateResult"];
200
- }
201
197
 
202
198
  // Int
203
199
  if([options valueForKey:@"measureSystem"] != nil)
@@ -272,16 +268,17 @@
272
268
  if (options[@"customParams"]) processParams.customParams = options[@"customParams"];
273
269
  if ([options valueForKey:@"imageQA"] != nil)
274
270
  [self setImageQA:processParams.imageQA input:[options valueForKey:@"imageQA"]];
271
+ if ([options valueForKey:@"authenticityParams"] != nil) {
272
+ if(processParams.authenticityParams == nil) processParams.authenticityParams = [RGLAuthenticityParams defaultParams];
273
+ [self setAuthenticityParams:processParams.authenticityParams input:[options valueForKey:@"authenticityParams"]];
274
+ }
275
275
  if ([options valueForKey:@"rfidParams"] != nil)
276
276
  processParams.rfidParams = [RGLWJSONConstructor rfidParamsFromJson:[options valueForKey:@"rfidParams"]];
277
277
  if ([options valueForKey:@"faceApiParams"] != nil)
278
278
  processParams.faceApiParams = [RGLWJSONConstructor faceAPIParamsFromJson:[options valueForKey:@"faceApiParams"]];
279
279
  if ([options valueForKey:@"backendProcessingConfig"] != nil)
280
280
  processParams.backendProcessingConfig = [RGLWJSONConstructor backendProcessingConfigFromJson:[options valueForKey:@"backendProcessingConfig"]];
281
- if ([options valueForKey:@"authenticityParams"] != nil) {
282
- if(processParams.authenticityParams == nil) processParams.authenticityParams = [RGLAuthenticityParams defaultParams];
283
- [self setAuthenticityParams:processParams.authenticityParams input:[options valueForKey:@"authenticityParams"]];
284
- }
281
+ if (options[@"bsiTr03135"]) processParams.bsiTr03135 = [RGLWJSONConstructor bsiFromJson:options[@"bsiTr03135"]];
285
282
  }
286
283
 
287
284
  +(NSDictionary*)getProcessParams:(RGLProcessParams*)processParams {
@@ -329,9 +326,6 @@
329
326
  result[@"strictSecurityChecks"] = processParams.strictSecurityChecks;
330
327
  result[@"returnTransliteratedFields"] = processParams.returnTransliteratedFields;
331
328
  result[@"checkCaptureProcessIntegrity"] = processParams.checkCaptureProcessIntegrity;
332
- if(processParams.bsiTr03135) result[@"bsiTr03135"] = @{
333
- @"generateResult": processParams.bsiTr03135.generateResult,
334
- };
335
329
 
336
330
  // Int
337
331
  result[@"measureSystem"] = [NSNumber numberWithInteger:processParams.measureSystem];
@@ -376,10 +370,11 @@
376
370
 
377
371
  // JSONObject
378
372
  result[@"imageQA"] = [self getImageQA:processParams.imageQA];
373
+ result[@"authenticityParams"] = [self getAuthenticityParams:processParams.authenticityParams];
379
374
  result[@"rfidParams"] = [RGLWJSONConstructor generateRFIDParams:processParams.rfidParams];
380
375
  result[@"faceApiParams"] = [RGLWJSONConstructor generateFaceAPIParams:processParams.faceApiParams];
381
376
  result[@"backendProcessingConfig"] = [RGLWJSONConstructor generateBackendProcessingConfig:processParams.backendProcessingConfig];
382
- result[@"authenticityParams"] = [self getAuthenticityParams:processParams.authenticityParams];
377
+ result[@"bsiTr03135"] = [RGLWJSONConstructor generateBsi:processParams.bsiTr03135];
383
378
 
384
379
  // Custom
385
380
  result[@"customParams"] = processParams.customParams;
@@ -51,6 +51,8 @@
51
51
  +(NSDictionary* _Nullable)generateProcessParams:(RGLProcessParams* _Nullable)input;
52
52
  +(RGLBackendProcessingConfig* _Nullable)backendProcessingConfigFromJson:(NSDictionary* _Nullable)input;
53
53
  +(NSDictionary* _Nullable)generateBackendProcessingConfig:(RGLBackendProcessingConfig* _Nullable)input;
54
+ +(RGLBsi* _Nullable)bsiFromJson:(NSDictionary* _Nullable)input;
55
+ +(NSDictionary* _Nullable)generateBsi:(RGLBsi* _Nullable)input;
54
56
  +(RGLeDLDataGroup* _Nullable)eDLDataGroupsFromJson:(NSDictionary* _Nullable)input;
55
57
  +(NSDictionary* _Nullable)generateEDLDataGroups:(RGLeDLDataGroup* _Nullable)input;
56
58
  +(RGLePassportDataGroup* _Nullable)ePassportDataGroupsFromJson:(NSDictionary* _Nullable)input;
@@ -303,6 +303,24 @@ static NSMutableArray* weakReferencesHolder;
303
303
  return result;
304
304
  }
305
305
 
306
+ +(RGLBsi*)bsiFromJson:(NSDictionary*)input {
307
+ if(input == nil) return nil;
308
+ RGLBsi *result = [RGLBsi new];
309
+
310
+ if(input[@"generateResult"]) result.generateResult = input[@"generateResult"];
311
+
312
+ return result;
313
+ }
314
+
315
+ +(NSDictionary*)generateBsi:(RGLBsi*)input {
316
+ if(input == nil) return nil;
317
+ NSMutableDictionary* result = [NSMutableDictionary new];
318
+
319
+ result[@"generateResult"] = input.generateResult;
320
+
321
+ return result;
322
+ }
323
+
306
324
  +(RGLImageQA*)imageQAFromJson:(NSDictionary*)input {
307
325
  RGLImageQA *result = [RGLImageQA new];
308
326
  [RGLWConfig setImageQA:result input:input];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/document-reader",
3
- "version": "9.2.610-rc",
3
+ "version": "9.2.613-nightly",
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="9.2.610-rc" xmlns="http://apache.org/cordova/ns/plugins/1.0">
2
+ <plugin id="@regulaforensics/document-reader" version="9.2.613-nightly" 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>
@@ -29,7 +29,7 @@
29
29
  <source url="https://github.com/CocoaPods/Specs.git" />
30
30
  </config>
31
31
  <pods>
32
- <pod name="DocumentReaderStage" spec="9.2.5920" />
32
+ <pod name="DocumentReaderNightly" spec="9.2.5926" />
33
33
  </pods>
34
34
  </podspec>
35
35
  </platform>
package/test/json.tsx CHANGED
@@ -67,6 +67,9 @@ export var backendProcessingConfig = {
67
67
  "httpHeaders": {"key1": "val1", "key2": "val2", "key3": "val3"},
68
68
  "timeoutConnection": 0.5,
69
69
  };
70
+ export var bsi = {
71
+ "generateResult": true,
72
+ };
70
73
  export var processParams = {
71
74
  "multipageProcessing": true,
72
75
  "debugSaveImages": false,
@@ -108,9 +111,7 @@ export var processParams = {
108
111
  "strictSecurityChecks": false,
109
112
  "returnTransliteratedFields": true,
110
113
  "checkCaptureProcessIntegrity": false,
111
- "bsiTr03135": {
112
- "generateResult": true
113
- },
114
+ "bsiTr03135": bsi,
114
115
  "measureSystem": 1,
115
116
  "barcodeParserType": 3,
116
117
  "perspectiveAngle": 4,
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "..": {
15
15
  "name": "@regulaforensics/document-reader",
16
- "version": "9.2.610-rc",
16
+ "version": "9.2.613-nightly",
17
17
  "dev": true,
18
18
  "license": "commercial"
19
19
  },
package/test/test.tsx CHANGED
@@ -1,6 +1,6 @@
1
1
  import { compare } from './utils'
2
- import { AccessControlProcedureType, Application, Attribute, AuthenticityCheck, AuthenticityElement, AuthenticityParams, AuthenticityResult, Authority, BackendProcessingConfig, BarcodeField, BarcodeResult, BytesData, CardProperties, CertificateChain, CertificateData, Comparison, Coordinate, Customization, CustomizationColors, CustomizationFonts, CustomizationImages, DataField, DocReaderException, DocReaderScenario, DocReaderVersion, DocumentsDatabase, DocumentType, EDLDataGroups, EIDDataGroups, DTCDataGroup, EPassportDataGroups, Extension, FaceApiParams, FaceApiSearchParams, File, FileData, Functionality, GlaresCheckParams, RFIDParams, GraphicField, GraphicResult, ImageInputData, ImageQA, ImageQuality, ImageQualityGroup, InitConfig, License, LivenessParams, OnlineProcessingConfig, OpticalStatus, PAAttribute, PAResourcesIssuer, PDF417Info, PKDCertificate, Position, PrepareProgress, ProcessParams, RecognizeConfig, Rect, Results, ResultsStatus, RFIDException, RFIDNotification, RFIDOrigin, RFIDScenario, RFIDSessionData, AgeStatus, RFIDStatus, RFIDValidity, RFIDValue, ScannerConfig, SecurityObject, SecurityObjectCertificates, SignerInfo, Symbol, TAChallenge, TccParams, TextField, TextResult, TextSource, TransactionInfo, Validity, Value, VDSNCData, VDSData, DocFeature, DeviceRetrievalMethod, DocumentRequest18013MDL, DataRetrieval, DeviceEngagement, NameSpaceMDL, DocumentRequestMDL, FinalizeConfig } from '@regulaforensics/document-reader/www/capacitor'
3
- import { accessControlProcedureType, application, attribute, authenticityCheck, authenticityElement, authenticityParams, authenticityResult, authority, backendProcessingConfig, barcodeField, barcodeResult, bytesData, cardProperties, certificateChain, certificateData, comparison, coordinate, customization, customizationColors, customizationFonts, customizationImages, dataField, docReaderException, docReaderScenario, docReaderVersion, documentsDatabase, documentType, eDLDataGroups, eIDDataGroups, dtcDataGroup, ePassportDataGroups, extension, faceApiParams, faceApiSearchParams, file, fileData, functionality, glaresCheckParams, rfidParams, graphicField, graphicResult, imageInputData, imageQA, imageQuality, imageQualityGroup, initConfig, license, livenessParams, onlineProcessingConfig, opticalStatus, paAttribute, paResourcesIssuer, pdf417Info, pkdCertificate, position, prepareProgress, processParams, recognizeConfig, recognizeConfig2, rect, results, resultsStatus, rfidException, rfidNotification, rfidOrigin, rfidScenario, rfidSessionData, ageStatus, rfidStatus, rfidValidity, rfidValue, scannerConfig, securityObject, securityObjectCertificates, signerInfo, symbol, taChallenge, tccParams, textField, textResult, textSource, transactionInfo, validity, value, vdsncData, vdsData, docFeature, deviceRetrievalMethod, documentRequest18013MDL, dataRetrieval, deviceEngagement, nameSpaceMDL, documentRequestMDL, finalizeConfig } from './json'
2
+ import { AccessControlProcedureType, Application, Attribute, AuthenticityCheck, AuthenticityElement, AuthenticityParams, AuthenticityResult, Authority, BackendProcessingConfig, Bsi, BarcodeField, BarcodeResult, BytesData, CardProperties, CertificateChain, CertificateData, Comparison, Coordinate, Customization, CustomizationColors, CustomizationFonts, CustomizationImages, DataField, DocReaderException, DocReaderScenario, DocReaderVersion, DocumentsDatabase, DocumentType, EDLDataGroups, EIDDataGroups, DTCDataGroup, EPassportDataGroups, Extension, FaceApiParams, FaceApiSearchParams, File, FileData, Functionality, GlaresCheckParams, RFIDParams, GraphicField, GraphicResult, ImageInputData, ImageQA, ImageQuality, ImageQualityGroup, InitConfig, License, LivenessParams, OnlineProcessingConfig, OpticalStatus, PAAttribute, PAResourcesIssuer, PDF417Info, PKDCertificate, Position, PrepareProgress, ProcessParams, RecognizeConfig, Rect, Results, ResultsStatus, RFIDException, RFIDNotification, RFIDOrigin, RFIDScenario, RFIDSessionData, AgeStatus, RFIDStatus, RFIDValidity, RFIDValue, ScannerConfig, SecurityObject, SecurityObjectCertificates, SignerInfo, Symbol, TAChallenge, TccParams, TextField, TextResult, TextSource, TransactionInfo, Validity, Value, VDSNCData, VDSData, DocFeature, DeviceRetrievalMethod, DocumentRequest18013MDL, DataRetrieval, DeviceEngagement, NameSpaceMDL, DocumentRequestMDL, FinalizeConfig } from '@regulaforensics/document-reader/www/capacitor'
3
+ import { accessControlProcedureType, application, attribute, authenticityCheck, authenticityElement, authenticityParams, authenticityResult, authority, backendProcessingConfig, bsi, barcodeField, barcodeResult, bytesData, cardProperties, certificateChain, certificateData, comparison, coordinate, customization, customizationColors, customizationFonts, customizationImages, dataField, docReaderException, docReaderScenario, docReaderVersion, documentsDatabase, documentType, eDLDataGroups, eIDDataGroups, dtcDataGroup, ePassportDataGroups, extension, faceApiParams, faceApiSearchParams, file, fileData, functionality, glaresCheckParams, rfidParams, graphicField, graphicResult, imageInputData, imageQA, imageQuality, imageQualityGroup, initConfig, license, livenessParams, onlineProcessingConfig, opticalStatus, paAttribute, paResourcesIssuer, pdf417Info, pkdCertificate, position, prepareProgress, processParams, recognizeConfig, recognizeConfig2, rect, results, resultsStatus, rfidException, rfidNotification, rfidOrigin, rfidScenario, rfidSessionData, ageStatus, rfidStatus, rfidValidity, rfidValue, scannerConfig, securityObject, securityObjectCertificates, signerInfo, symbol, taChallenge, tccParams, textField, textResult, textSource, transactionInfo, validity, value, vdsncData, vdsData, docFeature, deviceRetrievalMethod, documentRequest18013MDL, dataRetrieval, deviceEngagement, nameSpaceMDL, documentRequestMDL, finalizeConfig } from './json'
4
4
 
5
5
  compare('initConfig', initConfig, InitConfig.fromJson)
6
6
  compare('onlineProcessingConfig', onlineProcessingConfig, OnlineProcessingConfig.fromJson)
@@ -19,6 +19,7 @@ compare('glaresCheckParams', glaresCheckParams, GlaresCheckParams.fromJson)
19
19
  compare('rfidParams', rfidParams, RFIDParams.fromJson)
20
20
  compare('imageQA', imageQA, ImageQA.fromJson)
21
21
  compare('backendProcessingConfig', backendProcessingConfig, BackendProcessingConfig.fromJson)
22
+ compare('bsi', bsi, Bsi.fromJson)
22
23
  compare('processParams', processParams, ProcessParams.fromJson, ['logs'])
23
24
  compare('eDLDataGroups', eDLDataGroups, EDLDataGroups.fromJson)
24
25
  compare('ePassportDataGroups', ePassportDataGroups, EPassportDataGroups.fromJson)