idmission-web-sdk 0.0.62 → 0.0.63
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 -1
- package/dist/components/id_capture/IdCaptureModelsProvider.d.ts +2 -1
- package/dist/sdk2.cjs.development.js +115 -86
- 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 +115 -86
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +115 -86
- 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/package.json +1 -1
|
@@ -15,6 +15,7 @@ export type CompositeWizardComponentProps = {
|
|
|
15
15
|
additionalDocumentCaptureProps?: AdditionalDocumentCaptureWizardProps;
|
|
16
16
|
captureSignature?: boolean | (() => Promise<boolean>);
|
|
17
17
|
captureSignatureVideo?: boolean | (() => Promise<boolean>);
|
|
18
|
+
debugMode?: boolean;
|
|
18
19
|
};
|
|
19
20
|
export type CompositeWizardProps = CompositeWizardComponentProps & {
|
|
20
21
|
submissionToken: string;
|
|
@@ -24,4 +25,4 @@ export type CompositeWizardProps = CompositeWizardComponentProps & {
|
|
|
24
25
|
onComplete?: (submissionResponse: SubmissionResponse) => void;
|
|
25
26
|
};
|
|
26
27
|
export declare const CompositeWizard: (props: CompositeWizardProps) => ReactElement;
|
|
27
|
-
export declare const CompositeWizardComponent: ({ checks: userChecks, idCaptureProps, faceLivenessProps, signatureCaptureProps, videoSignatureCaptureProps, additionalDocumentCaptureProps, captureSignature, captureSignatureVideo, }: CompositeWizardComponentProps) => ReactElement;
|
|
28
|
+
export declare const CompositeWizardComponent: ({ checks: userChecks, idCaptureProps, faceLivenessProps, signatureCaptureProps, videoSignatureCaptureProps, additionalDocumentCaptureProps, captureSignature, captureSignatureVideo, debugMode, }: CompositeWizardComponentProps) => ReactElement;
|
|
@@ -46,5 +46,6 @@ export type IdCaptureModelsProviderProps = {
|
|
|
46
46
|
children: ReactNode;
|
|
47
47
|
documentDetectionModelUrl?: string | undefined;
|
|
48
48
|
focusModelUrl?: string | undefined;
|
|
49
|
+
logPredictions?: boolean;
|
|
49
50
|
};
|
|
50
|
-
export declare const IdCaptureModelsProvider: ({ children, documentDetectionModelUrl, focusModelUrl, }: IdCaptureModelsProviderProps) => ReactElement;
|
|
51
|
+
export declare const IdCaptureModelsProvider: ({ children, documentDetectionModelUrl, focusModelUrl, logPredictions, }: IdCaptureModelsProviderProps) => ReactElement;
|
|
@@ -7771,34 +7771,36 @@ var defaultFocusModelUrl = "".concat(DEFAULT_CDN_URL, "/models/focus/model.json"
|
|
|
7771
7771
|
var IdCaptureModelsProvider = function IdCaptureModelsProvider(_a) {
|
|
7772
7772
|
var children = _a.children,
|
|
7773
7773
|
documentDetectionModelUrl = _a.documentDetectionModelUrl,
|
|
7774
|
-
focusModelUrl = _a.focusModelUrl
|
|
7775
|
-
|
|
7776
|
-
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
setDocumentDetectionThreshold = _c[1];
|
|
7774
|
+
focusModelUrl = _a.focusModelUrl,
|
|
7775
|
+
_b = _a.logPredictions,
|
|
7776
|
+
logPredictions = _b === void 0 ? false : _b;
|
|
7777
|
+
var _c = React.useState(false),
|
|
7778
|
+
ready = _c[0],
|
|
7779
|
+
setReady = _c[1];
|
|
7781
7780
|
var _d = React.useState(0),
|
|
7782
|
-
|
|
7783
|
-
|
|
7781
|
+
documentDetectionThreshold = _d[0],
|
|
7782
|
+
setDocumentDetectionThreshold = _d[1];
|
|
7784
7783
|
var _e = React.useState(0),
|
|
7785
|
-
|
|
7786
|
-
|
|
7784
|
+
passportDetectionThreshold = _e[0],
|
|
7785
|
+
setPassportDetectionThreshold = _e[1];
|
|
7787
7786
|
var _f = React.useState(0),
|
|
7788
|
-
|
|
7789
|
-
|
|
7787
|
+
mrzDetectionThreshold = _f[0],
|
|
7788
|
+
setMrzDetectionThreshold = _f[1];
|
|
7790
7789
|
var _g = React.useState(0),
|
|
7791
|
-
|
|
7792
|
-
|
|
7790
|
+
pdf417DetectionThreshold = _g[0],
|
|
7791
|
+
setPdf417DetectionThreshold = _g[1];
|
|
7792
|
+
var _h = React.useState(0),
|
|
7793
|
+
focusThreshold = _h[0],
|
|
7794
|
+
setFocusThreshold = _h[1];
|
|
7793
7795
|
var working = React.useRef(false);
|
|
7794
7796
|
var onPredictionHandler = React.useRef();
|
|
7795
7797
|
var lastPredictionCanvas = React.useRef(null);
|
|
7796
|
-
var _h = React.useState(0),
|
|
7797
|
-
detectionTime = _h[0],
|
|
7798
|
-
setDetectionTime = _h[1];
|
|
7799
7798
|
var _j = React.useState(0),
|
|
7800
|
-
|
|
7801
|
-
|
|
7799
|
+
detectionTime = _j[0],
|
|
7800
|
+
setDetectionTime = _j[1];
|
|
7801
|
+
var _k = React.useState(0),
|
|
7802
|
+
focusPredictionTime = _k[0],
|
|
7803
|
+
setFocusPredictionTime = _k[1];
|
|
7802
7804
|
React.useEffect(function () {
|
|
7803
7805
|
setReady(false);
|
|
7804
7806
|
var ddmUrl = documentDetectionModelUrl || defaultDocumentDetectionModelUrl;
|
|
@@ -7886,7 +7888,7 @@ var IdCaptureModelsProvider = function IdCaptureModelsProvider(_a) {
|
|
|
7886
7888
|
switch (_b.label) {
|
|
7887
7889
|
case 0:
|
|
7888
7890
|
if (!documentDetectionModel || !focusModel || !lastPredictionCanvas.current) return [2];
|
|
7889
|
-
return [4, makePredictions(frame, lastPredictionCanvas.current, thresholds)];
|
|
7891
|
+
return [4, makePredictions(frame, lastPredictionCanvas.current, thresholds, logPredictions)];
|
|
7890
7892
|
case 1:
|
|
7891
7893
|
prediction = _b.sent();
|
|
7892
7894
|
setDetectionTime(prediction.detectionTime);
|
|
@@ -7902,7 +7904,7 @@ var IdCaptureModelsProvider = function IdCaptureModelsProvider(_a) {
|
|
|
7902
7904
|
});
|
|
7903
7905
|
});
|
|
7904
7906
|
})();
|
|
7905
|
-
}, [thresholds]);
|
|
7907
|
+
}, [logPredictions, thresholds]);
|
|
7906
7908
|
var onPredictionMade = React.useCallback(function (handler) {
|
|
7907
7909
|
onPredictionHandler.current = handler;
|
|
7908
7910
|
}, []);
|
|
@@ -7971,8 +7973,11 @@ function clearCanvas(canvas) {
|
|
|
7971
7973
|
if (!ctx) return;
|
|
7972
7974
|
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
|
7973
7975
|
}
|
|
7974
|
-
function makePredictions(frame, lastPredictionCanvas, thresholds) {
|
|
7976
|
+
function makePredictions(frame, lastPredictionCanvas, thresholds, logPredictions) {
|
|
7975
7977
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
7978
|
+
if (logPredictions === void 0) {
|
|
7979
|
+
logPredictions = false;
|
|
7980
|
+
}
|
|
7976
7981
|
return tslib.__awaiter(this, void 0, void 0, function () {
|
|
7977
7982
|
var _l, frameWidth, frameHeight, _o, boxes, scores, labels, time, detectedObjects, bestDocument, bestPassportPage, bestDocumentScore, passportDetectionScore, passportDetectionThresholdMet, bestDocumentOrPassport, detectionScore, detectionThresholdMet, detectedDocumentType, bestMrz, mrzDetectionScore, mrzDetectionThresholdMet, bestPdf417, pdf417DetectionScore, pdf417DetectionThresholdMet, focusPrediction, focusPredictionTime, focusScore, focusThresholdMet;
|
|
7978
7983
|
var _p;
|
|
@@ -7981,7 +7986,7 @@ function makePredictions(frame, lastPredictionCanvas, thresholds) {
|
|
|
7981
7986
|
case 0:
|
|
7982
7987
|
_l = getFrameDimensions(frame), frameWidth = _l[0], frameHeight = _l[1];
|
|
7983
7988
|
drawToCanvas(lastPredictionCanvas, frame);
|
|
7984
|
-
return [4, makeDocumentDetectionPredictions(frame)];
|
|
7989
|
+
return [4, makeDocumentDetectionPredictions(frame, logPredictions)];
|
|
7985
7990
|
case 1:
|
|
7986
7991
|
_o = _q.sent(), boxes = _o.boxes, scores = _o.scores, labels = _o.labels, time = _o.time;
|
|
7987
7992
|
detectedObjects = applyNonMaxSuppression(boxes.map(function (box, i) {
|
|
@@ -8017,7 +8022,7 @@ function makePredictions(frame, lastPredictionCanvas, thresholds) {
|
|
|
8017
8022
|
pdf417DetectionThresholdMet = pdf417DetectionScore >= ((_h = thresholds.pdf417) !== null && _h !== void 0 ? _h : 0);
|
|
8018
8023
|
focusPrediction = null, focusPredictionTime = 0, focusScore = 0, focusThresholdMet = false;
|
|
8019
8024
|
if (!detectionThresholdMet) return [3, 3];
|
|
8020
|
-
return [4, makeFocusPrediction(frame, bestDocumentOrPassport === null || bestDocumentOrPassport === void 0 ? void 0 : bestDocumentOrPassport.bbox)];
|
|
8025
|
+
return [4, makeFocusPrediction(frame, bestDocumentOrPassport === null || bestDocumentOrPassport === void 0 ? void 0 : bestDocumentOrPassport.bbox, logPredictions)];
|
|
8021
8026
|
case 2:
|
|
8022
8027
|
_p = _q.sent(), focusPrediction = _p[0], focusPredictionTime = _p[1];
|
|
8023
8028
|
focusScore = (_j = focusPrediction === null || focusPrediction === void 0 ? void 0 : focusPrediction[1]) !== null && _j !== void 0 ? _j : 0;
|
|
@@ -8049,7 +8054,10 @@ function makePredictions(frame, lastPredictionCanvas, thresholds) {
|
|
|
8049
8054
|
});
|
|
8050
8055
|
});
|
|
8051
8056
|
}
|
|
8052
|
-
function makeDocumentDetectionPredictions(image) {
|
|
8057
|
+
function makeDocumentDetectionPredictions(image, logPredictions) {
|
|
8058
|
+
if (logPredictions === void 0) {
|
|
8059
|
+
logPredictions = false;
|
|
8060
|
+
}
|
|
8053
8061
|
return tslib.__awaiter(this, void 0, void 0, function () {
|
|
8054
8062
|
var startedAt, tfImg, tfResize, tfInt32, tf4d_, _a, _b, _c, _d, tf4d, result, predictions, boxes, scores, labels, time, e_1;
|
|
8055
8063
|
return tslib.__generator(this, function (_e) {
|
|
@@ -8063,8 +8071,11 @@ function makeDocumentDetectionPredictions(image) {
|
|
|
8063
8071
|
case 1:
|
|
8064
8072
|
_e.trys.push([1, 7,, 8]);
|
|
8065
8073
|
tfImg = tf__namespace.browser.fromPixels(image);
|
|
8074
|
+
if (logPredictions) console.time('resize');
|
|
8066
8075
|
tfResize = tf__namespace.image.resizeBilinear(tfImg, [448, 448]);
|
|
8076
|
+
if (logPredictions) console.timeEnd('resize');
|
|
8067
8077
|
tfImg.dispose();
|
|
8078
|
+
if (logPredictions) console.time('convert to int32');
|
|
8068
8079
|
tfInt32 = tf__namespace.cast(tfResize, 'int32');
|
|
8069
8080
|
tfResize.dispose();
|
|
8070
8081
|
_b = (_a = tf__namespace).tensor4d;
|
|
@@ -8074,12 +8085,20 @@ function makeDocumentDetectionPredictions(image) {
|
|
|
8074
8085
|
tf4d_ = _b.apply(_a, [_d.apply(_c, [_e.sent()]), [1, 448, 448, 3]]);
|
|
8075
8086
|
tfInt32.dispose();
|
|
8076
8087
|
tf4d = tf__namespace.cast(tf4d_, 'int32');
|
|
8088
|
+
if (logPredictions) console.timeEnd('convert to int32');
|
|
8077
8089
|
tf4d_.dispose();
|
|
8090
|
+
if (logPredictions) console.time('predictions');
|
|
8078
8091
|
return [4, documentDetectionModel.executeAsync(tf4d)];
|
|
8079
8092
|
case 3:
|
|
8080
8093
|
result = _e.sent();
|
|
8094
|
+
if (logPredictions) console.timeEnd('predictions');
|
|
8081
8095
|
tf4d.dispose();
|
|
8082
8096
|
predictions = result;
|
|
8097
|
+
if (logPredictions) {
|
|
8098
|
+
console.log('predictions made!', predictions.map(function (r) {
|
|
8099
|
+
return r.arraySync();
|
|
8100
|
+
}));
|
|
8101
|
+
}
|
|
8083
8102
|
return [4, predictions[PREDICTION_POSITIONS.boxes].array()];
|
|
8084
8103
|
case 4:
|
|
8085
8104
|
boxes = _e.sent()[0];
|
|
@@ -8115,7 +8134,10 @@ function makeDocumentDetectionPredictions(image) {
|
|
|
8115
8134
|
});
|
|
8116
8135
|
});
|
|
8117
8136
|
}
|
|
8118
|
-
function makeFocusPrediction(imageData, bbox) {
|
|
8137
|
+
function makeFocusPrediction(imageData, bbox, logPredictions) {
|
|
8138
|
+
if (logPredictions === void 0) {
|
|
8139
|
+
logPredictions = false;
|
|
8140
|
+
}
|
|
8119
8141
|
return tslib.__awaiter(this, void 0, void 0, function () {
|
|
8120
8142
|
var startedAt, tfImg, tfResize, tfInt32, tf4d_, _a, _b, _c, _d, tf4d, predictions, focusPrediction, predictionTime;
|
|
8121
8143
|
return tslib.__generator(this, function (_e) {
|
|
@@ -8146,6 +8168,7 @@ function makeFocusPrediction(imageData, bbox) {
|
|
|
8146
8168
|
tfInt32.dispose();
|
|
8147
8169
|
tf4d = tf__namespace.cast(tf4d_, 'int32');
|
|
8148
8170
|
tf4d_.dispose();
|
|
8171
|
+
if (logPredictions) console.time('focus prediction');
|
|
8149
8172
|
return [4, focusModel.predict(tf4d)];
|
|
8150
8173
|
case 3:
|
|
8151
8174
|
predictions = _e.sent();
|
|
@@ -8153,6 +8176,7 @@ function makeFocusPrediction(imageData, bbox) {
|
|
|
8153
8176
|
return [4, predictions.array()];
|
|
8154
8177
|
case 4:
|
|
8155
8178
|
focusPrediction = _e.sent()[0];
|
|
8179
|
+
if (logPredictions) console.timeEnd('focus prediction');
|
|
8156
8180
|
tf__namespace.dispose(predictions);
|
|
8157
8181
|
predictionTime = new Date().getTime() - startedAt.getTime();
|
|
8158
8182
|
return [2, [focusPrediction, predictionTime]];
|
|
@@ -11797,15 +11821,17 @@ var CompositeWizardComponent = function CompositeWizardComponent(_a) {
|
|
|
11797
11821
|
_l = _a.captureSignature,
|
|
11798
11822
|
captureSignature = _l === void 0 ? false : _l,
|
|
11799
11823
|
_m = _a.captureSignatureVideo,
|
|
11800
|
-
captureSignatureVideo = _m === void 0 ? false : _m
|
|
11801
|
-
|
|
11802
|
-
|
|
11803
|
-
|
|
11804
|
-
|
|
11805
|
-
|
|
11806
|
-
|
|
11807
|
-
|
|
11808
|
-
|
|
11824
|
+
captureSignatureVideo = _m === void 0 ? false : _m,
|
|
11825
|
+
_o = _a.debugMode,
|
|
11826
|
+
debugMode = _o === void 0 ? false : _o;
|
|
11827
|
+
var _p = React.useContext(SubmissionContext),
|
|
11828
|
+
submit = _p.submit,
|
|
11829
|
+
submissionStatus = _p.submissionStatus,
|
|
11830
|
+
setSignatureData = _p.setSignatureData,
|
|
11831
|
+
setAdditionalDocuments = _p.setAdditionalDocuments;
|
|
11832
|
+
var _q = React.useState(0),
|
|
11833
|
+
checkIndex = _q[0],
|
|
11834
|
+
setCheckIndex = _q[1];
|
|
11809
11835
|
var checks = React.useMemo(function () {
|
|
11810
11836
|
var _a, _b;
|
|
11811
11837
|
var checks = tslib.__spreadArray([], userChecks, true);
|
|
@@ -11875,9 +11901,9 @@ var CompositeWizardComponent = function CompositeWizardComponent(_a) {
|
|
|
11875
11901
|
return i + 1;
|
|
11876
11902
|
});
|
|
11877
11903
|
}, [onVideoSignatureCompleteProp]);
|
|
11878
|
-
var
|
|
11879
|
-
videoSignatureAttempts =
|
|
11880
|
-
setVideoSignatureAttempts =
|
|
11904
|
+
var _r = React.useState(0),
|
|
11905
|
+
videoSignatureAttempts = _r[0],
|
|
11906
|
+
setVideoSignatureAttempts = _r[1];
|
|
11881
11907
|
var onVideoSignatureRetryProp = videoSignatureCaptureProps.onRetryClicked;
|
|
11882
11908
|
var onVideoSignatureRetry = React.useCallback(function () {
|
|
11883
11909
|
onVideoSignatureRetryProp === null || onVideoSignatureRetryProp === void 0 ? void 0 : onVideoSignatureRetryProp();
|
|
@@ -11911,47 +11937,46 @@ var CompositeWizardComponent = function CompositeWizardComponent(_a) {
|
|
|
11911
11937
|
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, "Complete!!");
|
|
11912
11938
|
}
|
|
11913
11939
|
}
|
|
11914
|
-
|
|
11915
|
-
|
|
11916
|
-
|
|
11917
|
-
|
|
11918
|
-
|
|
11919
|
-
|
|
11920
|
-
|
|
11921
|
-
|
|
11922
|
-
|
|
11923
|
-
|
|
11924
|
-
|
|
11925
|
-
|
|
11926
|
-
|
|
11927
|
-
|
|
11928
|
-
|
|
11929
|
-
|
|
11930
|
-
|
|
11931
|
-
|
|
11932
|
-
|
|
11933
|
-
|
|
11934
|
-
|
|
11935
|
-
|
|
11936
|
-
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
11941
|
-
|
|
11942
|
-
|
|
11943
|
-
|
|
11944
|
-
|
|
11945
|
-
|
|
11946
|
-
|
|
11947
|
-
|
|
11948
|
-
|
|
11949
|
-
|
|
11950
|
-
|
|
11951
|
-
|
|
11952
|
-
|
|
11953
|
-
|
|
11954
|
-
}());
|
|
11940
|
+
switch (checks[checkIndex]) {
|
|
11941
|
+
case 'IdCapture':
|
|
11942
|
+
return /*#__PURE__*/React__default['default'].createElement(IdCaptureModelsProvider, {
|
|
11943
|
+
documentDetectionModelUrl: (_d = (_c = idCaptureProps.assets) === null || _c === void 0 ? void 0 : _c.documentDetectionModelUrl) !== null && _d !== void 0 ? _d : '',
|
|
11944
|
+
focusModelUrl: (_f = (_e = idCaptureProps.assets) === null || _e === void 0 ? void 0 : _e.focusModelUrl) !== null && _f !== void 0 ? _f : '',
|
|
11945
|
+
logPredictions: debugMode
|
|
11946
|
+
}, /*#__PURE__*/React__default['default'].createElement(CameraProvider, {
|
|
11947
|
+
key: "IdCaptureCamera"
|
|
11948
|
+
}, /*#__PURE__*/React__default['default'].createElement(GuideOrientationProvider, null, /*#__PURE__*/React__default['default'].createElement(IdCaptureWizard, tslib.__assign({}, idCaptureProps, {
|
|
11949
|
+
onSuccess: onIdCaptureSuccess
|
|
11950
|
+
})))));
|
|
11951
|
+
case 'FaceLiveness':
|
|
11952
|
+
return /*#__PURE__*/React__default['default'].createElement(CameraProvider, {
|
|
11953
|
+
key: "FaceLivenessCamera",
|
|
11954
|
+
preferFrontFacingCamera: true,
|
|
11955
|
+
preferContinuityCamera: false
|
|
11956
|
+
}, /*#__PURE__*/React__default['default'].createElement(HighPerformanceSelfieGuidanceModelsProvider, null, /*#__PURE__*/React__default['default'].createElement(FaceLivenessWizard, tslib.__assign({}, faceLivenessProps, {
|
|
11957
|
+
onComplete: onFaceLivenessComplete
|
|
11958
|
+
}))));
|
|
11959
|
+
case 'SignatureCapture':
|
|
11960
|
+
return /*#__PURE__*/React__default['default'].createElement(SignatureCapture, tslib.__assign({}, signatureCaptureProps, {
|
|
11961
|
+
onAccept: onSignatureCaptureSuccess
|
|
11962
|
+
}));
|
|
11963
|
+
case 'VideoSignatureCapture':
|
|
11964
|
+
return /*#__PURE__*/React__default['default'].createElement(CameraProvider, {
|
|
11965
|
+
key: "SignatureKycCamera-".concat(videoSignatureAttempts),
|
|
11966
|
+
preferContinuityCamera: false,
|
|
11967
|
+
preferFrontFacingCamera: true
|
|
11968
|
+
}, /*#__PURE__*/React__default['default'].createElement(VideoSignatureWizard, tslib.__assign({}, videoSignatureCaptureProps, {
|
|
11969
|
+
onComplete: onVideoSignatureComplete,
|
|
11970
|
+
onRetryClicked: onVideoSignatureRetry
|
|
11971
|
+
})));
|
|
11972
|
+
case 'AdditionalDocumentCapture':
|
|
11973
|
+
return /*#__PURE__*/React__default['default'].createElement(AdditionalDocumentCaptureWizard, tslib.__assign({}, additionalDocumentCaptureProps, {
|
|
11974
|
+
documents: documents,
|
|
11975
|
+
onComplete: onAdditionalDocumentCaptureComplete
|
|
11976
|
+
}));
|
|
11977
|
+
default:
|
|
11978
|
+
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null);
|
|
11979
|
+
}
|
|
11955
11980
|
};
|
|
11956
11981
|
|
|
11957
11982
|
var enTranslation = {};
|
|
@@ -12141,7 +12166,8 @@ var IdValidation = function IdValidation(_a) {
|
|
|
12141
12166
|
videoSignatureCaptureProps: videoSignatureCaptureProps,
|
|
12142
12167
|
additionalDocumentCaptureProps: additionalDocumentCaptureProps,
|
|
12143
12168
|
captureSignature: captureSignature,
|
|
12144
|
-
captureSignatureVideo: captureSignatureVideo
|
|
12169
|
+
captureSignatureVideo: captureSignatureVideo,
|
|
12170
|
+
debugMode: debugMode
|
|
12145
12171
|
}));
|
|
12146
12172
|
};
|
|
12147
12173
|
|
|
@@ -12202,8 +12228,8 @@ var FaceValidation = function FaceValidation(_a) {
|
|
|
12202
12228
|
checks: React.useMemo(function () {
|
|
12203
12229
|
return ['FaceLiveness'];
|
|
12204
12230
|
}, []),
|
|
12205
|
-
|
|
12206
|
-
|
|
12231
|
+
faceLivenessProps: faceLivenessProps,
|
|
12232
|
+
debugMode: debugMode
|
|
12207
12233
|
}));
|
|
12208
12234
|
};
|
|
12209
12235
|
|
|
@@ -12330,7 +12356,8 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
12330
12356
|
signatureCaptureProps: signatureCaptureProps,
|
|
12331
12357
|
additionalDocumentCaptureProps: additionalDocumentCaptureProps,
|
|
12332
12358
|
captureSignature: captureSignature,
|
|
12333
|
-
captureSignatureVideo: captureSignatureVideo
|
|
12359
|
+
captureSignatureVideo: captureSignatureVideo,
|
|
12360
|
+
debugMode: debugMode
|
|
12334
12361
|
}));
|
|
12335
12362
|
};
|
|
12336
12363
|
|
|
@@ -12470,7 +12497,8 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
12470
12497
|
signatureCaptureProps: signatureCaptureProps,
|
|
12471
12498
|
videoSignatureCaptureProps: videoSignatureCaptureProps,
|
|
12472
12499
|
captureSignature: captureSignature,
|
|
12473
|
-
captureSignatureVideo: captureSignatureVideo
|
|
12500
|
+
captureSignatureVideo: captureSignatureVideo,
|
|
12501
|
+
debugMode: debugMode
|
|
12474
12502
|
}));
|
|
12475
12503
|
};
|
|
12476
12504
|
|
|
@@ -13476,7 +13504,8 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
|
|
|
13476
13504
|
signatureCaptureProps: signatureCaptureProps,
|
|
13477
13505
|
videoSignatureCaptureProps: videoSignatureCaptureProps,
|
|
13478
13506
|
captureSignature: captureSignature,
|
|
13479
|
-
captureSignatureVideo: captureSignatureVideo
|
|
13507
|
+
captureSignatureVideo: captureSignatureVideo,
|
|
13508
|
+
debugMode: debugMode
|
|
13480
13509
|
}));
|
|
13481
13510
|
};
|
|
13482
13511
|
|