Problem
deserializeVoidResponse was changed from:
status === 0 && data.length === 0
to:
status === 0
This applies to all void commands, not just SendMessages.
Why this is critical
This removes a useful protocol safety check.
Malformed or unexpected payloads for void commands are now silently accepted.
Where
foreign/node/src/client/client.utils.ts
Expected
Keep strict empty-payload validation for true void commands.
Handle SendMessages with a dedicated response deserializer instead of weakening global void validation.
Problem
deserializeVoidResponsewas changed from:status === 0 && data.length === 0to:
status === 0This applies to all void commands, not just
SendMessages.Why this is critical
This removes a useful protocol safety check.
Malformed or unexpected payloads for void commands are now silently accepted.
Where
foreign/node/src/client/client.utils.tsExpected
Keep strict empty-payload validation for true void commands.
Handle
SendMessageswith a dedicated response deserializer instead of weakening global void validation.