bry-biometric-collector 3.3.0-RC07 → 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.
Files changed (26) hide show
  1. package/README.md +36 -0
  2. package/dist/CaptureBar_4b9ad872_3.3.0-RC08.js +847 -0
  3. package/dist/{DocumentCollector_39a1a662_3.3.0-RC07.js → DocumentCollector_a923befb_3.3.0-RC08.js} +52 -52
  4. package/dist/FaceCollector_28b0cb2f_3.3.0-RC08.js +2260 -0
  5. package/dist/FaceOval_ff5ff03f_3.3.0-RC08.js +212 -0
  6. package/dist/StreamCollector_a93fe7be_3.3.0-RC08.js +349 -0
  7. package/dist/ValidationAlert_7af02ba2_3.3.0-RC08.js +974 -0
  8. package/dist/{___vite-browser-external_commonjs-proxy_d99dffb1_3.3.0-RC07.js → ___vite-browser-external_commonjs-proxy_91447072_3.3.0-RC08.js} +1 -1
  9. package/dist/bry-biometric-collector-main.js +2 -2
  10. package/dist/{fingersApi_0f644f7a_3.3.0-RC07.js → fingersApi_b51da3fa_3.3.0-RC08.js} +2 -2
  11. package/dist/index.js +2 -2
  12. package/dist/{index_b0b3c37a_3.3.0-RC07.js → index_494f9d08_3.3.0-RC08.js} +3 -3
  13. package/dist/{index_8a654b33_3.3.0-RC07.js → index_8edd0e4d_3.3.0-RC08.js} +3 -3
  14. package/dist/{main_866e3050_3.3.0-RC07.js → main_e5443c19_3.3.0-RC08.js} +140 -140
  15. package/dist/style.css +1 -1
  16. package/package.json +1 -1
  17. package/dist/CaptureBar_bbb41c40_3.3.0-RC07.js +0 -893
  18. package/dist/FaceCollector_5e696802_3.3.0-RC07.js +0 -2391
  19. package/dist/StreamCollector_89664342_3.3.0-RC07.js +0 -348
  20. package/dist/ValidationAlert_81eae4eb_3.3.0-RC07.js +0 -847
  21. /package/dist/{en-us_c02e99cd_3.3.0-RC07.js → en-us_c02e99cd_3.3.0-RC08.js} +0 -0
  22. /package/dist/{es-cl_6f3eda53_3.3.0-RC07.js → es-cl_6f3eda53_3.3.0-RC08.js} +0 -0
  23. /package/dist/{face_api_0e3ce8c8_3.3.0-RC07.js → face_api_0e3ce8c8_3.3.0-RC08.js} +0 -0
  24. /package/dist/{index-idlf-detector_39cfdffa_3.3.0-RC07.js → index-idlf-detector_39cfdffa_3.3.0-RC08.js} +0 -0
  25. /package/dist/{index-idlf-detector_a819b3c8_3.3.0-RC07.js → index-idlf-detector_a819b3c8_3.3.0-RC08.js} +0 -0
  26. /package/dist/{pt-br_e7d46668_3.3.0-RC07.js → pt-br_e7d46668_3.3.0-RC08.js} +0 -0
package/README.md CHANGED
@@ -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: