idmission-web-sdk 2.2.13 → 2.2.15
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/video_signature_capture/VideoSignatureWizard.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +5 -3
- 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 +5 -3
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +5 -3
- 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 -2
package/dist/sdk2.esm.js
CHANGED
|
@@ -200,7 +200,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
200
200
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
201
201
|
};
|
|
202
202
|
|
|
203
|
-
var webSdkVersion = '2.2.
|
|
203
|
+
var webSdkVersion = '2.2.15';
|
|
204
204
|
|
|
205
205
|
function getPlatform() {
|
|
206
206
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -11580,11 +11580,13 @@ var VideoSignatureWizard = function VideoSignatureWizard(_a) {
|
|
|
11580
11580
|
requestedAction: status === 'success' ? 'CAPTURE_SIGNATURE' : 'VERIFY_LIVENESS'
|
|
11581
11581
|
});
|
|
11582
11582
|
}, [classNames === null || classNames === void 0 ? void 0 : classNames.videoSignatureGuidesClassNames]);
|
|
11583
|
-
var
|
|
11583
|
+
var onExitAfterFailureProp = faceLivenessProps === null || faceLivenessProps === void 0 ? void 0 : faceLivenessProps.onExitAfterFailure;
|
|
11584
|
+
var onExitAfterFailure = useCallback(function (resp, req) {
|
|
11585
|
+
onExitAfterFailureProp === null || onExitAfterFailureProp === void 0 ? void 0 : onExitAfterFailureProp(resp, req);
|
|
11584
11586
|
if (allowSignatureAfterLivenessCheckFailure) {
|
|
11585
11587
|
setCaptureState('CAPTURING_SIGNATURE');
|
|
11586
11588
|
}
|
|
11587
|
-
}, [allowSignatureAfterLivenessCheckFailure]);
|
|
11589
|
+
}, [allowSignatureAfterLivenessCheckFailure, onExitAfterFailureProp]);
|
|
11588
11590
|
return /*#__PURE__*/React__default.createElement(VideoSignatureContextProvider, null, /*#__PURE__*/React__default.createElement(PageContainer, {
|
|
11589
11591
|
className: "flex ".concat((_b = classNames === null || classNames === void 0 ? void 0 : classNames.container) !== null && _b !== void 0 ? _b : '')
|
|
11590
11592
|
}, /*#__PURE__*/React__default.createElement(CameraVideoTag, {
|