idmission-web-sdk 2.2.121 → 2.2.123

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.121';
214
+ var webSdkVersion = '2.2.123';
215
215
 
216
216
  function getPlatform() {
217
217
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -11084,6 +11084,11 @@
11084
11084
  }));
11085
11085
  function IdCaptureStateProvider(_a) {
11086
11086
  var children = _a.children;
11087
+ React.useEffect(function resetWhenProviderMounts() {
11088
+ useIdCaptureStore.getState().dispatch({
11089
+ type: 'resetWizard'
11090
+ });
11091
+ }, []);
11087
11092
  var overrideWrongDocumentTypeGuidance = useIdCaptureStore(useShallow(function (state) {
11088
11093
  return state.overrideWrongDocumentTypeGuidance;
11089
11094
  }));