bry-biometric-collector 3.3.0-RC07 → 3.3.0-RC09
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 +42 -0
- package/dist/CaptureBar_1cc7f43c_3.3.0-RC09.js +847 -0
- package/dist/{DocumentCollector_39a1a662_3.3.0-RC07.js → DocumentCollector_7823ce59_3.3.0-RC09.js} +52 -52
- package/dist/FaceCollector_0816a7ab_3.3.0-RC09.js +2260 -0
- package/dist/FaceOval_5296d98c_3.3.0-RC09.js +212 -0
- package/dist/StreamCollector_ce8ceb79_3.3.0-RC09.js +335 -0
- package/dist/ValidationAlert_a0e7de22_3.3.0-RC09.js +974 -0
- package/dist/{___vite-browser-external_commonjs-proxy_d99dffb1_3.3.0-RC07.js → ___vite-browser-external_commonjs-proxy_68c5c4f2_3.3.0-RC09.js} +1 -1
- package/dist/bry-biometric-collector-main.js +2 -2
- package/dist/{fingersApi_0f644f7a_3.3.0-RC07.js → fingersApi_30d9a5ce_3.3.0-RC09.js} +2 -2
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -2
- package/dist/{index_8a654b33_3.3.0-RC07.js → index_8e78a016_3.3.0-RC09.js} +3 -3
- package/dist/{index_b0b3c37a_3.3.0-RC07.js → index_c9f76cd7_3.3.0-RC09.js} +3 -3
- package/dist/{main_866e3050_3.3.0-RC07.js → main_bb8df2d0_3.3.0-RC09.js} +3478 -3469
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/CaptureBar_bbb41c40_3.3.0-RC07.js +0 -893
- package/dist/FaceCollector_5e696802_3.3.0-RC07.js +0 -2391
- package/dist/StreamCollector_89664342_3.3.0-RC07.js +0 -348
- package/dist/ValidationAlert_81eae4eb_3.3.0-RC07.js +0 -847
- /package/dist/{en-us_c02e99cd_3.3.0-RC07.js → en-us_c02e99cd_3.3.0-RC09.js} +0 -0
- /package/dist/{es-cl_6f3eda53_3.3.0-RC07.js → es-cl_6f3eda53_3.3.0-RC09.js} +0 -0
- /package/dist/{face_api_0e3ce8c8_3.3.0-RC07.js → face_api_0e3ce8c8_3.3.0-RC09.js} +0 -0
- /package/dist/{index-idlf-detector_39cfdffa_3.3.0-RC07.js → index-idlf-detector_39cfdffa_3.3.0-RC09.js} +0 -0
- /package/dist/{index-idlf-detector_a819b3c8_3.3.0-RC07.js → index-idlf-detector_a819b3c8_3.3.0-RC09.js} +0 -0
- /package/dist/{pt-br_e7d46668_3.3.0-RC07.js → pt-br_e7d46668_3.3.0-RC09.js} +0 -0
package/README.md
CHANGED
|
@@ -256,6 +256,12 @@ Currently supported tag parameters:
|
|
|
256
256
|
|
|
257
257
|
Example: `face_detection_sensitivity=strict`
|
|
258
258
|
|
|
259
|
+
- **camera_device_id**: Defines the camera device ID to be used for video capture. This allows specifying which camera should be used when multiple cameras are available.
|
|
260
|
+
|
|
261
|
+
Default: `undefined` (uses default camera)
|
|
262
|
+
|
|
263
|
+
Example: `camera_device_id="0"` or `camera_device_id="camera-id-string"`
|
|
264
|
+
|
|
259
265
|
- **liveness_blob_size**: Defines the size that the encrypted liveness blob file should return.
|
|
260
266
|
|
|
261
267
|
Accepted values:
|
|
@@ -626,6 +632,42 @@ The web component listens to and emits a few events. The events emitted are:
|
|
|
626
632
|
{detail: {stream: MediaStream}
|
|
627
633
|
```
|
|
628
634
|
|
|
635
|
+
- **brycc-face-initialized**: When the IDRnd widget is initialized and ready for face capture operations.
|
|
636
|
+
|
|
637
|
+
- **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:
|
|
638
|
+
|
|
639
|
+
```ts
|
|
640
|
+
{detail: {message: string}}
|
|
641
|
+
```
|
|
642
|
+
|
|
643
|
+
- **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:
|
|
644
|
+
|
|
645
|
+
```ts
|
|
646
|
+
{detail: {message: string, error: Event}}
|
|
647
|
+
```
|
|
648
|
+
|
|
649
|
+
- **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:
|
|
650
|
+
|
|
651
|
+
```ts
|
|
652
|
+
{detail: {message: string}}
|
|
653
|
+
```
|
|
654
|
+
|
|
655
|
+
- **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:
|
|
656
|
+
|
|
657
|
+
```ts
|
|
658
|
+
{detail: {message: string}}
|
|
659
|
+
```
|
|
660
|
+
|
|
661
|
+
- **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:
|
|
662
|
+
|
|
663
|
+
```ts
|
|
664
|
+
// On success:
|
|
665
|
+
{detail: {image: string, blob: string, status: 'success'}}
|
|
666
|
+
|
|
667
|
+
// On error:
|
|
668
|
+
{detail: {errorCode: string, translatedError: string, status: 'error'}}
|
|
669
|
+
```
|
|
670
|
+
|
|
629
671
|
- **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
672
|
|
|
631
673
|
- **face-unconformities-validated**: When the photo is captured and after evaluating it, an event of this kind is emitted with their picture like so:
|