bry-biometric-collector
Advanced tools
Comparing version 2.2.22 to 2.2.23
@@ -1,4 +0,4 @@ | ||
import { bd as e } from "./main_140d65a3_2.2.22.js"; | ||
import { bb as e } from "./main_af3a4af6_2.2.23.js"; | ||
export { | ||
e as default | ||
}; |
@@ -40,4 +40,3 @@ export interface livenessResult { | ||
SHOW_UNCONFORMITIES = 'show_unconformities', | ||
VIDEO_OVERLAY = 'video_overlay', | ||
VIDEO_OVERLAY_TRANSPARENCY= 'video_overlay_transparency', | ||
VIDEO_FILTER = 'video_filter', | ||
SHOW_CONFIG_BUTTON = 'show_config_button', | ||
@@ -47,4 +46,3 @@ SHOW_AUTO_CAPTURE_BUTTON = 'show_auto_capture_button', | ||
LANGUAGE = 'language', | ||
SHOW_JUSTIFICATION_FIELD = 'show_justification_field', | ||
MIN_EYE_TO_EYE_DIST = 'MIN_EYE_TO_EYE_DIST' | ||
SHOW_JUSTIFICATION_FIELD = 'show_justification_field' | ||
} | ||
@@ -107,7 +105,2 @@ | ||
}>; | ||
export type lowQualityFaceEvent = CustomEvent<{ | ||
bodyParts: BodyPart[]; | ||
errorCode: string; | ||
translatedError: string; | ||
}>; | ||
@@ -148,4 +141,3 @@ declare global { | ||
[Props.SHOW_UNCONFORMITIES]: string; | ||
[Props.VIDEO_OVERLAY]: string; | ||
[Props.VIDEO_OVERLAY_TRANSPARENCY]: number; | ||
[Props.VIDEO_FILTER]: string; | ||
[Props.SHOW_CONFIG_BUTTON]: string; | ||
@@ -156,3 +148,2 @@ [Props.SHOW_AUTO_CAPTURE_BUTTON]: string; | ||
[Props.SHOW_JUSTIFICATION_FIELD]: string; | ||
[Props.MIN_EYE_TO_EYE_DIST]: number; | ||
/** | ||
@@ -241,4 +232,3 @@ * Clears fingers and face, to make ready for a new collection. | ||
'document-unconformities-validated': documentUnconformitiesValidated; | ||
'low-quality-face': lowQualityFaceEvent; | ||
} | ||
} |
@@ -1,4 +0,4 @@ | ||
import { bd as e } from "./main_140d65a3_2.2.22.js"; | ||
import { bb as e } from "./main_af3a4af6_2.2.23.js"; | ||
export { | ||
e as default | ||
}; |
@@ -5,3 +5,3 @@ { | ||
"description": "BRy web-collector component for biometric capture.", | ||
"version": "2.2.22", | ||
"version": "2.2.23", | ||
"main": "dist/bry-biometric-collector-main.js", | ||
@@ -8,0 +8,0 @@ "type": "module", |
@@ -194,8 +194,2 @@ # **Web Component Collector** | ||
- **min_eye_to_eye_dist**: The minimum distance between the eyes that should be accepted on face collector. | ||
Default: `0` | ||
Example: `min_eye_to_eye_dist=50` | ||
### **Run-time Configuration** | ||
@@ -241,4 +235,2 @@ | ||
- **$destroy**: Removes the web component from the DOM and triggers all onDestroy handlers, also stops the camera on face collector. | ||
- **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: | ||
@@ -542,8 +534,2 @@ | ||
- **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. | ||
```ts | ||
{detail: {bodyParts[{bodyPart: 'FACE', minEyeToEyeDist: number, capturedEyeToEyeDist: number}], errorCode: string, translatedError: string}} | ||
``` | ||
- **export-face**: When the user saves their face (by clicking finish), an event of this kind is emitted with their picture like so: | ||
@@ -599,7 +585,3 @@ | ||
> | ||
<img | ||
slot="validating-fingerprint-gif" | ||
src="https://www.w3schools.com/html/programming.gif" | ||
style="height: 100px; width: 100px;" | ||
alt="" /> | ||
<img slot="validating-fingerprint-gif" src="https://www.w3schools.com/html/programming.gif" alt="" /> | ||
</biometric-collector> | ||
@@ -606,0 +588,0 @@ ``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5915709
83450
700
2