idmission-web-sdk 2.3.29 → 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.
- package/dist/sdk2.cjs.development.js +4 -3
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +4 -3
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +4 -3
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
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.
|
|
207
|
+
var webSdkVersion = '2.3.31';
|
|
208
208
|
|
|
209
209
|
function getPlatform() {
|
|
210
210
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -7966,7 +7966,8 @@ function IdCardBorder(_a) {
|
|
|
7966
7966
|
return /*#__PURE__*/React__default.createElement(IdCardBorderContainer, _assign({}, props), /*#__PURE__*/React__default.createElement("div", {
|
|
7967
7967
|
ref: ref,
|
|
7968
7968
|
style: {
|
|
7969
|
-
aspectRatio: aspectRatio
|
|
7969
|
+
aspectRatio: aspectRatio,
|
|
7970
|
+
flex: 1
|
|
7970
7971
|
}
|
|
7971
7972
|
}, children), status === 'ready' && !wavesDisabled && ( /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(IdCardBorderSvg, {
|
|
7972
7973
|
width: width,
|
|
@@ -8460,7 +8461,7 @@ var IdCaptureGuideOverlay = function IdCaptureGuideOverlay(_a) {
|
|
|
8460
8461
|
var imageWidth = state.guideRectWidth - paddingForMathMax * 2;
|
|
8461
8462
|
var imageHeight = state.guideRectHeight - paddingForMathMax * 2;
|
|
8462
8463
|
var centerRegionMinWidth = imageAspectRatio >= wrapperAspectRatio ? wrapperWidth - paddingAndBorderPx : undefined;
|
|
8463
|
-
var cardAspectRatio = imageAspectRatio > 1 ? '
|
|
8464
|
+
var cardAspectRatio = imageAspectRatio > 1 ? '1.6' : '0.625';
|
|
8464
8465
|
var onImageLoaded = useCallback(function (e) {
|
|
8465
8466
|
var _a, _b;
|
|
8466
8467
|
guideOrientationOnImageLoaded(e);
|