idmission-web-sdk 2.1.95 → 2.1.97

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.
@@ -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.95';
237
+ var webSdkVersion = '2.1.97';
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 face ? n + 1 : 0;
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 face ? n + 1 : 0;
14387
+ setNumFramesWithoutFaces(face ? 0 : function (n) {
14388
+ return n + 1;
14389
14389
  });
14390
14390
  }, [selfieModelError]), 16));
14391
14391
  React.useEffect(function () {
@@ -15007,7 +15007,7 @@ function CompositeWizard(_a) {
15007
15007
  case SubmissionStatus.FAILED:
15008
15008
  return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null, "Submission failed!");
15009
15009
  default:
15010
- return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null, "Complete!!");
15010
+ return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null);
15011
15011
  }
15012
15012
  }
15013
15013
  switch (checks[checkIndex]) {