idmission-web-sdk 1.0.339 → 1.0.340

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.
@@ -50,7 +50,7 @@ var LanguageDetector__default = /*#__PURE__*/_interopDefaultLegacy(LanguageDetec
50
50
  var i18n__default = /*#__PURE__*/_interopDefaultLegacy(i18n);
51
51
  var SignatureCanvas__default = /*#__PURE__*/_interopDefaultLegacy(SignatureCanvas);
52
52
 
53
- var webSdkVersion = '1.0.339';
53
+ var webSdkVersion = '1.0.340';
54
54
 
55
55
  function getPlatform() {
56
56
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -13149,13 +13149,14 @@ var IdCaptureFallback = function IdCaptureFallback(_a) {
13149
13149
  onCapture === null || onCapture === void 0 ? void 0 : onCapture(imageData);
13150
13150
  });
13151
13151
  reader.readAsDataURL(file);
13152
+ setDocumentToCapture(undefined);
13152
13153
  }
13153
13154
  var instructionText = images.length === 0 ? verbiage.firstInstructionText : images.length === 1 ? verbiage.secondInstructionText : verbiage.thirdInstructionText;
13154
13155
  if (useFallback) {
13155
13156
  setUseFallback(false);
13156
13157
  setDocumentToCapture(instructionText);
13157
13158
  }
13158
- if (documentToCapture || useFallback) {
13159
+ if (!isMobile() && documentToCapture || useFallback) {
13159
13160
  return /*#__PURE__*/React__default['default'].createElement(DocumentCaptureWizard, {
13160
13161
  documents: [{
13161
13162
  title: documentToCapture