@latticexyz/abi-ts
Advanced tools
Changelog
Version 2.2.8
Release date: Mon Sep 23 2024
feat(store-sync): remove unused generics (#3218) (@latticexyz/common, @latticexyz/store-sync)
Removed unused generics and ensure that we're only passing around the generics we need, when we need them. Hopefully this improves TS performance in MUD projects.
fix(create-mud): add missing three deps, fix types (#3221) (create-mud)
Fixed types in threejs template after dependency bump.
feat(cli): paginate world deploy logs (#3217) (@latticexyz/cli)
When deploying to an existing world, the deployer now paginates with fetchLogs
to find the world deployment.
feat(cli): paginate world deploy logs (#3217) (@latticexyz/block-logs-stream)
fetchLogs
now reduces the max block range for subsequent requests in its loop. For block out of range or response size errors, only the current request's block range is reduced until the request succeeds, then it resets to the max block range.fetchBlockLogs
to find all matching logs of the given block range, grouped by block number, in a single async call.publicClient
type and switched to tree shakable actions.fix(cli): wait for world init before transferring ownership (#3220) (@latticexyz/cli)
If the project is using a custom world, the deployer now waits for the init transaction to be confirmed before transferring ownership of the world.
Changelog
Version 2.2.7
Release date: Fri Sep 20 2024
feat(cli): quieter automine (#3212) (@latticexyz/cli)
Reduced the log noise from enabling/disabling automine on non-Anvil chains.
fix(explorer): better observer decorator types (#3206) (@latticexyz/explorer)
Fixed observer
decorator types so it can be used in more places.
feat(explorer): filterable tables selector (#3203) (@latticexyz/explorer)
Table selector of the Explore tab now has an input for searching/filtering tables by name.
fix(store): better enumValues type (#3211) (@latticexyz/store)
Improved config output type of enumValues
.
refactor: waitForStateChange -> waitForTransaction (#3210) (@latticexyz/explorer)
Renamed optional waitForStateChange
param in observer()
decorator to waitForTransaction
to better align with @latticexyz/store-sync
packages.
const { waitForTransaction } = syncToZustand(...);
-observer({ waitForStateChange: waitForTransaction });
+observer({ waitForTransaction });