idmission-web-sdk 0.0.60 → 0.0.61

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.
@@ -11738,6 +11738,10 @@ var VideoSignatureWizard = function VideoSignatureWizard(_a) {
11738
11738
  });
11739
11739
  setCaptureState('LOADING');
11740
11740
  }, []);
11741
+ var onRetry = React.useCallback(function () {
11742
+ onRetryClicked === null || onRetryClicked === void 0 ? void 0 : onRetryClicked();
11743
+ onExit();
11744
+ }, [onExit, onRetryClicked]);
11741
11745
  return /*#__PURE__*/React__default['default'].createElement(HighPerformanceSelfieGuidanceModelsProvider, {
11742
11746
  throttleMs: captureState === 'CAPTURING_SIGNATURE' ? 250 : 0
11743
11747
  }, captureState !== 'LOADING' && function () {
@@ -11763,7 +11767,7 @@ var VideoSignatureWizard = function VideoSignatureWizard(_a) {
11763
11767
  return /*#__PURE__*/React__default['default'].createElement(VideoSignatureSuccess, {
11764
11768
  videoUrl: signatureVideo !== null && signatureVideo !== void 0 ? signatureVideo : '',
11765
11769
  onDoneClick: onComplete,
11766
- onRetryClick: onRetryClicked,
11770
+ onRetryClick: onRetry,
11767
11771
  colors: colors.success,
11768
11772
  verbiage: verbiage.success
11769
11773
  });
@@ -13493,7 +13497,6 @@ var SignatureKYC = function SignatureKYC(_a) {
13493
13497
  preferContinuityCamera: false,
13494
13498
  preferFrontFacingCamera: true
13495
13499
  }, /*#__PURE__*/React__default['default'].createElement(VideoSignatureWizard, {
13496
- key: attempt,
13497
13500
  colors: colors,
13498
13501
  debugMode: debugMode,
13499
13502
  verbiage: verbiage,