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/sdk2.esm.js CHANGED
@@ -205,7 +205,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
205
205
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
206
206
  };
207
207
 
208
- var webSdkVersion = '2.3.59';
208
+ var webSdkVersion = '2.3.60';
209
209
 
210
210
  function getPlatform() {
211
211
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -1565,6 +1565,9 @@ var SubmissionProvider = function SubmissionProvider(_a) {
1565
1565
  if (clientRequestID) {
1566
1566
  submissionRequest.additionalData.clientRequestID = clientRequestID;
1567
1567
  }
1568
+ if (jobId) {
1569
+ submissionRequest.additionalData.jobID = jobId;
1570
+ }
1568
1571
  if (documents.idFrontImage) {
1569
1572
  submissionRequest.customerData.idData.idImageFront = documents.idFrontImage;
1570
1573
  }
@@ -1662,7 +1665,7 @@ var SubmissionProvider = function SubmissionProvider(_a) {
1662
1665
  }
1663
1666
  });
1664
1667
  });
1665
- }, [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]);
1668
+ }, [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]);
1666
1669
  var defaultOnSubmit = useCallback(function () {
1667
1670
  return __awaiter(void 0, void 0, void 0, function () {
1668
1671
  var submissionResponse_1, payload, host, endpoint, response, statusMessage, submissionResponse_2, e_1, err;
@@ -1806,6 +1809,9 @@ var SubmissionProvider = function SubmissionProvider(_a) {
1806
1809
  if (clientRequestID) {
1807
1810
  request.additionalData.clientRequestID = clientRequestID;
1808
1811
  }
1812
+ if (jobId) {
1813
+ request.additionalData.jobID = jobId;
1814
+ }
1809
1815
  if (idCardForFaceMatch) {
1810
1816
  request.customerData.idData = {
1811
1817
  idImageFront: idCardForFaceMatch
@@ -1833,7 +1839,7 @@ var SubmissionProvider = function SubmissionProvider(_a) {
1833
1839
  }
1834
1840
  });
1835
1841
  });
1836
- }, [clientRequestID, documentServiceUrl, estimateAge, geolocationResult, idBackCaptureAttempts, idCardForFaceMatch, idFrontCaptureAttempts, predictGender, selfieCaptureAttempts, uploadDocument, useDocumentServiceForLivenessChecks, webhooksStripSpecialCharacters]);
1842
+ }, [clientRequestID, documentServiceUrl, estimateAge, geolocationResult, idBackCaptureAttempts, idCardForFaceMatch, idFrontCaptureAttempts, jobId, predictGender, selfieCaptureAttempts, uploadDocument, useDocumentServiceForLivenessChecks, webhooksStripSpecialCharacters]);
1837
1843
  var checkLiveness = useCallback(function (imageDataUrl) {
1838
1844
  return __awaiter(void 0, void 0, void 0, function () {
1839
1845
  var request, host, endpoint, response, statusMessage, submissionResponse_3, e_2, err;