idmission-web-sdk 2.2.159 → 2.2.160
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/submission/SubmissionProvider.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +43 -41
- 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 +43 -41
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +43 -41
- 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.160';
|
|
215
215
|
|
|
216
216
|
function getPlatform() {
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -2801,46 +2801,48 @@
|
|
|
2801
2801
|
setSubmissionStatus(SubmissionStatus.READY);
|
|
2802
2802
|
retrySubmission();
|
|
2803
2803
|
}, [retrySubmission]);
|
|
2804
|
-
var value = {
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2804
|
+
var value = React.useMemo(function () {
|
|
2805
|
+
return {
|
|
2806
|
+
submit: submit,
|
|
2807
|
+
submissionStatus: submissionStatus,
|
|
2808
|
+
submissionRequest: submissionRequest,
|
|
2809
|
+
submissionResponse: submissionResponse,
|
|
2810
|
+
submissionError: submissionError,
|
|
2811
|
+
submissionEnvironment: environment,
|
|
2812
|
+
idFrontImage: idFrontImage,
|
|
2813
|
+
idBackImage: idBackImage,
|
|
2814
|
+
passportImage: passportImage,
|
|
2815
|
+
selfieImage: selfieImage,
|
|
2816
|
+
signatureData: signatureData,
|
|
2817
|
+
signatureVideoUrl: signatureVideoUrl,
|
|
2818
|
+
idCaptureVideoUrl: idCaptureVideoUrl,
|
|
2819
|
+
idCaptureVideoIdFrontImage: idCaptureVideoIdFrontImage,
|
|
2820
|
+
idCaptureVideoIdBackImage: idCaptureVideoIdBackImage,
|
|
2821
|
+
idCaptureVideoAudioUrl: idCaptureVideoAudioUrl,
|
|
2822
|
+
idCaptureVideoAudioStartsAt: idCaptureVideoAudioStartsAt,
|
|
2823
|
+
additionalDocuments: additionalDocuments,
|
|
2824
|
+
setIdFrontImage: setIdFrontImage,
|
|
2825
|
+
setIdBackImage: setIdBackImage,
|
|
2826
|
+
setPassportImage: setPassportImage,
|
|
2827
|
+
setSelfieImage: setSelfieImage,
|
|
2828
|
+
setSignatureData: setSignatureData,
|
|
2829
|
+
setSignatureVideoUrl: setSignatureVideoUrl,
|
|
2830
|
+
setIdCaptureVideoUrl: setIdCaptureVideoUrl,
|
|
2831
|
+
setIdCaptureVideoIdFrontImage: setIdCaptureVideoIdFrontImage,
|
|
2832
|
+
setIdCaptureVideoIdBackImage: setIdCaptureVideoIdBackImage,
|
|
2833
|
+
setIdCaptureVideoAudioUrl: setIdCaptureVideoAudioUrl,
|
|
2834
|
+
setIdCaptureVideoAudioStartsAt: setIdCaptureVideoAudioStartsAt,
|
|
2835
|
+
setExpectedAudioText: setExpectedAudioText,
|
|
2836
|
+
setAdditionalDocuments: setAdditionalDocuments,
|
|
2837
|
+
uploadDocument: uploadDocument,
|
|
2838
|
+
logIdFrontCaptureAttempt: logIdFrontCaptureAttempt,
|
|
2839
|
+
logIdBackCaptureAttempt: logIdBackCaptureAttempt,
|
|
2840
|
+
logSelfieCaptureAttempt: logSelfieCaptureAttempt,
|
|
2841
|
+
livenessCheckRequest: livenessCheckRequest,
|
|
2842
|
+
checkLiveness: checkLiveness,
|
|
2843
|
+
retryLocationAccess: retryLocationAccess
|
|
2844
|
+
};
|
|
2845
|
+
}, [additionalDocuments, checkLiveness, environment, idBackImage, idCaptureVideoAudioStartsAt, idCaptureVideoAudioUrl, idCaptureVideoIdBackImage, idCaptureVideoIdFrontImage, idCaptureVideoUrl, idFrontImage, livenessCheckRequest, logIdBackCaptureAttempt, logIdFrontCaptureAttempt, logSelfieCaptureAttempt, passportImage, retryLocationAccess, selfieImage, signatureData, signatureVideoUrl, submissionError, submissionRequest, submissionResponse, submissionStatus, submit, uploadDocument]);
|
|
2844
2846
|
return /*#__PURE__*/React.createElement(SubmissionContext.Provider, {
|
|
2845
2847
|
value: value
|
|
2846
2848
|
}, geolocationRequired && geolocationBlocked ? ( /*#__PURE__*/React.createElement(GeolocationAccessDeniedOverlay, null)) : children, submissionError && ( /*#__PURE__*/React.createElement(SubmissionErrorOverlay, {
|