youverify-liveness-web 0.1.25 → 0.1.26
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 +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1680 -1621
- package/dist/index.umd.cjs +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -148,6 +148,7 @@ The `onSuccess` and `onFailure` callbacks (if supplied) are passed the following
|
|
|
148
148
|
| `data.livenessClip` | String | Video of user performing liveness check |
|
|
149
149
|
| `data.passed` | Boolean | Indicator on whether liveness check passed or failed |
|
|
150
150
|
| `data.metadata` | Any | Metadata passed in during initialization |
|
|
151
|
+
| `data.error` | Object | Error object containing error key(`eyes_closed`, `image_capture_failed`, `api_error`) and message (only present in failure cases) |
|
|
151
152
|
|
|
152
153
|
## Credits
|
|
153
154
|
|