bry-biometric-collector 2.2.21 → 2.2.23
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 -19
- package/dist/DocumentCollector_f0541f51_2.2.23.js +1025 -0
- package/dist/FaceCollector_e8de37d8_2.2.23.js +1887 -0
- package/dist/WaterMark_99037cc5_2.2.23.js +1014 -0
- package/dist/bry-biometric-collector-main.js +1 -1
- package/dist/{en-us_d35c0560_2.2.21.js → en-us_178afe03_2.2.23.js} +21 -27
- package/dist/{es-cl_735652e7_2.2.21.js → es-cl_ff8fb88a_2.2.23.js} +3 -9
- package/dist/{fingersApi_43a2244a_2.2.21.js → fingersApi_ddc728a6_2.2.23.js} +1 -1
- package/dist/index.d.ts +3 -13
- package/dist/index.js +1 -1
- package/dist/{main_255a6ad2_2.2.21.js → main_af3a4af6_2.2.23.js} +4632 -4634
- package/dist/{pt-br_cf90e78b_2.2.21.js → pt-br_feaadca5_2.2.23.js} +10 -16
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/DocumentCollector_2a350a00_2.2.21.js +0 -1017
- package/dist/FaceCollector_06e5c49a_2.2.21.js +0 -2031
- package/dist/TakePictureBtn_dd5c4c91_2.2.21.js +0 -848
- /package/dist/{face_api_0e3ce8c8_2.2.21.js → face_api_0e3ce8c8_2.2.23.js} +0 -0
- /package/dist/{index-no-detector_4b302e78_2.2.21.js → index-no-detector_4b302e78_2.2.23.js} +0 -0
package/README.md
CHANGED
@@ -191,12 +191,6 @@ Currently supported tag parameters:
|
|
191
191
|
|
192
192
|
Example: `show_justification_field=false`
|
193
193
|
|
194
|
-
- **min_eye_to_eye_dist**: The minimum distance between the eyes that should be accepted on face collector.
|
195
|
-
|
196
|
-
Default: `0`
|
197
|
-
|
198
|
-
Example: `min_eye_to_eye_dist=50`
|
199
|
-
|
200
194
|
### **Run-time Configuration**
|
201
195
|
|
202
196
|
#### **Functions**
|
@@ -237,8 +231,6 @@ The Web-component exports a series of functions that the host environment may ca
|
|
237
231
|
|
238
232
|
- **reset**: Completely resets the web component to its startup state. Unlike clear, this function doesn't depend on finger selected state.
|
239
233
|
|
240
|
-
- **$destroy**: Removes the web component from the DOM and triggers all onDestroy handlers, also stops the camera on face collector.
|
241
|
-
|
242
234
|
- **setExportEnableStrategy**: Sets the export buttons enable strategy. The available strategies are subdivied into 3 groups. The CollectedFingersExportEnableStrategy, the BadFingersExportEnableStrategy, and the FaceExportStrategy. The first one defines how the fingers should be captured and how many. The second one fulfills the edge case, when no finger can be captured. The third one affects the behaviour when the face capture is involved. When evaluating wether to turn the export button on or not, first we check the first strategy, and if it doesn't turn on, then evauluate the second strategy, and then the third. The last two strategies will not override the first one to turn the button off, only on. The CollectedFingersExportEnableStrategy accepts the following values:
|
243
235
|
|
244
236
|
- ALWAYS_ON
|
@@ -537,12 +529,6 @@ The web component listens to and emits a few events. The events emitted are:
|
|
537
529
|
* only if liveness_enable=true
|
538
530
|
```
|
539
531
|
|
540
|
-
- **low-quality-face**: When the photo is captured and the distance between the eyes is below the minimum required (min_eye_to_eye_dist), this event is emitted.
|
541
|
-
|
542
|
-
```ts
|
543
|
-
{detail: {bodyParts[{bodyPart: 'FACE', minEyeToEyeDist: number, capturedEyeToEyeDist: number}], errorCode: string, translatedError: string}}
|
544
|
-
```
|
545
|
-
|
546
532
|
- **export-face**: When the user saves their face (by clicking finish), an event of this kind is emitted with their picture like so:
|
547
533
|
|
548
534
|
```ts
|
@@ -593,11 +579,7 @@ Due to the computational power required to find finger matches in the browser, t
|
|
593
579
|
enable_minutiae="true"
|
594
580
|
collector_select="BOTH"
|
595
581
|
>
|
596
|
-
<img
|
597
|
-
slot="validating-fingerprint-gif"
|
598
|
-
src="https://www.w3schools.com/html/programming.gif"
|
599
|
-
style="height: 100px; width: 100px;"
|
600
|
-
alt="" />
|
582
|
+
<img slot="validating-fingerprint-gif" src="https://www.w3schools.com/html/programming.gif" alt="" />
|
601
583
|
</biometric-collector>
|
602
584
|
```
|
603
585
|
|