idmission-web-sdk 2.2.152 → 2.2.153

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.
@@ -211,7 +211,7 @@
211
211
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
212
212
  };
213
213
 
214
- var webSdkVersion = '2.2.152';
214
+ var webSdkVersion = '2.2.153';
215
215
 
216
216
  function getPlatform() {
217
217
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -23341,7 +23341,9 @@
23341
23341
  }, verbiage.guidanceMessageText))), /*#__PURE__*/React.createElement(GuidesComponent, {
23342
23342
  status: "success",
23343
23343
  classNames: classNames.videoSignatureGuidesClassNames,
23344
- onClearSignaturePadClicked: restartVideoOnSignaturePadCleared ? clearRecordedData : undefined
23344
+ onClearSignaturePadClicked: restartVideoOnSignaturePadCleared ? function () {
23345
+ return setTimeout(clearRecordedData, 100);
23346
+ } : undefined
23345
23347
  }), debugMode && ( /*#__PURE__*/React.createElement(DebugStatsPane, null, "Video: ", camera === null || camera === void 0 ? void 0 : camera.width, "x", camera === null || camera === void 0 ? void 0 : camera.height, /*#__PURE__*/React.createElement("br", null), "Recording: ", isRecording ? 'true' : 'false')), /*#__PURE__*/React.createElement(ExitCaptureButton, {
23346
23348
  onClick: onExit,
23347
23349
  className: classNames.exitCaptureBtn
@@ -23603,7 +23605,9 @@
23603
23605
  classNames: classNames,
23604
23606
  faceGuideStatus: status,
23605
23607
  requestedAction: status === 'success' ? 'CAPTURE_SIGNATURE' : 'VERIFY_LIVENESS',
23606
- onClearSignaturePadClicked: restartVideoOnSignaturePadCleared ? clearRecordedData : undefined
23608
+ onClearSignaturePadClicked: restartVideoOnSignaturePadCleared ? function () {
23609
+ return setTimeout(clearRecordedData, 100);
23610
+ } : undefined
23607
23611
  });
23608
23612
  }
23609
23613
  var VideoSignatureWizardWithProviders = function VideoSignatureWizardWithProviders(props) {