@regulaforensics/idv-face 3.2.262-nightly → 3.2.265-rc
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 +32 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,35 @@
|
|
|
1
|
-
# Face-
|
|
1
|
+
# Face-IDV Module
|
|
2
2
|
|
|
3
|
+
The **idv-face** module is an npm package plugin designed to work with **FaceSDK** via a Web Component:
|
|
4
|
+
https://www.npmjs.com/package/@regulaforensics/vp-frontend-face-components
|
|
3
5
|
|
|
4
|
-
|
|
6
|
+
It is delivered as part of the **IDV Capturing** solution and has a version synchronized with **idv-capture-web**. Currently, compatibility is guaranteed at the **major.minor** version level.
|
|
7
|
+
|
|
8
|
+
## What the Module Is
|
|
9
|
+
|
|
10
|
+
The module is an **npm package** that **exports a Web Component**, inside which the **Lit** framework (LitJS) is used for rendering and component logic.
|
|
11
|
+
|
|
12
|
+
## FaceSDK Versioning
|
|
13
|
+
|
|
14
|
+
This module declares a **peerDependency** on:
|
|
15
|
+
https://www.npmjs.com/package/@regulaforensics/vp-frontend-face-components
|
|
16
|
+
to ensure compatibility with specific versions of FaceSDK.
|
|
17
|
+
|
|
18
|
+
- If the root project already has a version of `vp-frontend-face-components` installed and it matches the allowed versions in `peerDependencies`, that version will be used.
|
|
19
|
+
- If the installed version does **not** match, then starting from **npm v7+**, npm will automatically install a suitable version.
|
|
20
|
+
- In earlier versions of npm, the application developer must manually install the required compatible version.
|
|
21
|
+
|
|
22
|
+
## How It Works
|
|
23
|
+
|
|
24
|
+
The module receives typed configuration data following the unified interface used by all **idv-capture-web** modules.
|
|
25
|
+
The type definitions for the Face-IDV module configuration are located inside this package.
|
|
26
|
+
|
|
27
|
+
The Web Component then interacts with `vp-frontend-face-components`, which communicates with the **FaceSDK service**.
|
|
28
|
+
|
|
29
|
+
## Module Output
|
|
30
|
+
|
|
31
|
+
The result of execution can be either:
|
|
32
|
+
|
|
33
|
+
- **Data** for submission to the platform, or
|
|
34
|
+
- A typed **BaseError**, which contains detailed information explaining why the module failed.
|
|
5
35
|
|
|
6
|
-
Exports React component which can be used in Idv-capture-web-components and IDV Platform
|
package/package.json
CHANGED