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 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