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/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts +2 -0
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +29 -26
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +29 -26
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +29 -26
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +3 -3
|
@@ -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.
|
|
214
|
+
var webSdkVersion = '2.2.104';
|
|
215
215
|
|
|
216
216
|
function getPlatform() {
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -25619,6 +25619,8 @@
|
|
|
25619
25619
|
enableOverrideWrongDocumentTypeDialog = _t === void 0 ? false : _t,
|
|
25620
25620
|
_u = _a.allowOverrideWrongDocumentTypeAfterMs,
|
|
25621
25621
|
allowOverrideWrongDocumentTypeAfterMs = _u === void 0 ? 8000 : _u,
|
|
25622
|
+
_v = _a.allowUploadingDocumentsFromStorage,
|
|
25623
|
+
allowUploadingDocumentsFromStorage = _v === void 0 ? false : _v,
|
|
25622
25624
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
25623
25625
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
25624
25626
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -25634,31 +25636,31 @@
|
|
|
25634
25636
|
onIdCaptureModelError = _a.onIdCaptureModelError,
|
|
25635
25637
|
onSelfieCaptureModelError = _a.onSelfieCaptureModelError,
|
|
25636
25638
|
onCameraAccessDenied = _a.onCameraAccessDenied,
|
|
25637
|
-
|
|
25638
|
-
captureSignature =
|
|
25639
|
-
|
|
25640
|
-
captureSignatureVideo =
|
|
25641
|
-
|
|
25642
|
-
captureAdditionalDocuments =
|
|
25643
|
-
|
|
25644
|
-
captureVideoId =
|
|
25639
|
+
_w = _a.captureSignature,
|
|
25640
|
+
captureSignature = _w === void 0 ? false : _w,
|
|
25641
|
+
_x = _a.captureSignatureVideo,
|
|
25642
|
+
captureSignatureVideo = _x === void 0 ? false : _x,
|
|
25643
|
+
_y = _a.captureAdditionalDocuments,
|
|
25644
|
+
captureAdditionalDocuments = _y === void 0 ? [] : _y,
|
|
25645
|
+
_z = _a.captureVideoId,
|
|
25646
|
+
captureVideoId = _z === void 0 ? false : _z,
|
|
25645
25647
|
captureVideoIdProps = _a.captureVideoIdProps,
|
|
25646
|
-
|
|
25647
|
-
theme =
|
|
25648
|
-
|
|
25649
|
-
assets =
|
|
25650
|
-
|
|
25651
|
-
classNames =
|
|
25652
|
-
|
|
25653
|
-
colors =
|
|
25654
|
-
|
|
25655
|
-
verbiage =
|
|
25656
|
-
|
|
25657
|
-
geolocationEnabled =
|
|
25658
|
-
|
|
25659
|
-
geolocationRequired =
|
|
25660
|
-
|
|
25661
|
-
debugMode =
|
|
25648
|
+
_0 = _a.theme,
|
|
25649
|
+
theme = _0 === void 0 ? 'default' : _0,
|
|
25650
|
+
_1 = _a.assets,
|
|
25651
|
+
assets = _1 === void 0 ? {} : _1,
|
|
25652
|
+
_2 = _a.classNames,
|
|
25653
|
+
classNames = _2 === void 0 ? {} : _2,
|
|
25654
|
+
_3 = _a.colors,
|
|
25655
|
+
colors = _3 === void 0 ? {} : _3,
|
|
25656
|
+
_4 = _a.verbiage,
|
|
25657
|
+
verbiage = _4 === void 0 ? {} : _4,
|
|
25658
|
+
_5 = _a.geolocationEnabled,
|
|
25659
|
+
geolocationEnabled = _5 === void 0 ? true : _5,
|
|
25660
|
+
_6 = _a.geolocationRequired,
|
|
25661
|
+
geolocationRequired = _6 === void 0 ? false : _6,
|
|
25662
|
+
_7 = _a.debugMode,
|
|
25663
|
+
debugMode = _7 === void 0 ? false : _7;
|
|
25662
25664
|
useLanguage(lang);
|
|
25663
25665
|
useDebugLogging(debugMode);
|
|
25664
25666
|
var idCaptureProps = React.useMemo(function () {
|
|
@@ -25681,13 +25683,14 @@
|
|
|
25681
25683
|
forceFallbackMode: idCaptureForceFallbackMode,
|
|
25682
25684
|
enableOverrideWrongDocumentTypeDialog: enableOverrideWrongDocumentTypeDialog,
|
|
25683
25685
|
allowOverrideWrongDocumentTypeAfterMs: allowOverrideWrongDocumentTypeAfterMs,
|
|
25686
|
+
allowUploadingDocumentsFromStorage: allowUploadingDocumentsFromStorage,
|
|
25684
25687
|
onExitCapture: onExitCapture,
|
|
25685
25688
|
onUserCancel: onUserCancel,
|
|
25686
25689
|
onModelError: onIdCaptureModelError,
|
|
25687
25690
|
skipSuccessScreen: skipSuccessScreen,
|
|
25688
25691
|
debugMode: debugMode
|
|
25689
25692
|
};
|
|
25690
|
-
}, [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]);
|
|
25693
|
+
}, [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]);
|
|
25691
25694
|
var faceLivenessProps = React.useMemo(function () {
|
|
25692
25695
|
return {
|
|
25693
25696
|
onExitCapture: onExitCapture,
|