-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: rename table to tableId (#1484)
Co-authored-by: Kevin Ingersoll <[email protected]>
- Loading branch information
Showing
23 changed files
with
814 additions
and
776 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
"@latticexyz/block-logs-stream": patch | ||
"@latticexyz/store-sync": patch | ||
"@latticexyz/store": patch | ||
--- | ||
|
||
Renamed all occurrences of `table` where it is used as "table ID" to `tableId`. | ||
This is only a breaking change for consumers who manually decode `Store` events, but not for consumers who use the MUD libraries. | ||
|
||
```diff | ||
event StoreSetRecord( | ||
- bytes32 table, | ||
+ bytes32 tableId, | ||
bytes32[] key, | ||
bytes data | ||
); | ||
|
||
event StoreSetField( | ||
- bytes32 table, | ||
+ bytes32 tableId, | ||
bytes32[] key, | ||
uint8 fieldIndex, | ||
bytes data | ||
); | ||
|
||
event StoreDeleteRecord( | ||
- bytes32 table, | ||
+ bytes32 tableId, | ||
bytes32[] key | ||
); | ||
|
||
event StoreEphemeralRecord( | ||
- bytes32 table, | ||
+ bytes32 tableId, | ||
bytes32[] key, | ||
bytes data | ||
); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.