@regulaforensics/vp-frontend-face-components 3.1.0 → 6.2.1304-nightly
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 +16 -14
- package/dist/main.js +1 -1
- package/lib/index.d.ts +3 -1
- package/package.json +3 -3
package/lib/index.d.ts
CHANGED
|
@@ -91,7 +91,8 @@ type ErrorTypes =
|
|
|
91
91
|
| 'TIMEOUT_ERROR'
|
|
92
92
|
| 'CHANGE_CAMERA'
|
|
93
93
|
| 'DEVICE_ROTATE'
|
|
94
|
-
| 'APP_INACTIVE'
|
|
94
|
+
| 'APP_INACTIVE'
|
|
95
|
+
| 'HTTP_NOT_SUPPORTED';
|
|
95
96
|
|
|
96
97
|
type FaceEventActions =
|
|
97
98
|
| 'ELEMENT_VISIBLE'
|
|
@@ -217,6 +218,7 @@ interface FaceLivenessSettings extends Omit<FaceDetectionSettings, 'holdStillDur
|
|
|
217
218
|
tag?: string;
|
|
218
219
|
headers?: Record<string, string>;
|
|
219
220
|
retryCount?: number;
|
|
221
|
+
metadata?: Record<string, any>;
|
|
220
222
|
recordingProcess?: RecordingProcess;
|
|
221
223
|
livenessType?: FaceLivenessType;
|
|
222
224
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/vp-frontend-face-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.2.1304-nightly",
|
|
4
4
|
"description": "Regula framework agnostic web components to work with webcamera",
|
|
5
5
|
"types": "lib/index.d.ts",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"homepage": "https://storybook-face.regulaforensics.com/",
|
|
14
14
|
"scripts": {
|
|
15
|
-
"build": "webpack --config webpack-umd.js",
|
|
15
|
+
"build": "npm run test && webpack --config webpack-umd.js",
|
|
16
16
|
"test": "jest --testPathPattern=src/tests"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@regulaforensics/facesdk-webclient": "^
|
|
19
|
+
"@regulaforensics/facesdk-webclient": "^6.1.1-beta.5",
|
|
20
20
|
"zustand": "^4.3.7"
|
|
21
21
|
}
|
|
22
22
|
}
|