 Cannot read property 'sigBytes' of undefined
Homebridge shows the following error at startup:

[4/30/2021, 4:20:47 PM] Homebridge v1.3.4 (TuyaPlatform) is running on port 46922.
(node:5719) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'sigBytes' of undefined
    at new init (/usr/local/lib/node_modules/homebridge-tuya-platform/node_modules/crypto-js/hmac.js:53:22)
    at Object.HmacSHA256 (/usr/local/lib/node_modules/homebridge-tuya-platform/node_modules/crypto-js/core.js:781:25)
    at TuyaOpenAPI._getSign (/usr/local/lib/node_modules/homebridge-tuya-platform/lib/tuyaopenapi.js:196:23)
    at TuyaOpenAPI.request (/usr/local/lib/node_modules/homebridge-tuya-platform/lib/tuyaopenapi.js:162:20)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:5719) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:5719) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

What can be the cause?

This is in the configuration file of Homebridge:

        {
            "platform": "TuyaPlatform",
            "name": "TuyaPlatform",
            "options": {
                "username": "myemail@gmail.com",
                "password": "mypasswordatiot",
                "accessid": "myaccessid",
                "accesskey": "myaccesskey",
                "lang": "en",
                "endPoint": "https://openapi.tuyaeu.com"
            },
            "_bridge": {
                "username": "0E:13:79:69:3C:4B",
                "port": 46922
            }
        }


Thanks