idmission-web-sdk 2.1.21 → 2.1.23
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/IdAndFaceValidation.d.ts +2 -0
- package/dist/sdk2.cjs.development.js +53 -47
- 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 +53 -47
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +53 -47
- 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 +1 -1
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
216
216
|
};
|
|
217
217
|
|
|
218
|
-
var webSdkVersion = '2.1.
|
|
218
|
+
var webSdkVersion = '2.1.23';
|
|
219
219
|
|
|
220
220
|
function getPlatform() {
|
|
221
221
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -23965,6 +23965,8 @@
|
|
|
23965
23965
|
idCaptureModelLoadTimeoutMs = _m === void 0 ? defaultDocumentDetectionModelLoadTimeoutMs : _m,
|
|
23966
23966
|
_o = _a.selfieCaptureModelLoadTimeoutMs,
|
|
23967
23967
|
selfieCaptureModelLoadTimeoutMs = _o === void 0 ? defaultSelfieCaptureModelLoadTimeoutMs : _o,
|
|
23968
|
+
_p = _a.allowIdCardBackToFrontCapture,
|
|
23969
|
+
allowIdCardBackToFrontCapture = _p === void 0 ? false : _p,
|
|
23968
23970
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
23969
23971
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
23970
23972
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
@@ -23981,28 +23983,28 @@
|
|
|
23981
23983
|
onIdCaptureModelError = _a.onIdCaptureModelError,
|
|
23982
23984
|
onSelfieCaptureModelError = _a.onSelfieCaptureModelError,
|
|
23983
23985
|
onCameraAccessDenied = _a.onCameraAccessDenied,
|
|
23984
|
-
|
|
23985
|
-
captureSignature =
|
|
23986
|
-
|
|
23987
|
-
captureSignatureVideo =
|
|
23988
|
-
|
|
23989
|
-
captureAdditionalDocuments =
|
|
23990
|
-
|
|
23991
|
-
theme =
|
|
23992
|
-
|
|
23993
|
-
assets =
|
|
23994
|
-
|
|
23995
|
-
classNames =
|
|
23996
|
-
|
|
23997
|
-
colors =
|
|
23998
|
-
|
|
23999
|
-
verbiage =
|
|
24000
|
-
|
|
24001
|
-
geolocationEnabled =
|
|
24002
|
-
|
|
24003
|
-
geolocationRequired =
|
|
24004
|
-
|
|
24005
|
-
debugMode =
|
|
23986
|
+
_q = _a.captureSignature,
|
|
23987
|
+
captureSignature = _q === void 0 ? false : _q,
|
|
23988
|
+
_r = _a.captureSignatureVideo,
|
|
23989
|
+
captureSignatureVideo = _r === void 0 ? false : _r,
|
|
23990
|
+
_s = _a.captureAdditionalDocuments,
|
|
23991
|
+
captureAdditionalDocuments = _s === void 0 ? [] : _s,
|
|
23992
|
+
_t = _a.theme,
|
|
23993
|
+
theme = _t === void 0 ? 'default' : _t,
|
|
23994
|
+
_u = _a.assets,
|
|
23995
|
+
assets = _u === void 0 ? {} : _u,
|
|
23996
|
+
_v = _a.classNames,
|
|
23997
|
+
classNames = _v === void 0 ? {} : _v,
|
|
23998
|
+
_w = _a.colors,
|
|
23999
|
+
colors = _w === void 0 ? {} : _w,
|
|
24000
|
+
_x = _a.verbiage,
|
|
24001
|
+
verbiage = _x === void 0 ? {} : _x,
|
|
24002
|
+
_y = _a.geolocationEnabled,
|
|
24003
|
+
geolocationEnabled = _y === void 0 ? true : _y,
|
|
24004
|
+
_z = _a.geolocationRequired,
|
|
24005
|
+
geolocationRequired = _z === void 0 ? false : _z,
|
|
24006
|
+
_0 = _a.debugMode,
|
|
24007
|
+
debugMode = _0 === void 0 ? false : _0;
|
|
24006
24008
|
useLanguage(lang);
|
|
24007
24009
|
useDebugLogging(debugMode);
|
|
24008
24010
|
var idCaptureProps = React.useMemo(function () {
|
|
@@ -24023,10 +24025,11 @@
|
|
|
24023
24025
|
portraitGuidesOnMobile: idCapturePortraitGuidesOnMobile,
|
|
24024
24026
|
rotateLoadingOverlayImageWhenPortrait: idCaptureRotateLoadingOverlayImageWhenPortrait,
|
|
24025
24027
|
modelLoadTimeoutMs: idCaptureModelLoadTimeoutMs,
|
|
24028
|
+
allowIdCardBackToFrontCapture: allowIdCardBackToFrontCapture,
|
|
24026
24029
|
skipSuccessScreen: skipSuccessScreen,
|
|
24027
24030
|
debugMode: debugMode
|
|
24028
24031
|
};
|
|
24029
|
-
}, [onExitCapture, onUserCancel, onIdCaptureModelError, assets.idCapture, classNames.idCapture, colors.idCapture, verbiage.idCapture, precapturedDocuments, idCaptureRequirement, idCaptureThresholds, idCaptureLoadingOverlayMode, idCaptureInstructions, idCaptureGuideType, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, skipSuccessScreen, debugMode]);
|
|
24032
|
+
}, [onExitCapture, onUserCancel, onIdCaptureModelError, assets.idCapture, classNames.idCapture, colors.idCapture, verbiage.idCapture, precapturedDocuments, idCaptureRequirement, idCaptureThresholds, idCaptureLoadingOverlayMode, idCaptureInstructions, idCaptureGuideType, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, allowIdCardBackToFrontCapture, skipSuccessScreen, debugMode]);
|
|
24030
24033
|
var faceLivenessProps = React.useMemo(function () {
|
|
24031
24034
|
return {
|
|
24032
24035
|
loadingOverlayMode: faceLivenessLoadingOverlayMode,
|
|
@@ -24187,6 +24190,8 @@
|
|
|
24187
24190
|
idCaptureModelLoadTimeoutMs = _m === void 0 ? defaultDocumentDetectionModelLoadTimeoutMs : _m,
|
|
24188
24191
|
_o = _a.selfieCaptureModelLoadTimeoutMs,
|
|
24189
24192
|
selfieCaptureModelLoadTimeoutMs = _o === void 0 ? defaultSelfieCaptureModelLoadTimeoutMs : _o,
|
|
24193
|
+
_p = _a.allowIdCardBackToFrontCapture,
|
|
24194
|
+
allowIdCardBackToFrontCapture = _p === void 0 ? false : _p,
|
|
24190
24195
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
24191
24196
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
24192
24197
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -24202,28 +24207,28 @@
|
|
|
24202
24207
|
onIdCaptureModelError = _a.onIdCaptureModelError,
|
|
24203
24208
|
onSelfieCaptureModelError = _a.onSelfieCaptureModelError,
|
|
24204
24209
|
onCameraAccessDenied = _a.onCameraAccessDenied,
|
|
24205
|
-
|
|
24206
|
-
captureSignature =
|
|
24207
|
-
|
|
24208
|
-
captureSignatureVideo =
|
|
24209
|
-
|
|
24210
|
-
captureAdditionalDocuments =
|
|
24211
|
-
|
|
24212
|
-
theme =
|
|
24213
|
-
|
|
24214
|
-
assets =
|
|
24215
|
-
|
|
24216
|
-
classNames =
|
|
24217
|
-
|
|
24218
|
-
colors =
|
|
24219
|
-
|
|
24220
|
-
verbiage =
|
|
24221
|
-
|
|
24222
|
-
geolocationEnabled =
|
|
24223
|
-
|
|
24224
|
-
geolocationRequired =
|
|
24225
|
-
|
|
24226
|
-
debugMode =
|
|
24210
|
+
_q = _a.captureSignature,
|
|
24211
|
+
captureSignature = _q === void 0 ? false : _q,
|
|
24212
|
+
_r = _a.captureSignatureVideo,
|
|
24213
|
+
captureSignatureVideo = _r === void 0 ? false : _r,
|
|
24214
|
+
_s = _a.captureAdditionalDocuments,
|
|
24215
|
+
captureAdditionalDocuments = _s === void 0 ? [] : _s,
|
|
24216
|
+
_t = _a.theme,
|
|
24217
|
+
theme = _t === void 0 ? 'default' : _t,
|
|
24218
|
+
_u = _a.assets,
|
|
24219
|
+
assets = _u === void 0 ? {} : _u,
|
|
24220
|
+
_v = _a.classNames,
|
|
24221
|
+
classNames = _v === void 0 ? {} : _v,
|
|
24222
|
+
_w = _a.colors,
|
|
24223
|
+
colors = _w === void 0 ? {} : _w,
|
|
24224
|
+
_x = _a.verbiage,
|
|
24225
|
+
verbiage = _x === void 0 ? {} : _x,
|
|
24226
|
+
_y = _a.geolocationEnabled,
|
|
24227
|
+
geolocationEnabled = _y === void 0 ? true : _y,
|
|
24228
|
+
_z = _a.geolocationRequired,
|
|
24229
|
+
geolocationRequired = _z === void 0 ? false : _z,
|
|
24230
|
+
_0 = _a.debugMode,
|
|
24231
|
+
debugMode = _0 === void 0 ? false : _0;
|
|
24227
24232
|
useLanguage(lang);
|
|
24228
24233
|
useDebugLogging(debugMode);
|
|
24229
24234
|
var idCaptureProps = React.useMemo(function () {
|
|
@@ -24240,13 +24245,14 @@
|
|
|
24240
24245
|
portraitGuidesOnMobile: idCapturePortraitGuidesOnMobile,
|
|
24241
24246
|
rotateLoadingOverlayImageWhenPortrait: idCaptureRotateLoadingOverlayImageWhenPortrait,
|
|
24242
24247
|
modelLoadTimeoutMs: idCaptureModelLoadTimeoutMs,
|
|
24248
|
+
allowIdCardBackToFrontCapture: allowIdCardBackToFrontCapture,
|
|
24243
24249
|
onExitCapture: onExitCapture,
|
|
24244
24250
|
onUserCancel: onUserCancel,
|
|
24245
24251
|
onModelError: onIdCaptureModelError,
|
|
24246
24252
|
skipSuccessScreen: skipSuccessScreen,
|
|
24247
24253
|
debugMode: debugMode
|
|
24248
24254
|
};
|
|
24249
|
-
}, [assets.idCapture, classNames.idCapture, colors.idCapture, verbiage.idCapture, idCaptureRequirement, idCaptureThresholds, idCaptureLoadingOverlayMode, idCaptureInstructions, idCaptureGuideType, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, onExitCapture, onUserCancel, onIdCaptureModelError, skipSuccessScreen, debugMode]);
|
|
24255
|
+
}, [assets.idCapture, classNames.idCapture, colors.idCapture, verbiage.idCapture, idCaptureRequirement, idCaptureThresholds, idCaptureLoadingOverlayMode, idCaptureInstructions, idCaptureGuideType, idCapturePortraitGuidesOnMobile, idCaptureRotateLoadingOverlayImageWhenPortrait, idCaptureModelLoadTimeoutMs, allowIdCardBackToFrontCapture, onExitCapture, onUserCancel, onIdCaptureModelError, skipSuccessScreen, debugMode]);
|
|
24250
24256
|
var faceLivenessProps = React.useMemo(function () {
|
|
24251
24257
|
return {
|
|
24252
24258
|
onExitCapture: onExitCapture,
|