@latticexyz/abi-ts
Advanced tools
Changelog
Version 2.0.0-next.10
refactor(world): expose library for WorldContextConsumer (#1624) (@latticexyz/world-modules, @latticexyz/world)
We now expose a WorldContextConsumerLib
library with the same functionality as the WorldContextConsumer
contract, but the ability to be used inside of internal libraries.
We also renamed the WorldContextProvider
library to WorldContextProviderLib
for consistency.
docs: changeset for indexer/store sync table IDs param (#1662) (@latticexyz/store-indexer, @latticexyz/store-sync)
Added a tableIds
parameter to store sync methods and indexer to allow filtering data streams by table IDs. Store sync methods automatically include all internal table IDs from Store and World.
import { syncToRecs } from "@latticexyz/store-sync/recs";
import { resourceIdToHex } from "@latticexyz/common";
syncToRecs({
...
tableIds: [resourceIdToHex(...)],
});
import { createIndexerClient } from "@latticexyz/store-sync/trpc-indexer";
import { resourceIdToHex } from "@latticexyz/common";
const client = createIndexerClient({ ... });
client.findAll({
...
tableIds: [resourceIdToHex(...)],
});
feat(world): return world address from WorldFactory (#1675) (@latticexyz/world)
Return address of the newly created World from WorldFactory.deployWorld
.
fix(cli): fix table IDs for module install (#1663) (@latticexyz/cli)
Fix table IDs for module install step of deploy
fix(cli): register namespace with namespaceId (#1619) (@latticexyz/cli)
We fixed a bug in the deploy script that would cause the deployment to fail if a non-root namespace was used in the config.