uqudosdk-web 3.6.0 → 3.6.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 +10 -3
- package/index.d.ts +4 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
|
+
## 3.6.1
|
|
2
|
+
|
|
3
|
+
- Enhanced SDK initialization to ensure that any resources from a previous SDK instance, such as the camera stream, are properly released. Additionally, a new method, `dispose()`, has been added to the `UqudoSdk` class, allowing you to forcibly release any resources related to the SDK.
|
|
4
|
+
- Added support for a new document type: UAE_PASSPORT_DIGITAL, representing the digital version of the UAE passport. To accept this type, configure it as a separate document in your Enrollment Builder Configuration. For manual upload, we support the original 6-page PDF version and automatically extract the document from the third page.
|
|
5
|
+
|
|
1
6
|
## 3.6.0
|
|
7
|
+
|
|
2
8
|
- Introduced support for Qatar Vehicle License.
|
|
3
9
|
- Enhanced the facial recognition step to provide a smoother experience for end users.
|
|
4
10
|
- Fixed an issue where the selfie output in facial recognition appeared squeezed on some devices.
|
|
5
|
-
- Introduced support for the Analytics functionality. For more details, visit https://docs.uqudo.com/docs/kyc/uqudo-sdk/integration/web/analytics
|
|
11
|
+
- Introduced support for the Analytics functionality. For more details, visit <https://docs.uqudo.com/docs/kyc/uqudo-sdk/integration/web/analytics>.
|
|
6
12
|
|
|
7
13
|
## 3.5.0
|
|
8
|
-
|
|
14
|
+
|
|
15
|
+
- Updated the facial recognition layout for desktop to address the issue on Windows where the default zoom is set to 150%. We've added and updated some styles: for a complete list, please refer to the style configuration documentation <https://docs.uqudo.com/docs/kyc/uqudo-sdk/integration/web/ui-customisation/styles-configuration>.
|
|
9
16
|
- Enhanced the facial recognition layout for mobile and tablet. Fixed the oval's position, which sometimes misled users into placing their faces incorrectly.
|
|
10
17
|
- Changed the image format to JPEG for the document photo-taking step.
|
|
11
|
-
- Added virtual camera detection. If a virtual camera is detected, the SDK terminates the session with the error code MEDIA_VIRTUAL_CAMERA_DETECTED. For more details, see the operation error documentation https://docs.uqudo.com/docs/kyc/uqudo-sdk/integration/web/operation-error
|
|
18
|
+
- Added virtual camera detection. If a virtual camera is detected, the SDK terminates the session with the error code MEDIA_VIRTUAL_CAMERA_DETECTED. For more details, see the operation error documentation <https://docs.uqudo.com/docs/kyc/uqudo-sdk/integration/web/operation-error>.
|
|
12
19
|
|
|
13
20
|
## 3.4.2
|
|
14
21
|
|
package/index.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export declare class UqudoSdk {
|
|
|
23
23
|
faceSession(
|
|
24
24
|
configProcess: IFaceSessionConfig
|
|
25
25
|
): Promise<ReturnFaceSessionType>;
|
|
26
|
+
dispose(): Promise<void>;
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
declare class UqudoSdkFactory {
|
|
@@ -116,6 +117,7 @@ export enum DocumentType {
|
|
|
116
117
|
MRZ = "MRZ",
|
|
117
118
|
UAE_ID_DIGITAL = "UAE_ID_DIGITAL",
|
|
118
119
|
QAT_VL = "QAT_VL",
|
|
120
|
+
UAE_PASSPORT_DIGITAL = "UAE_PASSPORT_DIGITAL",
|
|
119
121
|
}
|
|
120
122
|
|
|
121
123
|
export enum BackgroundCheckType {
|
|
@@ -223,7 +225,7 @@ export type IObservableFunctionsType<R = IResultInfo, E = OperationError> = {
|
|
|
223
225
|
onSuccess?: (result: R) => void;
|
|
224
226
|
onError?: (error: E) => void;
|
|
225
227
|
onFinally?: () => void;
|
|
226
|
-
onTrace?:
|
|
228
|
+
onTrace?: (trace: ITrace) => void;
|
|
227
229
|
};
|
|
228
230
|
|
|
229
231
|
export type IResource = {
|
|
@@ -238,6 +240,7 @@ export type IConfigProcess = IResource & {
|
|
|
238
240
|
// ---------- uqudo sdk type --------- //
|
|
239
241
|
|
|
240
242
|
export type IUqudoSdkConfig = IResource & {
|
|
243
|
+
debug?: boolean;
|
|
241
244
|
baseURL?: string;
|
|
242
245
|
accessToken: string;
|
|
243
246
|
nonce?: string;
|