idmission-web-sdk 1.0.158 → 1.0.159

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.159';
52
52
 
53
53
  function getPlatform() {
54
54
  if (typeof window === 'undefined') return;
@@ -10609,6 +10609,10 @@ var IdCaptureGuideOverlay = function IdCaptureGuideOverlay(_a) {
10609
10609
  function onImageLoaded(e) {
10610
10610
  guideOrientationOnImageLoaded(e);
10611
10611
  var img = e.target;
10612
+ console.log('first load', {
10613
+ width: img.naturalWidth,
10614
+ height: img.naturalHeight
10615
+ });
10612
10616
  dispatch({
10613
10617
  type: 'guideImageLoaded',
10614
10618
  payload: {
@@ -10616,6 +10620,12 @@ var IdCaptureGuideOverlay = function IdCaptureGuideOverlay(_a) {
10616
10620
  height: img.naturalHeight
10617
10621
  }
10618
10622
  });
10623
+ setTimeout(function () {
10624
+ console.log('10ms later', {
10625
+ width: img.naturalWidth,
10626
+ height: img.naturalHeight
10627
+ });
10628
+ }, 10);
10619
10629
  }
10620
10630
  var theme = styled.useTheme();
10621
10631
  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;