@latticexyz/recs 2.0.0-transaction-context-324984c5 → 2.0.0-transaction-context-98ef570f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -21
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## 2.0.0-transaction-context-
|
3
|
+
## 2.0.0-transaction-context-98ef570f
|
4
4
|
|
5
5
|
### Minor Changes
|
6
6
|
|
7
|
-
-
|
7
|
+
- af4b168c: - Moved `createActionSystem` from `std-client` to `recs` package and updated it to better support v2 sync stack.
|
8
8
|
|
9
9
|
If you want to use `createActionSystem` alongside `syncToRecs`, you'll need to pass in arguments like so:
|
10
10
|
|
@@ -44,10 +44,10 @@
|
|
44
44
|
|
45
45
|
### Patch Changes
|
46
46
|
|
47
|
-
-
|
48
|
-
-
|
49
|
-
-
|
50
|
-
-
|
47
|
+
- af4b168c: Removes `solecs` package. These were v1 contracts, now entirely replaced by our v2 tooling. See the [MUD docs](https://mud.dev/) for building with v2 or create a new project from our v2 templates with `pnpm create mud@next your-app-name`.
|
48
|
+
- af4b168c: improve RECS error messages for v2 components
|
49
|
+
- af4b168c: TS packages now generate their respective `.d.ts` type definition files for better compatibility when using MUD with `moduleResolution` set to `bundler` or `node16` and fixes issues around missing type declarations for dependent packages.
|
50
|
+
- af4b168c: Templates and examples now use MUD's new sync packages, all built on top of [viem](https://viem.sh/). This greatly speeds up and stabilizes our networking code and improves types throughout.
|
51
51
|
|
52
52
|
These new sync packages come with support for our `recs` package, including `encodeEntity` and `decodeEntity` utilities for composite keys.
|
53
53
|
|
@@ -234,7 +234,7 @@
|
|
234
234
|
}
|
235
235
|
```
|
236
236
|
|
237
|
-
-
|
237
|
+
- af4b168c: Update RECS components with v2 key/value schemas. This helps with encoding/decoding composite keys and strong types for keys/values.
|
238
238
|
|
239
239
|
This may break if you were previously dependent on `component.id`, `component.metadata.componentId`, or `component.metadata.tableId`:
|
240
240
|
|
@@ -244,20 +244,20 @@
|
|
244
244
|
- `component.metadata.keySchema` is an object with key names and their corresponding ABI types
|
245
245
|
- `component.metadata.valueSchema` is an object with field names and their corresponding ABI types
|
246
246
|
|
247
|
-
- Updated dependencies [
|
248
|
-
- Updated dependencies [
|
249
|
-
- Updated dependencies [
|
250
|
-
- Updated dependencies [
|
251
|
-
- Updated dependencies [
|
252
|
-
- Updated dependencies [
|
253
|
-
- Updated dependencies [
|
254
|
-
- Updated dependencies [
|
255
|
-
- Updated dependencies [
|
256
|
-
- Updated dependencies [
|
257
|
-
- Updated dependencies [
|
258
|
-
- Updated dependencies [
|
259
|
-
- @latticexyz/utils@2.0.0-transaction-context-
|
260
|
-
- @latticexyz/schema-type@2.0.0-transaction-context-
|
247
|
+
- Updated dependencies [af4b168c]
|
248
|
+
- Updated dependencies [af4b168c]
|
249
|
+
- Updated dependencies [af4b168c]
|
250
|
+
- Updated dependencies [af4b168c]
|
251
|
+
- Updated dependencies [af4b168c]
|
252
|
+
- Updated dependencies [af4b168c]
|
253
|
+
- Updated dependencies [af4b168c]
|
254
|
+
- Updated dependencies [af4b168c]
|
255
|
+
- Updated dependencies [af4b168c]
|
256
|
+
- Updated dependencies [af4b168c]
|
257
|
+
- Updated dependencies [af4b168c]
|
258
|
+
- Updated dependencies [af4b168c]
|
259
|
+
- @latticexyz/utils@2.0.0-transaction-context-98ef570f
|
260
|
+
- @latticexyz/schema-type@2.0.0-transaction-context-98ef570f
|
261
261
|
|
262
262
|
## 2.0.0-next.17
|
263
263
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@latticexyz/recs",
|
3
|
-
"version": "2.0.0-transaction-context-
|
3
|
+
"version": "2.0.0-transaction-context-98ef570f",
|
4
4
|
"repository": {
|
5
5
|
"type": "git",
|
6
6
|
"url": "https://github.com/latticexyz/mud.git",
|
@@ -25,8 +25,8 @@
|
|
25
25
|
"dependencies": {
|
26
26
|
"mobx": "^6.7.0",
|
27
27
|
"rxjs": "7.5.5",
|
28
|
-
"@latticexyz/schema-type": "2.0.0-transaction-context-
|
29
|
-
"@latticexyz/utils": "2.0.0-transaction-context-
|
28
|
+
"@latticexyz/schema-type": "2.0.0-transaction-context-98ef570f",
|
29
|
+
"@latticexyz/utils": "2.0.0-transaction-context-98ef570f"
|
30
30
|
},
|
31
31
|
"devDependencies": {
|
32
32
|
"@types/jest": "^27.4.1",
|