idmission-web-sdk 1.0.387 → 1.0.388

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.
@@ -49,7 +49,7 @@ var LanguageDetector__default = /*#__PURE__*/_interopDefaultLegacy(LanguageDetec
49
49
  var i18n__default = /*#__PURE__*/_interopDefaultLegacy(i18n);
50
50
  var SignatureCanvas__default = /*#__PURE__*/_interopDefaultLegacy(SignatureCanvas);
51
51
 
52
- var webSdkVersion = '1.0.387';
52
+ var webSdkVersion = '1.0.388';
53
53
 
54
54
  function getPlatform() {
55
55
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -3598,19 +3598,10 @@ function IdCaptureModelsProviderInner(_a) {
3598
3598
  }, [bestFrameDetails, detectionTime, documentDetectionModelDownloadProgress, documentDetectionModelReady, focusModelDownloadProgress, focusModelReady, focusPredictionTime, getBestFrame, modelError, onPredictionMade, resetBestFrame, setThresholds, startDocumentDetection, stopDocumentDetection, thresholds]);
3599
3599
  return /*#__PURE__*/React__default['default'].createElement(IdCaptureModelsContext.Provider, {
3600
3600
  value: value
3601
- }, children, /*#__PURE__*/React__default['default'].createElement(InvisibleCanvas, {
3601
+ }, /*#__PURE__*/React__default['default'].createElement(InvisibleCanvas, {
3602
3602
  key: canvasKey,
3603
- ref: bestPredictionCanvas,
3604
- style: {
3605
- display: 'block',
3606
- position: 'fixed',
3607
- top: 0,
3608
- left: 0,
3609
- width: '50dvw',
3610
- height: '50dvh',
3611
- zIndex: 100000
3612
- }
3613
- }));
3603
+ ref: bestPredictionCanvas
3604
+ }), children);
3614
3605
  }
3615
3606
  function IdCaptureModelsProvider(_a) {
3616
3607
  var children = _a.children,