@mega-yfue/eufy-sdk 0.6.0-beta.29 → 0.6.0-beta.30
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/dist/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16396,7 +16396,7 @@ function firstTableRows(text2) {
|
|
|
16396
16396
|
const reply = parsed;
|
|
16397
16397
|
if (typeof reply?.mIntRet === "number" && reply.mIntRet !== 0)
|
|
16398
16398
|
return { error: reply.mIntRet };
|
|
16399
|
-
if (reply?.data === "[]")
|
|
16399
|
+
if (reply?.data === "[]" || reply?.data === "")
|
|
16400
16400
|
return { rows: [] };
|
|
16401
16401
|
if (Array.isArray(reply?.data))
|
|
16402
16402
|
return { rows: reply.data };
|