Client version
1.9.9
Node version
20
Operating System type
Linux
Operating system version
linux
Describe the bug
It looks like when parsing the parameters it can arrive an OBJECT which it is not ideal since the typing is string.
Investigate what it is and maybe handle better than just return it , like in the old version:
error:
{
cause: undefined,
message: 'TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received an instance of Object',
context: undefined,
stacktrace: 'TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received an instance of Object\n at Function.from (node:buffer:319:9)\n at decodeBase64 (/usr/src/app/node_modules/eufy-security-client/build/p2p/utils.js:485:19)\n at ParameterHelper.readValue (/usr/src/app/node_modules/eufy-security-client/build/http/parameter.js:54:122)\n at SoloCamera.updateRawProperty (/usr/src/app/node_modules/eufy-security-client/build/http/device.js:157:57)\n at /usr/src/app/node_modules/eufy-security-client/build/http/device.js:108:18\n at Array.forEach (<anonymous>)\n at SoloCamera.updateRawProperties (/usr/src/app/node_modules/eufy-security-client/build/http/device.js:106:29)\n at /usr/src/app/node_modules/eufy-security-client/build/eufysecurity.js:880:20\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)'
},
'1288':
{
value: '1',
source: 'p2p'
},
'1295':
{
value: [Object],
source: 'p2p'
},
'1400':
{
value: '0',
source: 'p2p'
},
'1401':
To reproduce
- Go to '...'
- Click on '...'
- Scroll down to '....'
- See error
Screenshots & Logfiles
No response
Additional context
No response
Client version
1.9.9
Node version
20
Operating System type
Linux
Operating system version
linux
Describe the bug
It looks like when parsing the parameters it can arrive an OBJECT which it is not ideal since the typing is string.
Investigate what it is and maybe handle better than just return it , like in the old version:
To reproduce
Screenshots & Logfiles
No response
Additional context
No response