idmission-web-sdk 2.1.95 → 2.1.96
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/sdk2.cjs.development.js +5 -5
- 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 -5
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +5 -5
- 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
|
@@ -234,7 +234,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
234
234
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
var webSdkVersion = '2.1.
|
|
237
|
+
var webSdkVersion = '2.1.96';
|
|
238
238
|
|
|
239
239
|
function getPlatform() {
|
|
240
240
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -13542,8 +13542,8 @@ var VideoSignatureCapture = function VideoSignatureCapture(_a) {
|
|
|
13542
13542
|
React.useEffect(function () {
|
|
13543
13543
|
onPredictionMade(function (_a) {
|
|
13544
13544
|
var face = _a.face;
|
|
13545
|
-
setNumFramesWithoutFaces(function (n) {
|
|
13546
|
-
return
|
|
13545
|
+
setNumFramesWithoutFaces(face ? 0 : function (n) {
|
|
13546
|
+
return n + 1;
|
|
13547
13547
|
});
|
|
13548
13548
|
});
|
|
13549
13549
|
}, [onPredictionMade]);
|
|
@@ -14384,8 +14384,8 @@ var IdVideoCapture = function IdVideoCapture(_a) {
|
|
|
14384
14384
|
var face = _a.face;
|
|
14385
14385
|
if (selfieModelError) return;
|
|
14386
14386
|
setFace(face);
|
|
14387
|
-
setNumFramesWithoutFaces(function (n) {
|
|
14388
|
-
return
|
|
14387
|
+
setNumFramesWithoutFaces(face ? 0 : function (n) {
|
|
14388
|
+
return n + 1;
|
|
14389
14389
|
});
|
|
14390
14390
|
}, [selfieModelError]), 16));
|
|
14391
14391
|
React.useEffect(function () {
|