idmission-web-sdk 1.0.130 → 1.0.132

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.
@@ -47,7 +47,7 @@ var LanguageDetector__default = /*#__PURE__*/_interopDefaultLegacy(LanguageDetec
47
47
  var i18n__default = /*#__PURE__*/_interopDefaultLegacy(i18n);
48
48
  var SignatureCanvas__default = /*#__PURE__*/_interopDefaultLegacy(SignatureCanvas);
49
49
 
50
- var webSdkVersion = '1.0.130';
50
+ var webSdkVersion = '1.0.132';
51
51
 
52
52
  function getPlatform() {
53
53
  if (typeof window === 'undefined') return;
@@ -10240,7 +10240,7 @@ var Description$3 = styled__default['default'].p(templateObject_3$b || (template
10240
10240
  var RetryButton = styled__default['default'](LoaderButton)(templateObject_4$7 || (templateObject_4$7 = tslib.__makeTemplateObject(["\n width: 200px;\n margin: 0 auto;\n"], ["\n width: 200px;\n margin: 0 auto;\n"])));
10241
10241
  var templateObject_1$o, templateObject_2$g, templateObject_3$b, templateObject_4$7;
10242
10242
 
10243
- var ContinuityCameraCheckboxContainer = styled__default['default'].div(templateObject_1$n || (templateObject_1$n = tslib.__makeTemplateObject(["\n margin-bottom: 15px;\n"], ["\n margin-bottom: 15px;\n"])));
10243
+ var ContinuityCameraCheckboxContainer = styled__default['default'].div(templateObject_1$n || (templateObject_1$n = tslib.__makeTemplateObject(["\n margin-top: 15px;\n margin-bottom: 15px;\n"], ["\n margin-top: 15px;\n margin-bottom: 15px;\n"])));
10244
10244
  var ContinuityCameraCheckbox = styled__default['default'].input(templateObject_2$f || (templateObject_2$f = tslib.__makeTemplateObject(["\n margin-right: 8px;\n"], ["\n margin-right: 8px;\n"])));
10245
10245
  var IdCaptureLoadingOverlay = function IdCaptureLoadingOverlay(_a) {
10246
10246
  var onDismissed = _a.onDismissed,
@@ -13619,7 +13619,8 @@ var IdVideoCapture = function IdVideoCapture(_a) {
13619
13619
  idModelsWorking = _1.working,
13620
13620
  makeIdPrediction = _1.makePrediction,
13621
13621
  onIdPredictionMade = _1.onPredictionMade,
13622
- setThresholds = _1.setThresholds;
13622
+ setThresholds = _1.setThresholds,
13623
+ bestFrameDetectionScore = _1.bestFrameDetectionScore;
13623
13624
  var onSelfiePredictionMade = React.useContext(HighPerformanceSelfieGuidanceModelsContext).onPredictionMade;
13624
13625
  var _2 = useVideoRecorder(cameraRef.current),
13625
13626
  isRecording = _2.isRecording,
@@ -13812,7 +13813,7 @@ var IdVideoCapture = function IdVideoCapture(_a) {
13812
13813
  scaling: debugScalingDetails,
13813
13814
  flipX: !((_a = cameraRef.current) === null || _a === void 0 ? void 0 : _a.isRearFacing)
13814
13815
  });
13815
- })))))), debugMode && ( /*#__PURE__*/React__default['default'].createElement(DebugStatsPane, null, cameraRef.current ? ( /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, "\u2705 Camera: ", cameraRef.current.label, " (", cameraRef.current.width, "x", cameraRef.current.height, ")")) : '❌ Camera not ready', /*#__PURE__*/React__default['default'].createElement("br", null), isRecording ? '✅ Recording' : '❌ Not recording', /*#__PURE__*/React__default['default'].createElement("br", null), goodFramesThresholdMet ? '✅' : '❌', " Good Frame Count:", ' ', goodIdCardFrontFramesCount, "/", goodIdCardFrontFramesThreshold)));
13816
+ })))))), debugMode && ( /*#__PURE__*/React__default['default'].createElement(DebugStatsPane, null, cameraRef.current ? ( /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, "\u2705 Camera: ", cameraRef.current.label, " (", cameraRef.current.width, "x", cameraRef.current.height, ")")) : '❌ Camera not ready', /*#__PURE__*/React__default['default'].createElement("br", null), isRecording ? '✅ Recording' : '❌ Not recording', /*#__PURE__*/React__default['default'].createElement("br", null), goodFramesThresholdMet ? '✅' : '❌', " Good Frame Count:", ' ', goodIdCardFrontFramesCount, "/", goodIdCardFrontFramesThreshold, /*#__PURE__*/React__default['default'].createElement("br", null), "Best Frame Detection Score: ", bestFrameDetectionScore)));
13816
13817
  };
13817
13818
 
13818
13819
  var IdVideoCaptureSuccess = function IdVideoCaptureSuccess(_a) {