@richard.fadiora/liveness-detection 2.0.1 → 2.0.2
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/README.md +2 -1
- package/dist/index.es.js +1383 -1379
- package/dist/index.umd.js +11 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ When the user clicks the **"Start Challenge"** button:
|
|
|
35
35
|
- `Turn_Head`
|
|
36
36
|
- `Thumbs_Up`
|
|
37
37
|
|
|
38
|
-
- A
|
|
38
|
+
- A timer starts immediately. If you do not pass the **duration** property, it will default to 60 seconds.
|
|
39
39
|
|
|
40
40
|
If the timer expires before completion:
|
|
41
41
|
- The session is terminated
|
|
@@ -93,6 +93,7 @@ onComplete(false)
|
|
|
93
93
|
|------------|----------------------------|----------|-------------|
|
|
94
94
|
| `apiUrl` | `string` | Yes | Backend endpoint used for liveness verification |
|
|
95
95
|
| `onComplete` | `(result: boolean) => void` | Yes | Callback fired after verification completes |
|
|
96
|
+
| `duration` | `int` | No | Used for setting maximum time for the challenges to be completed |
|
|
96
97
|
|
|
97
98
|
---
|
|
98
99
|
|