@authme/identity-verification 2.7.4 → 2.8.0
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/index.cjs +690 -87
- package/index.js +694 -91
- package/package.json +6 -6
- package/src/lib/identity-verification-feature-identity-verification.d.ts +5 -0
- package/src/lib/interface/config.interface.d.ts +1 -0
- package/src/lib/v2/component/frameView.d.ts +1 -1
- package/src/lib/v2/utilities/index.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@authme/identity-verification",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"core-js": "^3.6.0",
|
|
6
6
|
"lottie-web": "^5.9.2",
|
|
7
7
|
"rxjs": "^7.4.0",
|
|
8
|
-
"@authme/core": "2.
|
|
9
|
-
"@authme/engine": "2.
|
|
10
|
-
"@authme/id-recognition": "2.
|
|
11
|
-
"@authme/util": "2.
|
|
12
|
-
"@authme/liveness": "2.
|
|
8
|
+
"@authme/core": "2.8.0",
|
|
9
|
+
"@authme/engine": "2.8.0",
|
|
10
|
+
"@authme/id-recognition": "2.8.0",
|
|
11
|
+
"@authme/util": "2.8.0",
|
|
12
|
+
"@authme/liveness": "2.8.0"
|
|
13
13
|
},
|
|
14
14
|
"module": "./index.js",
|
|
15
15
|
"main": "./index.cjs",
|
|
@@ -32,4 +32,9 @@ export declare class AuthmeIdentityVerification extends AuthmeFunctionModule {
|
|
|
32
32
|
}): Promise<boolean>;
|
|
33
33
|
_tearDown(): Promise<void>;
|
|
34
34
|
tearDown(): Promise<void>;
|
|
35
|
+
cleanAllModel(): Promise<void>;
|
|
36
|
+
getCustomerState(arg?: {
|
|
37
|
+
waitingTime?: number;
|
|
38
|
+
retryTimes?: number;
|
|
39
|
+
}): Promise<any>;
|
|
35
40
|
}
|
|
@@ -4,6 +4,7 @@ export interface IdentityVerificationConfig extends MlEngineConfig {
|
|
|
4
4
|
canvas?: HTMLCanvasElement;
|
|
5
5
|
OCRIdcardResultFormat?: 'default' | 'splitDateAndAddress';
|
|
6
6
|
loadingLottie?: any;
|
|
7
|
+
customParameters?: string;
|
|
7
8
|
}
|
|
8
9
|
export declare const defaultIdentityVerificationConfig: IdentityVerificationConfig;
|
|
9
10
|
export interface LivenessConfig {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FacingMode } from '../interface/index';
|
|
2
|
-
export declare function initFrameView(cardPoints: any, scanId: string, faceMode: FacingMode, scanView: any, cardType: any, cardTypeConfig: any, setBorderType: any, setCardBorderColor: any, setBorderSuccess: any): Promise<void>;
|
|
2
|
+
export declare function initFrameView(cardPoints: any, scanId: string, faceMode: FacingMode, scanView: any, cardType: any, cardTypeConfig: any, setBorderType: any, setCardBorderColor: any, setBorderSuccess: any, shouldEncrypt: boolean, encryptDataBase64: any): Promise<void>;
|