idmission-web-sdk 2.2.129 → 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/face_liveness/FaceLivenessCapture.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +3 -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 +3 -2
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +3 -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
|
@@ -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.
|
|
214
|
+
var webSdkVersion = '2.2.130';
|
|
215
215
|
|
|
216
216
|
function getPlatform() {
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -20882,6 +20882,7 @@
|
|
|
20882
20882
|
type: 'guidanceUnsatisfied'
|
|
20883
20883
|
});
|
|
20884
20884
|
}, []);
|
|
20885
|
+
var been1s = useTimeout(1000).timedOut;
|
|
20885
20886
|
if (modelError) {
|
|
20886
20887
|
return /*#__PURE__*/React.createElement(SelfieCaptureFallback, {
|
|
20887
20888
|
key: state.timesLivenessCheckFailed,
|
|
@@ -20898,7 +20899,7 @@
|
|
|
20898
20899
|
}), /*#__PURE__*/React.createElement(InvisibleCanvas, {
|
|
20899
20900
|
ref: resizeCanvas
|
|
20900
20901
|
}), /*#__PURE__*/React.createElement(SelfieCapture, {
|
|
20901
|
-
shouldCapture: state.requestState === 'CAPTURING',
|
|
20902
|
+
shouldCapture: state.requestState === 'CAPTURING' && been1s,
|
|
20902
20903
|
onFaceDetected: onFaceDetected,
|
|
20903
20904
|
onSelfieCaptureStarted: onSelfieCaptureStarted,
|
|
20904
20905
|
onSelfieCaptured: onSelfieCaptured,
|