idmission-web-sdk 2.3.26 → 2.3.27
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 +2 -2
- 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 +2 -2
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +2 -2
- 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.27';
|
|
208
208
|
|
|
209
209
|
function getPlatform() {
|
|
210
210
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -8460,7 +8460,7 @@ var IdCaptureGuideOverlay = function IdCaptureGuideOverlay(_a) {
|
|
|
8460
8460
|
var imageWidth = state.guideRectWidth - paddingForMathMax * 2;
|
|
8461
8461
|
var imageHeight = state.guideRectHeight - paddingForMathMax * 2;
|
|
8462
8462
|
var centerRegionMinWidth = imageAspectRatio >= wrapperAspectRatio ? wrapperWidth - paddingAndBorderPx : undefined;
|
|
8463
|
-
var cardAspectRatio =
|
|
8463
|
+
var cardAspectRatio = imageAspectRatio > 1 ? '16/10' : '10/16';
|
|
8464
8464
|
var onImageLoaded = useCallback(function (e) {
|
|
8465
8465
|
var _a, _b;
|
|
8466
8466
|
guideOrientationOnImageLoaded(e);
|