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.
package/dist/sdk2.esm.js CHANGED
@@ -203,7 +203,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
203
203
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
204
204
  };
205
205
 
206
- var webSdkVersion = '2.2.152';
206
+ var webSdkVersion = '2.2.153';
207
207
 
208
208
  function getPlatform() {
209
209
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -13449,7 +13449,9 @@ var VideoSignatureCapture = function VideoSignatureCapture(_a) {
13449
13449
  }, verbiage.guidanceMessageText))), /*#__PURE__*/React__default.createElement(GuidesComponent, {
13450
13450
  status: "success",
13451
13451
  classNames: classNames.videoSignatureGuidesClassNames,
13452
- onClearSignaturePadClicked: restartVideoOnSignaturePadCleared ? clearRecordedData : undefined
13452
+ onClearSignaturePadClicked: restartVideoOnSignaturePadCleared ? function () {
13453
+ return setTimeout(clearRecordedData, 100);
13454
+ } : undefined
13453
13455
  }), debugMode && ( /*#__PURE__*/React__default.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__default.createElement("br", null), "Recording: ", isRecording ? 'true' : 'false')), /*#__PURE__*/React__default.createElement(ExitCaptureButton, {
13454
13456
  onClick: onExit,
13455
13457
  className: classNames.exitCaptureBtn
@@ -13711,7 +13713,9 @@ function VideoSignatureWizardGuides(_a) {
13711
13713
  classNames: classNames,
13712
13714
  faceGuideStatus: status,
13713
13715
  requestedAction: status === 'success' ? 'CAPTURE_SIGNATURE' : 'VERIFY_LIVENESS',
13714
- onClearSignaturePadClicked: restartVideoOnSignaturePadCleared ? clearRecordedData : undefined
13716
+ onClearSignaturePadClicked: restartVideoOnSignaturePadCleared ? function () {
13717
+ return setTimeout(clearRecordedData, 100);
13718
+ } : undefined
13715
13719
  });
13716
13720
  }
13717
13721
  var VideoSignatureWizardWithProviders = function VideoSignatureWizardWithProviders(props) {