@aws-amplify/ui-react-liveness 3.4.2 → 3.4.4
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.
|
@@ -145,7 +145,7 @@ function drawStaticOval(canvasEl, videoEl, videoMediaStream) {
|
|
|
145
145
|
const ovalDetails = getStaticLivenessOvalDetails({
|
|
146
146
|
width: width,
|
|
147
147
|
height: height,
|
|
148
|
-
ratioMultiplier: 0.
|
|
148
|
+
ratioMultiplier: 0.5,
|
|
149
149
|
});
|
|
150
150
|
ovalDetails.flippedCenterX = width - ovalDetails.centerX;
|
|
151
151
|
// Compute scaleFactor which is how much our video element is scaled
|
package/dist/esm/version.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -285,7 +285,7 @@ function drawStaticOval(canvasEl, videoEl, videoMediaStream) {
|
|
|
285
285
|
const ovalDetails = getStaticLivenessOvalDetails({
|
|
286
286
|
width: width,
|
|
287
287
|
height: height,
|
|
288
|
-
ratioMultiplier: 0.
|
|
288
|
+
ratioMultiplier: 0.5,
|
|
289
289
|
});
|
|
290
290
|
ovalDetails.flippedCenterX = width - ovalDetails.centerX;
|
|
291
291
|
// Compute scaleFactor which is how much our video element is scaled
|
|
@@ -1055,7 +1055,7 @@ function createRequestStreamGenerator(stream) {
|
|
|
1055
1055
|
};
|
|
1056
1056
|
}
|
|
1057
1057
|
|
|
1058
|
-
const VERSION = '3.4.
|
|
1058
|
+
const VERSION = '3.4.4';
|
|
1059
1059
|
|
|
1060
1060
|
const BASE_USER_AGENT = `ui-react-liveness/${VERSION}`;
|
|
1061
1061
|
const getLivenessUserAgent = () => {
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "3.4.
|
|
1
|
+
export declare const VERSION = "3.4.4";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-react-liveness",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.4",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/esm/index.mjs",
|
|
6
6
|
"exports": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@aws-amplify/ui": "6.10.3",
|
|
52
|
-
"@aws-amplify/ui-react": "6.
|
|
52
|
+
"@aws-amplify/ui-react": "6.12.0",
|
|
53
53
|
"@aws-sdk/client-rekognitionstreaming": "3.828.0",
|
|
54
54
|
"@aws-sdk/util-format-url": "3.609.0",
|
|
55
55
|
"@smithy/eventstream-serde-browser": "^4.0.4",
|