@regulaforensics/ionic-native-document-reader 9.4.461-nightly → 9.4.462-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.
@@ -13,9 +13,9 @@
13
13
  },
14
14
  "private": true,
15
15
  "dependencies": {
16
- "@regulaforensics/ionic-native-document-reader": "9.4.461-nightly",
17
- "@regulaforensics/cordova-plugin-document-reader-api": "9.4.489-nightly",
18
- "@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.4.2256-nightly",
16
+ "@regulaforensics/ionic-native-document-reader": "9.4.462-rc",
17
+ "@regulaforensics/cordova-plugin-document-reader-api": "9.4.490-rc",
18
+ "@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.4.2257-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(null).subscribe((m: string) => handleRfidCompletion(m))
160
+ DocumentReader.readRFID(false, false, false).subscribe((m: string) => handleRfidCompletion(m))
161
161
  }
162
162
 
163
163
  function usualRFID() {
164
164
  isReadingRfid = true
165
- DocumentReader.startRFIDReader(null).subscribe((m: string) => handleRfidCompletion(m))
165
+ DocumentReader.startRFIDReader(false, false, false).subscribe((m: string) => handleRfidCompletion(m))
166
166
  }
167
167
 
168
168
  function handleRfidCompletion(raw: string) {
package/index.d.ts CHANGED
@@ -1197,27 +1197,6 @@ 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
- }
1221
1200
  export declare const FontStyle: {
1222
1201
  NORMAL: number;
1223
1202
  BOLD: number;
@@ -6504,17 +6483,21 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
6504
6483
  /**
6505
6484
  * Use the method below to open the RFID chip reading controller and start its processing
6506
6485
  *
6507
- * @param {RFIDConfig | null} config
6486
+ * @param {boolean} requestPACertificates
6487
+ * @param {boolean} requestTACertificates
6488
+ * @param {boolean} requestTASignature
6508
6489
  * @return {Promise<any>} Returns a promise
6509
6490
  */
6510
- startRFIDReader(config: RFIDConfig | null): Observable<any>;
6491
+ startRFIDReader(requestPACertificates: boolean, requestTACertificates: boolean, requestTASignature: boolean): Observable<any>;
6511
6492
  /**
6512
6493
  * Use this method to start RFID chip processing
6513
6494
  *
6514
- * @param {RFIDConfig | null} config
6495
+ * @param {boolean} requestPACertificates
6496
+ * @param {boolean} requestTACertificates
6497
+ * @param {boolean} requestTASignature
6515
6498
  * @return {Promise<any>} Returns a promise
6516
6499
  */
6517
- readRFID(config: RFIDConfig | null): Observable<any>;
6500
+ readRFID(requestPACertificates: boolean, requestTACertificates: boolean, requestTASignature: boolean): Observable<any>;
6518
6501
  /**
6519
6502
  * Use the method below to close the RFID chip reading controller and end its processing
6520
6503
  *
@@ -6542,20 +6525,6 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
6542
6525
  * @return {Promise<any>} Returns a promise
6543
6526
  */
6544
6527
  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>;
6559
6528
  /**
6560
6529
  * The method call sets the given TCCParams to the RFID session. The parameters are required to be set before starting RFID session.
6561
6530
  *