@regulaforensics/ionic-native-document-reader 8.1.118-rc → 8.1.122-nightly
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 +1 -1
- package/index.d.ts +9 -2
- package/index.js +4 -3
- package/ngx/index.d.ts +9 -2
- package/ngx/index.js +5 -4
- package/package.json +1 -1
- package/reactExample/package.json +3 -3
- package/reactExample/src/pages/Home.tsx +1 -1
package/example/package.json
CHANGED
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
},
|
|
14
14
|
"private": true,
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@regulaforensics/ionic-native-document-reader": "8.1.
|
|
17
|
-
"@regulaforensics/cordova-plugin-document-reader-api": "8.1.
|
|
18
|
-
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "8.1.
|
|
16
|
+
"@regulaforensics/ionic-native-document-reader": "8.1.122-nightly",
|
|
17
|
+
"@regulaforensics/cordova-plugin-document-reader-api": "8.1.144-nightly",
|
|
18
|
+
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "8.1.384-nightly",
|
|
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",
|
|
@@ -255,7 +255,7 @@ export class HomePage {
|
|
|
255
255
|
function scan() {
|
|
256
256
|
var config = new ScannerConfig()
|
|
257
257
|
config.scenario = selectedScenario
|
|
258
|
-
DocumentReader.
|
|
258
|
+
DocumentReader.startScanner(config).subscribe((m: string) =>
|
|
259
259
|
handleCompletion(DocumentReaderCompletion.fromJson(JSON.parse(m))))
|
|
260
260
|
}
|
|
261
261
|
|
package/index.d.ts
CHANGED
|
@@ -1394,8 +1394,8 @@ export declare const eProcessGLCommands: {
|
|
|
1394
1394
|
ePC_RFID_SetTCCParams: number;
|
|
1395
1395
|
};
|
|
1396
1396
|
export declare const eRFIDReadingBufferSize: {
|
|
1397
|
+
STANDARD_LENGTH: number;
|
|
1397
1398
|
EXTENDED_LENGTH: number;
|
|
1398
|
-
SINGLE_LENGTH: number;
|
|
1399
1399
|
};
|
|
1400
1400
|
export declare const PKDResourceType: {
|
|
1401
1401
|
CERTIFICATE_PA: number;
|
|
@@ -3799,8 +3799,8 @@ export declare const Enum: {
|
|
|
3799
3799
|
ePC_RFID_SetTCCParams: number;
|
|
3800
3800
|
};
|
|
3801
3801
|
eRFIDReadingBufferSize: {
|
|
3802
|
+
STANDARD_LENGTH: number;
|
|
3802
3803
|
EXTENDED_LENGTH: number;
|
|
3803
|
-
SINGLE_LENGTH: number;
|
|
3804
3804
|
};
|
|
3805
3805
|
PKDResourceType: {
|
|
3806
3806
|
CERTIFICATE_PA: number;
|
|
@@ -6011,6 +6011,13 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
|
|
|
6011
6011
|
* @return {Promise<any>} Returns a promise
|
|
6012
6012
|
*/
|
|
6013
6013
|
scan(config: ScannerConfig): Observable<any>;
|
|
6014
|
+
/**
|
|
6015
|
+
* Use this method to open the camera preview which will pass frames for recognition and return results in the completion block when they are ready
|
|
6016
|
+
*
|
|
6017
|
+
* @param {ScannerConfig} config
|
|
6018
|
+
* @return {Promise<any>} Returns a promise
|
|
6019
|
+
*/
|
|
6020
|
+
startScanner(config: ScannerConfig): Observable<any>;
|
|
6014
6021
|
/**
|
|
6015
6022
|
* Use this method to recognize images
|
|
6016
6023
|
*
|