@regulaforensics/ionic-native-document-reader 9.4.490-rc → 9.4.492-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/example/package.json +3 -3
- package/example/src/app/home/home.page.ts +2 -2
- package/index.d.ts +59 -8
- package/index.js +66 -6
- package/ngx/index.d.ts +59 -8
- package/ngx/index.js +67 -7
- package/package.json +1 -1
- package/reactExample/package.json +3 -3
- package/reactExample/src/pages/Home.tsx +2 -2
package/example/package.json
CHANGED
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
},
|
|
14
14
|
"private": true,
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@regulaforensics/ionic-native-document-reader": "9.4.
|
|
17
|
-
"@regulaforensics/cordova-plugin-document-reader-api": "9.4.
|
|
18
|
-
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.4.
|
|
16
|
+
"@regulaforensics/ionic-native-document-reader": "9.4.492-rc",
|
|
17
|
+
"@regulaforensics/cordova-plugin-document-reader-api": "9.4.521-rc",
|
|
18
|
+
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.4.2340-rc",
|
|
19
19
|
"cordova-plugin-camera": "7.0.0",
|
|
20
20
|
"@awesome-cordova-plugins/camera": "6.6.0",
|
|
21
21
|
"@awesome-cordova-plugins/core": "6.6.0",
|
|
@@ -157,12 +157,12 @@ export class HomePage {
|
|
|
157
157
|
|
|
158
158
|
function customRFID() {
|
|
159
159
|
showRfidUI()
|
|
160
|
-
DocumentReader.readRFID(
|
|
160
|
+
DocumentReader.readRFID(null).subscribe((m: string) => handleRfidCompletion(m))
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
function usualRFID() {
|
|
164
164
|
isReadingRfid = true
|
|
165
|
-
DocumentReader.startRFIDReader(
|
|
165
|
+
DocumentReader.startRFIDReader(null).subscribe((m: string) => handleRfidCompletion(m))
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
function handleRfidCompletion(raw: string) {
|
package/index.d.ts
CHANGED
|
@@ -1197,6 +1197,27 @@ export declare class FinalizeCompletion {
|
|
|
1197
1197
|
error?: RegulaException;
|
|
1198
1198
|
static fromJson(jsonObject?: any): FinalizeCompletion | undefined;
|
|
1199
1199
|
}
|
|
1200
|
+
export declare class PACEProtocol {
|
|
1201
|
+
version?: string;
|
|
1202
|
+
stdDomainParams?: string;
|
|
1203
|
+
keyAlgorithm?: string;
|
|
1204
|
+
static fromJson(jsonObject?: any): PACEProtocol | undefined;
|
|
1205
|
+
}
|
|
1206
|
+
export declare class CAProtocol {
|
|
1207
|
+
version?: string;
|
|
1208
|
+
scheme?: string;
|
|
1209
|
+
keyAlgorithm?: string;
|
|
1210
|
+
chipIndividual?: boolean;
|
|
1211
|
+
static fromJson(jsonObject?: any): CAProtocol | undefined;
|
|
1212
|
+
}
|
|
1213
|
+
export declare class RFIDConfig {
|
|
1214
|
+
onRequestPACertificates?: boolean;
|
|
1215
|
+
onRequestTACertificates?: boolean;
|
|
1216
|
+
onRequestTASignature?: boolean;
|
|
1217
|
+
onRequestPACEProtocol?: boolean;
|
|
1218
|
+
onRequestCAProtocol?: boolean;
|
|
1219
|
+
static fromJson(jsonObject?: any): RFIDConfig | undefined;
|
|
1220
|
+
}
|
|
1200
1221
|
export declare const FontStyle: {
|
|
1201
1222
|
NORMAL: number;
|
|
1202
1223
|
BOLD: number;
|
|
@@ -2273,6 +2294,8 @@ export declare const eLDS_ParsingNotificationCodes: {
|
|
|
2273
2294
|
NTF_LDS_ICAO_CERTIFICATE_MRZ_COUNTRY_NON_MATCHING: number;
|
|
2274
2295
|
NTF_LDS_ICAO_CERTIFICATE_ISSUER_COUNTRY_NON_UPPER_CASE: number;
|
|
2275
2296
|
NTF_LDS_ICAO_CERTIFICATE_SUBJECT_COUNTRY_NON_UPPER_CASE: number;
|
|
2297
|
+
NTFLDS_SI_STORAGE_CS_NONCONSISTANT: number;
|
|
2298
|
+
NTFLDS_SI_STORAGE_CS_PACE_CAM_KEY_MISSING: number;
|
|
2276
2299
|
};
|
|
2277
2300
|
export declare const eImageQualityCheckType: {
|
|
2278
2301
|
IQC_IMAGE_GLARES: number;
|
|
@@ -2819,6 +2842,13 @@ export declare const eRFID_DataFile_Type: {
|
|
|
2819
2842
|
DFT_VDS: number;
|
|
2820
2843
|
DFT_VDSNC: number;
|
|
2821
2844
|
DFT_USERDEFINED: number;
|
|
2845
|
+
DFT_POST_CA_RESPONSE: number;
|
|
2846
|
+
DFT_POST_CA_PUBLIC_KEY: number;
|
|
2847
|
+
DFT_POST_CA_INFO: number;
|
|
2848
|
+
DFT_POST_CA_DPARAMS: number;
|
|
2849
|
+
DFT_POST_CA_CHECK_PK: number;
|
|
2850
|
+
DFT_POST_CA_CHECK_SK: number;
|
|
2851
|
+
DFT_ID_DG22: number;
|
|
2822
2852
|
};
|
|
2823
2853
|
export declare const eVisualFieldType: {
|
|
2824
2854
|
FT_DOCUMENT_CLASS_CODE: number;
|
|
@@ -3478,6 +3508,7 @@ export declare const eVisualFieldType: {
|
|
|
3478
3508
|
FT_NON_DOMICILED_INDICATOR: number;
|
|
3479
3509
|
FT_JURISDICTION_SPECIFIC_DATA: number;
|
|
3480
3510
|
FT_DATA_DATE_OF_EXPIRY: number;
|
|
3511
|
+
FT_CONSUL: number;
|
|
3481
3512
|
};
|
|
3482
3513
|
export declare const DocReaderOrientation: {
|
|
3483
3514
|
ALL: number;
|
|
@@ -4792,6 +4823,8 @@ export declare const Enum: {
|
|
|
4792
4823
|
NTF_LDS_ICAO_CERTIFICATE_MRZ_COUNTRY_NON_MATCHING: number;
|
|
4793
4824
|
NTF_LDS_ICAO_CERTIFICATE_ISSUER_COUNTRY_NON_UPPER_CASE: number;
|
|
4794
4825
|
NTF_LDS_ICAO_CERTIFICATE_SUBJECT_COUNTRY_NON_UPPER_CASE: number;
|
|
4826
|
+
NTFLDS_SI_STORAGE_CS_NONCONSISTANT: number;
|
|
4827
|
+
NTFLDS_SI_STORAGE_CS_PACE_CAM_KEY_MISSING: number;
|
|
4795
4828
|
};
|
|
4796
4829
|
eImageQualityCheckType: {
|
|
4797
4830
|
IQC_IMAGE_GLARES: number;
|
|
@@ -5338,6 +5371,13 @@ export declare const Enum: {
|
|
|
5338
5371
|
DFT_VDS: number;
|
|
5339
5372
|
DFT_VDSNC: number;
|
|
5340
5373
|
DFT_USERDEFINED: number;
|
|
5374
|
+
DFT_POST_CA_RESPONSE: number;
|
|
5375
|
+
DFT_POST_CA_PUBLIC_KEY: number;
|
|
5376
|
+
DFT_POST_CA_INFO: number;
|
|
5377
|
+
DFT_POST_CA_DPARAMS: number;
|
|
5378
|
+
DFT_POST_CA_CHECK_PK: number;
|
|
5379
|
+
DFT_POST_CA_CHECK_SK: number;
|
|
5380
|
+
DFT_ID_DG22: number;
|
|
5341
5381
|
};
|
|
5342
5382
|
eVisualFieldType: {
|
|
5343
5383
|
FT_DOCUMENT_CLASS_CODE: number;
|
|
@@ -5997,6 +6037,7 @@ export declare const Enum: {
|
|
|
5997
6037
|
FT_NON_DOMICILED_INDICATOR: number;
|
|
5998
6038
|
FT_JURISDICTION_SPECIFIC_DATA: number;
|
|
5999
6039
|
FT_DATA_DATE_OF_EXPIRY: number;
|
|
6040
|
+
FT_CONSUL: number;
|
|
6000
6041
|
};
|
|
6001
6042
|
DocReaderOrientation: {
|
|
6002
6043
|
ALL: number;
|
|
@@ -6483,21 +6524,17 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
|
|
|
6483
6524
|
/**
|
|
6484
6525
|
* Use the method below to open the RFID chip reading controller and start its processing
|
|
6485
6526
|
*
|
|
6486
|
-
* @param {
|
|
6487
|
-
* @param {boolean} requestTACertificates
|
|
6488
|
-
* @param {boolean} requestTASignature
|
|
6527
|
+
* @param {RFIDConfig | null} config
|
|
6489
6528
|
* @return {Promise<any>} Returns a promise
|
|
6490
6529
|
*/
|
|
6491
|
-
startRFIDReader(
|
|
6530
|
+
startRFIDReader(config: RFIDConfig | null): Observable<any>;
|
|
6492
6531
|
/**
|
|
6493
6532
|
* Use this method to start RFID chip processing
|
|
6494
6533
|
*
|
|
6495
|
-
* @param {
|
|
6496
|
-
* @param {boolean} requestTACertificates
|
|
6497
|
-
* @param {boolean} requestTASignature
|
|
6534
|
+
* @param {RFIDConfig | null} config
|
|
6498
6535
|
* @return {Promise<any>} Returns a promise
|
|
6499
6536
|
*/
|
|
6500
|
-
readRFID(
|
|
6537
|
+
readRFID(config: RFIDConfig | null): Observable<any>;
|
|
6501
6538
|
/**
|
|
6502
6539
|
* Use the method below to close the RFID chip reading controller and end its processing
|
|
6503
6540
|
*
|
|
@@ -6525,6 +6562,20 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
|
|
|
6525
6562
|
* @return {Promise<any>} Returns a promise
|
|
6526
6563
|
*/
|
|
6527
6564
|
provideTASignature(signature: string): Promise<any>;
|
|
6565
|
+
/**
|
|
6566
|
+
*
|
|
6567
|
+
*
|
|
6568
|
+
* @param {PACEProtocol} protocol
|
|
6569
|
+
* @return {Promise<any>} Returns a promise
|
|
6570
|
+
*/
|
|
6571
|
+
selectPACEProtocol(protocol: PACEProtocol): Promise<any>;
|
|
6572
|
+
/**
|
|
6573
|
+
*
|
|
6574
|
+
*
|
|
6575
|
+
* @param {CAProtocol} protocol
|
|
6576
|
+
* @return {Promise<any>} Returns a promise
|
|
6577
|
+
*/
|
|
6578
|
+
selectCAProtocol(protocol: CAProtocol): Promise<any>;
|
|
6528
6579
|
/**
|
|
6529
6580
|
* The method call sets the given TCCParams to the RFID session. The parameters are required to be set before starting RFID session.
|
|
6530
6581
|
*
|