@aws-amplify/ui-react-liveness 3.4.2 → 3.4.3

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.3,
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
@@ -1,3 +1,3 @@
1
- const VERSION = '3.4.2';
1
+ const VERSION = '3.4.3';
2
2
 
3
3
  export { VERSION };
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.3,
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.2';
1058
+ const VERSION = '3.4.3';
1059
1059
 
1060
1060
  const BASE_USER_AGENT = `ui-react-liveness/${VERSION}`;
1061
1061
  const getLivenessUserAgent = () => {
@@ -1 +1 @@
1
- export declare const VERSION = "3.4.2";
1
+ export declare const VERSION = "3.4.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui-react-liveness",
3
- "version": "3.4.2",
3
+ "version": "3.4.3",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.mjs",
6
6
  "exports": {