idmission-web-sdk 1.0.173 → 1.0.174

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.
@@ -48,7 +48,7 @@ var LanguageDetector__default = /*#__PURE__*/_interopDefaultLegacy(LanguageDetec
48
48
  var i18n__default = /*#__PURE__*/_interopDefaultLegacy(i18n);
49
49
  var SignatureCanvas__default = /*#__PURE__*/_interopDefaultLegacy(SignatureCanvas);
50
50
 
51
- var webSdkVersion = '1.0.173';
51
+ var webSdkVersion = '1.0.174';
52
52
 
53
53
  function getPlatform() {
54
54
  if (typeof window === 'undefined') return;
@@ -8938,7 +8938,7 @@ function makePredictions(frame, lastPredictionCanvas, thresholds, logPredictions
8938
8938
  documentTooClose = false;
8939
8939
  if (bestDocumentOrPassport) {
8940
8940
  _s = [bestDocumentOrPassport.bbox[2], bestDocumentOrPassport.bbox[3]], docWidth = _s[0], docHeight = _s[1];
8941
- documentTooClose = docWidth > 0.8 || docHeight > 0.8;
8941
+ documentTooClose = docWidth > 0.85 || docHeight > 0.85;
8942
8942
  }
8943
8943
  focusPrediction = null, focusPredictionTime = 0, focusScore = 0, focusThresholdMet = false;
8944
8944
  if (!(detectionThresholdMet && documentInBounds && !documentTooClose)) return [3 /*break*/, 3];
@@ -14781,7 +14781,7 @@ var defaultTheme = {
14781
14781
  borderWidth: 4,
14782
14782
  desktopPadding: 50,
14783
14783
  mobilePadding: 0,
14784
- imagePadding: 50
14784
+ imagePadding: 25
14785
14785
  }
14786
14786
  },
14787
14787
  selfieCapture: {