idmission-web-sdk 1.0.125 → 1.0.126

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.125';
50
+ var webSdkVersion = '1.0.126';
51
51
 
52
52
  function getPlatform() {
53
53
  if (typeof window === 'undefined') return;
@@ -10581,7 +10581,7 @@ var CapturedImage = function CapturedImage(_a) {
10581
10581
  function onLoaded(e) {
10582
10582
  if (!bbox || cropped) return;
10583
10583
  setCropped(true);
10584
- setUrl(cropToBoundingBox(e.currentTarget, bbox).toDataURL());
10584
+ setUrl(cropToBoundingBox(e.currentTarget, bbox).toDataURL('image/jpeg', 0.95));
10585
10585
  }
10586
10586
  return /*#__PURE__*/React__default['default'].createElement(StyledImage, {
10587
10587
  alt: alt,