You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the publish packet using boolean instead of number is more of a semantic issue than an encoding issue (since the current possible values are only 0 or 1).
The Payload Format Indicator should be int8, not byte.
https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901111
Here are a couple relevant places that would likely need to change.
mqtt-packet/constants.js
Line 108 in 1f1bb65
mqtt-packet/types/index.d.ts
Line 72 in 1f1bb65
The text was updated successfully, but these errors were encountered: