idmission-web-sdk 2.1.63 → 2.1.65
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/customer_flows/IdValidation.d.ts +1 -1
- package/dist/components/customer_flows/SignatureKYC.d.ts +1 -1
- package/dist/components/customer_flows/VideoIdValidation.d.ts +1 -1
- package/dist/components/face_liveness/FaceLivenessWizard.d.ts +2 -2
- package/dist/components/id_capture/IdCaptureLoadingOverlay.d.ts +1 -1
- package/dist/components/id_capture/IdCaptureLoadingOverlayDefault.d.ts +1 -1
- package/dist/components/id_capture/IdCaptureWizard.d.ts +2 -2
- package/dist/components/selfie_capture/SelfieCaptureLoadingOverlay.d.ts +1 -1
- package/dist/components/selfie_capture/SelfieCaptureLoadingOverlayDefault.d.ts +1 -1
- package/dist/components/video_id/IdVideoCaptureWizard.d.ts +2 -2
- package/dist/components/video_signature_capture/VideoSignatureWizard.d.ts +2 -2
- package/dist/sdk2.cjs.development.js +24 -23
- 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 +24 -23
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +24 -23
- 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
|
@@ -138,7 +138,7 @@ export interface IdValidationProps extends PropsWithChildren {
|
|
|
138
138
|
/** Callback function that fires when the camera access is denied. */
|
|
139
139
|
onCameraAccessDenied?: () => void;
|
|
140
140
|
/** Callback function that fires when the continue button is clicked on the loading overlay **/
|
|
141
|
-
|
|
141
|
+
onCustomOverlayDismissed?: () => void;
|
|
142
142
|
/** Boolean or async function indicating whether the user should be prompted to sign the screen before submission. Defaults to `false`. */
|
|
143
143
|
captureSignature?: boolean | (() => Promise<boolean>);
|
|
144
144
|
/** Boolean or async function indicating whether the user should be prompted to record themselves signing the screen before submission. Defaults to `false`. */
|
|
@@ -41,7 +41,7 @@ export interface SignatureKYCProps extends PropsWithChildren {
|
|
|
41
41
|
/** Callback function that fires when the camera access is denied. */
|
|
42
42
|
onCameraAccessDenied?: () => void;
|
|
43
43
|
/** Callback function that fires when the continue button is clicked on the loading overlay **/
|
|
44
|
-
|
|
44
|
+
onCustomOverlayDismissed?: () => void;
|
|
45
45
|
/** String indicating which loading overlay screen should be used. Supported values: 'default' and 'legacy'. Defaults to 'default'. */
|
|
46
46
|
loadingOverlayMode?: SelfieCaptureLoadingOverlayMode;
|
|
47
47
|
/** React component to render if the warmup overlay needs to be completely replaced. Note that 100px padding should be applied to the bottom as the loading progress will be displayed over this content. **/
|
|
@@ -103,7 +103,7 @@ export interface VideoIdValidationProps extends PropsWithChildren {
|
|
|
103
103
|
/** Callback function that fires when the microphone access is denied. */
|
|
104
104
|
onMicrophoneAccessDenied?: () => void;
|
|
105
105
|
/** Callback function that fires when the continue button is clicked on the loading overlay **/
|
|
106
|
-
|
|
106
|
+
onCustomOverlayDismissed?: () => void;
|
|
107
107
|
/** Object containing any overrides for IDValidation. */
|
|
108
108
|
idCaptureProps?: IdCaptureWizardProps;
|
|
109
109
|
/** Object containing any overrides for FaceLiveness. */
|
|
@@ -33,7 +33,7 @@ export type FaceLivenessWizardProps = {
|
|
|
33
33
|
onExitAfterFailure?: (resp: SubmissionResponse | null, req: LivenessCheckRequest | null) => void;
|
|
34
34
|
onUserCancel?: () => void;
|
|
35
35
|
onModelError?: (error: Error) => void;
|
|
36
|
-
|
|
36
|
+
onCustomOverlayDismissed?: () => void;
|
|
37
37
|
loadingOverlayMode?: SelfieCaptureLoadingOverlayMode;
|
|
38
38
|
customOverlayContent?: () => ReactNode;
|
|
39
39
|
timeoutDurationMs?: number;
|
|
@@ -52,4 +52,4 @@ export type FaceLivenessWizardProps = {
|
|
|
52
52
|
verbiage?: FaceLivenessVerbiage;
|
|
53
53
|
debugMode?: boolean;
|
|
54
54
|
};
|
|
55
|
-
export declare const FaceLivenessWizard: ({ onComplete, onSuccess, onTimeout, onExitCapture, onExitAfterFailure, onUserCancel, loadingOverlayMode, customOverlayContent,
|
|
55
|
+
export declare const FaceLivenessWizard: ({ onComplete, onSuccess, onTimeout, onExitCapture, onExitAfterFailure, onUserCancel, loadingOverlayMode, customOverlayContent, onCustomOverlayDismissed, timeoutDurationMs, maxRetries, skipSuccessScreen, renderCameraFeed, releaseCameraAccessOnExit, silentFallback, guidesComponent, disableCapturePreview, requireVerticalFaceCentering, assets, classNames, colors, verbiage, debugMode, }: FaceLivenessWizardProps) => ReactElement;
|
|
@@ -47,7 +47,7 @@ export type IdCaptureLoadingOverlayVerbiage = {
|
|
|
47
47
|
export type IdCaptureLoadingOverlayProps = {
|
|
48
48
|
onDismissed?: () => void;
|
|
49
49
|
onUserCancel?: () => void;
|
|
50
|
-
|
|
50
|
+
onCustomOverlayDismissed?: () => void;
|
|
51
51
|
instructions?: ReactNode;
|
|
52
52
|
rotateImage?: boolean;
|
|
53
53
|
assets?: IdCaptureLoadingOverlayAssets;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { IdCaptureLoadingOverlayProps } from './IdCaptureLoadingOverlay';
|
|
3
|
-
export declare const IdCaptureLoadingOverlayDefault: ({ onDismissed, onUserCancel,
|
|
3
|
+
export declare const IdCaptureLoadingOverlayDefault: ({ onDismissed, onUserCancel, onCustomOverlayDismissed, instructions, rotateImage, assets, classNames, colors, verbiage: rawVerbiage, customOverlayContent, }: IdCaptureLoadingOverlayProps) => ReactElement;
|
|
@@ -47,7 +47,7 @@ export type IdCaptureWizardProps = {
|
|
|
47
47
|
onExitCapture?: () => void;
|
|
48
48
|
onUserCancel?: () => void;
|
|
49
49
|
onModelError?: (error: Error) => void;
|
|
50
|
-
|
|
50
|
+
onCustomOverlayDismissed?: () => void;
|
|
51
51
|
loadingOverlayMode?: IdCaptureLoadingOverlayMode;
|
|
52
52
|
customOverlayContent?: () => ReactNode;
|
|
53
53
|
modelLoadTimeoutMs?: number;
|
|
@@ -73,4 +73,4 @@ export type IdCaptureWizardProps = {
|
|
|
73
73
|
verbiage?: IdCaptureWizardVerbiage;
|
|
74
74
|
debugMode?: boolean;
|
|
75
75
|
};
|
|
76
|
-
export declare const IdCaptureWizard: ({ onSuccess, onExitCapture, onUserCancel, loadingOverlayMode, customOverlayContent,
|
|
76
|
+
export declare const IdCaptureWizard: ({ onSuccess, onExitCapture, onUserCancel, loadingOverlayMode, customOverlayContent, onCustomOverlayDismissed, precapturedDocuments, captureRequirement, separateIdCardCaptureSequence, thresholds, skipSuccessScreen, instructions, releaseCameraAccessOnExit, guideType, portraitGuidesOnMobile, rotateLoadingOverlayImageWhenPortrait, silentFallback, forceFallbackMode, allowIdCardBackToFrontCapture, enableOverrideWrongDocumentTypeDialog, allowOverrideWrongDocumentTypeAfterMs, guideImages, assets, classNames, colors, verbiage, debugMode, }: IdCaptureWizardProps) => ReactElement;
|
|
@@ -50,7 +50,7 @@ export type SelfieCaptureLoadingOverlayVerbiage = {
|
|
|
50
50
|
export type SelfieCaptureLoadingOverlayProps = {
|
|
51
51
|
onDismissed?: () => void;
|
|
52
52
|
onUserCancel?: () => void;
|
|
53
|
-
|
|
53
|
+
onCustomOverlayDismissed?: () => void;
|
|
54
54
|
assets?: SelfieCaptureLoadingOverlayAssets;
|
|
55
55
|
classNames?: SelfieCaptureLoadingOverlayClassNames;
|
|
56
56
|
colors?: SelfieCaptureLoadingOverlayColors;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { SelfieCaptureLoadingOverlayProps } from './SelfieCaptureLoadingOverlay';
|
|
3
|
-
export declare const SelfieCaptureLoadingOverlayDefault: ({ onDismissed, onUserCancel,
|
|
3
|
+
export declare const SelfieCaptureLoadingOverlayDefault: ({ onDismissed, onUserCancel, onCustomOverlayDismissed, assets, classNames, colors, verbiage: rawVerbiage, customOverlayContent, }: SelfieCaptureLoadingOverlayProps) => ReactElement;
|
|
@@ -41,7 +41,7 @@ export type VideoIdWizardProps = {
|
|
|
41
41
|
onIdCaptureModelError?: (error: Error) => void;
|
|
42
42
|
onCameraAccessDenied?: () => void;
|
|
43
43
|
onMicrophoneAccessDenied?: () => void;
|
|
44
|
-
|
|
44
|
+
onCustomOverlayDismissed?: () => void;
|
|
45
45
|
idCaptureProps?: IdCaptureWizardProps;
|
|
46
46
|
faceLivenessProps?: FaceLivenessWizardProps;
|
|
47
47
|
idCaptureModelsEnabled?: boolean;
|
|
@@ -70,4 +70,4 @@ export type VideoIdWizardProps = {
|
|
|
70
70
|
verbiage?: VideoIdWizardVerbiage;
|
|
71
71
|
debugMode?: boolean;
|
|
72
72
|
};
|
|
73
|
-
export declare const VideoIdWizard: ({ onComplete, onExitCapture, onExitAfterFailure, onUserCancel, onIdCaptureModelError, onCameraAccessDenied, onMicrophoneAccessDenied, idCaptureProps, faceLivenessProps, idCaptureModelsEnabled, videoIdCaptureThresholds, readTextPrompt, readTextTimeoutDurationMs, readTextMinReadingMs, skipIdCapture, skipShowIdCardBack, skipSuccessScreen, idCaptureLoadingOverlayMode, customOverlayContent,
|
|
73
|
+
export declare const VideoIdWizard: ({ onComplete, onExitCapture, onExitAfterFailure, onUserCancel, onIdCaptureModelError, onCameraAccessDenied, onMicrophoneAccessDenied, idCaptureProps, faceLivenessProps, idCaptureModelsEnabled, videoIdCaptureThresholds, readTextPrompt, readTextTimeoutDurationMs, readTextMinReadingMs, skipIdCapture, skipShowIdCardBack, skipSuccessScreen, idCaptureLoadingOverlayMode, customOverlayContent, onCustomOverlayDismissed, idCaptureGuideType, idCaptureGuideImages, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, faceLivenessLoadingOverlayMode, disableFaceDetectionWhileAudioCapture, disableFaceDetectionWhileAudioCaptureMsDelay, silentFallback, mergeAVStreams, assets, classNames, colors, verbiage, debugMode, }: VideoIdWizardProps) => ReactElement;
|
|
@@ -30,7 +30,7 @@ export type VideoSignatureWizardProps = {
|
|
|
30
30
|
onExitCapture?: () => void;
|
|
31
31
|
onUserCancel?: () => void;
|
|
32
32
|
onModelError?: (error: Error) => void;
|
|
33
|
-
|
|
33
|
+
onCustomOverlayDismissed?: () => void;
|
|
34
34
|
loadingOverlayMode?: SelfieCaptureLoadingOverlayMode;
|
|
35
35
|
customOverlayContent?: () => ReactNode;
|
|
36
36
|
modelLoadTimeoutMs?: number;
|
|
@@ -41,4 +41,4 @@ export type VideoSignatureWizardProps = {
|
|
|
41
41
|
verbiage?: VideoSignatureVerbiage;
|
|
42
42
|
debugMode?: boolean;
|
|
43
43
|
};
|
|
44
|
-
export declare const VideoSignatureWizard: ({ onComplete, onVideoCaptured, onRetryClicked, onExitCapture, onUserCancel,
|
|
44
|
+
export declare const VideoSignatureWizard: ({ onComplete, onVideoCaptured, onRetryClicked, onExitCapture, onUserCancel, onCustomOverlayDismissed, loadingOverlayMode, customOverlayContent, skipSuccessScreen, assets, classNames, colors, verbiage, debugMode, }: VideoSignatureWizardProps) => ReactElement;
|
|
@@ -234,7 +234,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
234
234
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
var webSdkVersion = '2.1.
|
|
237
|
+
var webSdkVersion = '2.1.65';
|
|
238
238
|
|
|
239
239
|
function getPlatform() {
|
|
240
240
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -7795,7 +7795,7 @@ var IdCaptureLoadingOverlayDefault = function IdCaptureLoadingOverlayDefault(_a)
|
|
|
7795
7795
|
var _b, _c, _d, _e;
|
|
7796
7796
|
var onDismissed = _a.onDismissed,
|
|
7797
7797
|
onUserCancel = _a.onUserCancel,
|
|
7798
|
-
|
|
7798
|
+
onCustomOverlayDismissed = _a.onCustomOverlayDismissed,
|
|
7799
7799
|
instructions = _a.instructions,
|
|
7800
7800
|
_f = _a.rotateImage,
|
|
7801
7801
|
rotateImage = _f === void 0 ? false : _f,
|
|
@@ -7926,7 +7926,7 @@ var IdCaptureLoadingOverlayDefault = function IdCaptureLoadingOverlayDefault(_a)
|
|
|
7926
7926
|
onClick: function onClick() {
|
|
7927
7927
|
setDismissed(true);
|
|
7928
7928
|
onDismissed === null || onDismissed === void 0 ? void 0 : onDismissed();
|
|
7929
|
-
|
|
7929
|
+
onCustomOverlayDismissed === null || onCustomOverlayDismissed === void 0 ? void 0 : onCustomOverlayDismissed();
|
|
7930
7930
|
}
|
|
7931
7931
|
}, verbiage.continueText))))));
|
|
7932
7932
|
};
|
|
@@ -10110,7 +10110,7 @@ var IdCaptureWizard = function IdCaptureWizard(_a) {
|
|
|
10110
10110
|
_h = _a.loadingOverlayMode,
|
|
10111
10111
|
loadingOverlayMode = _h === void 0 ? 'default' : _h,
|
|
10112
10112
|
customOverlayContent = _a.customOverlayContent,
|
|
10113
|
-
|
|
10113
|
+
onCustomOverlayDismissed = _a.onCustomOverlayDismissed,
|
|
10114
10114
|
precapturedDocuments = _a.precapturedDocuments,
|
|
10115
10115
|
_j = _a.captureRequirement,
|
|
10116
10116
|
captureRequirement = _j === void 0 ? 'idCardOrPassport' : _j,
|
|
@@ -10420,7 +10420,7 @@ var IdCaptureWizard = function IdCaptureWizard(_a) {
|
|
|
10420
10420
|
key: "loading".concat(attempt),
|
|
10421
10421
|
mode: loadingOverlayMode,
|
|
10422
10422
|
customOverlayContent: customOverlayContent,
|
|
10423
|
-
|
|
10423
|
+
onCustomOverlayDismissed: onCustomOverlayDismissed,
|
|
10424
10424
|
instructions: instructions,
|
|
10425
10425
|
assets: assets.loadingOverlay,
|
|
10426
10426
|
classNames: classNames.loadingOverlay,
|
|
@@ -12174,7 +12174,7 @@ var legacyInstructionImageUrl = "".concat(DEFAULT_CDN_URL, "/Selfie-Image-1.png"
|
|
|
12174
12174
|
var SelfieCaptureLoadingOverlayDefault = function SelfieCaptureLoadingOverlayDefault(_a) {
|
|
12175
12175
|
var onDismissed = _a.onDismissed,
|
|
12176
12176
|
onUserCancel = _a.onUserCancel,
|
|
12177
|
-
|
|
12177
|
+
onCustomOverlayDismissed = _a.onCustomOverlayDismissed,
|
|
12178
12178
|
_b = _a.assets,
|
|
12179
12179
|
assets = _b === void 0 ? {} : _b,
|
|
12180
12180
|
_c = _a.classNames,
|
|
@@ -12281,7 +12281,7 @@ var SelfieCaptureLoadingOverlayDefault = function SelfieCaptureLoadingOverlayDef
|
|
|
12281
12281
|
onClick: function onClick() {
|
|
12282
12282
|
setDismissed(true);
|
|
12283
12283
|
onDismissed === null || onDismissed === void 0 ? void 0 : onDismissed();
|
|
12284
|
-
|
|
12284
|
+
onCustomOverlayDismissed === null || onCustomOverlayDismissed === void 0 ? void 0 : onCustomOverlayDismissed();
|
|
12285
12285
|
}
|
|
12286
12286
|
}, verbiage.continueText))))));
|
|
12287
12287
|
};
|
|
@@ -12360,7 +12360,7 @@ var FaceLivenessWizard = function FaceLivenessWizard(_a) {
|
|
|
12360
12360
|
_e = _a.loadingOverlayMode,
|
|
12361
12361
|
loadingOverlayMode = _e === void 0 ? 'default' : _e,
|
|
12362
12362
|
customOverlayContent = _a.customOverlayContent,
|
|
12363
|
-
|
|
12363
|
+
onCustomOverlayDismissed = _a.onCustomOverlayDismissed,
|
|
12364
12364
|
_f = _a.timeoutDurationMs,
|
|
12365
12365
|
timeoutDurationMs = _f === void 0 ? 15000 : _f,
|
|
12366
12366
|
_g = _a.maxRetries,
|
|
@@ -12559,7 +12559,7 @@ var FaceLivenessWizard = function FaceLivenessWizard(_a) {
|
|
|
12559
12559
|
key: attempt,
|
|
12560
12560
|
mode: loadingOverlayMode,
|
|
12561
12561
|
customOverlayContent: customOverlayContent,
|
|
12562
|
-
|
|
12562
|
+
onCustomOverlayDismissed: onCustomOverlayDismissed,
|
|
12563
12563
|
assets: assets.loadingOverlay,
|
|
12564
12564
|
classNames: classNames.loadingOverlay,
|
|
12565
12565
|
colors: colors.loadingOverlay,
|
|
@@ -13472,7 +13472,7 @@ var VideoSignatureWizard = function VideoSignatureWizard(_a) {
|
|
|
13472
13472
|
onRetryClicked = _a.onRetryClicked,
|
|
13473
13473
|
onExitCapture = _a.onExitCapture,
|
|
13474
13474
|
onUserCancel = _a.onUserCancel,
|
|
13475
|
-
|
|
13475
|
+
onCustomOverlayDismissed = _a.onCustomOverlayDismissed,
|
|
13476
13476
|
_c = _a.loadingOverlayMode,
|
|
13477
13477
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
13478
13478
|
customOverlayContent = _a.customOverlayContent,
|
|
@@ -13611,6 +13611,7 @@ var VideoSignatureWizard = function VideoSignatureWizard(_a) {
|
|
|
13611
13611
|
onSuccess: onFaceCaptureSuccess,
|
|
13612
13612
|
onExit: onExit,
|
|
13613
13613
|
guidesComponent: guidesComponent,
|
|
13614
|
+
requireVerticalFaceCentering: false,
|
|
13614
13615
|
classNames: classNames.faceLiveness,
|
|
13615
13616
|
colors: colors.faceLiveness,
|
|
13616
13617
|
verbiage: verbiage.faceLiveness,
|
|
@@ -13650,7 +13651,7 @@ var VideoSignatureWizard = function VideoSignatureWizard(_a) {
|
|
|
13650
13651
|
onDismissed: onLoadingOverlayDismissed,
|
|
13651
13652
|
onUserCancel: onUserCancel,
|
|
13652
13653
|
customOverlayContent: customOverlayContent,
|
|
13653
|
-
|
|
13654
|
+
onCustomOverlayDismissed: onCustomOverlayDismissed
|
|
13654
13655
|
}));
|
|
13655
13656
|
};
|
|
13656
13657
|
|
|
@@ -14465,7 +14466,7 @@ var VideoIdWizard = function VideoIdWizard(_a) {
|
|
|
14465
14466
|
_t = _a.idCaptureLoadingOverlayMode,
|
|
14466
14467
|
idCaptureLoadingOverlayMode = _t === void 0 ? 'default' : _t,
|
|
14467
14468
|
customOverlayContent = _a.customOverlayContent,
|
|
14468
|
-
|
|
14469
|
+
onCustomOverlayDismissed = _a.onCustomOverlayDismissed,
|
|
14469
14470
|
_u = _a.idCaptureGuideType,
|
|
14470
14471
|
idCaptureGuideType = _u === void 0 ? 'fit' : _u,
|
|
14471
14472
|
_v = _a.idCaptureGuideImages,
|
|
@@ -14621,7 +14622,7 @@ var VideoIdWizard = function VideoIdWizard(_a) {
|
|
|
14621
14622
|
key: "id-capture-".concat(attempt),
|
|
14622
14623
|
loadingOverlayMode: idCaptureLoadingOverlayMode,
|
|
14623
14624
|
customOverlayContent: customOverlayContent,
|
|
14624
|
-
|
|
14625
|
+
onCustomOverlayDismissed: onCustomOverlayDismissed,
|
|
14625
14626
|
silentFallback: silentFallback,
|
|
14626
14627
|
guideImages: idCaptureGuideImages
|
|
14627
14628
|
}, idCaptureProps, {
|
|
@@ -14644,7 +14645,7 @@ var VideoIdWizard = function VideoIdWizard(_a) {
|
|
|
14644
14645
|
key: "face-liveness-".concat(attempt),
|
|
14645
14646
|
loadingOverlayMode: faceLivenessLoadingOverlayMode,
|
|
14646
14647
|
customOverlayContent: customOverlayContent,
|
|
14647
|
-
|
|
14648
|
+
onCustomOverlayDismissed: onCustomOverlayDismissed,
|
|
14648
14649
|
silentFallback: silentFallback
|
|
14649
14650
|
}, faceLivenessProps, {
|
|
14650
14651
|
onComplete: onFaceCaptureSuccess,
|
|
@@ -15171,7 +15172,7 @@ var IdValidation = function IdValidation(_a) {
|
|
|
15171
15172
|
_c = _a.loadingOverlayMode,
|
|
15172
15173
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
15173
15174
|
customOverlayContent = _a.customOverlayContent,
|
|
15174
|
-
|
|
15175
|
+
onCustomOverlayDismissed = _a.onCustomOverlayDismissed,
|
|
15175
15176
|
_d = _a.idCaptureRequirement,
|
|
15176
15177
|
idCaptureRequirement = _d === void 0 ? 'idCardOrPassport' : _d,
|
|
15177
15178
|
_e = _a.separateIdCardCaptureSequence,
|
|
@@ -15248,7 +15249,7 @@ var IdValidation = function IdValidation(_a) {
|
|
|
15248
15249
|
skipSuccessScreen: skipSuccessScreen,
|
|
15249
15250
|
loadingOverlayMode: loadingOverlayMode,
|
|
15250
15251
|
customOverlayContent: customOverlayContent,
|
|
15251
|
-
|
|
15252
|
+
onCustomOverlayDismissed: onCustomOverlayDismissed,
|
|
15252
15253
|
forceFallbackMode: forceFallbackMode,
|
|
15253
15254
|
allowIdCardBackToFrontCapture: allowIdCardBackToFrontCapture,
|
|
15254
15255
|
instructions: instructions,
|
|
@@ -15265,7 +15266,7 @@ var IdValidation = function IdValidation(_a) {
|
|
|
15265
15266
|
verbiage: verbiage,
|
|
15266
15267
|
debugMode: debugMode
|
|
15267
15268
|
};
|
|
15268
|
-
}, [onExitCapture, onUserCancel, onModelError, precapturedDocuments, idCaptureRequirement, separateIdCardCaptureSequence, idCaptureThresholds, skipSuccessScreen, loadingOverlayMode, customOverlayContent,
|
|
15269
|
+
}, [onExitCapture, onUserCancel, onModelError, precapturedDocuments, idCaptureRequirement, separateIdCardCaptureSequence, idCaptureThresholds, skipSuccessScreen, loadingOverlayMode, customOverlayContent, onCustomOverlayDismissed, forceFallbackMode, allowIdCardBackToFrontCapture, instructions, guideType, guideImages, portraitGuidesOnMobile, rotateLoadingOverlayImageWhenPortrait, modelLoadTimeoutMs, enableOverrideWrongDocumentTypeDialog, allowOverrideWrongDocumentTypeAfterMs, assets, classNames, colors, verbiage, debugMode]);
|
|
15269
15270
|
var additionalDocumentCaptureProps = React.useMemo(function () {
|
|
15270
15271
|
return {
|
|
15271
15272
|
documents: captureAdditionalDocuments,
|
|
@@ -17057,7 +17058,7 @@ var SignatureKYC = function SignatureKYC(_a) {
|
|
|
17057
17058
|
onUserCancel = _a.onUserCancel,
|
|
17058
17059
|
onModelError = _a.onModelError,
|
|
17059
17060
|
onCameraAccessDenied = _a.onCameraAccessDenied,
|
|
17060
|
-
|
|
17061
|
+
onCustomOverlayDismissed = _a.onCustomOverlayDismissed,
|
|
17061
17062
|
_c = _a.loadingOverlayMode,
|
|
17062
17063
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
17063
17064
|
customOverlayContent = _a.customOverlayContent,
|
|
@@ -17106,7 +17107,7 @@ var SignatureKYC = function SignatureKYC(_a) {
|
|
|
17106
17107
|
videoSignatureCaptureProps: React.useMemo(function () {
|
|
17107
17108
|
return {
|
|
17108
17109
|
customOverlayContent: customOverlayContent,
|
|
17109
|
-
|
|
17110
|
+
onCustomOverlayDismissed: onCustomOverlayDismissed,
|
|
17110
17111
|
loadingOverlayMode: loadingOverlayMode,
|
|
17111
17112
|
skipSuccessScreen: skipSuccessScreen,
|
|
17112
17113
|
modelLoadTimeoutMs: modelLoadTimeoutMs,
|
|
@@ -17117,7 +17118,7 @@ var SignatureKYC = function SignatureKYC(_a) {
|
|
|
17117
17118
|
onModelError: onModelError,
|
|
17118
17119
|
onUserCancel: onUserCancel
|
|
17119
17120
|
};
|
|
17120
|
-
}, [customOverlayContent,
|
|
17121
|
+
}, [customOverlayContent, onCustomOverlayDismissed, classNames, colors, debugMode, loadingOverlayMode, modelLoadTimeoutMs, onModelError, onUserCancel, skipSuccessScreen, verbiage])
|
|
17121
17122
|
}))));
|
|
17122
17123
|
};
|
|
17123
17124
|
|
|
@@ -17182,7 +17183,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
17182
17183
|
_k = _a.idCaptureLoadingOverlayMode,
|
|
17183
17184
|
idCaptureLoadingOverlayMode = _k === void 0 ? 'default' : _k,
|
|
17184
17185
|
customOverlayContent = _a.customOverlayContent,
|
|
17185
|
-
|
|
17186
|
+
onCustomOverlayDismissed = _a.onCustomOverlayDismissed,
|
|
17186
17187
|
_l = _a.idCaptureGuideType,
|
|
17187
17188
|
idCaptureGuideType = _l === void 0 ? 'fit' : _l,
|
|
17188
17189
|
_m = _a.idCaptureGuideImages,
|
|
@@ -17243,7 +17244,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
17243
17244
|
skipShowIdCardBack: skipShowIdCardBack,
|
|
17244
17245
|
idCaptureLoadingOverlayMode: idCaptureLoadingOverlayMode,
|
|
17245
17246
|
customOverlayContent: customOverlayContent,
|
|
17246
|
-
|
|
17247
|
+
onCustomOverlayDismissed: onCustomOverlayDismissed,
|
|
17247
17248
|
idCaptureGuideType: idCaptureGuideType,
|
|
17248
17249
|
idCaptureGuideImages: idCaptureGuideImages,
|
|
17249
17250
|
idCapturePortraitGuidesOnMobile: idCapturePortraitGuidesOnMobile,
|
|
@@ -17259,7 +17260,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
17259
17260
|
verbiage: verbiage,
|
|
17260
17261
|
debugMode: debugMode
|
|
17261
17262
|
};
|
|
17262
|
-
}, [idCaptureProps, faceLivenessProps, idCaptureModelsEnabled, videoIdCaptureThresholds, readTextPrompt, readTextTimeoutDurationMs, readTextMinReadingMs, onExitCapture, onExitAfterFailure, onUserCancel, skipSuccessScreen, skipIdCapture, skipShowIdCardBack, idCaptureLoadingOverlayMode, customOverlayContent,
|
|
17263
|
+
}, [idCaptureProps, faceLivenessProps, idCaptureModelsEnabled, videoIdCaptureThresholds, readTextPrompt, readTextTimeoutDurationMs, readTextMinReadingMs, onExitCapture, onExitAfterFailure, onUserCancel, skipSuccessScreen, skipIdCapture, skipShowIdCardBack, idCaptureLoadingOverlayMode, customOverlayContent, onCustomOverlayDismissed, idCaptureGuideType, idCaptureGuideImages, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, faceLivenessLoadingOverlayMode, disableFaceDetectionWhileAudioCapture, disableFaceDetectionWhileAudioCaptureMsDelay, silentFallback, mergeAVStreams, assets, classNames, colors, verbiage, debugMode]);
|
|
17263
17264
|
var additionalDocumentCaptureProps = React.useMemo(function () {
|
|
17264
17265
|
return {
|
|
17265
17266
|
documents: captureAdditionalDocuments,
|