v0.22.1
Patch Changes
-
Expose the functional
update(id, current => next)overload on the stateless HTTP client type (HttpModelClient/AbloHttpClient).0.22.0 wired the functional update at runtime on every transport and added the overload to
ModelOperations(WebSocket) andModelClient, but theAblo({ transport: 'http' })client resolves its models toHttpModelClient, whoseupdatetype still declared only theupdate({ id, data })form. So server-side agents — the primary callers — saw a type error onupdate(id, fn)even though it worked. Add the overload to that type.