onfido-sdk-ui 14.35.1 → 14.36.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "onfido-sdk-ui",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.36.0",
|
|
4
4
|
"description": "JavaScript SDK view layer for Onfido identity verification",
|
|
5
5
|
"author": "Onfido Customer Support <support@onfido.com> (https://documentation.onfido.com/sdk/web/)",
|
|
6
6
|
"repository": {
|
|
@@ -47,7 +47,9 @@ export type DocumentModuleConfiguration = {
|
|
|
47
47
|
uploadFallback?: boolean
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export type DocumentModuleInput =
|
|
50
|
+
export type DocumentModuleInput = {
|
|
51
|
+
preferredUserCountry?: string
|
|
52
|
+
}
|
|
51
53
|
|
|
52
54
|
export type DocumentSideOutput = {
|
|
53
55
|
id: string
|
|
@@ -56,9 +58,12 @@ export type DocumentSideOutput = {
|
|
|
56
58
|
|
|
57
59
|
export type Side = 'front' | 'back'
|
|
58
60
|
|
|
59
|
-
export type DocumentIds =
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
export type DocumentIds = {
|
|
62
|
+
front?: DocumentSideOutput,
|
|
63
|
+
back?: DocumentSideOutput,
|
|
64
|
+
front_video?: DocumentSideOutput,
|
|
65
|
+
back_video?: DocumentSideOutput,
|
|
66
|
+
}
|
|
62
67
|
|
|
63
68
|
export type DocumentModuleOutput = {
|
|
64
69
|
type: string
|
|
@@ -77,4 +82,5 @@ export type DocumentFeatureFlags = {
|
|
|
77
82
|
enable_js_camera_doc_capture?: boolean
|
|
78
83
|
max_total_retries?: number
|
|
79
84
|
enable_native_camera_fallback?: boolean
|
|
85
|
+
enable_passport_card?: boolean
|
|
80
86
|
}
|
|
@@ -3,9 +3,11 @@ export type FaceModuleConfiguration = {
|
|
|
3
3
|
useMultipleSelfieCapture?: boolean
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
+
type FaceModuleVariant = 'standard';
|
|
7
|
+
|
|
6
8
|
export type FaceModuleOutput = {
|
|
7
9
|
id: string
|
|
8
|
-
variant:
|
|
10
|
+
variant: FaceModuleVariant
|
|
9
11
|
}
|
|
10
12
|
|
|
11
13
|
export type FaceFeatureFlags = {
|