idmission-web-sdk 2.3.30 → 2.3.31

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.
@@ -235,7 +235,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
235
235
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
236
236
  };
237
237
 
238
- var webSdkVersion = '2.3.30';
238
+ var webSdkVersion = '2.3.31';
239
239
 
240
240
  function getPlatform() {
241
241
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -8492,7 +8492,7 @@ var IdCaptureGuideOverlay = function IdCaptureGuideOverlay(_a) {
8492
8492
  var imageWidth = state.guideRectWidth - paddingForMathMax * 2;
8493
8493
  var imageHeight = state.guideRectHeight - paddingForMathMax * 2;
8494
8494
  var centerRegionMinWidth = imageAspectRatio >= wrapperAspectRatio ? wrapperWidth - paddingAndBorderPx : undefined;
8495
- var cardAspectRatio = imageAspectRatio > 1 ? '16/10' : '10/16';
8495
+ var cardAspectRatio = imageAspectRatio > 1 ? '1.6' : '0.625';
8496
8496
  var onImageLoaded = React.useCallback(function (e) {
8497
8497
  var _a, _b;
8498
8498
  guideOrientationOnImageLoaded(e);