uqudosdk-web 3.4.2 → 3.5.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,10 @@
1
+ ## 3.5.0
2
+
3
+ - 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.
4
+ - Enhanced the facial recognition layout for mobile and tablet. Fixed the oval's position, which sometimes misled users into placing their faces incorrectly.
5
+ - Changed the image format to JPEG for the document photo-taking step.
6
+ - 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.
7
+
1
8
  ## 3.4.2
2
9
 
3
10
  - Introducing the new document type UAE_ID_DIGITAL aimed at clearly distinguishing between the digital and physical versions. If you want to accept the digital version, it is necessary to treat this as a separate document type in your configuration. It's important to note that starting from this version onwards, selecting the document type UAE_ID while the user provides the digital version will result in rejection. Likewise, selecting UAE_ID_DIGITAL while the user provides the physical version will yield the same outcome.
package/index.d.ts CHANGED
@@ -39,6 +39,7 @@ export enum ErrorCode {
39
39
  MEDIA_NOT_ALLOWED_ERROR = "MEDIA_NOT_ALLOWED_ERROR",
40
40
  MEDIA_NOT_FOUND_ERROR = "MEDIA_NOT_FOUND_ERROR",
41
41
  MEDIA_SECURITY_ERROR = "MEDIA_SECURITY_ERROR",
42
+ MEDIA_VIRTUAL_CAMERA_DETECTED = "MEDIA_VIRTUAL_CAMERA_DETECTED",
42
43
  MEDIA_UNKNOWN_ERROR = "MEDIA_UNKNOWN_ERROR",
43
44
  USER_CANCEL = "USER_CANCEL",
44
45
  INVALID_CONFIG = "INVALID_CONFIG",