@getyoti/react-face-capture
Advanced tools
Comparing version
# 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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
9268361
0.06%9588
0.06%0
-100%1
-50%354
-0.56%