@getyoti/react-face-capture 2.2.0 → 2.2.1
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.
- package/CHANGELOG.md +18 -1
- package/README.md +6 -6
- package/index.js +7 -7
- package/package.json +1 -1
- package/vanilla/index.js +10 -10
- package/vanilla/index.js.LICENSE.txt +2 -2
- package/vanilla/index.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## v2.2.1
|
|
4
|
+
|
|
5
|
+
### Notices
|
|
6
|
+
|
|
7
|
+
- Improved face validations performance, resulting in faster image captures.
|
|
8
|
+
- Improved face stability validation. Now it is easier to capture the image.
|
|
9
|
+
|
|
10
|
+
### Fixes
|
|
11
|
+
|
|
12
|
+
- Fixed a bug causing undesired triggers of the `onError` callback when
|
|
13
|
+
`userRetryError` was set to `false`.
|
|
14
|
+
- A note for `userRetryError` property has been added in [`2.0.1-beta.1`](#v200-beta1) in the breaking changes section.
|
|
15
|
+
- `Right-to-left` language localisations now use the proper alignment.
|
|
16
|
+
- Fix wrong translation for "Move to the center" message for Portuguese (Brazil).
|
|
17
|
+
|
|
3
18
|
## v2.2.0
|
|
4
19
|
|
|
5
20
|
### New features
|
|
@@ -86,7 +101,7 @@ See section [v2.0.0-beta.1](#v200-beta1) with previous changes for version
|
|
|
86
101
|
|
|
87
102
|
- New property to allow auto-reload of the secure session before the session expires: `autoSessionReload`.
|
|
88
103
|
|
|
89
|
-
- New property to let the user handle errors by retrying several times: `userRetryError`.
|
|
104
|
+
- New property to let the user handle errors by retrying several times: `userRetryError`. It is enabled by default.
|
|
90
105
|
|
|
91
106
|
- New design:
|
|
92
107
|
|
|
@@ -151,6 +166,8 @@ See section [v2.0.0-beta.1](#v200-beta1) with previous changes for version
|
|
|
151
166
|
|
|
152
167
|
- The minimum size for the Face Capture in landscape view is 576px.
|
|
153
168
|
|
|
169
|
+
- As the `userRetryError` is set to true by default, the `onError` will not be triggered until the user runs out of tries.
|
|
170
|
+
|
|
154
171
|
#### Peer dependencies updates
|
|
155
172
|
|
|
156
173
|
- Updated `react` dependency version to be at least `16.14.0` and a maximum of `18.2.0`.
|
package/README.md
CHANGED
|
@@ -24,12 +24,12 @@ The package depends on the following peer dependencies
|
|
|
24
24
|
|
|
25
25
|
| Browser | Versions |
|
|
26
26
|
| ------- | ------------------- |
|
|
27
|
-
| and_chr |
|
|
28
|
-
| chrome | 123,122
|
|
29
|
-
| edge |
|
|
30
|
-
| firefox | 124,123
|
|
31
|
-
| ios_saf | 17.
|
|
32
|
-
| safari | 17.4,17.3,17.2
|
|
27
|
+
| and_chr | 124 |
|
|
28
|
+
| chrome | 125,124,123,122 |
|
|
29
|
+
| edge | 125,124 |
|
|
30
|
+
| firefox | 126,125,124,123 |
|
|
31
|
+
| ios_saf | 17.5,17.4,17.3 |
|
|
32
|
+
| safari | 17.5,17.4,17.3,17.2 |
|
|
33
33
|
|
|
34
34
|
</browserSupportTable>
|
|
35
35
|
|