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.
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.36';
206
+ var webSdkVersion = '2.2.37';
207
207
 
208
208
  function getPlatform() {
209
209
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -12570,7 +12570,7 @@ var VideoIdWizard = function VideoIdWizard(_a) {
12570
12570
  });
12571
12571
  setCaptureState('CAPTURING_ID');
12572
12572
  }, []);
12573
- var isCapturingId = ['LOADING', 'CAPTURING_ID'].includes(captureState);
12573
+ var isCapturingId = !skipIdCapture && ['LOADING', 'CAPTURING_ID'].includes(captureState);
12574
12574
  useEffect(function () {
12575
12575
  if (submissionStatus === SubmissionStatus.SUBMITTING) releaseCameraAccess();
12576
12576
  }, [submissionStatus]);