idmission-web-sdk 2.3.90 → 2.3.92

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
@@ -205,7 +205,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
205
205
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
206
206
  };
207
207
 
208
- var webSdkVersion = '2.3.90';
208
+ var webSdkVersion = '2.3.92';
209
209
 
210
210
  function getPlatform() {
211
211
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -5970,6 +5970,8 @@ function IdCaptureModelsProviderInner(_a) {
5970
5970
  clearDocumentDetectionLastPredictionCanvas();
5971
5971
  bestFrameDetails.current = null;
5972
5972
  bestFocusScore.current = 0;
5973
+ bestBarcodeScore.current = 0;
5974
+ bestBarcodeDetails.current = null;
5973
5975
  }, [clearDocumentDetectionLastPredictionCanvas]);
5974
5976
  useEffect(function () {
5975
5977
  if (requiredDocumentType) resetBestFrame();