idmission-web-sdk 1.0.159 → 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.159';
51
+ var webSdkVersion = '1.0.160';
52
52
 
53
53
  function getPlatform() {
54
54
  if (typeof window === 'undefined') return;
@@ -10609,21 +10609,13 @@ 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
- });
10616
- dispatch({
10617
- type: 'guideImageLoaded',
10618
- payload: {
10619
- width: img.naturalWidth,
10620
- height: img.naturalHeight
10621
- }
10622
- });
10623
10612
  setTimeout(function () {
10624
- console.log('10ms later', {
10625
- width: img.naturalWidth,
10626
- height: img.naturalHeight
10613
+ dispatch({
10614
+ type: 'guideImageLoaded',
10615
+ payload: {
10616
+ width: img.naturalWidth,
10617
+ height: img.naturalHeight
10618
+ }
10627
10619
  });
10628
10620
  }, 10);
10629
10621
  }