@regulaforensics/ionic-native-document-reader 9.4.453-rc → 9.4.456-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/example/package.json +3 -3
- package/index.d.ts +39 -8
- package/index.js +53 -3
- package/ngx/index.d.ts +39 -8
- package/ngx/index.js +54 -4
- package/package.json +1 -1
- package/reactExample/package.json +3 -3
package/ngx/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;
|
|
@@ -6483,21 +6504,17 @@ export declare class DocumentReader extends AwesomeCordovaNativePlugin {
|
|
|
6483
6504
|
/**
|
|
6484
6505
|
* Use the method below to open the RFID chip reading controller and start its processing
|
|
6485
6506
|
*
|
|
6486
|
-
* @param {
|
|
6487
|
-
* @param {boolean} requestTACertificates
|
|
6488
|
-
* @param {boolean} requestTASignature
|
|
6507
|
+
* @param {RFIDConfig} config
|
|
6489
6508
|
* @return {Promise<any>} Returns a promise
|
|
6490
6509
|
*/
|
|
6491
|
-
startRFIDReader(
|
|
6510
|
+
startRFIDReader(config: RFIDConfig): Observable<any>;
|
|
6492
6511
|
/**
|
|
6493
6512
|
* Use this method to start RFID chip processing
|
|
6494
6513
|
*
|
|
6495
|
-
* @param {
|
|
6496
|
-
* @param {boolean} requestTACertificates
|
|
6497
|
-
* @param {boolean} requestTASignature
|
|
6514
|
+
* @param {RFIDConfig} config
|
|
6498
6515
|
* @return {Promise<any>} Returns a promise
|
|
6499
6516
|
*/
|
|
6500
|
-
readRFID(
|
|
6517
|
+
readRFID(config: RFIDConfig): Observable<any>;
|
|
6501
6518
|
/**
|
|
6502
6519
|
* Use the method below to close the RFID chip reading controller and end its processing
|
|
6503
6520
|
*
|
|
@@ -6525,6 +6542,20 @@ export declare class DocumentReader extends AwesomeCordovaNativePlugin {
|
|
|
6525
6542
|
* @return {Promise<any>} Returns a promise
|
|
6526
6543
|
*/
|
|
6527
6544
|
provideTASignature(signature: string): Promise<any>;
|
|
6545
|
+
/**
|
|
6546
|
+
*
|
|
6547
|
+
*
|
|
6548
|
+
* @param {PACEProtocol} protocol
|
|
6549
|
+
* @return {Promise<any>} Returns a promise
|
|
6550
|
+
*/
|
|
6551
|
+
selectPACEProtocol(protocol: PACEProtocol): Promise<any>;
|
|
6552
|
+
/**
|
|
6553
|
+
*
|
|
6554
|
+
*
|
|
6555
|
+
* @param {CAProtocol} protocol
|
|
6556
|
+
* @return {Promise<any>} Returns a promise
|
|
6557
|
+
*/
|
|
6558
|
+
selectCAProtocol(protocol: CAProtocol): Promise<any>;
|
|
6528
6559
|
/**
|
|
6529
6560
|
* The method call sets the given TCCParams to the RFID session. The parameters are required to be set before starting RFID session.
|
|
6530
6561
|
*
|