idmission-web-sdk 2.2.103 → 2.2.104

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
@@ -204,7 +204,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
204
204
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
205
205
  };
206
206
 
207
- var webSdkVersion = '2.2.103';
207
+ var webSdkVersion = '2.2.104';
208
208
 
209
209
  function getPlatform() {
210
210
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -15551,6 +15551,8 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
15551
15551
  enableOverrideWrongDocumentTypeDialog = _t === void 0 ? false : _t,
15552
15552
  _u = _a.allowOverrideWrongDocumentTypeAfterMs,
15553
15553
  allowOverrideWrongDocumentTypeAfterMs = _u === void 0 ? 8000 : _u,
15554
+ _v = _a.allowUploadingDocumentsFromStorage,
15555
+ allowUploadingDocumentsFromStorage = _v === void 0 ? false : _v,
15554
15556
  onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
15555
15557
  onDocumentUploadProgress = _a.onDocumentUploadProgress,
15556
15558
  onDocumentUploaded = _a.onDocumentUploaded,
@@ -15566,31 +15568,31 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
15566
15568
  onIdCaptureModelError = _a.onIdCaptureModelError,
15567
15569
  onSelfieCaptureModelError = _a.onSelfieCaptureModelError,
15568
15570
  onCameraAccessDenied = _a.onCameraAccessDenied,
15569
- _v = _a.captureSignature,
15570
- captureSignature = _v === void 0 ? false : _v,
15571
- _w = _a.captureSignatureVideo,
15572
- captureSignatureVideo = _w === void 0 ? false : _w,
15573
- _x = _a.captureAdditionalDocuments,
15574
- captureAdditionalDocuments = _x === void 0 ? [] : _x,
15575
- _y = _a.captureVideoId,
15576
- captureVideoId = _y === void 0 ? false : _y,
15571
+ _w = _a.captureSignature,
15572
+ captureSignature = _w === void 0 ? false : _w,
15573
+ _x = _a.captureSignatureVideo,
15574
+ captureSignatureVideo = _x === void 0 ? false : _x,
15575
+ _y = _a.captureAdditionalDocuments,
15576
+ captureAdditionalDocuments = _y === void 0 ? [] : _y,
15577
+ _z = _a.captureVideoId,
15578
+ captureVideoId = _z === void 0 ? false : _z,
15577
15579
  captureVideoIdProps = _a.captureVideoIdProps,
15578
- _z = _a.theme,
15579
- theme = _z === void 0 ? 'default' : _z,
15580
- _0 = _a.assets,
15581
- assets = _0 === void 0 ? {} : _0,
15582
- _1 = _a.classNames,
15583
- classNames = _1 === void 0 ? {} : _1,
15584
- _2 = _a.colors,
15585
- colors = _2 === void 0 ? {} : _2,
15586
- _3 = _a.verbiage,
15587
- verbiage = _3 === void 0 ? {} : _3,
15588
- _4 = _a.geolocationEnabled,
15589
- geolocationEnabled = _4 === void 0 ? true : _4,
15590
- _5 = _a.geolocationRequired,
15591
- geolocationRequired = _5 === void 0 ? false : _5,
15592
- _6 = _a.debugMode,
15593
- debugMode = _6 === void 0 ? false : _6;
15580
+ _0 = _a.theme,
15581
+ theme = _0 === void 0 ? 'default' : _0,
15582
+ _1 = _a.assets,
15583
+ assets = _1 === void 0 ? {} : _1,
15584
+ _2 = _a.classNames,
15585
+ classNames = _2 === void 0 ? {} : _2,
15586
+ _3 = _a.colors,
15587
+ colors = _3 === void 0 ? {} : _3,
15588
+ _4 = _a.verbiage,
15589
+ verbiage = _4 === void 0 ? {} : _4,
15590
+ _5 = _a.geolocationEnabled,
15591
+ geolocationEnabled = _5 === void 0 ? true : _5,
15592
+ _6 = _a.geolocationRequired,
15593
+ geolocationRequired = _6 === void 0 ? false : _6,
15594
+ _7 = _a.debugMode,
15595
+ debugMode = _7 === void 0 ? false : _7;
15594
15596
  useLanguage(lang);
15595
15597
  useDebugLogging(debugMode);
15596
15598
  var idCaptureProps = useMemo(function () {
@@ -15613,13 +15615,14 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
15613
15615
  forceFallbackMode: idCaptureForceFallbackMode,
15614
15616
  enableOverrideWrongDocumentTypeDialog: enableOverrideWrongDocumentTypeDialog,
15615
15617
  allowOverrideWrongDocumentTypeAfterMs: allowOverrideWrongDocumentTypeAfterMs,
15618
+ allowUploadingDocumentsFromStorage: allowUploadingDocumentsFromStorage,
15616
15619
  onExitCapture: onExitCapture,
15617
15620
  onUserCancel: onUserCancel,
15618
15621
  onModelError: onIdCaptureModelError,
15619
15622
  skipSuccessScreen: skipSuccessScreen,
15620
15623
  debugMode: debugMode
15621
15624
  };
15622
- }, [assets.idCapture, classNames.idCapture, colors.idCapture, verbiage.idCapture, idCaptureRequirement, allowSinglePageIdCapture, idCaptureThresholds, idCaptureLoadingOverlayMode, idCaptureInstructions, idCaptureGuideType, idCaptureGuideImages, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, allowIdCardBackToFrontCapture, idCaptureForceFallbackMode, enableOverrideWrongDocumentTypeDialog, allowOverrideWrongDocumentTypeAfterMs, onExitCapture, onUserCancel, onIdCaptureModelError, skipSuccessScreen, debugMode]);
15625
+ }, [assets.idCapture, classNames.idCapture, colors.idCapture, verbiage.idCapture, idCaptureRequirement, allowSinglePageIdCapture, idCaptureThresholds, idCaptureLoadingOverlayMode, idCaptureInstructions, idCaptureGuideType, idCaptureGuideImages, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, allowIdCardBackToFrontCapture, idCaptureForceFallbackMode, enableOverrideWrongDocumentTypeDialog, allowOverrideWrongDocumentTypeAfterMs, allowUploadingDocumentsFromStorage, onExitCapture, onUserCancel, onIdCaptureModelError, skipSuccessScreen, debugMode]);
15623
15626
  var faceLivenessProps = useMemo(function () {
15624
15627
  return {
15625
15628
  onExitCapture: onExitCapture,