@mega-yfue/eufy-sdk / tuya / buildSignPreimage
Function: buildSignPreimage()
ts
function buildSignPreimage(params): string;Build the exact sign preimage from a request param map. Keeps only allowlisted keys with a non-empty value, sorts them ascending, and joins key=value pairs with ||. postData is folded via swapMd5 before joining.
Parameters
params
Readonly<Record<string, string | undefined>>
Returns
string