idmission-web-sdk 0.0.62 → 0.0.64

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.
@@ -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
- var _b = React.useState(false),
7776
- ready = _b[0],
7777
- setReady = _b[1];
7778
- var _c = React.useState(0),
7779
- documentDetectionThreshold = _c[0],
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
- passportDetectionThreshold = _d[0],
7783
- setPassportDetectionThreshold = _d[1];
7781
+ documentDetectionThreshold = _d[0],
7782
+ setDocumentDetectionThreshold = _d[1];
7784
7783
  var _e = React.useState(0),
7785
- mrzDetectionThreshold = _e[0],
7786
- setMrzDetectionThreshold = _e[1];
7784
+ passportDetectionThreshold = _e[0],
7785
+ setPassportDetectionThreshold = _e[1];
7787
7786
  var _f = React.useState(0),
7788
- pdf417DetectionThreshold = _f[0],
7789
- setPdf417DetectionThreshold = _f[1];
7787
+ mrzDetectionThreshold = _f[0],
7788
+ setMrzDetectionThreshold = _f[1];
7790
7789
  var _g = React.useState(0),
7791
- focusThreshold = _g[0],
7792
- setFocusThreshold = _g[1];
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
- focusPredictionTime = _j[0],
7801
- setFocusPredictionTime = _j[1];
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]];
@@ -8949,6 +8973,9 @@ var IdCaptureLoadingOverlay = function IdCaptureLoadingOverlay(_a) {
8949
8973
  id: "use-continuity-camera",
8950
8974
  type: "checkbox",
8951
8975
  defaultChecked: true,
8976
+ style: {
8977
+ marginRight: 8
8978
+ },
8952
8979
  onChange: function onChange(e) {
8953
8980
  setIphoneContinuityCameraAllowed(e.target.checked);
8954
8981
  }
@@ -8958,6 +8985,9 @@ var IdCaptureLoadingOverlay = function IdCaptureLoadingOverlay(_a) {
8958
8985
  disabled: !cameraReady || !modelsReady,
8959
8986
  finished: modelsReady && cameraReady,
8960
8987
  colors: colors.continueBtn,
8988
+ style: {
8989
+ marginTop: 8
8990
+ },
8961
8991
  onClick: function onClick() {
8962
8992
  setDismissed(true);
8963
8993
  onDismissed === null || onDismissed === void 0 ? void 0 : onDismissed();
@@ -11797,15 +11827,17 @@ var CompositeWizardComponent = function CompositeWizardComponent(_a) {
11797
11827
  _l = _a.captureSignature,
11798
11828
  captureSignature = _l === void 0 ? false : _l,
11799
11829
  _m = _a.captureSignatureVideo,
11800
- captureSignatureVideo = _m === void 0 ? false : _m;
11801
- var _o = React.useContext(SubmissionContext),
11802
- submit = _o.submit,
11803
- submissionStatus = _o.submissionStatus,
11804
- setSignatureData = _o.setSignatureData,
11805
- setAdditionalDocuments = _o.setAdditionalDocuments;
11806
- var _p = React.useState(0),
11807
- checkIndex = _p[0],
11808
- setCheckIndex = _p[1];
11830
+ captureSignatureVideo = _m === void 0 ? false : _m,
11831
+ _o = _a.debugMode,
11832
+ debugMode = _o === void 0 ? false : _o;
11833
+ var _p = React.useContext(SubmissionContext),
11834
+ submit = _p.submit,
11835
+ submissionStatus = _p.submissionStatus,
11836
+ setSignatureData = _p.setSignatureData,
11837
+ setAdditionalDocuments = _p.setAdditionalDocuments;
11838
+ var _q = React.useState(0),
11839
+ checkIndex = _q[0],
11840
+ setCheckIndex = _q[1];
11809
11841
  var checks = React.useMemo(function () {
11810
11842
  var _a, _b;
11811
11843
  var checks = tslib.__spreadArray([], userChecks, true);
@@ -11875,9 +11907,9 @@ var CompositeWizardComponent = function CompositeWizardComponent(_a) {
11875
11907
  return i + 1;
11876
11908
  });
11877
11909
  }, [onVideoSignatureCompleteProp]);
11878
- var _q = React.useState(0),
11879
- videoSignatureAttempts = _q[0],
11880
- setVideoSignatureAttempts = _q[1];
11910
+ var _r = React.useState(0),
11911
+ videoSignatureAttempts = _r[0],
11912
+ setVideoSignatureAttempts = _r[1];
11881
11913
  var onVideoSignatureRetryProp = videoSignatureCaptureProps.onRetryClicked;
11882
11914
  var onVideoSignatureRetry = React.useCallback(function () {
11883
11915
  onVideoSignatureRetryProp === null || onVideoSignatureRetryProp === void 0 ? void 0 : onVideoSignatureRetryProp();
@@ -11911,47 +11943,46 @@ var CompositeWizardComponent = function CompositeWizardComponent(_a) {
11911
11943
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, "Complete!!");
11912
11944
  }
11913
11945
  }
11914
- return /*#__PURE__*/React__default['default'].createElement(IdCaptureModelsProvider, {
11915
- documentDetectionModelUrl: (_d = (_c = idCaptureProps.assets) === null || _c === void 0 ? void 0 : _c.documentDetectionModelUrl) !== null && _d !== void 0 ? _d : '',
11916
- focusModelUrl: (_f = (_e = idCaptureProps.assets) === null || _e === void 0 ? void 0 : _e.focusModelUrl) !== null && _f !== void 0 ? _f : ''
11917
- }, function () {
11918
- switch (checks[checkIndex]) {
11919
- case 'IdCapture':
11920
- return /*#__PURE__*/React__default['default'].createElement(CameraProvider, {
11921
- key: "IdCaptureCamera"
11922
- }, /*#__PURE__*/React__default['default'].createElement(GuideOrientationProvider, null, /*#__PURE__*/React__default['default'].createElement(IdCaptureWizard, tslib.__assign({}, idCaptureProps, {
11923
- onSuccess: onIdCaptureSuccess
11924
- }))));
11925
- case 'FaceLiveness':
11926
- return /*#__PURE__*/React__default['default'].createElement(CameraProvider, {
11927
- key: "FaceLivenessCamera",
11928
- preferFrontFacingCamera: true,
11929
- preferContinuityCamera: false
11930
- }, /*#__PURE__*/React__default['default'].createElement(HighPerformanceSelfieGuidanceModelsProvider, null, /*#__PURE__*/React__default['default'].createElement(FaceLivenessWizard, tslib.__assign({}, faceLivenessProps, {
11931
- onComplete: onFaceLivenessComplete
11932
- }))));
11933
- case 'SignatureCapture':
11934
- return /*#__PURE__*/React__default['default'].createElement(SignatureCapture, tslib.__assign({}, signatureCaptureProps, {
11935
- onAccept: onSignatureCaptureSuccess
11936
- }));
11937
- case 'VideoSignatureCapture':
11938
- return /*#__PURE__*/React__default['default'].createElement(CameraProvider, {
11939
- key: "SignatureKycCamera-".concat(videoSignatureAttempts),
11940
- preferContinuityCamera: false,
11941
- preferFrontFacingCamera: true
11942
- }, /*#__PURE__*/React__default['default'].createElement(VideoSignatureWizard, tslib.__assign({}, videoSignatureCaptureProps, {
11943
- onComplete: onVideoSignatureComplete,
11944
- onRetryClicked: onVideoSignatureRetry
11945
- })));
11946
- case 'AdditionalDocumentCapture':
11947
- return /*#__PURE__*/React__default['default'].createElement(AdditionalDocumentCaptureWizard, tslib.__assign({}, additionalDocumentCaptureProps, {
11948
- documents: documents,
11949
- onComplete: onAdditionalDocumentCaptureComplete
11950
- }));
11951
- default:
11952
- return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null);
11953
- }
11954
- }());
11946
+ switch (checks[checkIndex]) {
11947
+ case 'IdCapture':
11948
+ return /*#__PURE__*/React__default['default'].createElement(IdCaptureModelsProvider, {
11949
+ documentDetectionModelUrl: (_d = (_c = idCaptureProps.assets) === null || _c === void 0 ? void 0 : _c.documentDetectionModelUrl) !== null && _d !== void 0 ? _d : '',
11950
+ focusModelUrl: (_f = (_e = idCaptureProps.assets) === null || _e === void 0 ? void 0 : _e.focusModelUrl) !== null && _f !== void 0 ? _f : '',
11951
+ logPredictions: debugMode
11952
+ }, /*#__PURE__*/React__default['default'].createElement(CameraProvider, {
11953
+ key: "IdCaptureCamera"
11954
+ }, /*#__PURE__*/React__default['default'].createElement(GuideOrientationProvider, null, /*#__PURE__*/React__default['default'].createElement(IdCaptureWizard, tslib.__assign({}, idCaptureProps, {
11955
+ onSuccess: onIdCaptureSuccess
11956
+ })))));
11957
+ case 'FaceLiveness':
11958
+ return /*#__PURE__*/React__default['default'].createElement(CameraProvider, {
11959
+ key: "FaceLivenessCamera",
11960
+ preferFrontFacingCamera: true,
11961
+ preferContinuityCamera: false
11962
+ }, /*#__PURE__*/React__default['default'].createElement(HighPerformanceSelfieGuidanceModelsProvider, null, /*#__PURE__*/React__default['default'].createElement(FaceLivenessWizard, tslib.__assign({}, faceLivenessProps, {
11963
+ onComplete: onFaceLivenessComplete
11964
+ }))));
11965
+ case 'SignatureCapture':
11966
+ return /*#__PURE__*/React__default['default'].createElement(SignatureCapture, tslib.__assign({}, signatureCaptureProps, {
11967
+ onAccept: onSignatureCaptureSuccess
11968
+ }));
11969
+ case 'VideoSignatureCapture':
11970
+ return /*#__PURE__*/React__default['default'].createElement(CameraProvider, {
11971
+ key: "SignatureKycCamera-".concat(videoSignatureAttempts),
11972
+ preferContinuityCamera: false,
11973
+ preferFrontFacingCamera: true
11974
+ }, /*#__PURE__*/React__default['default'].createElement(VideoSignatureWizard, tslib.__assign({}, videoSignatureCaptureProps, {
11975
+ onComplete: onVideoSignatureComplete,
11976
+ onRetryClicked: onVideoSignatureRetry
11977
+ })));
11978
+ case 'AdditionalDocumentCapture':
11979
+ return /*#__PURE__*/React__default['default'].createElement(AdditionalDocumentCaptureWizard, tslib.__assign({}, additionalDocumentCaptureProps, {
11980
+ documents: documents,
11981
+ onComplete: onAdditionalDocumentCaptureComplete
11982
+ }));
11983
+ default:
11984
+ return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null);
11985
+ }
11955
11986
  };
11956
11987
 
11957
11988
  var enTranslation = {};
@@ -12141,7 +12172,8 @@ var IdValidation = function IdValidation(_a) {
12141
12172
  videoSignatureCaptureProps: videoSignatureCaptureProps,
12142
12173
  additionalDocumentCaptureProps: additionalDocumentCaptureProps,
12143
12174
  captureSignature: captureSignature,
12144
- captureSignatureVideo: captureSignatureVideo
12175
+ captureSignatureVideo: captureSignatureVideo,
12176
+ debugMode: debugMode
12145
12177
  }));
12146
12178
  };
12147
12179
 
@@ -12202,8 +12234,8 @@ var FaceValidation = function FaceValidation(_a) {
12202
12234
  checks: React.useMemo(function () {
12203
12235
  return ['FaceLiveness'];
12204
12236
  }, []),
12205
- idCaptureProps: {},
12206
- faceLivenessProps: faceLivenessProps
12237
+ faceLivenessProps: faceLivenessProps,
12238
+ debugMode: debugMode
12207
12239
  }));
12208
12240
  };
12209
12241
 
@@ -12330,7 +12362,8 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
12330
12362
  signatureCaptureProps: signatureCaptureProps,
12331
12363
  additionalDocumentCaptureProps: additionalDocumentCaptureProps,
12332
12364
  captureSignature: captureSignature,
12333
- captureSignatureVideo: captureSignatureVideo
12365
+ captureSignatureVideo: captureSignatureVideo,
12366
+ debugMode: debugMode
12334
12367
  }));
12335
12368
  };
12336
12369
 
@@ -12470,7 +12503,8 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
12470
12503
  signatureCaptureProps: signatureCaptureProps,
12471
12504
  videoSignatureCaptureProps: videoSignatureCaptureProps,
12472
12505
  captureSignature: captureSignature,
12473
- captureSignatureVideo: captureSignatureVideo
12506
+ captureSignatureVideo: captureSignatureVideo,
12507
+ debugMode: debugMode
12474
12508
  }));
12475
12509
  };
12476
12510
 
@@ -13476,7 +13510,8 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
13476
13510
  signatureCaptureProps: signatureCaptureProps,
13477
13511
  videoSignatureCaptureProps: videoSignatureCaptureProps,
13478
13512
  captureSignature: captureSignature,
13479
- captureSignatureVideo: captureSignatureVideo
13513
+ captureSignatureVideo: captureSignatureVideo,
13514
+ debugMode: debugMode
13480
13515
  }));
13481
13516
  };
13482
13517