v4.0.0
subscribe
only callsonData
if the return value changed compared to last time.subscribe
body
is now required to return aJSONValue
. This might introduce new TypeScript type errors.- Simplify JSON types a bit (we used to allow objects with a
toJSON
method).