uqudosdk-web 3.2.3 → 3.3.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## 3.3.1
2
+
3
+ - We have introduced a new document type called MRZ. This document type allows you to scan documents with MRZ type TD1 or TD3
4
+ - Resolved a bug that was impacting the facial recognition results on devices with zoom levels exceeding 100%
5
+
6
+ ## 3.3.0
7
+
8
+ - In this latest release, we've revamped the facial recognition step. We've eliminated the nodding step, transforming facial recognition into a straightforward process easy as capturing a selfie. Under the hood, numerous enhancements have been implemented to ensure speed, simplicity, and enhanced accuracy. There are no changes in terms of business logic for your integration process.
9
+ To accomplish the aforementioned outcome, we integrated AI capabilities directly into the Web SDK, resulting in a substantial increase in the SDK's size. To ensure the utmost efficiency with our latest SDK version, it's recommended to follow performance best practices. Enhance performance by reducing imports and incorporating techniques like lazy loading, code splitting, and memoization (specifically for React). To implement these strategies, consult the documentation of the framework you are utilizing.
10
+ - Added support for Lebanon ID and Driving License
11
+
1
12
  ## 3.2.3
2
13
 
3
14
  - Added new document type IND_PAN (Indian PAN Card)
package/index.d.ts CHANGED
@@ -109,12 +109,27 @@ export enum DocumentType {
109
109
  PHL_DL = "PHL_DL",
110
110
  RSL_ID = "RSL_ID",
111
111
  IND_PAN = "IND_PAN",
112
+ LBN_ID = "LBN_ID",
113
+ LBN_DL = "LBN_DL",
114
+ MRZ = "MRZ",
112
115
  }
113
116
 
114
117
  export enum BackgroundCheckType {
115
118
  RDC = "RDC",
116
119
  }
117
120
 
121
+ export enum LivenessDetectionMessageCode {
122
+ OK = "OK",
123
+ MOVE_CLOSER = "MOVE_CLOSER",
124
+ GO_BACK = "GO_BACK",
125
+ LOOK_STRAIGHT = "LOOK_STRAIGHT",
126
+ EYE_CLOSED = "EYE_CLOSED",
127
+ MOVE_TO_CENTER = "MOVE_TO_CENTER",
128
+ NO_PERSON_DETECTED = "NO_PERSON_DETECTED",
129
+ MULTIPLE_PERSON_DETECTED = "MULTIPLE_PERSON_DETECTED",
130
+ ERROR = "ERROR",
131
+ }
132
+
118
133
  // ---------- texts type --------- //
119
134
 
120
135
  export type ITextErrorDisplay = {
@@ -164,7 +179,7 @@ export interface ITextsArg {
164
179
  facialRecognition?: {
165
180
  title?: string;
166
181
  description?: string;
167
- headText?: string;
182
+ livenessDetectionMessages?: Record<LivenessDetectionMessageCode, string>;
168
183
  };
169
184
  scan?: CanBeArray<{
170
185
  titleFrontSide?: string;
@@ -186,7 +201,6 @@ export interface IAssetsArg {
186
201
  logo?: string;
187
202
  logoWhite?: string;
188
203
  turnOverImage?: string;
189
- headObj?: string;
190
204
  closeSessionIcon?: string;
191
205
  addFileIcon?: string;
192
206
  hintIcon?: string;