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
@@ -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.76';
214
+ var webSdkVersion = '2.2.77';
215
215
 
216
216
  function getPlatform() {
217
217
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -2117,6 +2117,7 @@
2117
2117
  geolocationRequired = _p === void 0 ? false : _p,
2118
2118
  _q = _a.webhooksEnabled,
2119
2119
  webhooksEnabled = _q === void 0 ? false : _q,
2120
+ webhooksURL = _a.webhooksURL,
2120
2121
  webhooksClientTraceId = _a.webhooksClientTraceId,
2121
2122
  _r = _a.webhooksStripSpecialCharacters,
2122
2123
  webhooksStripSpecialCharacters = _r === void 0 ? true : _r,
@@ -2409,6 +2410,7 @@
2409
2410
  bypassAgeValidation: bypassAgeValidation ? 'Y' : 'N',
2410
2411
  bypassNameMatching: bypassNameMatching ? 'Y' : 'N',
2411
2412
  postDataAPIRequired: webhooksEnabled ? 'Y' : 'N',
2413
+ postDataAPIURL: webhooksURL,
2412
2414
  postDataOnReviewRequired: webhooksFireOnReview ? 'Y' : 'N',
2413
2415
  sendInputImagesInPost: webhooksSendInputImages ? 'Y' : 'N',
2414
2416
  sendProcessedImagesInPost: webhooksSendProcessedImages ? 'Y' : 'N',
@@ -2514,7 +2516,7 @@
2514
2516
  }
2515
2517
  });
2516
2518
  });
2517
- }, [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]);
2519
+ }, [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]);
2518
2520
  var defaultOnSubmit = React.useCallback(function () {
2519
2521
  return __awaiter(void 0, void 0, void 0, function () {
2520
2522
  var submissionResponse_1, payload, host, endpoint, response, statusMessage, submissionResponse_2, e_1, err;
@@ -23192,6 +23194,7 @@
23192
23194
  cardData = _a.cardData,
23193
23195
  idData = _a.idData,
23194
23196
  webhooksEnabled = _a.webhooksEnabled,
23197
+ webhooksURL = _a.webhooksURL,
23195
23198
  webhooksClientTraceId = _a.webhooksClientTraceId,
23196
23199
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
23197
23200
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -23354,6 +23357,7 @@
23354
23357
  cardData: cardData,
23355
23358
  idData: idData,
23356
23359
  webhooksEnabled: webhooksEnabled,
23360
+ webhooksURL: webhooksURL,
23357
23361
  webhooksClientTraceId: webhooksClientTraceId,
23358
23362
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
23359
23363
  webhooksSendInputImages: webhooksSendInputImages,
@@ -23396,6 +23400,7 @@
23396
23400
  companyId = _a.companyId,
23397
23401
  needImmediateResponse = _a.needImmediateResponse,
23398
23402
  webhooksEnabled = _a.webhooksEnabled,
23403
+ webhooksURL = _a.webhooksURL,
23399
23404
  webhooksClientTraceId = _a.webhooksClientTraceId,
23400
23405
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
23401
23406
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -23469,6 +23474,7 @@
23469
23474
  companyId: companyId,
23470
23475
  needImmediateResponse: needImmediateResponse,
23471
23476
  webhooksEnabled: webhooksEnabled,
23477
+ webhooksURL: webhooksURL,
23472
23478
  webhooksClientTraceId: webhooksClientTraceId,
23473
23479
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
23474
23480
  webhooksSendInputImages: webhooksSendInputImages,
@@ -23513,6 +23519,7 @@
23513
23519
  cardData = _a.cardData,
23514
23520
  idData = _a.idData,
23515
23521
  webhooksEnabled = _a.webhooksEnabled,
23522
+ webhooksURL = _a.webhooksURL,
23516
23523
  webhooksClientTraceId = _a.webhooksClientTraceId,
23517
23524
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
23518
23525
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -23697,6 +23704,7 @@
23697
23704
  cardData: cardData,
23698
23705
  idData: idData,
23699
23706
  webhooksEnabled: webhooksEnabled,
23707
+ webhooksURL: webhooksURL,
23700
23708
  webhooksClientTraceId: webhooksClientTraceId,
23701
23709
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
23702
23710
  webhooksSendInputImages: webhooksSendInputImages,
@@ -23754,6 +23762,7 @@
23754
23762
  deduplicationEnabled = _a.deduplicationEnabled,
23755
23763
  deduplicationSynchronous = _a.deduplicationSynchronous,
23756
23764
  webhooksEnabled = _a.webhooksEnabled,
23765
+ webhooksURL = _a.webhooksURL,
23757
23766
  webhooksClientTraceId = _a.webhooksClientTraceId,
23758
23767
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
23759
23768
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -23957,6 +23966,7 @@
23957
23966
  deduplicationEnabled: deduplicationEnabled,
23958
23967
  deduplicationSynchronous: deduplicationSynchronous,
23959
23968
  webhooksEnabled: webhooksEnabled,
23969
+ webhooksURL: webhooksURL,
23960
23970
  webhooksClientTraceId: webhooksClientTraceId,
23961
23971
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
23962
23972
  webhooksSendInputImages: webhooksSendInputImages,
@@ -24455,6 +24465,7 @@
24455
24465
  companyId = _a.companyId,
24456
24466
  needImmediateResponse = _a.needImmediateResponse,
24457
24467
  webhooksEnabled = _a.webhooksEnabled,
24468
+ webhooksURL = _a.webhooksURL,
24458
24469
  webhooksClientTraceId = _a.webhooksClientTraceId,
24459
24470
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
24460
24471
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -24509,6 +24520,7 @@
24509
24520
  enrollmentId: enrollmentId,
24510
24521
  needImmediateResponse: needImmediateResponse,
24511
24522
  webhooksEnabled: webhooksEnabled,
24523
+ webhooksURL: webhooksURL,
24512
24524
  webhooksClientTraceId: webhooksClientTraceId,
24513
24525
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
24514
24526
  webhooksSendInputImages: webhooksSendInputImages,
@@ -25011,6 +25023,7 @@
25011
25023
  companyId = _a.companyId,
25012
25024
  needImmediateResponse = _a.needImmediateResponse,
25013
25025
  webhooksEnabled = _a.webhooksEnabled,
25026
+ webhooksURL = _a.webhooksURL,
25014
25027
  webhooksClientTraceId = _a.webhooksClientTraceId,
25015
25028
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
25016
25029
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -25064,6 +25077,7 @@
25064
25077
  companyId: companyId,
25065
25078
  needImmediateResponse: needImmediateResponse,
25066
25079
  webhooksEnabled: webhooksEnabled,
25080
+ webhooksURL: webhooksURL,
25067
25081
  webhooksClientTraceId: webhooksClientTraceId,
25068
25082
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
25069
25083
  webhooksSendInputImages: webhooksSendInputImages,
@@ -25215,6 +25229,7 @@
25215
25229
  cardData = _a.cardData,
25216
25230
  idData = _a.idData,
25217
25231
  webhooksEnabled = _a.webhooksEnabled,
25232
+ webhooksURL = _a.webhooksURL,
25218
25233
  webhooksClientTraceId = _a.webhooksClientTraceId,
25219
25234
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
25220
25235
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -25382,6 +25397,7 @@
25382
25397
  cardData: cardData,
25383
25398
  idData: idData,
25384
25399
  webhooksEnabled: webhooksEnabled,
25400
+ webhooksURL: webhooksURL,
25385
25401
  webhooksClientTraceId: webhooksClientTraceId,
25386
25402
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
25387
25403
  webhooksSendInputImages: webhooksSendInputImages,
@@ -25429,6 +25445,7 @@
25429
25445
  deduplicationEnabled = _a.deduplicationEnabled,
25430
25446
  deduplicationSynchronous = _a.deduplicationSynchronous,
25431
25447
  webhooksEnabled = _a.webhooksEnabled,
25448
+ webhooksURL = _a.webhooksURL,
25432
25449
  webhooksClientTraceId = _a.webhooksClientTraceId,
25433
25450
  webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
25434
25451
  webhooksSendInputImages = _a.webhooksSendInputImages,
@@ -25544,6 +25561,7 @@
25544
25561
  deduplicationEnabled: deduplicationEnabled,
25545
25562
  deduplicationSynchronous: deduplicationSynchronous,
25546
25563
  webhooksEnabled: webhooksEnabled,
25564
+ webhooksURL: webhooksURL,
25547
25565
  webhooksClientTraceId: webhooksClientTraceId,
25548
25566
  webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
25549
25567
  webhooksSendInputImages: webhooksSendInputImages,