idmission-web-sdk 1.0.158 → 1.0.160

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.158';
51
+ var webSdkVersion = '1.0.160';
52
52
 
53
53
  function getPlatform() {
54
54
  if (typeof window === 'undefined') return;
@@ -10609,13 +10609,15 @@ var IdCaptureGuideOverlay = function IdCaptureGuideOverlay(_a) {
10609
10609
  function onImageLoaded(e) {
10610
10610
  guideOrientationOnImageLoaded(e);
10611
10611
  var img = e.target;
10612
- dispatch({
10613
- type: 'guideImageLoaded',
10614
- payload: {
10615
- width: img.naturalWidth,
10616
- height: img.naturalHeight
10617
- }
10618
- });
10612
+ setTimeout(function () {
10613
+ dispatch({
10614
+ type: 'guideImageLoaded',
10615
+ payload: {
10616
+ width: img.naturalWidth,
10617
+ height: img.naturalHeight
10618
+ }
10619
+ });
10620
+ }, 10);
10619
10621
  }
10620
10622
  var theme = styled.useTheme();
10621
10623
  if (borderWidth === undefined) borderWidth = (_d = (_c = (_b = theme.idCapture) === null || _b === void 0 ? void 0 : _b.guideBox) === null || _c === void 0 ? void 0 : _c.borderWidth) !== null && _d !== void 0 ? _d : 4;