idmission-web-sdk 2.3.42 → 2.3.44

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.
package/dist/sdk2.esm.js CHANGED
@@ -204,7 +204,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
204
204
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
205
205
  };
206
206
 
207
- var webSdkVersion = '2.3.42';
207
+ var webSdkVersion = '2.3.44';
208
208
 
209
209
  function getPlatform() {
210
210
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -8545,7 +8545,8 @@ var IdCaptureGuideOverlay = function IdCaptureGuideOverlay(_a) {
8545
8545
  className: classNames.centerRegionInner,
8546
8546
  style: {
8547
8547
  aspectRatio: imageAspectRatio
8548
- }
8548
+ },
8549
+ id: "sam"
8549
8550
  }, /*#__PURE__*/React__default.createElement(IdCardGuideImageContainer, {
8550
8551
  "$isMobile": isMobile(),
8551
8552
  "$isLandscape": orientation === 'landscape',
@@ -8619,9 +8620,7 @@ var GuideCenterBorder = styled.div(templateObject_7$4 || (templateObject_7$4 = _
8619
8620
  return props.$padding ? "padding: ".concat(props.$padding, "px;") : '';
8620
8621
  });
8621
8622
  var GuideText = styled.span(templateObject_8$3 || (templateObject_8$3 = __makeTemplateObject(["\n align-content: center;\n margin-top: 12px;\n margin-bottom: 12px;\n"], ["\n align-content: center;\n margin-top: 12px;\n margin-bottom: 12px;\n"])));
8622
- var GuideCenterInner = styled.div(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject(["\n position: ", ";\n top: 0;\n margin: auto;\n ", "\n max-height: 100%;\n max-width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n position: ", ";\n top: 0;\n margin: auto;\n ", "\n max-height: 100%;\n max-width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (props) {
8623
- return !props.$isLandscape && props.$imageAspectRatio && props.$imageAspectRatio < 1 ? 'absolute' : 'relative';
8624
- }, function (props) {
8623
+ var GuideCenterInner = styled.div(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject(["\n position: relative;\n top: 0;\n margin: auto;\n ", "\n max-height: 100%;\n max-width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n position: relative;\n top: 0;\n margin: auto;\n ", "\n max-height: 100%;\n max-width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (props) {
8625
8624
  return props.$isLandscape ? 'height: 100%;' : 'width: 90%;';
8626
8625
  });
8627
8626
  var templateObject_1$y, templateObject_2$s, templateObject_3$j, templateObject_4$d, templateObject_5$9, templateObject_6$6, templateObject_7$4, templateObject_8$3, templateObject_9$2;