idmission-web-sdk 2.2.98 → 2.2.99

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.98';
206
+ var webSdkVersion = '2.2.99';
207
207
 
208
208
  function getPlatform() {
209
209
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -6858,6 +6858,13 @@ var IdCaptureLoadingOverlayDefault = function IdCaptureLoadingOverlayDefault(_a)
6858
6858
  var _q = useState(false),
6859
6859
  dismissed = _q[0],
6860
6860
  setDismissed = _q[1];
6861
+ var dispatch = useIdCaptureState()[1];
6862
+ useEffect(function () {
6863
+ dispatch({
6864
+ type: 'setUploadingDocumentsFromStorage',
6865
+ payload: false
6866
+ });
6867
+ }, [dispatch]);
6861
6868
  assets.instructionImageUrl || (assets.instructionImageUrl = legacyInstructionImageUrl$1);
6862
6869
  var verbiage = useTranslations(rawVerbiage, {
6863
6870
  headingText: 'Use your device camera to capture your ID',