idmission-web-sdk 2.2.36 → 2.2.37

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.36';
214
+ var webSdkVersion = '2.2.37';
215
215
 
216
216
  function getPlatform() {
217
217
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -22403,7 +22403,7 @@
22403
22403
  });
22404
22404
  setCaptureState('CAPTURING_ID');
22405
22405
  }, []);
22406
- var isCapturingId = ['LOADING', 'CAPTURING_ID'].includes(captureState);
22406
+ var isCapturingId = !skipIdCapture && ['LOADING', 'CAPTURING_ID'].includes(captureState);
22407
22407
  React.useEffect(function () {
22408
22408
  if (submissionStatus === SubmissionStatus.SUBMITTING) releaseCameraAccess();
22409
22409
  }, [submissionStatus]);