🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@getyoti/react-face-capture

Package Overview
Dependencies
Maintainers
0
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@getyoti/react-face-capture - npm Package Compare versions

Comparing version

to
2.3.0

18

CHANGELOG.md
# CHANGELOG
## v2.3.0
### Notices
- Localisation has been thoroughly revised. All languages have been updated to improve correctness and punctuation.
- Reduce the number of retries to 3 for some errors so that the onError is triggered earlier.
### New features
- Add new property `numStableFrames` to determine how many frames are used for the stability check.
The minimum value is 3 and the maximum is 6.
- Implemented localisation language:
- `hr-HR`: Croatian
### Fixes
- Fix text position and margin on initial guidance for large languages.
## v2.2.1

@@ -4,0 +22,0 @@

@@ -119,2 +119,4 @@ declare module '@getyoti/react-face-capture' {

HI_IN = 'hi-IN',
HR = 'hr',
HR_HR = 'hr-HR',
HU = 'hu',

@@ -255,2 +257,5 @@ HU_HU = 'hu-HU',

faceSelectionMethod?: FACE_SELECTION_METHOD;
/** Determines how many frames are used for the stability check.
* The minimum value is 3 and the maximum is 6. */
numStableFrames: number;
}

@@ -257,0 +262,0 @@

2

package.json
{
"name": "@getyoti/react-face-capture",
"version": "2.2.1",
"version": "2.3.0",
"description": "Face capture module to collect picture and data for Yoti AI API",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -27,6 +27,6 @@ # Yoti Face Capture integration

| ------- | ------------------- |
| and_chr | 124 |
| chrome | 125,124,123,122 |
| edge | 125,124 |
| firefox | 126,125,124,123 |
| and_chr | 127 |
| chrome | 127,126,125,124 |
| edge | 127,126 |
| firefox | 129,128,127,126 |
| ios_saf | 17.5,17.4,17.3 |

@@ -87,3 +87,3 @@ | safari | 17.5,17.4,17.3,17.2 |

- `--fcm-primary-button-text-color` changes the text color in primary buttons (Take picture, Try again, ... ).
- `--fcm-secondary-button-background-color` changes the background color in primary buttons (Get help).
- `--fcm-secondary-button-background-color` changes the background color in secondary buttons (Get help).
- `--fcm-secondary-button-text-color` changes the text color in secondary buttons (Get help).

@@ -134,2 +134,3 @@ - `--fcm-secondary-button-text-color-hover` changes the text color in secondary buttons (Get help) when the button is hovered.

| faceSelectionMethod | String `center/area` | `center` | - | Defines where the main face can be placed, in the center or anywhere in the image. Note: This feature is designed for retail terminals and unsuitable for online user's face capture. It is recommend to enable `allowBackgroundFaces` when `faceSelectionMethod` is set to `area`. |
| numStableFrames | Number | 4 | - | Determines how many frames are used for the stability check. The minimum value is 3 and the maximum is 6. |

@@ -158,2 +159,3 @@ **(\*)**

- `hi-IN`: Hindi
- `hr-HR`: Croatian
- `hu-HU`: Hungarian

@@ -358,1 +360,5 @@ - `hy-AM`: Armenian

application.
### iOS distorted layout
We are aware of a rare display issue on iOS devices which can make the video element appear distorted. This issue is not related to the FCM but is an open issue regarding iOS video elements. Refreshing or reloading will resolve this, and it should not happen often.

@@ -110,3 +110,3 @@ Name: react

Name: @getyoti/react-face-capture
Version: 2.2.1
Version: 2.3.0
License: Yoti Face Capture Licence

@@ -113,0 +113,0 @@ Private: false

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet