idmission-web-sdk 2.1.48 → 2.1.50
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/dist/components/CompositeWizard.d.ts +2 -11
- package/dist/{contexts/GuideOrientationContext.d.ts → components/GuideOrientationContextProvider.d.ts} +6 -2
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts +3 -0
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts +3 -0
- package/dist/components/customer_flows/IdValidation.d.ts +7 -0
- package/dist/components/customer_flows/SignatureKYC.d.ts +5 -1
- package/dist/components/customer_flows/VideoIdValidation.d.ts +8 -1
- package/dist/components/face_liveness/FaceLivenessWizard.d.ts +4 -2
- package/dist/components/guide_images/backToFront.d.ts +2 -0
- package/dist/components/guide_images/byUrl.d.ts +4 -0
- package/dist/components/guide_images/defaults.d.ts +36 -0
- package/dist/components/guide_images/index.d.ts +6 -0
- package/dist/components/guide_images/merge.d.ts +2 -0
- package/dist/components/guide_images/orientation.d.ts +1 -0
- package/dist/components/guide_images/types.d.ts +14 -0
- package/dist/components/guide_images/useGuideImages.d.ts +2 -0
- package/dist/components/id_capture/FlipIdPrompt.d.ts +3 -8
- package/dist/components/id_capture/IdCapture.d.ts +1 -6
- package/dist/components/id_capture/IdCaptureFitGuide.d.ts +4 -4
- package/dist/components/id_capture/IdCaptureGuideOverlay.d.ts +4 -14
- package/dist/components/id_capture/IdCaptureGuides.d.ts +4 -6
- package/dist/components/id_capture/IdCaptureLoadingOverlay.d.ts +2 -0
- package/dist/components/id_capture/IdCaptureLoadingOverlayDefault.d.ts +1 -1
- package/dist/components/id_capture/IdCaptureWizard.d.ts +7 -7
- package/dist/components/selfie_capture/SelfieCaptureLoadingOverlay.d.ts +3 -1
- package/dist/components/selfie_capture/SelfieCaptureLoadingOverlayDefault.d.ts +1 -1
- package/dist/components/video_id/IdVideoCapture.d.ts +4 -6
- package/dist/components/video_id/IdVideoCaptureFlipIdPrompt.d.ts +3 -6
- package/dist/components/video_id/IdVideoCaptureGuides.d.ts +3 -6
- package/dist/components/video_id/IdVideoCaptureWizard.d.ts +7 -4
- package/dist/components/video_signature_capture/VideoSignatureWizard.d.ts +4 -2
- package/dist/sdk2.cjs.development.js +633 -545
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +633 -545
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +633 -545
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/components/GuideOrientationProvider.d.ts +0 -4
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { IdCaptureWizardAssets, IdCaptureWizardClassNames, IdCaptureWizardColors, IdCaptureWizardProps, IdCaptureWizardVerbiage } from '../id_capture/IdCaptureWizard';
|
|
3
3
|
import { FaceLivenessAssets, FaceLivenessClassNames, FaceLivenessColors, FaceLivenessVerbiage, FaceLivenessWizardProps } from '../face_liveness/FaceLivenessWizard';
|
|
4
|
-
import {
|
|
4
|
+
import { IdVideoCaptureClassNames, IdVideoCaptureColors, IdVideoCaptureVerbiage, VideoIdCaptureThresholds } from './IdVideoCapture';
|
|
5
5
|
import { IdVideoCaptureSuccessClassNames, IdVideoCaptureSuccessColors, IdVideoCaptureSuccessVerbiage } from './IdVideoCaptureSuccess';
|
|
6
6
|
import { CustomerSuppliedVerbiage } from '../../lib/locales';
|
|
7
7
|
import { LivenessCheckRequest, SubmissionResponse } from '../../contexts/SubmissionContext';
|
|
8
8
|
import { IdCaptureGuideType } from '../id_capture/IdCaptureGuides';
|
|
9
9
|
import { IdCaptureLoadingOverlayMode } from '../id_capture/IdCaptureLoadingOverlay';
|
|
10
10
|
import { SelfieCaptureLoadingOverlayMode } from '../selfie_capture/SelfieCaptureLoadingOverlay';
|
|
11
|
+
import { IdCaptureGuideImages } from '../guide_images';
|
|
11
12
|
export type VideoIdWizardAssets = {
|
|
12
13
|
idCapture?: IdCaptureWizardAssets;
|
|
13
14
|
faceLiveness?: FaceLivenessAssets;
|
|
14
|
-
idVideoCapture?: IdVideoCaptureAssets;
|
|
15
15
|
};
|
|
16
16
|
export type VideoIdWizardClassNames = {
|
|
17
17
|
container?: string;
|
|
@@ -41,6 +41,7 @@ export type VideoIdWizardProps = {
|
|
|
41
41
|
onIdCaptureModelError?: (error: Error) => void;
|
|
42
42
|
onCameraAccessDenied?: () => void;
|
|
43
43
|
onMicrophoneAccessDenied?: () => void;
|
|
44
|
+
onCustomOverlyDismissed?: () => void;
|
|
44
45
|
idCaptureProps?: IdCaptureWizardProps;
|
|
45
46
|
faceLivenessProps?: FaceLivenessWizardProps;
|
|
46
47
|
idCaptureModelsEnabled?: boolean;
|
|
@@ -52,7 +53,9 @@ export type VideoIdWizardProps = {
|
|
|
52
53
|
skipIdCapture?: boolean;
|
|
53
54
|
skipShowIdCardBack?: boolean | (() => Promise<boolean>);
|
|
54
55
|
idCaptureLoadingOverlayMode?: IdCaptureLoadingOverlayMode;
|
|
56
|
+
customOverlayContent?: () => ReactNode;
|
|
55
57
|
idCaptureGuideType?: IdCaptureGuideType;
|
|
58
|
+
idCaptureGuideImages?: IdCaptureGuideImages;
|
|
56
59
|
idCapturePortraitGuidesOnMobile?: boolean;
|
|
57
60
|
idCaptureRotateLoadingOverlayImageWhenPortrait?: boolean;
|
|
58
61
|
idCaptureModelLoadTimeoutMs?: number;
|
|
@@ -67,4 +70,4 @@ export type VideoIdWizardProps = {
|
|
|
67
70
|
verbiage?: VideoIdWizardVerbiage;
|
|
68
71
|
debugMode?: boolean;
|
|
69
72
|
};
|
|
70
|
-
export declare const VideoIdWizard: ({ onComplete, onExitCapture, onExitAfterFailure, onUserCancel, onIdCaptureModelError, onCameraAccessDenied, onMicrophoneAccessDenied, idCaptureProps, faceLivenessProps, idCaptureModelsEnabled, videoIdCaptureThresholds, readTextPrompt, readTextTimeoutDurationMs, readTextMinReadingMs, skipIdCapture, skipShowIdCardBack, skipSuccessScreen, idCaptureLoadingOverlayMode, idCaptureGuideType, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, faceLivenessLoadingOverlayMode, disableFaceDetectionWhileAudioCapture, disableFaceDetectionWhileAudioCaptureMsDelay, silentFallback, mergeAVStreams, assets, classNames, colors, verbiage, debugMode, }: VideoIdWizardProps) => ReactElement;
|
|
73
|
+
export declare const VideoIdWizard: ({ onComplete, onExitCapture, onExitAfterFailure, onUserCancel, onIdCaptureModelError, onCameraAccessDenied, onMicrophoneAccessDenied, idCaptureProps, faceLivenessProps, idCaptureModelsEnabled, videoIdCaptureThresholds, readTextPrompt, readTextTimeoutDurationMs, readTextMinReadingMs, skipIdCapture, skipShowIdCardBack, skipSuccessScreen, idCaptureLoadingOverlayMode, customOverlayContent, onCustomOverlyDismissed, idCaptureGuideType, idCaptureGuideImages, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, faceLivenessLoadingOverlayMode, disableFaceDetectionWhileAudioCapture, disableFaceDetectionWhileAudioCaptureMsDelay, silentFallback, mergeAVStreams, assets, classNames, colors, verbiage, debugMode, }: VideoIdWizardProps) => ReactElement;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { VideoSignatureCaptureClassNames, VideoSignatureCaptureColors, VideoSignatureCaptureVerbiage } from './VideoSignatureCapture';
|
|
3
3
|
import { FaceLivenessCaptureClassNames } from '../face_liveness/FaceLivenessCapture';
|
|
4
4
|
import { SignatureData } from '../signature_capture/data';
|
|
@@ -30,7 +30,9 @@ export type VideoSignatureWizardProps = {
|
|
|
30
30
|
onExitCapture?: () => void;
|
|
31
31
|
onUserCancel?: () => void;
|
|
32
32
|
onModelError?: (error: Error) => void;
|
|
33
|
+
onCustomOverlyDismissed?: () => void;
|
|
33
34
|
loadingOverlayMode?: SelfieCaptureLoadingOverlayMode;
|
|
35
|
+
customOverlayContent?: () => ReactNode;
|
|
34
36
|
modelLoadTimeoutMs?: number;
|
|
35
37
|
skipSuccessScreen?: boolean | (() => Promise<boolean>);
|
|
36
38
|
assets?: VideoSignatureAssets;
|
|
@@ -39,4 +41,4 @@ export type VideoSignatureWizardProps = {
|
|
|
39
41
|
verbiage?: VideoSignatureVerbiage;
|
|
40
42
|
debugMode?: boolean;
|
|
41
43
|
};
|
|
42
|
-
export declare const VideoSignatureWizard: ({ onComplete, onVideoCaptured, onRetryClicked, onExitCapture, onUserCancel, loadingOverlayMode, skipSuccessScreen, assets, classNames, colors, verbiage, debugMode, }: VideoSignatureWizardProps) => ReactElement;
|
|
44
|
+
export declare const VideoSignatureWizard: ({ onComplete, onVideoCaptured, onRetryClicked, onExitCapture, onUserCancel, onCustomOverlyDismissed, loadingOverlayMode, customOverlayContent, skipSuccessScreen, assets, classNames, colors, verbiage, debugMode, }: VideoSignatureWizardProps) => ReactElement;
|