🚀 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
3
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.2.1

28

CHANGELOG.md
# CHANGELOG
## v2.2.1-dev.1
## v2.2.1
### Testing features
### Notices
- Added new properties to allow configuration on faceStabilityCheck
- Improved face validations performance, resulting in faster image captures.
- Improved face stability validation. Now it is easier to capture the image.
- `faceStabilityThreshold` configures how strict the stability check will be.
The minimum value is 0.4 and the maximum value is 0.9.
### Fixes
- `numStableFrames` determines how many frames are used for the stability check.
The minimum value is 2 and the maximum is 5.
- Fixed a bug causing undesired triggers of the `onError` callback when
`userRetryError` was set to `false`.
- A note for `userRetryError` property has been added in [`2.0.1-beta.1`](#v200-beta1) in the breaking changes section.
- `Right-to-left` language localisations now use the proper alignment.
- Fix wrong translation for "Move to the center" message for Portuguese (Brazil).
**Note:** These properties are for testing purposes and will be removed or refactored
in future versions.
### Notices
- Improved Face validations performance.
## v2.2.0

@@ -108,3 +104,3 @@

- New property to let the user handle errors by retrying several times: `userRetryError`.
- New property to let the user handle errors by retrying several times: `userRetryError`. It is enabled by default.

@@ -174,2 +170,4 @@ - New design:

- As the `userRetryError` is set to true by default, the `onError` will not be triggered until the user runs out of tries.
#### Peer dependencies updates

@@ -176,0 +174,0 @@

@@ -254,8 +254,2 @@ declare module '@getyoti/react-face-capture' {

faceSelectionMethod?: FACE_SELECTION_METHOD;
/** Configures how strict the stability check will be.
* The minimum value is 0.4 and the maximum value is 0.9. */
faceStabilityThreshold: number;
/** Determines how many frames are used for the stability check.
* The minimum value is 2 and the maximum is 5. */
numStableFrames: number;
}

@@ -262,0 +256,0 @@

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

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

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

| ------- | ------------------- |
| and_chr | 123 |
| chrome | 124,123,122,121 |
| edge | 123,122 |
| firefox | 125,124,123,122 |
| ios_saf | 17.4,17.3,17.2 |
| safari | 17.4,17.3,17.2,17.1 |
| and_chr | 124 |
| chrome | 125,124,123,122 |
| edge | 125,124 |
| firefox | 126,125,124,123 |
| ios_saf | 17.5,17.4,17.3 |
| safari | 17.5,17.4,17.3,17.2 |

@@ -133,4 +133,2 @@ </browserSupportTable>

| 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`. |
| faceStabilityThreshold | Number | 0.8 | - | Configures how strict the stability check will be. The minimum value is 0.4 and the maximum value is 0.9. |
| numStableFrames | Number | 4 | - | Determines how many frames are used for the stability check. The minimum value is 2 and the maximum is 5. |

@@ -137,0 +135,0 @@ **(\*)**

Name: react
Version: 18.1.0
Version: 18.2.0
License: MIT

@@ -110,3 +110,3 @@ Private: false

Name: @getyoti/react-face-capture
Version: 2.2.1-dev.1
Version: 2.2.1
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