idmission-web-sdk 2.2.76 → 2.2.77

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.
Files changed (32) hide show
  1. package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts +2 -0
  2. package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts.map +1 -1
  3. package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts +2 -0
  4. package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts.map +1 -1
  5. package/dist/components/customer_flows/CustomerIdentification.d.ts +2 -0
  6. package/dist/components/customer_flows/CustomerIdentification.d.ts.map +1 -1
  7. package/dist/components/customer_flows/CustomerVerification.d.ts +2 -0
  8. package/dist/components/customer_flows/CustomerVerification.d.ts.map +1 -1
  9. package/dist/components/customer_flows/FaceValidation.d.ts +2 -0
  10. package/dist/components/customer_flows/FaceValidation.d.ts.map +1 -1
  11. package/dist/components/customer_flows/IdAndFaceValidation.d.ts +2 -0
  12. package/dist/components/customer_flows/IdAndFaceValidation.d.ts.map +1 -1
  13. package/dist/components/customer_flows/IdValidation.d.ts +2 -0
  14. package/dist/components/customer_flows/IdValidation.d.ts.map +1 -1
  15. package/dist/components/customer_flows/VideoIdValidation.d.ts +2 -0
  16. package/dist/components/customer_flows/VideoIdValidation.d.ts.map +1 -1
  17. package/dist/components/submission/SubmissionProvider.d.ts +2 -1
  18. package/dist/components/submission/SubmissionProvider.d.ts.map +1 -1
  19. package/dist/components/submission/types.d.ts +1 -0
  20. package/dist/components/submission/types.d.ts.map +1 -1
  21. package/dist/sdk2.cjs.development.js +20 -2
  22. package/dist/sdk2.cjs.development.js.map +1 -1
  23. package/dist/sdk2.cjs.production.js +1 -1
  24. package/dist/sdk2.cjs.production.js.map +1 -1
  25. package/dist/sdk2.esm.js +20 -2
  26. package/dist/sdk2.esm.js.map +1 -1
  27. package/dist/sdk2.umd.development.js +20 -2
  28. package/dist/sdk2.umd.development.js.map +1 -1
  29. package/dist/sdk2.umd.production.js +1 -1
  30. package/dist/sdk2.umd.production.js.map +1 -1
  31. package/dist/version.d.ts +1 -1
  32. package/package.json +3 -3
package/dist/sdk2.esm.js CHANGED
@@ -203,7 +203,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
203
203
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
204
204
  };
205
205
 
206
- var webSdkVersion = '2.2.76';
206
+ var webSdkVersion = '2.2.77';
207
207
 
208
208
  function getPlatform() {
209
209
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -1145,6 +1145,7 @@ var SubmissionProvider = function SubmissionProvider(_a) {
1145
1145
  geolocationRequired = _p === void 0 ? false : _p,
1146
1146
  _q = _a.webhooksEnabled,
1147
1147
  webhooksEnabled = _q === void 0 ? false : _q,
1148
+ webhooksURL = _a.webhooksURL,
1148
1149
  webhooksClientTraceId = _a.webhooksClientTraceId,
1149
1150
  _r = _a.webhooksStripSpecialCharacters,
1150
1151
  webhooksStripSpecialCharacters = _r === void 0 ? true : _r,
@@ -1437,6 +1438,7 @@ var SubmissionProvider = function SubmissionProvider(_a) {
1437
1438
  bypassAgeValidation: bypassAgeValidation ? 'Y' : 'N',
1438
1439
  bypassNameMatching: bypassNameMatching ? 'Y' : 'N',
1439
1440
  postDataAPIRequired: webhooksEnabled ? 'Y' : 'N',
1441
+ postDataAPIURL: webhooksURL,
1440
1442
  postDataOnReviewRequired: webhooksFireOnReview ? 'Y' : 'N',
1441
1443
  sendInputImagesInPost: webhooksSendInputImages ? 'Y' : 'N',
1442
1444
  sendProcessedImagesInPost: webhooksSendProcessedImages ? 'Y' : 'N',
@@ -1542,7 +1544,7 @@ var SubmissionProvider = function SubmissionProvider(_a) {
1542
1544
  }
1543
1545
  });
1544
1546
  });
1545
- }, [additionalDocuments, bypassAgeValidation, bypassNameMatching, cardData, clientRequestID, companyId, customerDataMatchConfig, deduplicationEnabled, deduplicationSynchronous, documentServiceUrl, enrollmentId, expectedAudioText, geolocationResult, idBackCaptureAttempts, idBackImage, idBackImageRequired, idCaptureVideoAudioStartsAt, idCaptureVideoAudioUrl, idCaptureVideoIdBackImage, idCaptureVideoIdFrontImage, idCaptureVideoUrl, idCardForFaceMatch, idData, idFrontCaptureAttempts, idFrontImage, idImageResolutionCheck, manualReviewRequired, needImmediateResponse, passportImage, personalData, selfieCaptureAttempts, selfieImage, signatureData, signatureVideoUrl, uploadDocument, verifyIdWithExternalDatabases, webhooksClientTraceId, webhooksEnabled, webhooksFireOnReview, webhooksSendInputImages, webhooksSendProcessedImages, webhooksStripSpecialCharacters]);
1547
+ }, [additionalDocuments, bypassAgeValidation, bypassNameMatching, cardData, clientRequestID, companyId, customerDataMatchConfig, deduplicationEnabled, deduplicationSynchronous, documentServiceUrl, enrollmentId, expectedAudioText, geolocationResult, idBackCaptureAttempts, idBackImage, idBackImageRequired, idCaptureVideoAudioStartsAt, idCaptureVideoAudioUrl, idCaptureVideoIdBackImage, idCaptureVideoIdFrontImage, idCaptureVideoUrl, idCardForFaceMatch, idData, idFrontCaptureAttempts, idFrontImage, idImageResolutionCheck, manualReviewRequired, needImmediateResponse, passportImage, personalData, selfieCaptureAttempts, selfieImage, signatureData, signatureVideoUrl, uploadDocument, verifyIdWithExternalDatabases, webhooksClientTraceId, webhooksEnabled, webhooksFireOnReview, webhooksSendInputImages, webhooksSendProcessedImages, webhooksStripSpecialCharacters, webhooksURL]);
1546
1548
  var defaultOnSubmit = useCallback(function () {
1547
1549
  return __awaiter(void 0, void 0, void 0, function () {
1548
1550
  var submissionResponse_1, payload, host, endpoint, response, statusMessage, submissionResponse_2, e_1, err;
@@ -13350,6 +13352,7 @@ var IdValidation = function IdValidation(_a) {
13350
13352
  cardData = _a.cardData,
13351
13353
  idData = _a.idData,
13352
13354
  webhooksEnabled = _a.webhooksEnabled,
13355
+ webhooksURL = _a.webhooksURL,
13353
13356
  webhooksClientTraceId = _a.webhooksClientTraceId,
13354
13357
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
13355
13358
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -13512,6 +13515,7 @@ var IdValidation = function IdValidation(_a) {
13512
13515
  cardData: cardData,
13513
13516
  idData: idData,
13514
13517
  webhooksEnabled: webhooksEnabled,
13518
+ webhooksURL: webhooksURL,
13515
13519
  webhooksClientTraceId: webhooksClientTraceId,
13516
13520
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
13517
13521
  webhooksSendInputImages: webhooksSendInputImages,
@@ -13554,6 +13558,7 @@ var FaceValidation = function FaceValidation(_a) {
13554
13558
  companyId = _a.companyId,
13555
13559
  needImmediateResponse = _a.needImmediateResponse,
13556
13560
  webhooksEnabled = _a.webhooksEnabled,
13561
+ webhooksURL = _a.webhooksURL,
13557
13562
  webhooksClientTraceId = _a.webhooksClientTraceId,
13558
13563
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
13559
13564
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -13627,6 +13632,7 @@ var FaceValidation = function FaceValidation(_a) {
13627
13632
  companyId: companyId,
13628
13633
  needImmediateResponse: needImmediateResponse,
13629
13634
  webhooksEnabled: webhooksEnabled,
13635
+ webhooksURL: webhooksURL,
13630
13636
  webhooksClientTraceId: webhooksClientTraceId,
13631
13637
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
13632
13638
  webhooksSendInputImages: webhooksSendInputImages,
@@ -13671,6 +13677,7 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
13671
13677
  cardData = _a.cardData,
13672
13678
  idData = _a.idData,
13673
13679
  webhooksEnabled = _a.webhooksEnabled,
13680
+ webhooksURL = _a.webhooksURL,
13674
13681
  webhooksClientTraceId = _a.webhooksClientTraceId,
13675
13682
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
13676
13683
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -13855,6 +13862,7 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
13855
13862
  cardData: cardData,
13856
13863
  idData: idData,
13857
13864
  webhooksEnabled: webhooksEnabled,
13865
+ webhooksURL: webhooksURL,
13858
13866
  webhooksClientTraceId: webhooksClientTraceId,
13859
13867
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
13860
13868
  webhooksSendInputImages: webhooksSendInputImages,
@@ -13912,6 +13920,7 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
13912
13920
  deduplicationEnabled = _a.deduplicationEnabled,
13913
13921
  deduplicationSynchronous = _a.deduplicationSynchronous,
13914
13922
  webhooksEnabled = _a.webhooksEnabled,
13923
+ webhooksURL = _a.webhooksURL,
13915
13924
  webhooksClientTraceId = _a.webhooksClientTraceId,
13916
13925
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
13917
13926
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -14115,6 +14124,7 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
14115
14124
  deduplicationEnabled: deduplicationEnabled,
14116
14125
  deduplicationSynchronous: deduplicationSynchronous,
14117
14126
  webhooksEnabled: webhooksEnabled,
14127
+ webhooksURL: webhooksURL,
14118
14128
  webhooksClientTraceId: webhooksClientTraceId,
14119
14129
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
14120
14130
  webhooksSendInputImages: webhooksSendInputImages,
@@ -14613,6 +14623,7 @@ var CustomerVerification = function CustomerVerification(_a) {
14613
14623
  companyId = _a.companyId,
14614
14624
  needImmediateResponse = _a.needImmediateResponse,
14615
14625
  webhooksEnabled = _a.webhooksEnabled,
14626
+ webhooksURL = _a.webhooksURL,
14616
14627
  webhooksClientTraceId = _a.webhooksClientTraceId,
14617
14628
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
14618
14629
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -14667,6 +14678,7 @@ var CustomerVerification = function CustomerVerification(_a) {
14667
14678
  enrollmentId: enrollmentId,
14668
14679
  needImmediateResponse: needImmediateResponse,
14669
14680
  webhooksEnabled: webhooksEnabled,
14681
+ webhooksURL: webhooksURL,
14670
14682
  webhooksClientTraceId: webhooksClientTraceId,
14671
14683
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
14672
14684
  webhooksSendInputImages: webhooksSendInputImages,
@@ -15169,6 +15181,7 @@ var CustomerIdentification = function CustomerIdentification(_a) {
15169
15181
  companyId = _a.companyId,
15170
15182
  needImmediateResponse = _a.needImmediateResponse,
15171
15183
  webhooksEnabled = _a.webhooksEnabled,
15184
+ webhooksURL = _a.webhooksURL,
15172
15185
  webhooksClientTraceId = _a.webhooksClientTraceId,
15173
15186
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
15174
15187
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -15222,6 +15235,7 @@ var CustomerIdentification = function CustomerIdentification(_a) {
15222
15235
  companyId: companyId,
15223
15236
  needImmediateResponse: needImmediateResponse,
15224
15237
  webhooksEnabled: webhooksEnabled,
15238
+ webhooksURL: webhooksURL,
15225
15239
  webhooksClientTraceId: webhooksClientTraceId,
15226
15240
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
15227
15241
  webhooksSendInputImages: webhooksSendInputImages,
@@ -15373,6 +15387,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
15373
15387
  cardData = _a.cardData,
15374
15388
  idData = _a.idData,
15375
15389
  webhooksEnabled = _a.webhooksEnabled,
15390
+ webhooksURL = _a.webhooksURL,
15376
15391
  webhooksClientTraceId = _a.webhooksClientTraceId,
15377
15392
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
15378
15393
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -15540,6 +15555,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
15540
15555
  cardData: cardData,
15541
15556
  idData: idData,
15542
15557
  webhooksEnabled: webhooksEnabled,
15558
+ webhooksURL: webhooksURL,
15543
15559
  webhooksClientTraceId: webhooksClientTraceId,
15544
15560
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
15545
15561
  webhooksSendInputImages: webhooksSendInputImages,
@@ -15587,6 +15603,7 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
15587
15603
  deduplicationEnabled = _a.deduplicationEnabled,
15588
15604
  deduplicationSynchronous = _a.deduplicationSynchronous,
15589
15605
  webhooksEnabled = _a.webhooksEnabled,
15606
+ webhooksURL = _a.webhooksURL,
15590
15607
  webhooksClientTraceId = _a.webhooksClientTraceId,
15591
15608
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
15592
15609
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -15702,6 +15719,7 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
15702
15719
  deduplicationEnabled: deduplicationEnabled,
15703
15720
  deduplicationSynchronous: deduplicationSynchronous,
15704
15721
  webhooksEnabled: webhooksEnabled,
15722
+ webhooksURL: webhooksURL,
15705
15723
  webhooksClientTraceId: webhooksClientTraceId,
15706
15724
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
15707
15725
  webhooksSendInputImages: webhooksSendInputImages,