@regulaforensics/document-reader 9.2.613-nightly → 9.2.616-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.
@@ -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.613-nightly'
8
+ s.version = '9.2.616-rc'
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 'DocumentReaderNightly', '9.2.5926'
19
+ s.dependency 'DocumentReaderStage', '9.2.5934'
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/Nightly"
23
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
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.12463'){
32
+ implementation('com.regula.documentreader:api:9.2.12471'){
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/Nightly"
3
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
4
4
  }
5
5
  }
6
6
 
7
7
  dependencies {
8
8
  //noinspection GradleDependency
9
- implementation('com.regula.documentreader:api:9.2.12463'){
9
+ implementation('com.regula.documentreader:api:9.2.12471'){
10
10
  transitive = true
11
11
  }
12
12
  }
@@ -18,6 +18,7 @@ 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
21
22
  import com.regula.documentreader.api.params.RfidScenario
22
23
  import com.regula.documentreader.api.params.rfid.dg.DTCDataGroup
23
24
  import com.regula.documentreader.api.params.rfid.dg.DataGroups
@@ -147,6 +148,11 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
147
148
  "strictSecurityChecks" -> processParams.strictSecurityChecks = v as Boolean
148
149
  "returnTransliteratedFields" -> processParams.returnTransliteratedFields = v as Boolean
149
150
  "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
+ }
150
156
  "measureSystem" -> processParams.measureSystem = v.toInt()
151
157
  "barcodeParserType" -> processParams.barcodeParserType = v.toInt()
152
158
  "perspectiveAngle" -> processParams.perspectiveAngle = v.toInt()
@@ -185,7 +191,6 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
185
191
  "rfidParams" -> processParams.rfidParams = rfidParamsFromJSON(v as JSONObject)
186
192
  "faceApiParams" -> processParams.faceApiParams = faceApiParamsFromJSON(v as JSONObject)
187
193
  "backendProcessingConfig" -> processParams.backendProcessingConfig = backendProcessingConfigFromJSON(v as JSONObject)
188
- "bsiTr03135" -> processParams.bsiTr03135 = bsiFromJSON(v as JSONObject)
189
194
  "authenticityParams" -> {
190
195
  if (processParams.authenticityParams == null) processParams.authenticityParams = AuthenticityParams.defaultParams()
191
196
  setAuthenticityParams(processParams.authenticityParams!!, v as JSONObject)
@@ -237,6 +242,9 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
237
242
  "strictSecurityChecks" to processParams.strictSecurityChecks,
238
243
  "returnTransliteratedFields" to processParams.returnTransliteratedFields,
239
244
  "checkCaptureProcessIntegrity" to processParams.checkCaptureProcessIntegrity,
245
+ "bsiTr03135" to mapOf(
246
+ "generateResult" to processParams.bsiTr03135?.generateResult
247
+ ).toJson(),
240
248
  "measureSystem" to processParams.measureSystem,
241
249
  "barcodeParserType" to processParams.barcodeParserType,
242
250
  "perspectiveAngle" to processParams.perspectiveAngle,
@@ -274,7 +282,6 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
274
282
  "rfidParams" to generateRFIDParams(processParams.rfidParams),
275
283
  "faceApiParams" to generateFaceApiParams(processParams.faceApiParams),
276
284
  "backendProcessingConfig" to generateBackendProcessingConfig(processParams.backendProcessingConfig),
277
- "bsiTr03135" to generateBsi(processParams.bsiTr03135),
278
285
  "authenticityParams" to getAuthenticityParams(processParams.authenticityParams),
279
286
  "customParams" to processParams.customParams,
280
287
  ).toJson()
@@ -29,7 +29,6 @@ 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
33
32
  import com.regula.documentreader.api.params.DocReaderConfig
34
33
  import com.regula.documentreader.api.params.FaceApiParams
35
34
  import com.regula.documentreader.api.params.Functionality
@@ -326,18 +325,6 @@ fun generateBackendProcessingConfig(input: BackendProcessingConfig?) = input?.le
326
325
  ).toJson()
327
326
  }
328
327
 
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
-
341
328
  val weakReferencesHolder = mutableListOf<Any>()
342
329
  fun onlineProcessingConfigFromJSON(input: JSONObject?) = input?.let {
343
330
  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.613-nightly",
9
+ "@regulaforensics/document-reader": "9.2.616-rc",
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.4",
437
- "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-21.1.4.tgz",
438
- "integrity": "sha512-Nqq0ioCUxrbEX+L4KOarETcZZJNnJ1mAJ0ubO4VM91qnn8RBBM9SnQ91590TfC34Szk/wh+3+Uj6KUvTJNuegQ==",
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==",
439
439
  "license": "MIT",
440
440
  "dependencies": {
441
- "@angular-devkit/core": "21.1.4",
441
+ "@angular-devkit/core": "21.1.2",
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.4",
455
- "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-21.1.4.tgz",
456
- "integrity": "sha512-ObPTI5gYCB1jGxTRhcqZ6oQVUBFVJ8GH4LksVuAiz0nFX7xxpzARWvlhq943EtnlovVlUd9I8fM3RQqjfGVVAQ==",
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==",
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.4",
581
- "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-21.1.4.tgz",
582
- "integrity": "sha512-XsMHgxTvHGiXXrhYZz3zMZYhYU0gHdpoHKGiEKXwcx+S1KoYbIssyg6oF2Kq49ZaE0OYCTKjnvgDce6ZqdkJ/A==",
580
+ "version": "21.1.2",
581
+ "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-21.1.2.tgz",
582
+ "integrity": "sha512-AHjXCBl2PEilMJct6DX3ih5Fl5PiKpNDIj0ViTyVh1YcfpYjt6NzhVlV2o++8VNPNH/vMcmf2551LZIDProXXA==",
583
583
  "license": "MIT",
584
584
  "dependencies": {
585
- "@angular-devkit/architect": "0.2101.4",
586
- "@angular-devkit/core": "21.1.4",
587
- "@angular-devkit/schematics": "21.1.4",
585
+ "@angular-devkit/architect": "0.2101.2",
586
+ "@angular-devkit/core": "21.1.2",
587
+ "@angular-devkit/schematics": "21.1.2",
588
588
  "@inquirer/prompts": "7.10.1",
589
589
  "@listr2/prompt-adapter-inquirer": "3.0.5",
590
- "@modelcontextprotocol/sdk": "1.26.0",
591
- "@schematics/angular": "21.1.4",
590
+ "@modelcontextprotocol/sdk": "1.25.2",
591
+ "@schematics/angular": "21.1.2",
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.4",
616
- "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.2101.4.tgz",
617
- "integrity": "sha512-3yyebORk+ovtO+LfDjIGbGCZhCMDAsyn9vkCljARj3sSshS4blOQBar0g+V3kYAweLT5Gf+rTKbN5jneOkBAFQ==",
615
+ "version": "0.2101.2",
616
+ "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.2101.2.tgz",
617
+ "integrity": "sha512-pV2onJgp16xO0vAqEfRWVynRPPLVHydYLANNa3UX3l5T39JcYdMIoOHSIIl8tWrxVeOwiWd1ajub0VsFTUok4Q==",
618
618
  "license": "MIT",
619
619
  "dependencies": {
620
- "@angular-devkit/core": "21.1.4",
620
+ "@angular-devkit/core": "21.1.2",
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.4",
634
- "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-21.1.4.tgz",
635
- "integrity": "sha512-ObPTI5gYCB1jGxTRhcqZ6oQVUBFVJ8GH4LksVuAiz0nFX7xxpzARWvlhq943EtnlovVlUd9I8fM3RQqjfGVVAQ==",
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==",
636
636
  "license": "MIT",
637
637
  "dependencies": {
638
638
  "ajv": "8.17.1",
@@ -3664,6 +3664,24 @@
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
+ },
3667
3685
  "node_modules/@ionic/cordova-builders/node_modules/@angular/compiler": {
3668
3686
  "version": "20.3.16",
3669
3687
  "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-20.3.16.tgz",
@@ -3710,6 +3728,57 @@
3710
3728
  }
3711
3729
  }
3712
3730
  },
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
+ },
3713
3782
  "node_modules/@ionic/cordova-builders/node_modules/@babel/core": {
3714
3783
  "version": "7.28.3",
3715
3784
  "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.3.tgz",
@@ -6158,12 +6227,12 @@
6158
6227
  ]
6159
6228
  },
6160
6229
  "node_modules/@modelcontextprotocol/sdk": {
6161
- "version": "1.26.0",
6162
- "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.26.0.tgz",
6163
- "integrity": "sha512-Y5RmPncpiDtTXDbLKswIJzTqu2hyBKxTNsgKqKclDbhIgg1wgtf1fRuvxgTnRfcnxtvvgbIEcqUOzZrJ6iSReg==",
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==",
6164
6233
  "license": "MIT",
6165
6234
  "dependencies": {
6166
- "@hono/node-server": "^1.19.9",
6235
+ "@hono/node-server": "^1.19.7",
6167
6236
  "ajv": "^8.17.1",
6168
6237
  "ajv-formats": "^3.0.1",
6169
6238
  "content-type": "^1.0.5",
@@ -6171,15 +6240,14 @@
6171
6240
  "cross-spawn": "^7.0.5",
6172
6241
  "eventsource": "^3.0.2",
6173
6242
  "eventsource-parser": "^3.0.0",
6174
- "express": "^5.2.1",
6175
- "express-rate-limit": "^8.2.1",
6176
- "hono": "^4.11.4",
6177
- "jose": "^6.1.3",
6243
+ "express": "^5.0.1",
6244
+ "express-rate-limit": "^7.5.0",
6245
+ "jose": "^6.1.1",
6178
6246
  "json-schema-typed": "^8.0.2",
6179
6247
  "pkce-challenge": "^5.0.0",
6180
6248
  "raw-body": "^3.0.0",
6181
6249
  "zod": "^3.25 || ^4.0",
6182
- "zod-to-json-schema": "^3.25.1"
6250
+ "zod-to-json-schema": "^3.25.0"
6183
6251
  },
6184
6252
  "engines": {
6185
6253
  "node": ">=18"
@@ -7719,13 +7787,13 @@
7719
7787
  ]
7720
7788
  },
7721
7789
  "node_modules/@schematics/angular": {
7722
- "version": "21.1.4",
7723
- "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-21.1.4.tgz",
7724
- "integrity": "sha512-I1zdSNzdbrVCWpeE2NsZQmIoa9m0nlw4INgdGIkqUH6FgwvoGKC0RoOxKAmm6HHVJ48FE/sPI13dwAeK89ow5A==",
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==",
7725
7793
  "license": "MIT",
7726
7794
  "dependencies": {
7727
- "@angular-devkit/core": "21.1.4",
7728
- "@angular-devkit/schematics": "21.1.4",
7795
+ "@angular-devkit/core": "21.1.2",
7796
+ "@angular-devkit/schematics": "21.1.2",
7729
7797
  "jsonc-parser": "3.3.1"
7730
7798
  },
7731
7799
  "engines": {
@@ -7735,9 +7803,9 @@
7735
7803
  }
7736
7804
  },
7737
7805
  "node_modules/@schematics/angular/node_modules/@angular-devkit/core": {
7738
- "version": "21.1.4",
7739
- "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-21.1.4.tgz",
7740
- "integrity": "sha512-ObPTI5gYCB1jGxTRhcqZ6oQVUBFVJ8GH4LksVuAiz0nFX7xxpzARWvlhq943EtnlovVlUd9I8fM3RQqjfGVVAQ==",
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==",
7741
7809
  "license": "MIT",
7742
7810
  "dependencies": {
7743
7811
  "ajv": "8.17.1",
@@ -10434,13 +10502,10 @@
10434
10502
  }
10435
10503
  },
10436
10504
  "node_modules/express-rate-limit": {
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==",
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==",
10440
10508
  "license": "MIT",
10441
- "dependencies": {
10442
- "ip-address": "10.0.1"
10443
- },
10444
10509
  "engines": {
10445
10510
  "node": ">= 16"
10446
10511
  },
@@ -10451,15 +10516,6 @@
10451
10516
  "express": ">= 4.11"
10452
10517
  }
10453
10518
  },
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
- },
10463
10519
  "node_modules/extsprintf": {
10464
10520
  "version": "1.4.1",
10465
10521
  "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.4.1.tgz",
@@ -10921,10 +10977,11 @@
10921
10977
  }
10922
10978
  },
10923
10979
  "node_modules/hono": {
10924
- "version": "4.11.9",
10925
- "resolved": "https://registry.npmjs.org/hono/-/hono-4.11.9.tgz",
10926
- "integrity": "sha512-Eaw2YTGM6WOxA6CXbckaEvslr2Ne4NFsKrvc0v97JD5awbmeBLO5w9Ho9L9kmKonrwF9RJlW6BxT1PVv/agBHQ==",
10980
+ "version": "4.11.7",
10981
+ "resolved": "https://registry.npmjs.org/hono/-/hono-4.11.7.tgz",
10982
+ "integrity": "sha512-l7qMiNee7t82bH3SeyUCt9UF15EVmaBvsppY2zQtrbIhl/yzBTny+YUxsVjSjQ6gaqaeVtZmGocom8TzBlA4Yw==",
10927
10983
  "license": "MIT",
10984
+ "peer": true,
10928
10985
  "engines": {
10929
10986
  "node": ">=16.9.0"
10930
10987
  }
@@ -13637,9 +13694,9 @@
13637
13694
  }
13638
13695
  },
13639
13696
  "node_modules/qs": {
13640
- "version": "6.14.2",
13641
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.2.tgz",
13642
- "integrity": "sha512-V/yCWTTF7VJ9hIh18Ugr2zhJMP01MY7c5kh4J870L7imm6/DIzBsNLTXzMwUA3yZ5b/KBqLx8Kp3uRvd7xSe3Q==",
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==",
13643
13700
  "license": "BSD-3-Clause",
13644
13701
  "dependencies": {
13645
13702
  "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.613-nightly",
21
+ "@regulaforensics/document-reader": "9.2.616-rc",
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.613-nightly",
11
+ "@regulaforensics/document-reader": "9.2.616-rc",
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,6 +194,10 @@
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
+ }
197
201
 
198
202
  // Int
199
203
  if([options valueForKey:@"measureSystem"] != nil)
@@ -268,17 +272,16 @@
268
272
  if (options[@"customParams"]) processParams.customParams = options[@"customParams"];
269
273
  if ([options valueForKey:@"imageQA"] != nil)
270
274
  [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[@"bsiTr03135"]) processParams.bsiTr03135 = [RGLWJSONConstructor bsiFromJson:options[@"bsiTr03135"]];
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
+ }
282
285
  }
283
286
 
284
287
  +(NSDictionary*)getProcessParams:(RGLProcessParams*)processParams {
@@ -326,6 +329,9 @@
326
329
  result[@"strictSecurityChecks"] = processParams.strictSecurityChecks;
327
330
  result[@"returnTransliteratedFields"] = processParams.returnTransliteratedFields;
328
331
  result[@"checkCaptureProcessIntegrity"] = processParams.checkCaptureProcessIntegrity;
332
+ if(processParams.bsiTr03135) result[@"bsiTr03135"] = @{
333
+ @"generateResult": processParams.bsiTr03135.generateResult,
334
+ };
329
335
 
330
336
  // Int
331
337
  result[@"measureSystem"] = [NSNumber numberWithInteger:processParams.measureSystem];
@@ -370,11 +376,10 @@
370
376
 
371
377
  // JSONObject
372
378
  result[@"imageQA"] = [self getImageQA:processParams.imageQA];
373
- result[@"authenticityParams"] = [self getAuthenticityParams:processParams.authenticityParams];
374
379
  result[@"rfidParams"] = [RGLWJSONConstructor generateRFIDParams:processParams.rfidParams];
375
380
  result[@"faceApiParams"] = [RGLWJSONConstructor generateFaceAPIParams:processParams.faceApiParams];
376
381
  result[@"backendProcessingConfig"] = [RGLWJSONConstructor generateBackendProcessingConfig:processParams.backendProcessingConfig];
377
- result[@"bsiTr03135"] = [RGLWJSONConstructor generateBsi:processParams.bsiTr03135];
382
+ result[@"authenticityParams"] = [self getAuthenticityParams:processParams.authenticityParams];
378
383
 
379
384
  // Custom
380
385
  result[@"customParams"] = processParams.customParams;
@@ -51,8 +51,6 @@
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;
56
54
  +(RGLeDLDataGroup* _Nullable)eDLDataGroupsFromJson:(NSDictionary* _Nullable)input;
57
55
  +(NSDictionary* _Nullable)generateEDLDataGroups:(RGLeDLDataGroup* _Nullable)input;
58
56
  +(RGLePassportDataGroup* _Nullable)ePassportDataGroupsFromJson:(NSDictionary* _Nullable)input;
@@ -303,24 +303,6 @@ 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
-
324
306
  +(RGLImageQA*)imageQAFromJson:(NSDictionary*)input {
325
307
  RGLImageQA *result = [RGLImageQA new];
326
308
  [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.613-nightly",
3
+ "version": "9.2.616-rc",
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.613-nightly" xmlns="http://apache.org/cordova/ns/plugins/1.0">
2
+ <plugin id="@regulaforensics/document-reader" version="9.2.616-rc" 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="DocumentReaderNightly" spec="9.2.5926" />
32
+ <pod name="DocumentReaderStage" spec="9.2.5934" />
33
33
  </pods>
34
34
  </podspec>
35
35
  </platform>
package/test/json.tsx CHANGED
@@ -67,9 +67,6 @@ 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
- };
73
70
  export var processParams = {
74
71
  "multipageProcessing": true,
75
72
  "debugSaveImages": false,
@@ -111,7 +108,9 @@ export var processParams = {
111
108
  "strictSecurityChecks": false,
112
109
  "returnTransliteratedFields": true,
113
110
  "checkCaptureProcessIntegrity": false,
114
- "bsiTr03135": bsi,
111
+ "bsiTr03135": {
112
+ "generateResult": true
113
+ },
115
114
  "measureSystem": 1,
116
115
  "barcodeParserType": 3,
117
116
  "perspectiveAngle": 4,
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "..": {
15
15
  "name": "@regulaforensics/document-reader",
16
- "version": "9.2.613-nightly",
16
+ "version": "9.2.616-rc",
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, 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'
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'
4
4
 
5
5
  compare('initConfig', initConfig, InitConfig.fromJson)
6
6
  compare('onlineProcessingConfig', onlineProcessingConfig, OnlineProcessingConfig.fromJson)
@@ -19,7 +19,6 @@ 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)
23
22
  compare('processParams', processParams, ProcessParams.fromJson, ['logs'])
24
23
  compare('eDLDataGroups', eDLDataGroups, EDLDataGroups.fromJson)
25
24
  compare('ePassportDataGroups', ePassportDataGroups, EPassportDataGroups.fromJson)