From b998ccb407e3e74e6eb40a7465de4512a4625424 Mon Sep 17 00:00:00 2001 From: Kevin Ingersoll Date: Tue, 21 May 2024 12:01:44 -0700 Subject: [PATCH] Create heavy-seas-learn.md --- .changeset/heavy-seas-learn.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .changeset/heavy-seas-learn.md diff --git a/.changeset/heavy-seas-learn.md b/.changeset/heavy-seas-learn.md new file mode 100644 index 0000000000..297de55def --- /dev/null +++ b/.changeset/heavy-seas-learn.md @@ -0,0 +1,13 @@ +--- +"@latticexyz/cli": patch +"@latticexyz/world": patch +--- + +Fixed `resolveTableId` usage within module `args` to allow referencing both namespaced tables (e.g. `resolveTableId("app_Tasks")`) as well as tables by just their name (e.g. `resolveTableId("Tasks")`). Note that using just the table name requires it to be unique among all tables within the config. + +This helper is now exported from `@latticexyz/world` package as intended. The previous, deprecated export has been removed. + +```diff +-import { resolveTableId } from "@latticexyz/config/library"; ++import { resolveTableId } from "@latticexyz/world/internal"; +```