uqudosdk-web 3.2.2 → 3.3.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/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 3.3.0
2
+
3
+ - 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.
4
+ 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.
5
+ - Added support for Lebanon ID and Driving License
6
+
7
+ ## 3.2.3
8
+
9
+ - Added new document type IND_PAN (Indian PAN Card)
10
+
1
11
  ## 3.2.2
2
12
 
3
13
  - Added new document type PHL_DL for Philippines driving license
package/index.d.ts CHANGED
@@ -108,12 +108,27 @@ export enum DocumentType {
108
108
  BHR_DL = "BHR_DL",
109
109
  PHL_DL = "PHL_DL",
110
110
  RSL_ID = "RSL_ID",
111
+ IND_PAN = "IND_PAN",
112
+ LBN_ID = "LBN_ID",
113
+ LBN_DL = "LBN_DL",
111
114
  }
112
115
 
113
116
  export enum BackgroundCheckType {
114
117
  RDC = "RDC",
115
118
  }
116
119
 
120
+ export enum LivenessDetectionMessageCode {
121
+ OK = "OK",
122
+ MOVE_CLOSER = "MOVE_CLOSER",
123
+ GO_BACK = "GO_BACK",
124
+ LOOK_STRAIGHT = "LOOK_STRAIGHT",
125
+ EYE_CLOSED = "EYE_CLOSED",
126
+ MOVE_TO_CENTER = "MOVE_TO_CENTER",
127
+ NO_PERSON_DETECTED = "NO_PERSON_DETECTED",
128
+ MULTIPLE_PERSON_DETECTED = "MULTIPLE_PERSON_DETECTED",
129
+ ERROR = "ERROR",
130
+ }
131
+
117
132
  // ---------- texts type --------- //
118
133
 
119
134
  export type ITextErrorDisplay = {
@@ -163,7 +178,7 @@ export interface ITextsArg {
163
178
  facialRecognition?: {
164
179
  title?: string;
165
180
  description?: string;
166
- headText?: string;
181
+ livenessDetectionMessages?: Record<LivenessDetectionMessageCode, string>;
167
182
  };
168
183
  scan?: CanBeArray<{
169
184
  titleFrontSide?: string;
@@ -185,7 +200,6 @@ export interface IAssetsArg {
185
200
  logo?: string;
186
201
  logoWhite?: string;
187
202
  turnOverImage?: string;
188
- headObj?: string;
189
203
  closeSessionIcon?: string;
190
204
  addFileIcon?: string;
191
205
  hintIcon?: string;