idmission-web-sdk 2.2.128 → 2.2.130
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/customer_flows/CustomerBiometricsEnrollment.d.ts +2 -0
- package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts +2 -0
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerIdentification.d.ts +2 -1
- package/dist/components/customer_flows/CustomerIdentification.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerVerification.d.ts +2 -0
- package/dist/components/customer_flows/CustomerVerification.d.ts.map +1 -1
- package/dist/components/customer_flows/DocumentCapture.d.ts +2 -0
- package/dist/components/customer_flows/DocumentCapture.d.ts.map +1 -1
- package/dist/components/customer_flows/FaceValidation.d.ts +2 -0
- package/dist/components/customer_flows/FaceValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts +2 -0
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/IdValidation.d.ts +2 -0
- package/dist/components/customer_flows/IdValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/SignatureKYC.d.ts +2 -0
- package/dist/components/customer_flows/SignatureKYC.d.ts.map +1 -1
- package/dist/components/customer_flows/VideoIdValidation.d.ts +2 -0
- package/dist/components/customer_flows/VideoIdValidation.d.ts.map +1 -1
- package/dist/components/face_liveness/FaceLivenessCapture.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +23 -2
- 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 +23 -2
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +23 -2
- 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
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.
|
|
206
|
+
var webSdkVersion = '2.2.130';
|
|
207
207
|
|
|
208
208
|
function getPlatform() {
|
|
209
209
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -11758,6 +11758,7 @@ var FaceLivenessCapture = function FaceLivenessCapture(_a) {
|
|
|
11758
11758
|
type: 'guidanceUnsatisfied'
|
|
11759
11759
|
});
|
|
11760
11760
|
}, []);
|
|
11761
|
+
var been1s = useTimeout(1000).timedOut;
|
|
11761
11762
|
if (modelError) {
|
|
11762
11763
|
return /*#__PURE__*/React__default.createElement(SelfieCaptureFallback, {
|
|
11763
11764
|
key: state.timesLivenessCheckFailed,
|
|
@@ -11774,7 +11775,7 @@ var FaceLivenessCapture = function FaceLivenessCapture(_a) {
|
|
|
11774
11775
|
}), /*#__PURE__*/React__default.createElement(InvisibleCanvas, {
|
|
11775
11776
|
ref: resizeCanvas
|
|
11776
11777
|
}), /*#__PURE__*/React__default.createElement(SelfieCapture, {
|
|
11777
|
-
shouldCapture: state.requestState === 'CAPTURING',
|
|
11778
|
+
shouldCapture: state.requestState === 'CAPTURING' && been1s,
|
|
11778
11779
|
onFaceDetected: onFaceDetected,
|
|
11779
11780
|
onSelfieCaptureStarted: onSelfieCaptureStarted,
|
|
11780
11781
|
onSelfieCaptured: onSelfieCaptured,
|
|
@@ -15204,6 +15205,7 @@ var IdValidation = function IdValidation(_a) {
|
|
|
15204
15205
|
onComplete = _a.onComplete,
|
|
15205
15206
|
onApproved = _a.onApproved,
|
|
15206
15207
|
onDenied = _a.onDenied,
|
|
15208
|
+
onRequestFailure = _a.onRequestFailure,
|
|
15207
15209
|
onExitCapture = _a.onExitCapture,
|
|
15208
15210
|
onUserCancel = _a.onUserCancel,
|
|
15209
15211
|
onModelError = _a.onModelError,
|
|
@@ -15332,6 +15334,7 @@ var IdValidation = function IdValidation(_a) {
|
|
|
15332
15334
|
onBeforeSubmit: onBeforeSubmit,
|
|
15333
15335
|
onSubmit: onSubmit,
|
|
15334
15336
|
onResponseReceived: onResponseReceived,
|
|
15337
|
+
onRequestFailure: onRequestFailure,
|
|
15335
15338
|
geolocationEnabled: geolocationEnabled,
|
|
15336
15339
|
geolocationRequired: geolocationRequired,
|
|
15337
15340
|
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
@@ -15390,6 +15393,7 @@ var FaceValidation = function FaceValidation(_a) {
|
|
|
15390
15393
|
onComplete = _a.onComplete,
|
|
15391
15394
|
onApproved = _a.onApproved,
|
|
15392
15395
|
onDenied = _a.onDenied,
|
|
15396
|
+
onRequestFailure = _a.onRequestFailure,
|
|
15393
15397
|
onExitCapture = _a.onExitCapture,
|
|
15394
15398
|
onExitAfterFailure = _a.onExitAfterFailure,
|
|
15395
15399
|
onUserCancel = _a.onUserCancel,
|
|
@@ -15455,6 +15459,7 @@ var FaceValidation = function FaceValidation(_a) {
|
|
|
15455
15459
|
onDocumentUploaded: onDocumentUploaded,
|
|
15456
15460
|
onDocumentUploadFailed: onDocumentUploadFailed,
|
|
15457
15461
|
onBeforeLivenessCheck: onBeforeSubmit,
|
|
15462
|
+
onRequestFailure: onRequestFailure,
|
|
15458
15463
|
geolocationEnabled: geolocationEnabled,
|
|
15459
15464
|
geolocationRequired: geolocationRequired,
|
|
15460
15465
|
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks,
|
|
@@ -15551,6 +15556,7 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
15551
15556
|
onComplete = _a.onComplete,
|
|
15552
15557
|
onApproved = _a.onApproved,
|
|
15553
15558
|
onDenied = _a.onDenied,
|
|
15559
|
+
onRequestFailure = _a.onRequestFailure,
|
|
15554
15560
|
onExitCapture = _a.onExitCapture,
|
|
15555
15561
|
onExitAfterFailure = _a.onExitAfterFailure,
|
|
15556
15562
|
onUserCancel = _a.onUserCancel,
|
|
@@ -15702,6 +15708,7 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
15702
15708
|
onBeforeLivenessCheck: onBeforeLivenessCheck,
|
|
15703
15709
|
onSubmit: onSubmit,
|
|
15704
15710
|
onResponseReceived: onResponseReceived,
|
|
15711
|
+
onRequestFailure: onRequestFailure,
|
|
15705
15712
|
geolocationEnabled: geolocationEnabled,
|
|
15706
15713
|
geolocationRequired: geolocationRequired,
|
|
15707
15714
|
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
@@ -15802,6 +15809,7 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
15802
15809
|
onComplete = _a.onComplete,
|
|
15803
15810
|
onEnrolled = _a.onEnrolled,
|
|
15804
15811
|
onDenied = _a.onDenied,
|
|
15812
|
+
onRequestFailure = _a.onRequestFailure,
|
|
15805
15813
|
onExitCapture = _a.onExitCapture,
|
|
15806
15814
|
onExitAfterFailure = _a.onExitAfterFailure,
|
|
15807
15815
|
onUserCancel = _a.onUserCancel,
|
|
@@ -15972,6 +15980,7 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
15972
15980
|
onBeforeSubmit: onBeforeSubmit,
|
|
15973
15981
|
onSubmit: onSubmit,
|
|
15974
15982
|
onResponseReceived: onResponseReceived,
|
|
15983
|
+
onRequestFailure: onRequestFailure,
|
|
15975
15984
|
geolocationEnabled: geolocationEnabled,
|
|
15976
15985
|
geolocationRequired: geolocationRequired,
|
|
15977
15986
|
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
@@ -16487,6 +16496,7 @@ var CustomerVerification = function CustomerVerification(_a) {
|
|
|
16487
16496
|
onComplete = _a.onComplete,
|
|
16488
16497
|
onCustomerMatched = _a.onCustomerMatched,
|
|
16489
16498
|
onCustomerNotMatched = _a.onCustomerNotMatched,
|
|
16499
|
+
onRequestFailure = _a.onRequestFailure,
|
|
16490
16500
|
onExitCapture = _a.onExitCapture,
|
|
16491
16501
|
onExitAfterFailure = _a.onExitAfterFailure,
|
|
16492
16502
|
onUserCancel = _a.onUserCancel,
|
|
@@ -16525,6 +16535,7 @@ var CustomerVerification = function CustomerVerification(_a) {
|
|
|
16525
16535
|
onDocumentUploadFailed: onDocumentUploadFailed,
|
|
16526
16536
|
onBeforeSubmit: onBeforeSubmit,
|
|
16527
16537
|
onSubmit: onSubmit,
|
|
16538
|
+
onRequestFailure: onRequestFailure,
|
|
16528
16539
|
geolocationEnabled: geolocationEnabled,
|
|
16529
16540
|
geolocationRequired: geolocationRequired,
|
|
16530
16541
|
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
@@ -17041,6 +17052,7 @@ var CustomerIdentification = function CustomerIdentification(_a) {
|
|
|
17041
17052
|
onComplete = _a.onComplete,
|
|
17042
17053
|
onCustomerMatched = _a.onCustomerMatched,
|
|
17043
17054
|
onCustomerNotMatched = _a.onCustomerNotMatched,
|
|
17055
|
+
onRequestFailure = _a.onRequestFailure,
|
|
17044
17056
|
onCaptureGuidanceTimeout = _a.onCaptureGuidanceTimeout,
|
|
17045
17057
|
onExitCapture = _a.onExitCapture,
|
|
17046
17058
|
onExitAfterFailure = _a.onExitAfterFailure,
|
|
@@ -17084,6 +17096,7 @@ var CustomerIdentification = function CustomerIdentification(_a) {
|
|
|
17084
17096
|
onDocumentUploadFailed: onDocumentUploadFailed,
|
|
17085
17097
|
onBeforeSubmit: onBeforeSubmit,
|
|
17086
17098
|
onSubmit: onSubmit,
|
|
17099
|
+
onRequestFailure: onRequestFailure,
|
|
17087
17100
|
geolocationEnabled: geolocationEnabled,
|
|
17088
17101
|
geolocationRequired: geolocationRequired,
|
|
17089
17102
|
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
@@ -17131,6 +17144,7 @@ var SignatureKYC = function SignatureKYC(_a) {
|
|
|
17131
17144
|
onBeforeSubmit = _a.onBeforeSubmit,
|
|
17132
17145
|
onSubmit = _a.onSubmit,
|
|
17133
17146
|
onComplete = _a.onComplete,
|
|
17147
|
+
onRequestFailure = _a.onRequestFailure,
|
|
17134
17148
|
onUserCancel = _a.onUserCancel,
|
|
17135
17149
|
onModelError = _a.onModelError,
|
|
17136
17150
|
onCameraAccessDenied = _a.onCameraAccessDenied,
|
|
@@ -17178,6 +17192,7 @@ var SignatureKYC = function SignatureKYC(_a) {
|
|
|
17178
17192
|
onBeforeSubmit: onBeforeSubmit,
|
|
17179
17193
|
onSubmit: onSubmit,
|
|
17180
17194
|
onResponseReceived: onComplete,
|
|
17195
|
+
onRequestFailure: onRequestFailure,
|
|
17181
17196
|
geolocationEnabled: geolocationEnabled,
|
|
17182
17197
|
geolocationRequired: geolocationRequired,
|
|
17183
17198
|
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
@@ -17247,6 +17262,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
17247
17262
|
onSubmit = _a.onSubmit,
|
|
17248
17263
|
onBeforeSubmit = _a.onBeforeSubmit,
|
|
17249
17264
|
onComplete = _a.onComplete,
|
|
17265
|
+
onRequestFailure = _a.onRequestFailure,
|
|
17250
17266
|
onExitCapture = _a.onExitCapture,
|
|
17251
17267
|
onExitAfterFailure = _a.onExitAfterFailure,
|
|
17252
17268
|
onUserCancel = _a.onUserCancel,
|
|
@@ -17417,6 +17433,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
17417
17433
|
onSubmit: onSubmit,
|
|
17418
17434
|
onBeforeSubmit: onBeforeSubmit,
|
|
17419
17435
|
onResponseReceived: onComplete,
|
|
17436
|
+
onRequestFailure: onRequestFailure,
|
|
17420
17437
|
geolocationEnabled: geolocationEnabled,
|
|
17421
17438
|
geolocationRequired: geolocationRequired,
|
|
17422
17439
|
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
@@ -17476,6 +17493,7 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
|
|
|
17476
17493
|
onComplete = _a.onComplete,
|
|
17477
17494
|
onEnrolled = _a.onEnrolled,
|
|
17478
17495
|
onDenied = _a.onDenied,
|
|
17496
|
+
onRequestFailure = _a.onRequestFailure,
|
|
17479
17497
|
onExitCapture = _a.onExitCapture,
|
|
17480
17498
|
onExitAfterFailure = _a.onExitAfterFailure,
|
|
17481
17499
|
onUserCancel = _a.onUserCancel,
|
|
@@ -17584,6 +17602,7 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
|
|
|
17584
17602
|
onBeforeSubmit: onBeforeSubmit,
|
|
17585
17603
|
onSubmit: onSubmit,
|
|
17586
17604
|
onResponseReceived: onResponseReceived,
|
|
17605
|
+
onRequestFailure: onRequestFailure,
|
|
17587
17606
|
geolocationEnabled: geolocationEnabled,
|
|
17588
17607
|
geolocationRequired: geolocationRequired,
|
|
17589
17608
|
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|
|
@@ -17619,6 +17638,7 @@ var DocumentCapture = function DocumentCapture(_a) {
|
|
|
17619
17638
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
17620
17639
|
onDocumentUploadFailed = _a.onDocumentUploadFailed,
|
|
17621
17640
|
onComplete = _a.onComplete,
|
|
17641
|
+
onRequestFailure = _a.onRequestFailure,
|
|
17622
17642
|
onExitCapture = _a.onExitCapture,
|
|
17623
17643
|
onUserCancel = _a.onUserCancel,
|
|
17624
17644
|
onCameraAccessDenied = _a.onCameraAccessDenied,
|
|
@@ -17655,6 +17675,7 @@ var DocumentCapture = function DocumentCapture(_a) {
|
|
|
17655
17675
|
onDocumentUploadProgress: onDocumentUploadProgress,
|
|
17656
17676
|
onDocumentUploaded: onDocumentUploaded,
|
|
17657
17677
|
onDocumentUploadFailed: onDocumentUploadFailed,
|
|
17678
|
+
onRequestFailure: onRequestFailure,
|
|
17658
17679
|
geolocationEnabled: geolocationEnabled,
|
|
17659
17680
|
geolocationRequired: geolocationRequired,
|
|
17660
17681
|
useDocumentServiceForLivenessChecks: useDocumentServiceForLivenessChecks
|