bry-biometric-collector 3.3.0-RC06 → 3.3.0-RC08
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 +37 -1
- package/dist/CaptureBar_4b9ad872_3.3.0-RC08.js +847 -0
- package/dist/{DocumentCollector_ec54949a_3.3.0-RC06.js → DocumentCollector_a923befb_3.3.0-RC08.js} +110 -109
- package/dist/FaceCollector_28b0cb2f_3.3.0-RC08.js +2260 -0
- package/dist/FaceOval_ff5ff03f_3.3.0-RC08.js +212 -0
- package/dist/StreamCollector_a93fe7be_3.3.0-RC08.js +349 -0
- package/dist/ValidationAlert_7af02ba2_3.3.0-RC08.js +974 -0
- package/dist/{___vite-browser-external_commonjs-proxy_ed53a62c_3.3.0-RC06.js → ___vite-browser-external_commonjs-proxy_91447072_3.3.0-RC08.js} +1 -1
- package/dist/bry-biometric-collector-main.js +2 -2
- package/dist/{en-us_e83efd5d_3.3.0-RC06.js → en-us_c02e99cd_3.3.0-RC08.js} +3 -2
- package/dist/{es-cl_5939150a_3.3.0-RC06.js → es-cl_6f3eda53_3.3.0-RC08.js} +3 -2
- package/dist/{fingersApi_e3b0a904_3.3.0-RC06.js → fingersApi_b51da3fa_3.3.0-RC08.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/{index_10ec837c_3.3.0-RC06.js → index_494f9d08_3.3.0-RC08.js} +3 -3
- package/dist/{index_2611392a_3.3.0-RC06.js → index_8edd0e4d_3.3.0-RC08.js} +3 -3
- package/dist/{main_1dfbf19c_3.3.0-RC06.js → main_e5443c19_3.3.0-RC08.js} +6260 -6109
- package/dist/{pt-br_fae15356_3.3.0-RC06.js → pt-br_e7d46668_3.3.0-RC08.js} +9 -8
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/FaceCollector_d7b7f7c7_3.3.0-RC06.js +0 -2390
- package/dist/ValidationAlert_ac046013_3.3.0-RC06.js +0 -1657
- /package/dist/{face_api_0e3ce8c8_3.3.0-RC06.js → face_api_0e3ce8c8_3.3.0-RC08.js} +0 -0
- /package/dist/{index-idlf-detector_39cfdffa_3.3.0-RC06.js → index-idlf-detector_39cfdffa_3.3.0-RC08.js} +0 -0
- /package/dist/{index-idlf-detector_a819b3c8_3.3.0-RC06.js → index-idlf-detector_a819b3c8_3.3.0-RC08.js} +0 -0
package/README.md
CHANGED
|
@@ -112,7 +112,7 @@ Currently supported tag parameters:
|
|
|
112
112
|
Example: `video_dimensions="800x500"`
|
|
113
113
|
|
|
114
114
|
- **collector_select**: The collectors that should be rendered. Possible values are `"BOTH", "FINGERS",
|
|
115
|
-
"FACE", "DOCUMENT"`. When using only one, the tabs are hidden.
|
|
115
|
+
"FACE", "DOCUMENT", "STREAM"`. When using only one, the tabs are hidden.
|
|
116
116
|
|
|
117
117
|
Default: `"BOTH"`
|
|
118
118
|
|
|
@@ -626,6 +626,42 @@ The web component listens to and emits a few events. The events emitted are:
|
|
|
626
626
|
{detail: {stream: MediaStream}
|
|
627
627
|
```
|
|
628
628
|
|
|
629
|
+
- **brycc-face-initialized**: When the IDRnd widget is initialized and ready for face capture operations.
|
|
630
|
+
|
|
631
|
+
- **stream-ready**: When the face capture stream is ready for biometric capture. This event is fired when the camera opens successfully. The event payload has the structure:
|
|
632
|
+
|
|
633
|
+
```ts
|
|
634
|
+
{detail: {message: string}}
|
|
635
|
+
```
|
|
636
|
+
|
|
637
|
+
- **stream-error**: When an error occurs in the face capture stream. This event is fired when camera fails to open or other stream errors occur. The event payload has the structure:
|
|
638
|
+
|
|
639
|
+
```ts
|
|
640
|
+
{detail: {message: string, error: Event}}
|
|
641
|
+
```
|
|
642
|
+
|
|
643
|
+
- **stream-lost-focus**: When the stream is closed due to window losing focus. This event is fired when the browser window or tab loses focus and the camera stream is automatically closed. The event payload has the structure:
|
|
644
|
+
|
|
645
|
+
```ts
|
|
646
|
+
{detail: {message: string}}
|
|
647
|
+
```
|
|
648
|
+
|
|
649
|
+
- **stream-auto-reopened**: When the camera stream is automatically reopened after regaining focus. This event is fired when the window regains focus and the camera stream is automatically restarted. The event payload has the structure:
|
|
650
|
+
|
|
651
|
+
```ts
|
|
652
|
+
{detail: {message: string}}
|
|
653
|
+
```
|
|
654
|
+
|
|
655
|
+
- **stream-capture**: When a face capture is completed in the stream collector. This event can be fired with either success or error status. The event payload has the structure:
|
|
656
|
+
|
|
657
|
+
```ts
|
|
658
|
+
// On success:
|
|
659
|
+
{detail: {image: string, blob: string, status: 'success'}}
|
|
660
|
+
|
|
661
|
+
// On error:
|
|
662
|
+
{detail: {errorCode: string, translatedError: string, status: 'error'}}
|
|
663
|
+
```
|
|
664
|
+
|
|
629
665
|
- **face-scrapped**: When the user scraps their face (by clicking capture again after having saved their picture) this event gets emitted without any data.
|
|
630
666
|
|
|
631
667
|
- **face-unconformities-validated**: When the photo is captured and after evaluating it, an event of this kind is emitted with their picture like so:
|