@regulaforensics/document-reader 9.2.594-rc → 9.2.597-rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/RNDocumentReader.podspec +2 -2
- package/android/build.gradle +1 -1
- package/android/cordova.gradle +1 -1
- package/android/src/main/java/com/regula/plugin/documentreader/Config.kt +9 -2
- package/examples/capacitor/package-lock.json +3 -3
- package/examples/capacitor/package.json +1 -1
- package/examples/ionic/package-lock.json +118 -19
- package/examples/ionic/package.json +1 -1
- package/examples/react_native/package.json +1 -1
- package/ios/RGLWConfig.m +7 -2
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/test/json.tsx +3 -1
- package/test/package-lock.json +1 -1
- package/www/capacitor/index.js +2 -2
- package/www/capacitor/params/process_params/ProcessParams.js +15 -6
- package/www/cordova.js +17 -6
- package/www/react-native/index.js +2 -2
- package/www/react-native/params/process_params/ProcessParams.js +15 -6
- package/www/types/index.d.ts +2 -2
- package/www/types/params/process_params/ProcessParams.d.ts +6 -1
package/RNDocumentReader.podspec
CHANGED
|
@@ -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.
|
|
8
|
+
s.version = '9.2.597-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 'DocumentReaderStage', '9.2.
|
|
19
|
+
s.dependency 'DocumentReaderStage', '9.2.5889'
|
|
20
20
|
s.dependency 'React'
|
|
21
21
|
end
|
package/android/build.gradle
CHANGED
|
@@ -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.
|
|
32
|
+
implementation('com.regula.documentreader:api:9.2.12397'){
|
|
33
33
|
transitive = true
|
|
34
34
|
}
|
|
35
35
|
}
|
package/android/cordova.gradle
CHANGED
|
@@ -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,7 +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
|
|
150
|
-
"
|
|
151
|
+
"bsiTr03135" -> {
|
|
152
|
+
val temp = Bsi()
|
|
153
|
+
temp.generateResult = (v as JSONObject).getBooleanOrNull("generateResult")
|
|
154
|
+
processParams.bsiTr03135 = temp
|
|
155
|
+
}
|
|
151
156
|
"measureSystem" -> processParams.measureSystem = v.toInt()
|
|
152
157
|
"barcodeParserType" -> processParams.barcodeParserType = v.toInt()
|
|
153
158
|
"perspectiveAngle" -> processParams.perspectiveAngle = v.toInt()
|
|
@@ -237,7 +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,
|
|
240
|
-
"
|
|
245
|
+
"bsiTr03135" to mapOf(
|
|
246
|
+
"generateResult" to processParams.bsiTr03135?.generateResult
|
|
247
|
+
).toJson(),
|
|
241
248
|
"measureSystem" to processParams.measureSystem,
|
|
242
249
|
"barcodeParserType" to processParams.barcodeParserType,
|
|
243
250
|
"perspectiveAngle" to processParams.perspectiveAngle,
|
|
@@ -1042,9 +1042,9 @@
|
|
|
1042
1042
|
}
|
|
1043
1043
|
},
|
|
1044
1044
|
"node_modules/@isaacs/brace-expansion": {
|
|
1045
|
-
"version": "5.0.
|
|
1046
|
-
"resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.
|
|
1047
|
-
"integrity": "sha512-
|
|
1045
|
+
"version": "5.0.1",
|
|
1046
|
+
"resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.1.tgz",
|
|
1047
|
+
"integrity": "sha512-WMz71T1JS624nWj2n2fnYAuPovhv7EUhk69R6i9dsVyzxt5eM3bjwvgk9L+APE1TRscGysAVMANkB0jh0LQZrQ==",
|
|
1048
1048
|
"license": "MIT",
|
|
1049
1049
|
"dependencies": {
|
|
1050
1050
|
"@isaacs/balanced-match": "^4.0.1"
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"android": "scripts/android.sh"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@regulaforensics/document-reader": "9.2.
|
|
9
|
+
"@regulaforensics/document-reader": "9.2.597-rc",
|
|
10
10
|
"@regulaforensics/document-reader-core-fullauthrfid": "9.1.1281",
|
|
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.
|
|
437
|
-
"resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-21.1.
|
|
438
|
-
"integrity": "sha512-
|
|
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.
|
|
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",
|
|
@@ -450,6 +450,33 @@
|
|
|
450
450
|
"yarn": ">= 1.13.0"
|
|
451
451
|
}
|
|
452
452
|
},
|
|
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==",
|
|
457
|
+
"license": "MIT",
|
|
458
|
+
"dependencies": {
|
|
459
|
+
"ajv": "8.17.1",
|
|
460
|
+
"ajv-formats": "3.0.1",
|
|
461
|
+
"jsonc-parser": "3.3.1",
|
|
462
|
+
"picomatch": "4.0.3",
|
|
463
|
+
"rxjs": "7.8.2",
|
|
464
|
+
"source-map": "0.7.6"
|
|
465
|
+
},
|
|
466
|
+
"engines": {
|
|
467
|
+
"node": "^20.19.0 || ^22.12.0 || >=24.0.0",
|
|
468
|
+
"npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
|
|
469
|
+
"yarn": ">= 1.13.0"
|
|
470
|
+
},
|
|
471
|
+
"peerDependencies": {
|
|
472
|
+
"chokidar": "^5.0.0"
|
|
473
|
+
},
|
|
474
|
+
"peerDependenciesMeta": {
|
|
475
|
+
"chokidar": {
|
|
476
|
+
"optional": true
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
},
|
|
453
480
|
"node_modules/@angular/build": {
|
|
454
481
|
"version": "21.1.1",
|
|
455
482
|
"resolved": "https://registry.npmjs.org/@angular/build/-/build-21.1.1.tgz",
|
|
@@ -550,18 +577,18 @@
|
|
|
550
577
|
}
|
|
551
578
|
},
|
|
552
579
|
"node_modules/@angular/cli": {
|
|
553
|
-
"version": "21.1.
|
|
554
|
-
"resolved": "https://registry.npmjs.org/@angular/cli/-/cli-21.1.
|
|
555
|
-
"integrity": "sha512-
|
|
580
|
+
"version": "21.1.2",
|
|
581
|
+
"resolved": "https://registry.npmjs.org/@angular/cli/-/cli-21.1.2.tgz",
|
|
582
|
+
"integrity": "sha512-AHjXCBl2PEilMJct6DX3ih5Fl5PiKpNDIj0ViTyVh1YcfpYjt6NzhVlV2o++8VNPNH/vMcmf2551LZIDProXXA==",
|
|
556
583
|
"license": "MIT",
|
|
557
584
|
"dependencies": {
|
|
558
|
-
"@angular-devkit/architect": "0.2101.
|
|
559
|
-
"@angular-devkit/core": "21.1.
|
|
560
|
-
"@angular-devkit/schematics": "21.1.
|
|
585
|
+
"@angular-devkit/architect": "0.2101.2",
|
|
586
|
+
"@angular-devkit/core": "21.1.2",
|
|
587
|
+
"@angular-devkit/schematics": "21.1.2",
|
|
561
588
|
"@inquirer/prompts": "7.10.1",
|
|
562
589
|
"@listr2/prompt-adapter-inquirer": "3.0.5",
|
|
563
590
|
"@modelcontextprotocol/sdk": "1.25.2",
|
|
564
|
-
"@schematics/angular": "21.1.
|
|
591
|
+
"@schematics/angular": "21.1.2",
|
|
565
592
|
"@yarnpkg/lockfile": "1.1.0",
|
|
566
593
|
"algoliasearch": "5.46.2",
|
|
567
594
|
"ini": "6.0.0",
|
|
@@ -584,6 +611,51 @@
|
|
|
584
611
|
"yarn": ">= 1.13.0"
|
|
585
612
|
}
|
|
586
613
|
},
|
|
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==",
|
|
618
|
+
"license": "MIT",
|
|
619
|
+
"dependencies": {
|
|
620
|
+
"@angular-devkit/core": "21.1.2",
|
|
621
|
+
"rxjs": "7.8.2"
|
|
622
|
+
},
|
|
623
|
+
"bin": {
|
|
624
|
+
"architect": "bin/cli.js"
|
|
625
|
+
},
|
|
626
|
+
"engines": {
|
|
627
|
+
"node": "^20.19.0 || ^22.12.0 || >=24.0.0",
|
|
628
|
+
"npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
|
|
629
|
+
"yarn": ">= 1.13.0"
|
|
630
|
+
}
|
|
631
|
+
},
|
|
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==",
|
|
636
|
+
"license": "MIT",
|
|
637
|
+
"dependencies": {
|
|
638
|
+
"ajv": "8.17.1",
|
|
639
|
+
"ajv-formats": "3.0.1",
|
|
640
|
+
"jsonc-parser": "3.3.1",
|
|
641
|
+
"picomatch": "4.0.3",
|
|
642
|
+
"rxjs": "7.8.2",
|
|
643
|
+
"source-map": "0.7.6"
|
|
644
|
+
},
|
|
645
|
+
"engines": {
|
|
646
|
+
"node": "^20.19.0 || ^22.12.0 || >=24.0.0",
|
|
647
|
+
"npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
|
|
648
|
+
"yarn": ">= 1.13.0"
|
|
649
|
+
},
|
|
650
|
+
"peerDependencies": {
|
|
651
|
+
"chokidar": "^5.0.0"
|
|
652
|
+
},
|
|
653
|
+
"peerDependenciesMeta": {
|
|
654
|
+
"chokidar": {
|
|
655
|
+
"optional": true
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
},
|
|
587
659
|
"node_modules/@angular/common": {
|
|
588
660
|
"version": "21.1.1",
|
|
589
661
|
"resolved": "https://registry.npmjs.org/@angular/common/-/common-21.1.1.tgz",
|
|
@@ -5545,9 +5617,9 @@
|
|
|
5545
5617
|
}
|
|
5546
5618
|
},
|
|
5547
5619
|
"node_modules/@isaacs/brace-expansion": {
|
|
5548
|
-
"version": "5.0.
|
|
5549
|
-
"resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.
|
|
5550
|
-
"integrity": "sha512-
|
|
5620
|
+
"version": "5.0.1",
|
|
5621
|
+
"resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.1.tgz",
|
|
5622
|
+
"integrity": "sha512-WMz71T1JS624nWj2n2fnYAuPovhv7EUhk69R6i9dsVyzxt5eM3bjwvgk9L+APE1TRscGysAVMANkB0jh0LQZrQ==",
|
|
5551
5623
|
"license": "MIT",
|
|
5552
5624
|
"dependencies": {
|
|
5553
5625
|
"@isaacs/balanced-match": "^4.0.1"
|
|
@@ -7715,13 +7787,13 @@
|
|
|
7715
7787
|
]
|
|
7716
7788
|
},
|
|
7717
7789
|
"node_modules/@schematics/angular": {
|
|
7718
|
-
"version": "21.1.
|
|
7719
|
-
"resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-21.1.
|
|
7720
|
-
"integrity": "sha512-
|
|
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==",
|
|
7721
7793
|
"license": "MIT",
|
|
7722
7794
|
"dependencies": {
|
|
7723
|
-
"@angular-devkit/core": "21.1.
|
|
7724
|
-
"@angular-devkit/schematics": "21.1.
|
|
7795
|
+
"@angular-devkit/core": "21.1.2",
|
|
7796
|
+
"@angular-devkit/schematics": "21.1.2",
|
|
7725
7797
|
"jsonc-parser": "3.3.1"
|
|
7726
7798
|
},
|
|
7727
7799
|
"engines": {
|
|
@@ -7730,6 +7802,33 @@
|
|
|
7730
7802
|
"yarn": ">= 1.13.0"
|
|
7731
7803
|
}
|
|
7732
7804
|
},
|
|
7805
|
+
"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==",
|
|
7809
|
+
"license": "MIT",
|
|
7810
|
+
"dependencies": {
|
|
7811
|
+
"ajv": "8.17.1",
|
|
7812
|
+
"ajv-formats": "3.0.1",
|
|
7813
|
+
"jsonc-parser": "3.3.1",
|
|
7814
|
+
"picomatch": "4.0.3",
|
|
7815
|
+
"rxjs": "7.8.2",
|
|
7816
|
+
"source-map": "0.7.6"
|
|
7817
|
+
},
|
|
7818
|
+
"engines": {
|
|
7819
|
+
"node": "^20.19.0 || ^22.12.0 || >=24.0.0",
|
|
7820
|
+
"npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
|
|
7821
|
+
"yarn": ">= 1.13.0"
|
|
7822
|
+
},
|
|
7823
|
+
"peerDependencies": {
|
|
7824
|
+
"chokidar": "^5.0.0"
|
|
7825
|
+
},
|
|
7826
|
+
"peerDependenciesMeta": {
|
|
7827
|
+
"chokidar": {
|
|
7828
|
+
"optional": true
|
|
7829
|
+
}
|
|
7830
|
+
}
|
|
7831
|
+
},
|
|
7733
7832
|
"node_modules/@sigstore/bundle": {
|
|
7734
7833
|
"version": "4.0.0",
|
|
7735
7834
|
"resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-4.0.0.tgz",
|
|
@@ -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.
|
|
21
|
+
"@regulaforensics/document-reader": "9.2.597-rc",
|
|
22
22
|
"@regulaforensics/document-reader-core-fullauthrfid": "9.1.1281",
|
|
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.
|
|
11
|
+
"@regulaforensics/document-reader": "9.2.597-rc",
|
|
12
12
|
"@regulaforensics/document-reader-core-fullauthrfid": "9.1.1281",
|
|
13
13
|
"@regulaforensics/document-reader-btdevice": "9.1.35",
|
|
14
14
|
"react-native": "^0.81.4",
|
package/ios/RGLWConfig.m
CHANGED
|
@@ -194,7 +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[@"
|
|
197
|
+
if (options[@"bsiTr03135"]) {
|
|
198
|
+
processParams.bsiTr03135 = [RGLBsi new];
|
|
199
|
+
processParams.bsiTr03135.generateResult = options[@"bsiTr03135"][@"generateResult"];
|
|
200
|
+
}
|
|
198
201
|
|
|
199
202
|
// Int
|
|
200
203
|
if([options valueForKey:@"measureSystem"] != nil)
|
|
@@ -326,7 +329,9 @@
|
|
|
326
329
|
result[@"strictSecurityChecks"] = processParams.strictSecurityChecks;
|
|
327
330
|
result[@"returnTransliteratedFields"] = processParams.returnTransliteratedFields;
|
|
328
331
|
result[@"checkCaptureProcessIntegrity"] = processParams.checkCaptureProcessIntegrity;
|
|
329
|
-
result[@"
|
|
332
|
+
if(processParams.bsiTr03135) result[@"bsiTr03135"] = @{
|
|
333
|
+
@"generateResult": processParams.bsiTr03135.generateResult,
|
|
334
|
+
};
|
|
330
335
|
|
|
331
336
|
// Int
|
|
332
337
|
result[@"measureSystem"] = [NSNumber numberWithInteger:processParams.measureSystem];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/document-reader",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.597-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.
|
|
2
|
+
<plugin id="@regulaforensics/document-reader" version="9.2.597-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="DocumentReaderStage" spec="9.2.
|
|
32
|
+
<pod name="DocumentReaderStage" spec="9.2.5889" />
|
|
33
33
|
</pods>
|
|
34
34
|
</podspec>
|
|
35
35
|
</platform>
|
package/test/json.tsx
CHANGED
|
@@ -108,7 +108,9 @@ export var processParams = {
|
|
|
108
108
|
"strictSecurityChecks": false,
|
|
109
109
|
"returnTransliteratedFields": true,
|
|
110
110
|
"checkCaptureProcessIntegrity": false,
|
|
111
|
-
"
|
|
111
|
+
"bsiTr03135": {
|
|
112
|
+
"generateResult": true
|
|
113
|
+
},
|
|
112
114
|
"measureSystem": 1,
|
|
113
115
|
"barcodeParserType": 3,
|
|
114
116
|
"perspectiveAngle": 4,
|
package/test/package-lock.json
CHANGED
package/www/capacitor/index.js
CHANGED
|
@@ -99,7 +99,7 @@ import { AccessControlProcedureType } from './results/rfid/AccessControlProcedur
|
|
|
99
99
|
export { SecurityObject, CardProperties, DataField, Attribute, SignerInfo, SecurityObjectCertificates, CertificateChain, Authority, File, RFIDValue, RFIDValidity, RFIDDataFileType, CertificateData, FileData, RFIDCertificateType, RFIDSessionData, Application, RFIDApplicationType, RFIDAccessControlProcedureType, Extension, AccessControlProcedureType };
|
|
100
100
|
|
|
101
101
|
import { LivenessParams } from './params/process_params/LivenessParams';
|
|
102
|
-
import { ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes } from './params/process_params/ProcessParams';
|
|
102
|
+
import { ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, Bsi } from './params/process_params/ProcessParams';
|
|
103
103
|
import { GlaresCheckParams } from './params/process_params/GlaresCheckParams';
|
|
104
104
|
import { FaceApiParams } from './params/process_params/FaceApiParams';
|
|
105
105
|
import { RFIDParams } from './params/process_params/RFIDParams';
|
|
@@ -107,7 +107,7 @@ import { ImageQA } from './params/process_params/ImageQA';
|
|
|
107
107
|
import { AuthenticityParams } from './params/process_params/AuthenticityParams';
|
|
108
108
|
import { BackendProcessingConfig } from './params/process_params/BackendProcessingConfig';
|
|
109
109
|
import { FaceApiSearchParams } from './params/process_params/FaceApiSearchParams';
|
|
110
|
-
export { LivenessParams, ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, GlaresCheckParams, FaceApiParams, RFIDParams, ImageQA, AuthenticityParams, BackendProcessingConfig, FaceApiSearchParams };
|
|
110
|
+
export { LivenessParams, ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, Bsi, GlaresCheckParams, FaceApiParams, RFIDParams, ImageQA, AuthenticityParams, BackendProcessingConfig, FaceApiSearchParams };
|
|
111
111
|
|
|
112
112
|
import { Functionality, CameraPosition, CaptureMode, CameraMode, CaptureSessionPreset, DocReaderFrame, CameraSize } from './params/Functionality';
|
|
113
113
|
export { Functionality, CameraPosition, CaptureMode, CameraMode, CaptureSessionPreset, DocReaderFrame, CameraSize };
|
|
@@ -253,10 +253,10 @@ export class ProcessParams {
|
|
|
253
253
|
this._set({ "checkCaptureProcessIntegrity": val });
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
get
|
|
257
|
-
set
|
|
258
|
-
this.
|
|
259
|
-
this._set({ "
|
|
256
|
+
get bsiTr03135() { return this._bsiTr03135; }
|
|
257
|
+
set bsiTr03135(val) {
|
|
258
|
+
this._bsiTr03135 = val;
|
|
259
|
+
this._set({ "bsiTr03135": {"generateResult": val?.generateResult} });
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
get barcodeParserType() { return this._barcodeParserType; }
|
|
@@ -534,7 +534,8 @@ export class ProcessParams {
|
|
|
534
534
|
result._strictSecurityChecks = jsonObject["strictSecurityChecks"];
|
|
535
535
|
result._returnTransliteratedFields = jsonObject["returnTransliteratedFields"];
|
|
536
536
|
result._checkCaptureProcessIntegrity = jsonObject["checkCaptureProcessIntegrity"];
|
|
537
|
-
|
|
537
|
+
if(jsonObject["bsiTr03135"] != null)
|
|
538
|
+
result.bsiTr03135 = new Bsi({generateResult: jsonObject["bsiTr03135"]["generateResult"]});
|
|
538
539
|
result._barcodeParserType = jsonObject["barcodeParserType"];
|
|
539
540
|
result._perspectiveAngle = jsonObject["perspectiveAngle"];
|
|
540
541
|
result._minDPI = jsonObject["minDPI"];
|
|
@@ -620,7 +621,7 @@ export class ProcessParams {
|
|
|
620
621
|
"strictSecurityChecks": this.strictSecurityChecks,
|
|
621
622
|
"returnTransliteratedFields": this.returnTransliteratedFields,
|
|
622
623
|
"checkCaptureProcessIntegrity": this.checkCaptureProcessIntegrity,
|
|
623
|
-
"
|
|
624
|
+
"bsiTr03135": {"generateResult": this.bsiTr03135?.generateResult},
|
|
624
625
|
"measureSystem": this.measureSystem,
|
|
625
626
|
"barcodeParserType": this.barcodeParserType,
|
|
626
627
|
"perspectiveAngle": this.perspectiveAngle,
|
|
@@ -697,3 +698,11 @@ export const MrzDetectionModes = {
|
|
|
697
698
|
RESIZE_BINARIZE_WINDOW: 1,
|
|
698
699
|
BLUR_BEFORE_BINARIZATION: 2
|
|
699
700
|
};
|
|
701
|
+
|
|
702
|
+
export class Bsi {
|
|
703
|
+
generateResult
|
|
704
|
+
|
|
705
|
+
constructor(options) {
|
|
706
|
+
this.generateResult = options?.generateResult;
|
|
707
|
+
}
|
|
708
|
+
}
|
package/www/cordova.js
CHANGED
|
@@ -468,6 +468,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
468
468
|
/* harmony export */ BarcodeResult: () => (/* reexport safe */ _results_barcode_BarcodeResult__WEBPACK_IMPORTED_MODULE_47__.BarcodeResult),
|
|
469
469
|
/* harmony export */ BarcodeStatus: () => (/* reexport safe */ _results_barcode_BarcodeStatus__WEBPACK_IMPORTED_MODULE_45__.BarcodeStatus),
|
|
470
470
|
/* harmony export */ BarcodeType: () => (/* reexport safe */ _results_barcode_BarcodeType__WEBPACK_IMPORTED_MODULE_46__.BarcodeType),
|
|
471
|
+
/* harmony export */ Bsi: () => (/* reexport safe */ _params_process_params_ProcessParams__WEBPACK_IMPORTED_MODULE_79__.Bsi),
|
|
471
472
|
/* harmony export */ BytesData: () => (/* reexport safe */ _results_visible_digital_seals_BytesData__WEBPACK_IMPORTED_MODULE_54__.BytesData),
|
|
472
473
|
/* harmony export */ CameraMode: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_87__.CameraMode),
|
|
473
474
|
/* harmony export */ CameraPosition: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_87__.CameraPosition),
|
|
@@ -4295,6 +4296,7 @@ class LivenessParams {
|
|
|
4295
4296
|
|
|
4296
4297
|
__webpack_require__.r(__webpack_exports__);
|
|
4297
4298
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4299
|
+
/* harmony export */ Bsi: () => (/* binding */ Bsi),
|
|
4298
4300
|
/* harmony export */ LogLevel: () => (/* binding */ LogLevel),
|
|
4299
4301
|
/* harmony export */ MRZFormat: () => (/* binding */ MRZFormat),
|
|
4300
4302
|
/* harmony export */ MeasureSystem: () => (/* binding */ MeasureSystem),
|
|
@@ -4563,10 +4565,10 @@ class ProcessParams {
|
|
|
4563
4565
|
this._set({ "checkCaptureProcessIntegrity": val });
|
|
4564
4566
|
}
|
|
4565
4567
|
|
|
4566
|
-
get
|
|
4567
|
-
set
|
|
4568
|
-
this.
|
|
4569
|
-
this._set({ "
|
|
4568
|
+
get bsiTr03135() { return this._bsiTr03135; }
|
|
4569
|
+
set bsiTr03135(val) {
|
|
4570
|
+
this._bsiTr03135 = val;
|
|
4571
|
+
this._set({ "bsiTr03135": {"generateResult": val?.generateResult} });
|
|
4570
4572
|
}
|
|
4571
4573
|
|
|
4572
4574
|
get barcodeParserType() { return this._barcodeParserType; }
|
|
@@ -4844,7 +4846,8 @@ class ProcessParams {
|
|
|
4844
4846
|
result._strictSecurityChecks = jsonObject["strictSecurityChecks"];
|
|
4845
4847
|
result._returnTransliteratedFields = jsonObject["returnTransliteratedFields"];
|
|
4846
4848
|
result._checkCaptureProcessIntegrity = jsonObject["checkCaptureProcessIntegrity"];
|
|
4847
|
-
|
|
4849
|
+
if(jsonObject["bsiTr03135"] != null)
|
|
4850
|
+
result.bsiTr03135 = new Bsi({generateResult: jsonObject["bsiTr03135"]["generateResult"]});
|
|
4848
4851
|
result._barcodeParserType = jsonObject["barcodeParserType"];
|
|
4849
4852
|
result._perspectiveAngle = jsonObject["perspectiveAngle"];
|
|
4850
4853
|
result._minDPI = jsonObject["minDPI"];
|
|
@@ -4930,7 +4933,7 @@ class ProcessParams {
|
|
|
4930
4933
|
"strictSecurityChecks": this.strictSecurityChecks,
|
|
4931
4934
|
"returnTransliteratedFields": this.returnTransliteratedFields,
|
|
4932
4935
|
"checkCaptureProcessIntegrity": this.checkCaptureProcessIntegrity,
|
|
4933
|
-
"
|
|
4936
|
+
"bsiTr03135": {"generateResult": this.bsiTr03135?.generateResult},
|
|
4934
4937
|
"measureSystem": this.measureSystem,
|
|
4935
4938
|
"barcodeParserType": this.barcodeParserType,
|
|
4936
4939
|
"perspectiveAngle": this.perspectiveAngle,
|
|
@@ -5008,6 +5011,14 @@ const MrzDetectionModes = {
|
|
|
5008
5011
|
BLUR_BEFORE_BINARIZATION: 2
|
|
5009
5012
|
};
|
|
5010
5013
|
|
|
5014
|
+
class Bsi {
|
|
5015
|
+
generateResult
|
|
5016
|
+
|
|
5017
|
+
constructor(options) {
|
|
5018
|
+
this.generateResult = options?.generateResult;
|
|
5019
|
+
}
|
|
5020
|
+
}
|
|
5021
|
+
|
|
5011
5022
|
|
|
5012
5023
|
/***/ },
|
|
5013
5024
|
|
|
@@ -99,7 +99,7 @@ import { AccessControlProcedureType } from './results/rfid/AccessControlProcedur
|
|
|
99
99
|
export { SecurityObject, CardProperties, DataField, Attribute, SignerInfo, SecurityObjectCertificates, CertificateChain, Authority, File, RFIDValue, RFIDValidity, RFIDDataFileType, CertificateData, FileData, RFIDCertificateType, RFIDSessionData, Application, RFIDApplicationType, RFIDAccessControlProcedureType, Extension, AccessControlProcedureType };
|
|
100
100
|
|
|
101
101
|
import { LivenessParams } from './params/process_params/LivenessParams';
|
|
102
|
-
import { ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes } from './params/process_params/ProcessParams';
|
|
102
|
+
import { ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, Bsi } from './params/process_params/ProcessParams';
|
|
103
103
|
import { GlaresCheckParams } from './params/process_params/GlaresCheckParams';
|
|
104
104
|
import { FaceApiParams } from './params/process_params/FaceApiParams';
|
|
105
105
|
import { RFIDParams } from './params/process_params/RFIDParams';
|
|
@@ -107,7 +107,7 @@ import { ImageQA } from './params/process_params/ImageQA';
|
|
|
107
107
|
import { AuthenticityParams } from './params/process_params/AuthenticityParams';
|
|
108
108
|
import { BackendProcessingConfig } from './params/process_params/BackendProcessingConfig';
|
|
109
109
|
import { FaceApiSearchParams } from './params/process_params/FaceApiSearchParams';
|
|
110
|
-
export { LivenessParams, ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, GlaresCheckParams, FaceApiParams, RFIDParams, ImageQA, AuthenticityParams, BackendProcessingConfig, FaceApiSearchParams };
|
|
110
|
+
export { LivenessParams, ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, Bsi, GlaresCheckParams, FaceApiParams, RFIDParams, ImageQA, AuthenticityParams, BackendProcessingConfig, FaceApiSearchParams };
|
|
111
111
|
|
|
112
112
|
import { Functionality, CameraPosition, CaptureMode, CameraMode, CaptureSessionPreset, DocReaderFrame, CameraSize } from './params/Functionality';
|
|
113
113
|
export { Functionality, CameraPosition, CaptureMode, CameraMode, CaptureSessionPreset, DocReaderFrame, CameraSize };
|
|
@@ -253,10 +253,10 @@ export class ProcessParams {
|
|
|
253
253
|
this._set({ "checkCaptureProcessIntegrity": val });
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
get
|
|
257
|
-
set
|
|
258
|
-
this.
|
|
259
|
-
this._set({ "
|
|
256
|
+
get bsiTr03135() { return this._bsiTr03135; }
|
|
257
|
+
set bsiTr03135(val) {
|
|
258
|
+
this._bsiTr03135 = val;
|
|
259
|
+
this._set({ "bsiTr03135": {"generateResult": val?.generateResult} });
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
get barcodeParserType() { return this._barcodeParserType; }
|
|
@@ -534,7 +534,8 @@ export class ProcessParams {
|
|
|
534
534
|
result._strictSecurityChecks = jsonObject["strictSecurityChecks"];
|
|
535
535
|
result._returnTransliteratedFields = jsonObject["returnTransliteratedFields"];
|
|
536
536
|
result._checkCaptureProcessIntegrity = jsonObject["checkCaptureProcessIntegrity"];
|
|
537
|
-
|
|
537
|
+
if(jsonObject["bsiTr03135"] != null)
|
|
538
|
+
result.bsiTr03135 = new Bsi({generateResult: jsonObject["bsiTr03135"]["generateResult"]});
|
|
538
539
|
result._barcodeParserType = jsonObject["barcodeParserType"];
|
|
539
540
|
result._perspectiveAngle = jsonObject["perspectiveAngle"];
|
|
540
541
|
result._minDPI = jsonObject["minDPI"];
|
|
@@ -620,7 +621,7 @@ export class ProcessParams {
|
|
|
620
621
|
"strictSecurityChecks": this.strictSecurityChecks,
|
|
621
622
|
"returnTransliteratedFields": this.returnTransliteratedFields,
|
|
622
623
|
"checkCaptureProcessIntegrity": this.checkCaptureProcessIntegrity,
|
|
623
|
-
"
|
|
624
|
+
"bsiTr03135": {"generateResult": this.bsiTr03135?.generateResult},
|
|
624
625
|
"measureSystem": this.measureSystem,
|
|
625
626
|
"barcodeParserType": this.barcodeParserType,
|
|
626
627
|
"perspectiveAngle": this.perspectiveAngle,
|
|
@@ -697,3 +698,11 @@ export const MrzDetectionModes = {
|
|
|
697
698
|
RESIZE_BINARIZE_WINDOW: 1,
|
|
698
699
|
BLUR_BEFORE_BINARIZATION: 2
|
|
699
700
|
};
|
|
701
|
+
|
|
702
|
+
export class Bsi {
|
|
703
|
+
generateResult
|
|
704
|
+
|
|
705
|
+
constructor(options) {
|
|
706
|
+
this.generateResult = options?.generateResult;
|
|
707
|
+
}
|
|
708
|
+
}
|
package/www/types/index.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ import { AccessControlProcedureType } from './results/rfid/AccessControlProcedur
|
|
|
97
97
|
export { SecurityObject, CardProperties, DataField, Attribute, SignerInfo, SecurityObjectCertificates, CertificateChain, Authority, File, RFIDValue, RFIDValidity, RFIDDataFileType, CertificateData, FileData, RFIDCertificateType, RFIDSessionData, Application, RFIDApplicationType, RFIDAccessControlProcedureType, Extension, AccessControlProcedureType };
|
|
98
98
|
|
|
99
99
|
import { LivenessParams } from './params/process_params/LivenessParams';
|
|
100
|
-
import { ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes } from './params/process_params/ProcessParams';
|
|
100
|
+
import { ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, Bsi } from './params/process_params/ProcessParams';
|
|
101
101
|
import { GlaresCheckParams } from './params/process_params/GlaresCheckParams';
|
|
102
102
|
import { FaceApiParams } from './params/process_params/FaceApiParams';
|
|
103
103
|
import { RFIDParams } from './params/process_params/RFIDParams';
|
|
@@ -105,7 +105,7 @@ import { ImageQA } from './params/process_params/ImageQA';
|
|
|
105
105
|
import { AuthenticityParams } from './params/process_params/AuthenticityParams';
|
|
106
106
|
import { BackendProcessingConfig } from './params/process_params/BackendProcessingConfig';
|
|
107
107
|
import { FaceApiSearchParams } from './params/process_params/FaceApiSearchParams';
|
|
108
|
-
export { LivenessParams, ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, GlaresCheckParams, FaceApiParams, RFIDParams, ImageQA, AuthenticityParams,BackendProcessingConfig, FaceApiSearchParams };
|
|
108
|
+
export { LivenessParams, ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, Bsi, GlaresCheckParams, FaceApiParams, RFIDParams, ImageQA, AuthenticityParams,BackendProcessingConfig, FaceApiSearchParams };
|
|
109
109
|
|
|
110
110
|
import { Functionality, CameraPosition, CaptureMode, CameraMode, CaptureSessionPreset, DocReaderFrame, CameraSize } from './params/Functionality';
|
|
111
111
|
export { Functionality, CameraPosition, CaptureMode, CameraMode, CaptureSessionPreset, DocReaderFrame, CameraSize };
|
|
@@ -207,7 +207,7 @@ export declare class ProcessParams {
|
|
|
207
207
|
*/
|
|
208
208
|
returnTransliteratedFields?: boolean;
|
|
209
209
|
checkCaptureProcessIntegrity?: boolean;
|
|
210
|
-
|
|
210
|
+
bsiTr03135?: Bsi;
|
|
211
211
|
/**
|
|
212
212
|
* There are documents that contain barcodes which data can be parsed only
|
|
213
213
|
* if document type verification is performed. The following property allows
|
|
@@ -486,3 +486,8 @@ export declare enum MrzDetectionModes {
|
|
|
486
486
|
RESIZE_BINARIZE_WINDOW = 1,
|
|
487
487
|
BLUR_BEFORE_BINARIZATION = 2,
|
|
488
488
|
}
|
|
489
|
+
|
|
490
|
+
export interface Bsi {
|
|
491
|
+
generateResult?: boolean
|
|
492
|
+
}
|
|
493
|
+
|