@regulaforensics/vp-frontend-face-components 7.1.1675-rc → 7.1.1677-rc
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 -2
- package/dist/main.iife.js +2 -2
- package/dist/main.js +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
@@ -192,7 +192,7 @@ Here are all the available settings:
|
|
192
192
|
|
193
193
|
| Setting | Info | Data type | Default value | Values | Used in |
|
194
194
|
|:--------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------:|:--------------------------------------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|---------------------------------|
|
195
|
-
| `locale` | Language of the component.
|
195
|
+
| `locale` | Language of the component. The value is determined based on the following priority:<br><br>1. `locale` component attribute takes the highest priority if explicitly set.<br>2. If `locale` is not set, the system checks the `html.lang` attribute.<br>3. If no `html.lang` attribute is available, the system attempts to determine the language from `window.navigator`.<br>4. If none of the above are available, the default value `en` is used. | `string` | `en` | `ru`, `en`, `de`, `pl`, `it`, `hu`, `zh`, `sk`, `uk`, `fr`, `es`, `pt`, `ar`, `nl`, `id`, `vi`, `ko`, `ms`, `ro`, `el`, `tr`, `ja`, `cs`, `th`, `hi`, `bn`, `he`, `fi`, `sv`, `da`, `hr`, `no` | `face-liveness`, `face-capture` |
|
196
196
|
| `url` | Backend URL. | `string` | `https://faceapi.regulaforensics.com/` | any url | `face-liveness` |
|
197
197
|
| `copyright` | Whether to show the Regula copyright footer. | `boolean` | `true` | `true`, `false` | `face-liveness`, `face-capture` |
|
198
198
|
| `cameraId` | Ability to select a camera by defining the camera ID. | `string` | `undefined` | `camera id string value` | `face-liveness`, `face-capture` |
|
@@ -491,7 +491,7 @@ In cases of unsuccessful work, the `data` field will contain the following field
|
|
491
491
|
`face-liveness`<br><br>`face-capture`
|
492
492
|
</td>
|
493
493
|
<td>
|
494
|
-
|
494
|
+
|
495
495
|
```javascript
|
496
496
|
{
|
497
497
|
action: "ELEMENT_VISIBLE",
|