idmission-web-sdk 2.3.61 → 2.3.62

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.3.61';
214
+ var webSdkVersion = '2.3.62';
215
215
 
216
216
  function getPlatform() {
217
217
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -24240,10 +24240,7 @@
24240
24240
  }
24241
24241
  }, [cameraAccessDenied]);
24242
24242
  var initialDelayOver = useTimeout(initialCaptureDelayMs, undefined, undefined, undefined, captureState === 'CAPTURING').timedOut;
24243
- var onLoadingFailedCallback = React.useCallback(function (error) {
24244
- return onLoadingFailed === null || onLoadingFailed === void 0 ? void 0 : onLoadingFailed(error);
24245
- }, [onLoadingFailed]);
24246
- if (modelError) {
24243
+ if (modelError && !allowManualSelfieCaptureOnLoadingError) {
24247
24244
  return /*#__PURE__*/React.createElement(SelfieCaptureFallback, {
24248
24245
  onFinished: onFallbackImageCaptured,
24249
24246
  silentFallback: silentFallback,
@@ -24283,7 +24280,7 @@
24283
24280
  onLoadingStarted: onLoadingStarted,
24284
24281
  onLoadingProgress: onLoadingProgress,
24285
24282
  onLoadingCompleted: onLoadingCompleted,
24286
- onLoadingFailed: onLoadingFailedCallback,
24283
+ onLoadingFailed: onLoadingFailed,
24287
24284
  onUserCancel: onUserCancel,
24288
24285
  onDismissed: onLoadingOverlayDismissedCallback,
24289
24286
  waitForIdCaptureModels: waitForIdCaptureModels,