idmission-web-sdk 2.3.59 → 2.3.60
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/components/submission/types.d.ts +2 -0
- package/dist/components/submission/types.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +9 -3
- 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 +9 -3
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +9 -3
- 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.3.
|
|
214
|
+
var webSdkVersion = '2.3.60';
|
|
215
215
|
|
|
216
216
|
function getPlatform() {
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -2545,6 +2545,9 @@
|
|
|
2545
2545
|
if (clientRequestID) {
|
|
2546
2546
|
submissionRequest.additionalData.clientRequestID = clientRequestID;
|
|
2547
2547
|
}
|
|
2548
|
+
if (jobId) {
|
|
2549
|
+
submissionRequest.additionalData.jobID = jobId;
|
|
2550
|
+
}
|
|
2548
2551
|
if (documents.idFrontImage) {
|
|
2549
2552
|
submissionRequest.customerData.idData.idImageFront = documents.idFrontImage;
|
|
2550
2553
|
}
|
|
@@ -2642,7 +2645,7 @@
|
|
|
2642
2645
|
}
|
|
2643
2646
|
});
|
|
2644
2647
|
});
|
|
2645
|
-
}, [additionalDocuments, bypassAgeValidation, bypassNameMatching, cardData, clientRequestID, companyId, customerDataMatchConfig, deduplicationEnabled, deduplicationSynchronous, documentServiceUrl, enrollmentId, expectedAudioText, geolocationResult, idBackCaptureAttempts, idBackImage, idBackImageRequired, idBackIrImage, idBackUvImage, idCaptureVideoAudioStartsAt, idCaptureVideoAudioUrl, idCaptureVideoIdBackImage, idCaptureVideoIdFrontImage, idCaptureVideoUrl, idCardForFaceMatch, idData, idFrontCaptureAttempts, idFrontImage, idFrontIrImage, idFrontUvImage, idImageResolutionCheck, manualReviewRequired, needImmediateResponse, passportImage, personalData, selfieCaptureAttempts, selfieImage, signatureData, signatureVideoUrl, uploadDocument, verifyIdWithExternalDatabases, webhooksClientTraceId, webhooksEnabled, webhooksFireOnReview, webhooksFireOnReviewURL, webhooksSendInputImages, webhooksSendProcessedImages, webhooksStripSpecialCharacters, webhooksURL]);
|
|
2648
|
+
}, [additionalDocuments, bypassAgeValidation, bypassNameMatching, cardData, clientRequestID, companyId, customerDataMatchConfig, deduplicationEnabled, deduplicationSynchronous, documentServiceUrl, enrollmentId, expectedAudioText, geolocationResult, idBackCaptureAttempts, idBackImage, idBackImageRequired, idBackIrImage, idBackUvImage, idCaptureVideoAudioStartsAt, idCaptureVideoAudioUrl, idCaptureVideoIdBackImage, idCaptureVideoIdFrontImage, idCaptureVideoUrl, idCardForFaceMatch, idData, idFrontCaptureAttempts, idFrontImage, idFrontIrImage, idFrontUvImage, idImageResolutionCheck, jobId, manualReviewRequired, needImmediateResponse, passportImage, personalData, selfieCaptureAttempts, selfieImage, signatureData, signatureVideoUrl, uploadDocument, verifyIdWithExternalDatabases, webhooksClientTraceId, webhooksEnabled, webhooksFireOnReview, webhooksFireOnReviewURL, webhooksSendInputImages, webhooksSendProcessedImages, webhooksStripSpecialCharacters, webhooksURL]);
|
|
2646
2649
|
var defaultOnSubmit = React.useCallback(function () {
|
|
2647
2650
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
2648
2651
|
var submissionResponse_1, payload, host, endpoint, response, statusMessage, submissionResponse_2, e_1, err;
|
|
@@ -2786,6 +2789,9 @@
|
|
|
2786
2789
|
if (clientRequestID) {
|
|
2787
2790
|
request.additionalData.clientRequestID = clientRequestID;
|
|
2788
2791
|
}
|
|
2792
|
+
if (jobId) {
|
|
2793
|
+
request.additionalData.jobID = jobId;
|
|
2794
|
+
}
|
|
2789
2795
|
if (idCardForFaceMatch) {
|
|
2790
2796
|
request.customerData.idData = {
|
|
2791
2797
|
idImageFront: idCardForFaceMatch
|
|
@@ -2813,7 +2819,7 @@
|
|
|
2813
2819
|
}
|
|
2814
2820
|
});
|
|
2815
2821
|
});
|
|
2816
|
-
}, [clientRequestID, documentServiceUrl, estimateAge, geolocationResult, idBackCaptureAttempts, idCardForFaceMatch, idFrontCaptureAttempts, predictGender, selfieCaptureAttempts, uploadDocument, useDocumentServiceForLivenessChecks, webhooksStripSpecialCharacters]);
|
|
2822
|
+
}, [clientRequestID, documentServiceUrl, estimateAge, geolocationResult, idBackCaptureAttempts, idCardForFaceMatch, idFrontCaptureAttempts, jobId, predictGender, selfieCaptureAttempts, uploadDocument, useDocumentServiceForLivenessChecks, webhooksStripSpecialCharacters]);
|
|
2817
2823
|
var checkLiveness = React.useCallback(function (imageDataUrl) {
|
|
2818
2824
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
2819
2825
|
var request, host, endpoint, response, statusMessage, submissionResponse_3, e_2, err;
|