idmission-web-sdk 2.3.1 → 2.3.2
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/IdValidation.d.ts +2 -0
- package/dist/components/customer_flows/IdValidation.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +58 -56
- 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 +58 -56
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +58 -56
- 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.3.
|
|
214
|
+
var webSdkVersion = '2.3.2';
|
|
215
215
|
|
|
216
216
|
function getPlatform() {
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -25475,42 +25475,44 @@
|
|
|
25475
25475
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
25476
25476
|
customerDataMatchConfig = _a.customerDataMatchConfig,
|
|
25477
25477
|
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
25478
|
+
_c = _a.captureOnly,
|
|
25479
|
+
captureOnly = _c === void 0 ? false : _c,
|
|
25478
25480
|
precapturedDocuments = _a.precapturedDocuments,
|
|
25479
|
-
|
|
25480
|
-
loadingOverlayMode =
|
|
25481
|
+
_d = _a.loadingOverlayMode,
|
|
25482
|
+
loadingOverlayMode = _d === void 0 ? 'default' : _d,
|
|
25481
25483
|
customOverlayContent = _a.customOverlayContent,
|
|
25482
25484
|
onLoadingOverlayDismissed = _a.onLoadingOverlayDismissed,
|
|
25483
|
-
|
|
25484
|
-
idCaptureRequirement =
|
|
25485
|
-
|
|
25486
|
-
allowSinglePageIdCapture =
|
|
25487
|
-
|
|
25488
|
-
separateIdCardCaptureSequence =
|
|
25489
|
-
|
|
25490
|
-
idCaptureThresholds =
|
|
25491
|
-
|
|
25492
|
-
skipSuccessScreen =
|
|
25485
|
+
_e = _a.idCaptureRequirement,
|
|
25486
|
+
idCaptureRequirement = _e === void 0 ? 'idCardOrPassport' : _e,
|
|
25487
|
+
_f = _a.allowSinglePageIdCapture,
|
|
25488
|
+
allowSinglePageIdCapture = _f === void 0 ? false : _f,
|
|
25489
|
+
_g = _a.separateIdCardCaptureSequence,
|
|
25490
|
+
separateIdCardCaptureSequence = _g === void 0 ? false : _g,
|
|
25491
|
+
_h = _a.idCaptureThresholds,
|
|
25492
|
+
idCaptureThresholds = _h === void 0 ? defaultIdCaptureThresholds : _h,
|
|
25493
|
+
_j = _a.skipSuccessScreen,
|
|
25494
|
+
skipSuccessScreen = _j === void 0 ? false : _j,
|
|
25493
25495
|
instructions = _a.instructions,
|
|
25494
|
-
|
|
25495
|
-
guideType =
|
|
25496
|
-
|
|
25497
|
-
guideImages =
|
|
25498
|
-
|
|
25499
|
-
portraitGuidesOnMobile =
|
|
25500
|
-
|
|
25501
|
-
rotateLoadingOverlayImageWhenPortrait =
|
|
25502
|
-
|
|
25503
|
-
modelLoadTimeoutMs =
|
|
25504
|
-
|
|
25505
|
-
forceFallbackMode =
|
|
25506
|
-
|
|
25507
|
-
allowIdCardBackToFrontCapture =
|
|
25508
|
-
|
|
25509
|
-
enableOverrideWrongDocumentTypeDialog =
|
|
25510
|
-
|
|
25511
|
-
allowOverrideWrongDocumentTypeAfterMs =
|
|
25512
|
-
|
|
25513
|
-
allowUploadingDocumentsFromStorage =
|
|
25496
|
+
_k = _a.guideType,
|
|
25497
|
+
guideType = _k === void 0 ? 'fit' : _k,
|
|
25498
|
+
_l = _a.guideImages,
|
|
25499
|
+
guideImages = _l === void 0 ? defaultIdCaptureGuideImages : _l,
|
|
25500
|
+
_m = _a.portraitGuidesOnMobile,
|
|
25501
|
+
portraitGuidesOnMobile = _m === void 0 ? true : _m,
|
|
25502
|
+
_o = _a.rotateLoadingOverlayImageWhenPortrait,
|
|
25503
|
+
rotateLoadingOverlayImageWhenPortrait = _o === void 0 ? true : _o,
|
|
25504
|
+
_p = _a.modelLoadTimeoutMs,
|
|
25505
|
+
modelLoadTimeoutMs = _p === void 0 ? defaultDocumentDetectionModelLoadTimeoutMs : _p,
|
|
25506
|
+
_q = _a.forceFallbackMode,
|
|
25507
|
+
forceFallbackMode = _q === void 0 ? false : _q,
|
|
25508
|
+
_r = _a.allowIdCardBackToFrontCapture,
|
|
25509
|
+
allowIdCardBackToFrontCapture = _r === void 0 ? false : _r,
|
|
25510
|
+
_s = _a.enableOverrideWrongDocumentTypeDialog,
|
|
25511
|
+
enableOverrideWrongDocumentTypeDialog = _s === void 0 ? false : _s,
|
|
25512
|
+
_t = _a.allowOverrideWrongDocumentTypeAfterMs,
|
|
25513
|
+
allowOverrideWrongDocumentTypeAfterMs = _t === void 0 ? 8000 : _t,
|
|
25514
|
+
_u = _a.allowUploadingDocumentsFromStorage,
|
|
25515
|
+
allowUploadingDocumentsFromStorage = _u === void 0 ? false : _u,
|
|
25514
25516
|
onBeforeSubmit = _a.onBeforeSubmit,
|
|
25515
25517
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
25516
25518
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
@@ -25526,28 +25528,28 @@
|
|
|
25526
25528
|
onModelError = _a.onModelError,
|
|
25527
25529
|
onCameraAccessDenied = _a.onCameraAccessDenied,
|
|
25528
25530
|
onCameraTamperingDetected = _a.onCameraTamperingDetected,
|
|
25529
|
-
|
|
25530
|
-
theme =
|
|
25531
|
-
|
|
25532
|
-
assets =
|
|
25533
|
-
|
|
25534
|
-
classNames =
|
|
25535
|
-
|
|
25536
|
-
colors =
|
|
25537
|
-
|
|
25538
|
-
verbiage =
|
|
25539
|
-
|
|
25540
|
-
captureSignature =
|
|
25541
|
-
|
|
25542
|
-
captureSignatureVideo =
|
|
25543
|
-
|
|
25544
|
-
captureAdditionalDocuments =
|
|
25545
|
-
|
|
25546
|
-
geolocationEnabled =
|
|
25547
|
-
|
|
25548
|
-
geolocationRequired =
|
|
25549
|
-
|
|
25550
|
-
debugMode =
|
|
25531
|
+
_v = _a.theme,
|
|
25532
|
+
theme = _v === void 0 ? 'default' : _v,
|
|
25533
|
+
_w = _a.assets,
|
|
25534
|
+
assets = _w === void 0 ? {} : _w,
|
|
25535
|
+
_x = _a.classNames,
|
|
25536
|
+
classNames = _x === void 0 ? {} : _x,
|
|
25537
|
+
_y = _a.colors,
|
|
25538
|
+
colors = _y === void 0 ? {} : _y,
|
|
25539
|
+
_z = _a.verbiage,
|
|
25540
|
+
verbiage = _z === void 0 ? {} : _z,
|
|
25541
|
+
_0 = _a.captureSignature,
|
|
25542
|
+
captureSignature = _0 === void 0 ? false : _0,
|
|
25543
|
+
_1 = _a.captureSignatureVideo,
|
|
25544
|
+
captureSignatureVideo = _1 === void 0 ? false : _1,
|
|
25545
|
+
_2 = _a.captureAdditionalDocuments,
|
|
25546
|
+
captureAdditionalDocuments = _2 === void 0 ? [] : _2,
|
|
25547
|
+
_3 = _a.geolocationEnabled,
|
|
25548
|
+
geolocationEnabled = _3 === void 0 ? true : _3,
|
|
25549
|
+
_4 = _a.geolocationRequired,
|
|
25550
|
+
geolocationRequired = _4 === void 0 ? false : _4,
|
|
25551
|
+
_5 = _a.debugMode,
|
|
25552
|
+
debugMode = _5 === void 0 ? false : _5;
|
|
25551
25553
|
useLanguage(lang);
|
|
25552
25554
|
useDebugLogging(debugMode);
|
|
25553
25555
|
var idCaptureProps = React.useMemo(function () {
|
|
@@ -25620,7 +25622,7 @@
|
|
|
25620
25622
|
}, /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
25621
25623
|
theme: theme
|
|
25622
25624
|
}, /*#__PURE__*/React.createElement(SubmissionProvider, {
|
|
25623
|
-
action: SubmissionAction.VALIDATE,
|
|
25625
|
+
action: captureOnly ? SubmissionAction.NONE : SubmissionAction.VALIDATE,
|
|
25624
25626
|
submissionUrl: submissionUrl,
|
|
25625
25627
|
clientRequestID: clientRequestID,
|
|
25626
25628
|
documentServiceUrl: documentServiceUrl,
|