idmission-web-sdk 2.2.54 → 2.2.55
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/CompositeWizard.d.ts +2 -1
- package/dist/components/CompositeWizard.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts.map +1 -1
- package/dist/components/customer_flows/FaceValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/IdValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/SignatureKYC.d.ts.map +1 -1
- package/dist/components/customer_flows/VideoIdValidation.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +29 -18
- 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 -18
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +29 -18
- 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
|
@@ -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.55';
|
|
215
215
|
|
|
216
216
|
function getPlatform() {
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -22655,15 +22655,17 @@
|
|
|
22655
22655
|
_o = _a.captureSignatureVideo,
|
|
22656
22656
|
captureSignatureVideo = _o === void 0 ? false : _o,
|
|
22657
22657
|
onCameraAccessDenied = _a.onCameraAccessDenied,
|
|
22658
|
-
onMicrophoneAccessDenied = _a.onMicrophoneAccessDenied
|
|
22659
|
-
|
|
22660
|
-
|
|
22661
|
-
|
|
22662
|
-
|
|
22663
|
-
|
|
22664
|
-
|
|
22665
|
-
|
|
22666
|
-
|
|
22658
|
+
onMicrophoneAccessDenied = _a.onMicrophoneAccessDenied,
|
|
22659
|
+
_p = _a.debugMode,
|
|
22660
|
+
debugMode = _p === void 0 ? false : _p;
|
|
22661
|
+
var _q = React.useContext(SubmissionContext),
|
|
22662
|
+
submit = _q.submit,
|
|
22663
|
+
submissionStatus = _q.submissionStatus,
|
|
22664
|
+
setSignatureData = _q.setSignatureData,
|
|
22665
|
+
setAdditionalDocuments = _q.setAdditionalDocuments;
|
|
22666
|
+
var _r = React.useState(0),
|
|
22667
|
+
checkIndex = _r[0],
|
|
22668
|
+
setCheckIndex = _r[1];
|
|
22667
22669
|
var checks = React.useMemo(function () {
|
|
22668
22670
|
var _a, _b;
|
|
22669
22671
|
var checks = __spreadArray([], userChecks, true);
|
|
@@ -22760,9 +22762,11 @@
|
|
|
22760
22762
|
className: "flex"
|
|
22761
22763
|
}, /*#__PURE__*/React.createElement(Spinner$1, null));
|
|
22762
22764
|
case SubmissionStatus.SUBMITTED:
|
|
22763
|
-
return /*#__PURE__*/React.createElement(SubmissionSuccess, null);
|
|
22765
|
+
if (debugMode) return /*#__PURE__*/React.createElement(SubmissionSuccess, null);
|
|
22766
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
22764
22767
|
case SubmissionStatus.FAILED:
|
|
22765
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, "Submission failed!");
|
|
22768
|
+
if (debugMode) return /*#__PURE__*/React.createElement(React.Fragment, null, "Submission failed!");
|
|
22769
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
22766
22770
|
default:
|
|
22767
22771
|
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
22768
22772
|
}
|
|
@@ -23272,7 +23276,8 @@
|
|
|
23272
23276
|
videoSignatureCaptureProps: videoSignatureCaptureProps,
|
|
23273
23277
|
captureSignature: captureSignature,
|
|
23274
23278
|
captureSignatureVideo: captureSignatureVideo,
|
|
23275
|
-
onCameraAccessDenied: onCameraAccessDenied
|
|
23279
|
+
onCameraAccessDenied: onCameraAccessDenied,
|
|
23280
|
+
debugMode: debugMode
|
|
23276
23281
|
}))));
|
|
23277
23282
|
};
|
|
23278
23283
|
|
|
@@ -23378,7 +23383,8 @@
|
|
|
23378
23383
|
return ['FaceLiveness'];
|
|
23379
23384
|
}, []),
|
|
23380
23385
|
faceLivenessProps: faceLivenessProps,
|
|
23381
|
-
onCameraAccessDenied: onCameraAccessDenied
|
|
23386
|
+
onCameraAccessDenied: onCameraAccessDenied,
|
|
23387
|
+
debugMode: debugMode
|
|
23382
23388
|
}))));
|
|
23383
23389
|
};
|
|
23384
23390
|
|
|
@@ -23611,7 +23617,8 @@
|
|
|
23611
23617
|
additionalDocumentCaptureProps: additionalDocumentCaptureProps,
|
|
23612
23618
|
captureSignature: captureSignature,
|
|
23613
23619
|
captureSignatureVideo: captureSignatureVideo,
|
|
23614
|
-
onCameraAccessDenied: onCameraAccessDenied
|
|
23620
|
+
onCameraAccessDenied: onCameraAccessDenied,
|
|
23621
|
+
debugMode: debugMode
|
|
23615
23622
|
}))));
|
|
23616
23623
|
};
|
|
23617
23624
|
|
|
@@ -23866,7 +23873,8 @@
|
|
|
23866
23873
|
videoSignatureCaptureProps: videoSignatureCaptureProps,
|
|
23867
23874
|
captureSignature: captureSignature,
|
|
23868
23875
|
captureSignatureVideo: captureSignatureVideo,
|
|
23869
|
-
onCameraAccessDenied: onCameraAccessDenied
|
|
23876
|
+
onCameraAccessDenied: onCameraAccessDenied,
|
|
23877
|
+
debugMode: debugMode
|
|
23870
23878
|
}))));
|
|
23871
23879
|
};
|
|
23872
23880
|
|
|
@@ -25050,6 +25058,7 @@
|
|
|
25050
25058
|
geolocationEnabled: geolocationEnabled,
|
|
25051
25059
|
geolocationRequired: geolocationRequired
|
|
25052
25060
|
}, /*#__PURE__*/React.createElement(CompositeWizard, {
|
|
25061
|
+
debugMode: debugMode,
|
|
25053
25062
|
checks: React.useMemo(function () {
|
|
25054
25063
|
return ['VideoSignatureCapture'];
|
|
25055
25064
|
}, []),
|
|
@@ -25291,7 +25300,8 @@
|
|
|
25291
25300
|
captureSignature: captureSignature,
|
|
25292
25301
|
captureSignatureVideo: captureSignatureVideo,
|
|
25293
25302
|
onCameraAccessDenied: onCameraAccessDenied,
|
|
25294
|
-
onMicrophoneAccessDenied: onMicrophoneAccessDenied
|
|
25303
|
+
onMicrophoneAccessDenied: onMicrophoneAccessDenied,
|
|
25304
|
+
debugMode: debugMode
|
|
25295
25305
|
}))));
|
|
25296
25306
|
};
|
|
25297
25307
|
|
|
@@ -25448,7 +25458,8 @@
|
|
|
25448
25458
|
videoSignatureCaptureProps: videoSignatureCaptureProps,
|
|
25449
25459
|
captureSignature: captureSignature,
|
|
25450
25460
|
captureSignatureVideo: captureSignatureVideo,
|
|
25451
|
-
onCameraAccessDenied: onCameraAccessDenied
|
|
25461
|
+
onCameraAccessDenied: onCameraAccessDenied,
|
|
25462
|
+
debugMode: debugMode
|
|
25452
25463
|
}))));
|
|
25453
25464
|
};
|
|
25454
25465
|
|