Skip to content

Commit

Permalink
Create heavy-seas-learn.md
Browse files Browse the repository at this point in the history
  • Loading branch information
holic authored May 21, 2024
1 parent d5c693d commit b998ccb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .changeset/heavy-seas-learn.md
Original file line number Diff line number Diff line change
@@ -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";
```

0 comments on commit b998ccb

Please sign in to comment.