Use msgpack for API (#1176)

This commit is contained in:
Micah 2026-02-12 18:37:24 -08:00 • committed by GitHub
parent 4df2d3c5f8
commit 4deda0e155
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 177 additions and 102 deletions

View file

@ -54,6 +54,10 @@ local function trueEquals(a, b): boolean
end
return true
-- For NaN, check if both values are not equal to themselves
elseif a ~= a and b ~= b then
return true
-- For numbers, compare with epsilon of 0.0001 to avoid floating point inequality
elseif typeA == "number" and typeB == "number" then
return fuzzyEq(a, b, 0.0001)