@idscan/idvc2 3.3.0 → 3.4.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/README.md +5 -0
- package/dist/idvc.js +1 -1
- package/dist/idvc.js.gzip +0 -0
- package/dist/js/defaultConfig.ts +1 -0
- package/dist/js/environment/langs.js +1 -1
- package/dist/langs.js.gzip +0 -0
- package/dist/networks/Face-chunk.js +1 -1
- package/dist/types/defaultConfig.d.ts +1 -0
- package/dist/types/environment/langs.d.ts +1 -0
- package/dist/types/loop.d.ts +2 -1
- package/dist/types/modules/Step.d.ts +2 -0
- package/dist/types/modules/ui/ControlButton/iconTemplate.d.ts +2 -0
- package/dist/types/modules/ui/VideoWrapper/VideoWrapper.d.ts +2 -0
- package/package.json +1 -1
- package/dist/types/modules/ui/ControlButton/controlButtonTemplate.d.ts +0 -1
package/dist/types/loop.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ export interface IMrzCoords {
|
|
|
3
3
|
locations: MRZLocation;
|
|
4
4
|
color: 'green' | 'yellow';
|
|
5
5
|
}
|
|
6
|
-
export declare const loopTimeout: (ms: number) => Promise<
|
|
6
|
+
export declare const loopTimeout: (ms: number) => Promise<void>;
|
|
7
|
+
export declare const demandCapturingTimeout: (ms: number) => Promise<void>;
|
|
7
8
|
export declare const unmountIDVC: () => void;
|
|
8
9
|
export declare const loop: () => Promise<false>;
|
|
9
10
|
declare const _default: {
|
|
@@ -21,6 +21,7 @@ export interface IStepObj {
|
|
|
21
21
|
configs?: StepConfig[];
|
|
22
22
|
stepTypeImageName: StepTypeImageName;
|
|
23
23
|
shouldRecordVideo?: boolean;
|
|
24
|
+
delayUntilCaptureButtonVisible?: number;
|
|
24
25
|
}
|
|
25
26
|
export interface IStepCallback {
|
|
26
27
|
/** base64 encoded step image */
|
|
@@ -68,6 +69,7 @@ export default class Step implements IStepCallback, IStepObj {
|
|
|
68
69
|
cameraInfo: Record<string, any>;
|
|
69
70
|
stepTypeImageName: StepTypeImageName;
|
|
70
71
|
shouldRecordVideo: boolean;
|
|
72
|
+
delayUntilCaptureButtonVisible?: number;
|
|
71
73
|
constructor(nameOrObj: string | IStepObj, type?: StepType, camera?: VideoFacingModeEnum, time?: number, img?: Base64Image | null);
|
|
72
74
|
get isShowManualSwitchButton(): boolean;
|
|
73
75
|
get capturingMode(): StepMode;
|
|
@@ -31,6 +31,7 @@ export declare class VideoWrapper {
|
|
|
31
31
|
private cameraErrorHeader;
|
|
32
32
|
private cameraErrorText;
|
|
33
33
|
private UIComponents;
|
|
34
|
+
private isShowDemandButton;
|
|
34
35
|
constructor(componentWrapper: HTMLElement);
|
|
35
36
|
updateVideoWrap({ currentStepImg, currentStepObj, }: UpdateVideoWrapParams): void;
|
|
36
37
|
setMirroring(isMirroring: boolean): void;
|
|
@@ -39,6 +40,7 @@ export declare class VideoWrapper {
|
|
|
39
40
|
setFakeContourStyles(width: number): void;
|
|
40
41
|
hideVideoError(): void;
|
|
41
42
|
showVideoError(errorCode: string): void;
|
|
43
|
+
showDemandButton(): void;
|
|
42
44
|
private init;
|
|
43
45
|
setCameraErrorText(header: string, text: string): void;
|
|
44
46
|
showCameraError(): void;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const template: (state: any) => import("lit-html").TemplateResult<1>;
|