idmission-web-sdk 2.2.54 → 2.2.55
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/CompositeWizard.d.ts +2 -1
- package/dist/components/CompositeWizard.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts.map +1 -1
- package/dist/components/customer_flows/FaceValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/IdValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/SignatureKYC.d.ts.map +1 -1
- package/dist/components/customer_flows/VideoIdValidation.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +29 -18
- 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 +29 -18
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +29 -18
- 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
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.55';
|
|
207
207
|
|
|
208
208
|
function getPlatform() {
|
|
209
209
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -12813,15 +12813,17 @@ function CompositeWizard(_a) {
|
|
|
12813
12813
|
_o = _a.captureSignatureVideo,
|
|
12814
12814
|
captureSignatureVideo = _o === void 0 ? false : _o,
|
|
12815
12815
|
onCameraAccessDenied = _a.onCameraAccessDenied,
|
|
12816
|
-
onMicrophoneAccessDenied = _a.onMicrophoneAccessDenied
|
|
12817
|
-
|
|
12818
|
-
|
|
12819
|
-
|
|
12820
|
-
|
|
12821
|
-
|
|
12822
|
-
|
|
12823
|
-
|
|
12824
|
-
|
|
12816
|
+
onMicrophoneAccessDenied = _a.onMicrophoneAccessDenied,
|
|
12817
|
+
_p = _a.debugMode,
|
|
12818
|
+
debugMode = _p === void 0 ? false : _p;
|
|
12819
|
+
var _q = useContext(SubmissionContext),
|
|
12820
|
+
submit = _q.submit,
|
|
12821
|
+
submissionStatus = _q.submissionStatus,
|
|
12822
|
+
setSignatureData = _q.setSignatureData,
|
|
12823
|
+
setAdditionalDocuments = _q.setAdditionalDocuments;
|
|
12824
|
+
var _r = useState(0),
|
|
12825
|
+
checkIndex = _r[0],
|
|
12826
|
+
setCheckIndex = _r[1];
|
|
12825
12827
|
var checks = useMemo(function () {
|
|
12826
12828
|
var _a, _b;
|
|
12827
12829
|
var checks = __spreadArray([], userChecks, true);
|
|
@@ -12918,9 +12920,11 @@ function CompositeWizard(_a) {
|
|
|
12918
12920
|
className: "flex"
|
|
12919
12921
|
}, /*#__PURE__*/React__default.createElement(Spinner, null));
|
|
12920
12922
|
case SubmissionStatus.SUBMITTED:
|
|
12921
|
-
return /*#__PURE__*/React__default.createElement(SubmissionSuccess, null);
|
|
12923
|
+
if (debugMode) return /*#__PURE__*/React__default.createElement(SubmissionSuccess, null);
|
|
12924
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
|
|
12922
12925
|
case SubmissionStatus.FAILED:
|
|
12923
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, "Submission failed!");
|
|
12926
|
+
if (debugMode) return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, "Submission failed!");
|
|
12927
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
|
|
12924
12928
|
default:
|
|
12925
12929
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
|
|
12926
12930
|
}
|
|
@@ -13430,7 +13434,8 @@ var IdValidation = function IdValidation(_a) {
|
|
|
13430
13434
|
videoSignatureCaptureProps: videoSignatureCaptureProps,
|
|
13431
13435
|
captureSignature: captureSignature,
|
|
13432
13436
|
captureSignatureVideo: captureSignatureVideo,
|
|
13433
|
-
onCameraAccessDenied: onCameraAccessDenied
|
|
13437
|
+
onCameraAccessDenied: onCameraAccessDenied,
|
|
13438
|
+
debugMode: debugMode
|
|
13434
13439
|
}))));
|
|
13435
13440
|
};
|
|
13436
13441
|
|
|
@@ -13536,7 +13541,8 @@ var FaceValidation = function FaceValidation(_a) {
|
|
|
13536
13541
|
return ['FaceLiveness'];
|
|
13537
13542
|
}, []),
|
|
13538
13543
|
faceLivenessProps: faceLivenessProps,
|
|
13539
|
-
onCameraAccessDenied: onCameraAccessDenied
|
|
13544
|
+
onCameraAccessDenied: onCameraAccessDenied,
|
|
13545
|
+
debugMode: debugMode
|
|
13540
13546
|
}))));
|
|
13541
13547
|
};
|
|
13542
13548
|
|
|
@@ -13769,7 +13775,8 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
13769
13775
|
additionalDocumentCaptureProps: additionalDocumentCaptureProps,
|
|
13770
13776
|
captureSignature: captureSignature,
|
|
13771
13777
|
captureSignatureVideo: captureSignatureVideo,
|
|
13772
|
-
onCameraAccessDenied: onCameraAccessDenied
|
|
13778
|
+
onCameraAccessDenied: onCameraAccessDenied,
|
|
13779
|
+
debugMode: debugMode
|
|
13773
13780
|
}))));
|
|
13774
13781
|
};
|
|
13775
13782
|
|
|
@@ -14024,7 +14031,8 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
14024
14031
|
videoSignatureCaptureProps: videoSignatureCaptureProps,
|
|
14025
14032
|
captureSignature: captureSignature,
|
|
14026
14033
|
captureSignatureVideo: captureSignatureVideo,
|
|
14027
|
-
onCameraAccessDenied: onCameraAccessDenied
|
|
14034
|
+
onCameraAccessDenied: onCameraAccessDenied,
|
|
14035
|
+
debugMode: debugMode
|
|
14028
14036
|
}))));
|
|
14029
14037
|
};
|
|
14030
14038
|
|
|
@@ -15208,6 +15216,7 @@ var SignatureKYC = function SignatureKYC(_a) {
|
|
|
15208
15216
|
geolocationEnabled: geolocationEnabled,
|
|
15209
15217
|
geolocationRequired: geolocationRequired
|
|
15210
15218
|
}, /*#__PURE__*/React__default.createElement(CompositeWizard, {
|
|
15219
|
+
debugMode: debugMode,
|
|
15211
15220
|
checks: useMemo(function () {
|
|
15212
15221
|
return ['VideoSignatureCapture'];
|
|
15213
15222
|
}, []),
|
|
@@ -15449,7 +15458,8 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
15449
15458
|
captureSignature: captureSignature,
|
|
15450
15459
|
captureSignatureVideo: captureSignatureVideo,
|
|
15451
15460
|
onCameraAccessDenied: onCameraAccessDenied,
|
|
15452
|
-
onMicrophoneAccessDenied: onMicrophoneAccessDenied
|
|
15461
|
+
onMicrophoneAccessDenied: onMicrophoneAccessDenied,
|
|
15462
|
+
debugMode: debugMode
|
|
15453
15463
|
}))));
|
|
15454
15464
|
};
|
|
15455
15465
|
|
|
@@ -15606,7 +15616,8 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
|
|
|
15606
15616
|
videoSignatureCaptureProps: videoSignatureCaptureProps,
|
|
15607
15617
|
captureSignature: captureSignature,
|
|
15608
15618
|
captureSignatureVideo: captureSignatureVideo,
|
|
15609
|
-
onCameraAccessDenied: onCameraAccessDenied
|
|
15619
|
+
onCameraAccessDenied: onCameraAccessDenied,
|
|
15620
|
+
debugMode: debugMode
|
|
15610
15621
|
}))));
|
|
15611
15622
|
};
|
|
15612
15623
|
|