@latticexyz/utils 2.0.12-account-kit-10002da0 → 2.0.12-account-kit-9160f5e1a
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/package.json +4 -2
- package/CHANGELOG.md +0 -622
- package/src/CoordMap.spec.ts +0 -57
- package/src/CoordMap.ts +0 -106
- package/src/VoxelCoordMap.ts +0 -76
- package/src/area.ts +0 -15
- package/src/arrays.ts +0 -19
- package/src/bytes.spec.ts +0 -77
- package/src/bytes.ts +0 -85
- package/src/console.ts +0 -62
- package/src/cubic.spec.ts +0 -14
- package/src/cubic.ts +0 -109
- package/src/deferred.ts +0 -14
- package/src/distance.ts +0 -11
- package/src/enums.ts +0 -13
- package/src/eth.ts +0 -42
- package/src/guards.ts +0 -10
- package/src/index.ts +0 -38
- package/src/iterable.spec.ts +0 -56
- package/src/iterable.ts +0 -59
- package/src/math.ts +0 -11
- package/src/mobx.ts +0 -26
- package/src/objects.ts +0 -16
- package/src/pack.spec.ts +0 -37
- package/src/pack.ts +0 -61
- package/src/promise.ts +0 -46
- package/src/proxy.spec.ts +0 -186
- package/src/proxy.ts +0 -101
- package/src/random.ts +0 -17
- package/src/rx.spec.ts +0 -45
- package/src/rx.ts +0 -124
- package/src/sleep.ts +0 -3
- package/src/types.ts +0 -48
- package/src/uuid.ts +0 -70
- package/src/v2/arrayToHex.ts +0 -3
- package/src/v2/bytesToString.ts +0 -1
- package/src/v2/hexToArray.ts +0 -12
- package/src/v2/index.ts +0 -5
- package/src/v2/isHex.ts +0 -6
- package/src/v2/stringToBytes.ts +0 -9
- package/src/worker.ts +0 -16
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@latticexyz/utils",
|
3
|
-
"version": "2.0.12-account-kit-
|
3
|
+
"version": "2.0.12-account-kit-9160f5e1a",
|
4
4
|
"repository": {
|
5
5
|
"type": "git",
|
6
6
|
"url": "https://github.com/latticexyz/mud.git",
|
@@ -11,7 +11,9 @@
|
|
11
11
|
"exports": {
|
12
12
|
".": "./dist/index.js"
|
13
13
|
},
|
14
|
-
"
|
14
|
+
"files": [
|
15
|
+
"dist"
|
16
|
+
],
|
15
17
|
"dependencies": {
|
16
18
|
"mobx": "^6.7.0",
|
17
19
|
"proxy-deep": "^3.1.1",
|
package/CHANGELOG.md
DELETED
@@ -1,622 +0,0 @@
|
|
1
|
-
# Change Log
|
2
|
-
|
3
|
-
## 2.0.12-account-kit-10002da0
|
4
|
-
|
5
|
-
## 2.0.11
|
6
|
-
|
7
|
-
## 2.0.10
|
8
|
-
|
9
|
-
## 2.0.9
|
10
|
-
|
11
|
-
## 2.0.8
|
12
|
-
|
13
|
-
## 2.0.7
|
14
|
-
|
15
|
-
## 2.0.6
|
16
|
-
|
17
|
-
## 2.0.5
|
18
|
-
|
19
|
-
## 2.0.4
|
20
|
-
|
21
|
-
## 2.0.3
|
22
|
-
|
23
|
-
## 2.0.2
|
24
|
-
|
25
|
-
## 2.0.1
|
26
|
-
|
27
|
-
## 2.0.0
|
28
|
-
|
29
|
-
### Major Changes
|
30
|
-
|
31
|
-
- 52182f70d: Removed `keccak256` and `keccak256Coord` hash utils in favor of [viem's `keccak256`](https://viem.sh/docs/utilities/keccak256.html#keccak256).
|
32
|
-
|
33
|
-
```diff
|
34
|
-
- import { keccak256 } from "@latticexyz/utils";
|
35
|
-
+ import { keccak256, toHex } from "viem";
|
36
|
-
|
37
|
-
- const hash = keccak256("some string");
|
38
|
-
+ const hash = keccak256(toHex("some string"));
|
39
|
-
```
|
40
|
-
|
41
|
-
```diff
|
42
|
-
- import { keccak256Coord } from "@latticexyz/utils";
|
43
|
-
+ import { encodeAbiParameters, keccak256, parseAbiParameters } from "viem";
|
44
|
-
|
45
|
-
const coord = { x: 1, y: 1 };
|
46
|
-
- const hash = keccak256Coord(coord);
|
47
|
-
+ const hash = keccak256(encodeAbiParameters(parseAbiParameters("int32, int32"), [coord.x, coord.y]));
|
48
|
-
```
|
49
|
-
|
50
|
-
### Patch Changes
|
51
|
-
|
52
|
-
- 590542030: 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.
|
53
|
-
- 4e4a34150: bump to latest TS version (5.1.6)
|
54
|
-
|
55
|
-
## 2.0.0-next.18
|
56
|
-
|
57
|
-
## 2.0.0-next.17
|
58
|
-
|
59
|
-
## 2.0.0-next.16
|
60
|
-
|
61
|
-
## 2.0.0-next.15
|
62
|
-
|
63
|
-
### Patch Changes
|
64
|
-
|
65
|
-
- 59054203: 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.
|
66
|
-
|
67
|
-
## 2.0.0-next.14
|
68
|
-
|
69
|
-
## 2.0.0-next.13
|
70
|
-
|
71
|
-
### Major Changes
|
72
|
-
|
73
|
-
- 52182f70: Removed `keccak256` and `keccak256Coord` hash utils in favor of [viem's `keccak256`](https://viem.sh/docs/utilities/keccak256.html#keccak256).
|
74
|
-
|
75
|
-
```diff
|
76
|
-
- import { keccak256 } from "@latticexyz/utils";
|
77
|
-
+ import { keccak256, toHex } from "viem";
|
78
|
-
|
79
|
-
- const hash = keccak256("some string");
|
80
|
-
+ const hash = keccak256(toHex("some string"));
|
81
|
-
```
|
82
|
-
|
83
|
-
```diff
|
84
|
-
- import { keccak256Coord } from "@latticexyz/utils";
|
85
|
-
+ import { encodeAbiParameters, keccak256, parseAbiParameters } from "viem";
|
86
|
-
|
87
|
-
const coord = { x: 1, y: 1 };
|
88
|
-
- const hash = keccak256Coord(coord);
|
89
|
-
+ const hash = keccak256(encodeAbiParameters(parseAbiParameters("int32, int32"), [coord.x, coord.y]));
|
90
|
-
```
|
91
|
-
|
92
|
-
## 2.0.0-next.12
|
93
|
-
|
94
|
-
## 2.0.0-next.11
|
95
|
-
|
96
|
-
## 2.0.0-next.10
|
97
|
-
|
98
|
-
## 2.0.0-next.9
|
99
|
-
|
100
|
-
## 2.0.0-next.8
|
101
|
-
|
102
|
-
## 2.0.0-next.7
|
103
|
-
|
104
|
-
## 2.0.0-next.6
|
105
|
-
|
106
|
-
## 2.0.0-next.5
|
107
|
-
|
108
|
-
## 2.0.0-next.4
|
109
|
-
|
110
|
-
## 2.0.0-next.3
|
111
|
-
|
112
|
-
## 2.0.0-next.2
|
113
|
-
|
114
|
-
## 2.0.0-next.1
|
115
|
-
|
116
|
-
## 2.0.0-next.0
|
117
|
-
|
118
|
-
### Patch Changes
|
119
|
-
|
120
|
-
- [#1165](https://github.com/latticexyz/mud/pull/1165) [`4e4a3415`](https://github.com/latticexyz/mud/commit/4e4a34150aeae988c8e61e25d55c227afb6c2d4b) Thanks [@holic](https://github.com/holic)! - bump to latest TS version (5.1.6)
|
121
|
-
|
122
|
-
- Updated dependencies [[`8d51a034`](https://github.com/latticexyz/mud/commit/8d51a03486bc20006d8cc982f798dfdfe16f169f), [`53522998`](https://github.com/latticexyz/mud/commit/535229984565539e6168042150b45fe0f9b48b0f), [`0c4f9fea`](https://github.com/latticexyz/mud/commit/0c4f9fea9e38ba122316cdd52c3d158c62f8cfee)]:
|
123
|
-
- @latticexyz/common@2.0.0-next.0
|
124
|
-
|
125
|
-
All notable changes to this project will be documented in this file.
|
126
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
127
|
-
|
128
|
-
# [1.42.0](https://github.com/latticexyz/mud/compare/v1.41.0...v1.42.0) (2023-04-13)
|
129
|
-
|
130
|
-
### Features
|
131
|
-
|
132
|
-
- **network:** integrate initial sync from MODE ([#493](https://github.com/latticexyz/mud/issues/493)) ([7d06c1b](https://github.com/latticexyz/mud/commit/7d06c1b5cf00df627000c907e78f60d3cd2415cd))
|
133
|
-
- v2 event decoding ([#415](https://github.com/latticexyz/mud/issues/415)) ([374ed54](https://github.com/latticexyz/mud/commit/374ed542c3387a4ec2b36ab68ae534419aa58763))
|
134
|
-
|
135
|
-
# [1.41.0](https://github.com/latticexyz/mud/compare/v1.40.0...v1.41.0) (2023-03-09)
|
136
|
-
|
137
|
-
**Note:** Version bump only for package @latticexyz/utils
|
138
|
-
|
139
|
-
# [1.40.0](https://github.com/latticexyz/mud/compare/v1.39.0...v1.40.0) (2023-03-03)
|
140
|
-
|
141
|
-
**Note:** Version bump only for package @latticexyz/utils
|
142
|
-
|
143
|
-
# [1.39.0](https://github.com/latticexyz/mud/compare/v1.38.0...v1.39.0) (2023-02-22)
|
144
|
-
|
145
|
-
**Note:** Version bump only for package @latticexyz/utils
|
146
|
-
|
147
|
-
# [1.38.0](https://github.com/latticexyz/mud/compare/v1.37.1...v1.38.0) (2023-02-22)
|
148
|
-
|
149
|
-
**Note:** Version bump only for package @latticexyz/utils
|
150
|
-
|
151
|
-
## [1.37.1](https://github.com/latticexyz/mud/compare/v1.37.0...v1.37.1) (2023-02-17)
|
152
|
-
|
153
|
-
**Note:** Version bump only for package @latticexyz/utils
|
154
|
-
|
155
|
-
# [1.37.0](https://github.com/latticexyz/mud/compare/v1.36.1...v1.37.0) (2023-02-16)
|
156
|
-
|
157
|
-
### Reverts
|
158
|
-
|
159
|
-
- Revert "chore(release): publish v1.37.0" ([c934f53](https://github.com/latticexyz/mud/commit/c934f5388c1e56f2fe6390fdda30f5b9b1ea1c20))
|
160
|
-
|
161
|
-
## [1.36.1](https://github.com/latticexyz/mud/compare/v1.36.0...v1.36.1) (2023-02-16)
|
162
|
-
|
163
|
-
**Note:** Version bump only for package @latticexyz/utils
|
164
|
-
|
165
|
-
# [1.35.0](https://github.com/latticexyz/mud/compare/v1.34.0...v1.35.0) (2023-02-15)
|
166
|
-
|
167
|
-
**Note:** Version bump only for package @latticexyz/utils
|
168
|
-
|
169
|
-
# [1.34.0](https://github.com/latticexyz/mud/compare/v1.33.1...v1.34.0) (2023-01-29)
|
170
|
-
|
171
|
-
**Note:** Version bump only for package @latticexyz/utils
|
172
|
-
|
173
|
-
## [1.33.1](https://github.com/latticexyz/mud/compare/v1.33.0...v1.33.1) (2023-01-12)
|
174
|
-
|
175
|
-
**Note:** Version bump only for package @latticexyz/utils
|
176
|
-
|
177
|
-
# [1.33.0](https://github.com/latticexyz/mud/compare/v1.32.0...v1.33.0) (2023-01-12)
|
178
|
-
|
179
|
-
**Note:** Version bump only for package @latticexyz/utils
|
180
|
-
|
181
|
-
# [1.32.0](https://github.com/latticexyz/mud/compare/v1.31.3...v1.32.0) (2023-01-06)
|
182
|
-
|
183
|
-
**Note:** Version bump only for package @latticexyz/utils
|
184
|
-
|
185
|
-
## [1.31.3](https://github.com/latticexyz/mud/compare/v1.31.2...v1.31.3) (2022-12-16)
|
186
|
-
|
187
|
-
**Note:** Version bump only for package @latticexyz/utils
|
188
|
-
|
189
|
-
## [1.31.2](https://github.com/latticexyz/mud/compare/v1.31.1...v1.31.2) (2022-12-15)
|
190
|
-
|
191
|
-
**Note:** Version bump only for package @latticexyz/utils
|
192
|
-
|
193
|
-
## [1.31.1](https://github.com/latticexyz/mud/compare/v1.31.0...v1.31.1) (2022-12-15)
|
194
|
-
|
195
|
-
**Note:** Version bump only for package @latticexyz/utils
|
196
|
-
|
197
|
-
# [1.31.0](https://github.com/latticexyz/mud/compare/v1.30.1...v1.31.0) (2022-12-14)
|
198
|
-
|
199
|
-
**Note:** Version bump only for package @latticexyz/utils
|
200
|
-
|
201
|
-
## [1.30.1](https://github.com/latticexyz/mud/compare/v1.30.0...v1.30.1) (2022-12-02)
|
202
|
-
|
203
|
-
**Note:** Version bump only for package @latticexyz/utils
|
204
|
-
|
205
|
-
# [1.30.0](https://github.com/latticexyz/mud/compare/v1.29.0...v1.30.0) (2022-12-02)
|
206
|
-
|
207
|
-
**Note:** Version bump only for package @latticexyz/utils
|
208
|
-
|
209
|
-
# [1.29.0](https://github.com/latticexyz/mud/compare/v1.28.1...v1.29.0) (2022-11-29)
|
210
|
-
|
211
|
-
**Note:** Version bump only for package @latticexyz/utils
|
212
|
-
|
213
|
-
## [1.28.1](https://github.com/latticexyz/mud/compare/v1.28.0...v1.28.1) (2022-11-24)
|
214
|
-
|
215
|
-
### Bug Fixes
|
216
|
-
|
217
|
-
- typescript errors ([#253](https://github.com/latticexyz/mud/issues/253)) ([83e0c7a](https://github.com/latticexyz/mud/commit/83e0c7a1eda900d254a73115446c4ce38b531645))
|
218
|
-
|
219
|
-
# [1.28.0](https://github.com/latticexyz/mud/compare/v1.27.1...v1.28.0) (2022-11-20)
|
220
|
-
|
221
|
-
**Note:** Version bump only for package @latticexyz/utils
|
222
|
-
|
223
|
-
# [1.26.0](https://github.com/latticexyz/mud/compare/v1.25.1...v1.26.0) (2022-11-07)
|
224
|
-
|
225
|
-
**Note:** Version bump only for package @latticexyz/utils
|
226
|
-
|
227
|
-
## [1.25.1](https://github.com/latticexyz/mud/compare/v1.25.0...v1.25.1) (2022-11-03)
|
228
|
-
|
229
|
-
**Note:** Version bump only for package @latticexyz/utils
|
230
|
-
|
231
|
-
# [1.25.0](https://github.com/latticexyz/mud/compare/v1.24.1...v1.25.0) (2022-11-03)
|
232
|
-
|
233
|
-
**Note:** Version bump only for package @latticexyz/utils
|
234
|
-
|
235
|
-
## [1.24.1](https://github.com/latticexyz/mud/compare/v1.24.0...v1.24.1) (2022-10-29)
|
236
|
-
|
237
|
-
**Note:** Version bump only for package @latticexyz/utils
|
238
|
-
|
239
|
-
# [1.24.0](https://github.com/latticexyz/mud/compare/v1.23.1...v1.24.0) (2022-10-28)
|
240
|
-
|
241
|
-
### Features
|
242
|
-
|
243
|
-
- v2 endpoint for pruned snapshot that returns entities as raw bytes ([#215](https://github.com/latticexyz/mud/issues/215)) ([28cce1e](https://github.com/latticexyz/mud/commit/28cce1e8a1240d72363fe786704e7fe976f7c995))
|
244
|
-
|
245
|
-
## [1.23.1](https://github.com/latticexyz/mud/compare/v1.23.0...v1.23.1) (2022-10-28)
|
246
|
-
|
247
|
-
**Note:** Version bump only for package @latticexyz/utils
|
248
|
-
|
249
|
-
# [1.23.0](https://github.com/latticexyz/mud/compare/v1.22.0...v1.23.0) (2022-10-26)
|
250
|
-
|
251
|
-
**Note:** Version bump only for package @latticexyz/utils
|
252
|
-
|
253
|
-
# [1.22.0](https://github.com/latticexyz/mud/compare/v1.21.0...v1.22.0) (2022-10-26)
|
254
|
-
|
255
|
-
**Note:** Version bump only for package @latticexyz/utils
|
256
|
-
|
257
|
-
# [1.21.0](https://github.com/latticexyz/mud/compare/v1.20.0...v1.21.0) (2022-10-26)
|
258
|
-
|
259
|
-
**Note:** Version bump only for package @latticexyz/utils
|
260
|
-
|
261
|
-
# [1.20.0](https://github.com/latticexyz/mud/compare/v1.19.0...v1.20.0) (2022-10-22)
|
262
|
-
|
263
|
-
**Note:** Version bump only for package @latticexyz/utils
|
264
|
-
|
265
|
-
# [1.19.0](https://github.com/latticexyz/mud/compare/v1.18.0...v1.19.0) (2022-10-21)
|
266
|
-
|
267
|
-
**Note:** Version bump only for package @latticexyz/utils
|
268
|
-
|
269
|
-
# [1.18.0](https://github.com/latticexyz/mud/compare/v1.17.0...v1.18.0) (2022-10-21)
|
270
|
-
|
271
|
-
### Features
|
272
|
-
|
273
|
-
- **utils:** add more general euclidiean distance util ([687f840](https://github.com/latticexyz/mud/commit/687f8405bb8cfe8312d0527dc2985d27e11632a6))
|
274
|
-
|
275
|
-
# [1.17.0](https://github.com/latticexyz/mud/compare/v1.16.0...v1.17.0) (2022-10-19)
|
276
|
-
|
277
|
-
**Note:** Version bump only for package @latticexyz/utils
|
278
|
-
|
279
|
-
# [1.16.0](https://github.com/latticexyz/mud/compare/v1.15.0...v1.16.0) (2022-10-19)
|
280
|
-
|
281
|
-
**Note:** Version bump only for package @latticexyz/utils
|
282
|
-
|
283
|
-
# [1.15.0](https://github.com/latticexyz/mud/compare/v1.14.2...v1.15.0) (2022-10-18)
|
284
|
-
|
285
|
-
**Note:** Version bump only for package @latticexyz/utils
|
286
|
-
|
287
|
-
## [1.14.2](https://github.com/latticexyz/mud/compare/v1.14.1...v1.14.2) (2022-10-18)
|
288
|
-
|
289
|
-
**Note:** Version bump only for package @latticexyz/utils
|
290
|
-
|
291
|
-
## [1.14.1](https://github.com/latticexyz/mud/compare/v1.14.0...v1.14.1) (2022-10-18)
|
292
|
-
|
293
|
-
**Note:** Version bump only for package @latticexyz/utils
|
294
|
-
|
295
|
-
# [1.14.0](https://github.com/latticexyz/mud/compare/v1.13.0...v1.14.0) (2022-10-18)
|
296
|
-
|
297
|
-
**Note:** Version bump only for package @latticexyz/utils
|
298
|
-
|
299
|
-
# [1.13.0](https://github.com/latticexyz/mud/compare/v1.12.0...v1.13.0) (2022-10-15)
|
300
|
-
|
301
|
-
**Note:** Version bump only for package @latticexyz/utils
|
302
|
-
|
303
|
-
# [1.12.0](https://github.com/latticexyz/mud/compare/v1.11.0...v1.12.0) (2022-10-12)
|
304
|
-
|
305
|
-
**Note:** Version bump only for package @latticexyz/utils
|
306
|
-
|
307
|
-
# [1.11.0](https://github.com/latticexyz/mud/compare/v1.10.0...v1.11.0) (2022-10-11)
|
308
|
-
|
309
|
-
**Note:** Version bump only for package @latticexyz/utils
|
310
|
-
|
311
|
-
# [1.10.0](https://github.com/latticexyz/mud/compare/v1.9.0...v1.10.0) (2022-10-11)
|
312
|
-
|
313
|
-
**Note:** Version bump only for package @latticexyz/utils
|
314
|
-
|
315
|
-
# [1.9.0](https://github.com/latticexyz/mud/compare/v1.8.0...v1.9.0) (2022-10-11)
|
316
|
-
|
317
|
-
**Note:** Version bump only for package @latticexyz/utils
|
318
|
-
|
319
|
-
# [1.8.0](https://github.com/latticexyz/mud/compare/v1.7.1...v1.8.0) (2022-10-07)
|
320
|
-
|
321
|
-
**Note:** Version bump only for package @latticexyz/utils
|
322
|
-
|
323
|
-
## [1.7.1](https://github.com/latticexyz/mud/compare/v1.7.0...v1.7.1) (2022-10-06)
|
324
|
-
|
325
|
-
**Note:** Version bump only for package @latticexyz/utils
|
326
|
-
|
327
|
-
# [1.7.0](https://github.com/latticexyz/mud/compare/v1.6.0...v1.7.0) (2022-10-06)
|
328
|
-
|
329
|
-
### Features
|
330
|
-
|
331
|
-
- add utils to normalize hex ids ([#185](https://github.com/latticexyz/mud/issues/185)) ([170e963](https://github.com/latticexyz/mud/commit/170e963eebce61b27d1b999f8afd8c8e176a739c))
|
332
|
-
|
333
|
-
# [1.6.0](https://github.com/latticexyz/mud/compare/v1.5.1...v1.6.0) (2022-10-04)
|
334
|
-
|
335
|
-
**Note:** Version bump only for package @latticexyz/utils
|
336
|
-
|
337
|
-
## [1.5.1](https://github.com/latticexyz/mud/compare/v1.5.0...v1.5.1) (2022-10-03)
|
338
|
-
|
339
|
-
**Note:** Version bump only for package @latticexyz/utils
|
340
|
-
|
341
|
-
# [1.5.0](https://github.com/latticexyz/mud/compare/v1.4.1...v1.5.0) (2022-10-03)
|
342
|
-
|
343
|
-
**Note:** Version bump only for package @latticexyz/utils
|
344
|
-
|
345
|
-
## [1.4.1](https://github.com/latticexyz/mud/compare/v1.4.0...v1.4.1) (2022-10-03)
|
346
|
-
|
347
|
-
**Note:** Version bump only for package @latticexyz/utils
|
348
|
-
|
349
|
-
# [1.4.0](https://github.com/latticexyz/mud/compare/v1.3.0...v1.4.0) (2022-10-03)
|
350
|
-
|
351
|
-
**Note:** Version bump only for package @latticexyz/utils
|
352
|
-
|
353
|
-
# [1.3.0](https://github.com/latticexyz/mud/compare/v1.2.0...v1.3.0) (2022-09-30)
|
354
|
-
|
355
|
-
**Note:** Version bump only for package @latticexyz/utils
|
356
|
-
|
357
|
-
# [1.2.0](https://github.com/latticexyz/mud/compare/v1.1.0...v1.2.0) (2022-09-29)
|
358
|
-
|
359
|
-
### Features
|
360
|
-
|
361
|
-
- **network:** increase network performance by reducing unnecessary rpc calls ([#165](https://github.com/latticexyz/mud/issues/165)) ([195b710](https://github.com/latticexyz/mud/commit/195b71019b2be623d99f7a90c93a661cdb743a87))
|
362
|
-
|
363
|
-
# [1.1.0](https://github.com/latticexyz/mud/compare/v1.0.0...v1.1.0) (2022-09-28)
|
364
|
-
|
365
|
-
### Features
|
366
|
-
|
367
|
-
- add createRelayService, add utils to work with Uint8Arrays ([#164](https://github.com/latticexyz/mud/issues/164)) ([b02992b](https://github.com/latticexyz/mud/commit/b02992b73393740d7510b1f9d3d9e6ea0030f462))
|
368
|
-
|
369
|
-
# [1.0.0](https://github.com/latticexyz/mud/compare/v0.16.4...v1.0.0) (2022-09-27)
|
370
|
-
|
371
|
-
**Note:** Version bump only for package @latticexyz/utils
|
372
|
-
|
373
|
-
## [0.16.4](https://github.com/latticexyz/mud/compare/v0.16.3...v0.16.4) (2022-09-26)
|
374
|
-
|
375
|
-
**Note:** Version bump only for package @latticexyz/utils
|
376
|
-
|
377
|
-
## [0.16.3](https://github.com/latticexyz/mud/compare/v0.16.2...v0.16.3) (2022-09-26)
|
378
|
-
|
379
|
-
**Note:** Version bump only for package @latticexyz/utils
|
380
|
-
|
381
|
-
## [0.16.2](https://github.com/latticexyz/mud/compare/v0.16.1...v0.16.2) (2022-09-26)
|
382
|
-
|
383
|
-
**Note:** Version bump only for package @latticexyz/utils
|
384
|
-
|
385
|
-
## [0.16.1](https://github.com/latticexyz/mud/compare/v0.16.0...v0.16.1) (2022-09-26)
|
386
|
-
|
387
|
-
**Note:** Version bump only for package @latticexyz/utils
|
388
|
-
|
389
|
-
# [0.16.0](https://github.com/latticexyz/mud/compare/v0.15.1...v0.16.0) (2022-09-26)
|
390
|
-
|
391
|
-
### Features
|
392
|
-
|
393
|
-
- **utils:** add keccak256Coord ([#160](https://github.com/latticexyz/mud/issues/160)) ([1734cdb](https://github.com/latticexyz/mud/commit/1734cdb02743d209a8f9c245bf42a1b750403a60))
|
394
|
-
|
395
|
-
## [0.15.1](https://github.com/latticexyz/mud/compare/v0.15.0...v0.15.1) (2022-09-23)
|
396
|
-
|
397
|
-
**Note:** Version bump only for package @latticexyz/utils
|
398
|
-
|
399
|
-
# [0.15.0](https://github.com/latticexyz/mud/compare/v0.14.2...v0.15.0) (2022-09-21)
|
400
|
-
|
401
|
-
### Features
|
402
|
-
|
403
|
-
- add keccak256Coord ([d0d4500](https://github.com/latticexyz/mud/commit/d0d450075f2afba3f94fda368ce0f6854113f714))
|
404
|
-
|
405
|
-
## [0.14.2](https://github.com/latticexyz/mud/compare/v0.14.1...v0.14.2) (2022-09-21)
|
406
|
-
|
407
|
-
**Note:** Version bump only for package @latticexyz/utils
|
408
|
-
|
409
|
-
## [0.14.1](https://github.com/latticexyz/mud/compare/v0.14.0...v0.14.1) (2022-09-21)
|
410
|
-
|
411
|
-
**Note:** Version bump only for package @latticexyz/utils
|
412
|
-
|
413
|
-
# [0.14.0](https://github.com/latticexyz/mud/compare/v0.13.0...v0.14.0) (2022-09-20)
|
414
|
-
|
415
|
-
**Note:** Version bump only for package @latticexyz/utils
|
416
|
-
|
417
|
-
# [0.13.0](https://github.com/latticexyz/mud/compare/v0.12.0...v0.13.0) (2022-09-19)
|
418
|
-
|
419
|
-
**Note:** Version bump only for package @latticexyz/utils
|
420
|
-
|
421
|
-
# [0.12.0](https://github.com/latticexyz/mud/compare/v0.11.1...v0.12.0) (2022-09-16)
|
422
|
-
|
423
|
-
**Note:** Version bump only for package @latticexyz/utils
|
424
|
-
|
425
|
-
## [0.11.1](https://github.com/latticexyz/mud/compare/v0.11.0...v0.11.1) (2022-09-15)
|
426
|
-
|
427
|
-
### Bug Fixes
|
428
|
-
|
429
|
-
- do not run prepack multiple times when publishing ([4f6f4c3](https://github.com/latticexyz/mud/commit/4f6f4c35a53c105951b32a071e47a748b2502cda))
|
430
|
-
|
431
|
-
# [0.11.0](https://github.com/latticexyz/mud/compare/v0.10.0...v0.11.0) (2022-09-15)
|
432
|
-
|
433
|
-
**Note:** Version bump only for package @latticexyz/utils
|
434
|
-
|
435
|
-
# [0.10.0](https://github.com/latticexyz/mud/compare/v0.9.0...v0.10.0) (2022-09-14)
|
436
|
-
|
437
|
-
### Features
|
438
|
-
|
439
|
-
- matching Perlin noise implementations in Solidity and AssemblyScript ([#145](https://github.com/latticexyz/mud/issues/145)) ([29094c4](https://github.com/latticexyz/mud/commit/29094c4b0c3eeeacd3af690310c7de93a0c45e14))
|
440
|
-
|
441
|
-
# [0.9.0](https://github.com/latticexyz/mud/compare/v0.8.1...v0.9.0) (2022-09-13)
|
442
|
-
|
443
|
-
### Bug Fixes
|
444
|
-
|
445
|
-
- **network:** align hex entity id formatting ([#140](https://github.com/latticexyz/mud/issues/140)) ([93b1bd6](https://github.com/latticexyz/mud/commit/93b1bd6688780dc185a1c7e353954e2c5c85f648))
|
446
|
-
|
447
|
-
## [0.8.1](https://github.com/latticexyz/mud/compare/v0.8.0...v0.8.1) (2022-08-22)
|
448
|
-
|
449
|
-
**Note:** Version bump only for package @latticexyz/utils
|
450
|
-
|
451
|
-
# [0.8.0](https://github.com/latticexyz/mud/compare/v0.7.0...v0.8.0) (2022-08-22)
|
452
|
-
|
453
|
-
### Features
|
454
|
-
|
455
|
-
- add mud.dev ([#133](https://github.com/latticexyz/mud/issues/133)) ([302588c](https://github.com/latticexyz/mud/commit/302588cbbab2803396b894bc006d13e6ac943da9))
|
456
|
-
|
457
|
-
# [0.7.0](https://github.com/latticexyz/mud/compare/v0.6.0...v0.7.0) (2022-08-19)
|
458
|
-
|
459
|
-
**Note:** Version bump only for package @latticexyz/utils
|
460
|
-
|
461
|
-
# [0.6.0](https://github.com/latticexyz/mud/compare/v0.5.1...v0.6.0) (2022-08-15)
|
462
|
-
|
463
|
-
### Code Refactoring
|
464
|
-
|
465
|
-
- sync worker (+ integrated snapshot service) ([#125](https://github.com/latticexyz/mud/issues/125)) ([6173b59](https://github.com/latticexyz/mud/commit/6173b596713b0dad73d14288ece3ac66ca3972d3))
|
466
|
-
|
467
|
-
### BREAKING CHANGES
|
468
|
-
|
469
|
-
- sync worker update stream returns component id instead of component key
|
470
|
-
|
471
|
-
- test(network): add tests for sync utils and SyncWorker logic
|
472
|
-
|
473
|
-
- chore: remove logs and improve comments
|
474
|
-
|
475
|
-
- chore: add logs
|
476
|
-
|
477
|
-
Co-authored-by: andrii dobroshynski <24281657+andriidski@users.noreply.github.com>
|
478
|
-
|
479
|
-
## [0.5.1](https://github.com/latticexyz/mud/compare/v0.5.0...v0.5.1) (2022-08-05)
|
480
|
-
|
481
|
-
**Note:** Version bump only for package @latticexyz/utils
|
482
|
-
|
483
|
-
# [0.5.0](https://github.com/latticexyz/mud/compare/v0.4.3...v0.5.0) (2022-08-05)
|
484
|
-
|
485
|
-
### Bug Fixes
|
486
|
-
|
487
|
-
- optimism, cancel action if gas check fails, add noise utils, fix ecs-browser entry point ([#119](https://github.com/latticexyz/mud/issues/119)) ([f35d3c3](https://github.com/latticexyz/mud/commit/f35d3c3cc7fc9385a215dfda6762a2a825c9fd6d))
|
488
|
-
|
489
|
-
### Features
|
490
|
-
|
491
|
-
- logging library with support for topics/filters ([#123](https://github.com/latticexyz/mud/issues/123)) ([4eac3c6](https://github.com/latticexyz/mud/commit/4eac3c6f45cf300c683397d68e405001d31d8dda))
|
492
|
-
|
493
|
-
## [0.4.3](https://github.com/latticexyz/mud/compare/v0.4.2...v0.4.3) (2022-07-30)
|
494
|
-
|
495
|
-
**Note:** Version bump only for package @latticexyz/utils
|
496
|
-
|
497
|
-
## [0.4.2](https://github.com/latticexyz/mud/compare/v0.4.1...v0.4.2) (2022-07-29)
|
498
|
-
|
499
|
-
**Note:** Version bump only for package @latticexyz/utils
|
500
|
-
|
501
|
-
## [0.4.1](https://github.com/latticexyz/mud/compare/v0.4.0...v0.4.1) (2022-07-29)
|
502
|
-
|
503
|
-
**Note:** Version bump only for package @latticexyz/utils
|
504
|
-
|
505
|
-
# [0.4.0](https://github.com/latticexyz/mud/compare/v0.3.2...v0.4.0) (2022-07-29)
|
506
|
-
|
507
|
-
### Bug Fixes
|
508
|
-
|
509
|
-
- **cli:** extract encoded arguments from signature ([#116](https://github.com/latticexyz/mud/issues/116)) ([f630319](https://github.com/latticexyz/mud/commit/f6303194c5d7147a64542e43669fddebf3abad1a))
|
510
|
-
|
511
|
-
### Features
|
512
|
-
|
513
|
-
- add 3d components ([d230339](https://github.com/latticexyz/mud/commit/d230339bdf3fbfaf4596de759a25fb616a7ab572))
|
514
|
-
|
515
|
-
## [0.3.2](https://github.com/latticexyz/mud/compare/v0.3.1...v0.3.2) (2022-07-26)
|
516
|
-
|
517
|
-
**Note:** Version bump only for package @latticexyz/utils
|
518
|
-
|
519
|
-
## [0.3.1](https://github.com/latticexyz/mud/compare/v0.3.0...v0.3.1) (2022-07-26)
|
520
|
-
|
521
|
-
**Note:** Version bump only for package @latticexyz/utils
|
522
|
-
|
523
|
-
# [0.3.0](https://github.com/latticexyz/mud/compare/v0.2.0...v0.3.0) (2022-07-26)
|
524
|
-
|
525
|
-
### Features
|
526
|
-
|
527
|
-
- mudwar prototype (nyc sprint 2) ([#59](https://github.com/latticexyz/mud/issues/59)) ([a3db20e](https://github.com/latticexyz/mud/commit/a3db20e14c641b8b456775ee191eca6f016d47f5)), closes [#58](https://github.com/latticexyz/mud/issues/58) [#61](https://github.com/latticexyz/mud/issues/61) [#64](https://github.com/latticexyz/mud/issues/64) [#62](https://github.com/latticexyz/mud/issues/62) [#66](https://github.com/latticexyz/mud/issues/66) [#69](https://github.com/latticexyz/mud/issues/69) [#72](https://github.com/latticexyz/mud/issues/72) [#73](https://github.com/latticexyz/mud/issues/73) [#74](https://github.com/latticexyz/mud/issues/74) [#76](https://github.com/latticexyz/mud/issues/76) [#75](https://github.com/latticexyz/mud/issues/75) [#77](https://github.com/latticexyz/mud/issues/77) [#78](https://github.com/latticexyz/mud/issues/78) [#79](https://github.com/latticexyz/mud/issues/79) [#80](https://github.com/latticexyz/mud/issues/80) [#82](https://github.com/latticexyz/mud/issues/82) [#86](https://github.com/latticexyz/mud/issues/86) [#83](https://github.com/latticexyz/mud/issues/83) [#81](https://github.com/latticexyz/mud/issues/81) [#85](https://github.com/latticexyz/mud/issues/85) [#84](https://github.com/latticexyz/mud/issues/84) [#87](https://github.com/latticexyz/mud/issues/87) [#91](https://github.com/latticexyz/mud/issues/91) [#88](https://github.com/latticexyz/mud/issues/88) [#90](https://github.com/latticexyz/mud/issues/90) [#92](https://github.com/latticexyz/mud/issues/92) [#93](https://github.com/latticexyz/mud/issues/93) [#89](https://github.com/latticexyz/mud/issues/89) [#94](https://github.com/latticexyz/mud/issues/94) [#95](https://github.com/latticexyz/mud/issues/95) [#98](https://github.com/latticexyz/mud/issues/98) [#100](https://github.com/latticexyz/mud/issues/100) [#97](https://github.com/latticexyz/mud/issues/97) [#101](https://github.com/latticexyz/mud/issues/101) [#105](https://github.com/latticexyz/mud/issues/105) [#106](https://github.com/latticexyz/mud/issues/106)
|
528
|
-
|
529
|
-
# [0.2.0](https://github.com/latticexyz/mud/compare/v0.1.8...v0.2.0) (2022-07-05)
|
530
|
-
|
531
|
-
### Features
|
532
|
-
|
533
|
-
- add webworker architecture for contract/client sync, add cache webworker ([#10](https://github.com/latticexyz/mud/issues/10)) ([4ef9f90](https://github.com/latticexyz/mud/commit/4ef9f909d1d3c10f6bea888b2c32b1d1df04185a)), closes [#14](https://github.com/latticexyz/mud/issues/14)
|
534
|
-
- on-chain maps (nyc sprint 1) ([#38](https://github.com/latticexyz/mud/issues/38)) ([089c46d](https://github.com/latticexyz/mud/commit/089c46d7c0e112d1670e3bcd01a35f08ee21d593)), closes [#17](https://github.com/latticexyz/mud/issues/17) [#20](https://github.com/latticexyz/mud/issues/20) [#18](https://github.com/latticexyz/mud/issues/18) [#25](https://github.com/latticexyz/mud/issues/25) [#26](https://github.com/latticexyz/mud/issues/26) [#27](https://github.com/latticexyz/mud/issues/27) [#28](https://github.com/latticexyz/mud/issues/28) [#29](https://github.com/latticexyz/mud/issues/29) [#30](https://github.com/latticexyz/mud/issues/30) [#31](https://github.com/latticexyz/mud/issues/31) [#33](https://github.com/latticexyz/mud/issues/33) [#32](https://github.com/latticexyz/mud/issues/32) [#34](https://github.com/latticexyz/mud/issues/34) [#35](https://github.com/latticexyz/mud/issues/35) [#36](https://github.com/latticexyz/mud/issues/36) [#37](https://github.com/latticexyz/mud/issues/37) [#39](https://github.com/latticexyz/mud/issues/39) [#40](https://github.com/latticexyz/mud/issues/40) [#41](https://github.com/latticexyz/mud/issues/41) [#42](https://github.com/latticexyz/mud/issues/42) [#43](https://github.com/latticexyz/mud/issues/43) [#44](https://github.com/latticexyz/mud/issues/44) [#45](https://github.com/latticexyz/mud/issues/45) [#46](https://github.com/latticexyz/mud/issues/46) [#48](https://github.com/latticexyz/mud/issues/48) [#49](https://github.com/latticexyz/mud/issues/49) [#50](https://github.com/latticexyz/mud/issues/50)
|
535
|
-
|
536
|
-
### BREAKING CHANGES
|
537
|
-
|
538
|
-
- Components have to implement a getSchema() function
|
539
|
-
|
540
|
-
- feat(network): make Sync worker return a stream of ECS events (prev contract events)
|
541
|
-
|
542
|
-
- feat(ri-contracts): integrate solecs change (add getSchema to components)
|
543
|
-
|
544
|
-
- feat(ri-client): integrate network package changes
|
545
|
-
|
546
|
-
- feat(network): store ECS state in cache
|
547
|
-
|
548
|
-
- feat(network): load state from cache
|
549
|
-
|
550
|
-
- feat(utils): add more utils for iterables
|
551
|
-
|
552
|
-
- refactor(network): clean up
|
553
|
-
|
554
|
-
- feat(network): generalize component value decoder function, add tests
|
555
|
-
|
556
|
-
- fix(network): make it possible to subscribe to ecsStream from sync worker multiple times
|
557
|
-
|
558
|
-
- fix(network): start sync from provided initial block number
|
559
|
-
|
560
|
-
- feat(network): move storing ecs to indexDB to its own Cache worker
|
561
|
-
|
562
|
-
- feat(network): create separate cache for every World contract address
|
563
|
-
|
564
|
-
- fix(network): fix issues discovered during live review
|
565
|
-
|
566
|
-
- chore: remove unused import
|
567
|
-
|
568
|
-
- Update packages/network/src/createBlockNumberStream.ts
|
569
|
-
|
570
|
-
Co-authored-by: ludens <ludens@lattice.xyz>
|
571
|
-
|
572
|
-
- feat(network): add clock syncInterval as config parameter
|
573
|
-
|
574
|
-
- feat(utils): emit values through componentToStream and observableToStream only if non-null
|
575
|
-
|
576
|
-
- feat(network): add chain id to cache id, disable loading from cache on hardhat
|
577
|
-
|
578
|
-
- fix(contracts): change Position and EntityType schema to int32/uint32 to fit in js number
|
579
|
-
|
580
|
-
- docs(client): fix typos in comments
|
581
|
-
|
582
|
-
- fix(network): fix tests
|
583
|
-
|
584
|
-
- fix(scripting): integrate new network package into ri scripting
|
585
|
-
|
586
|
-
- fix(network): fix sending multiple requests for component schema if many events get reduced
|
587
|
-
|
588
|
-
## [0.1.8](https://github.com/latticexyz/mud/compare/v0.1.7...v0.1.8) (2022-05-25)
|
589
|
-
|
590
|
-
**Note:** Version bump only for package @latticexyz/utils
|
591
|
-
|
592
|
-
## [0.1.7](https://github.com/latticexyz/mud/compare/v0.1.6...v0.1.7) (2022-05-25)
|
593
|
-
|
594
|
-
**Note:** Version bump only for package @latticexyz/utils
|
595
|
-
|
596
|
-
## [0.1.6](https://github.com/latticexyz/mud/compare/v0.1.5...v0.1.6) (2022-05-25)
|
597
|
-
|
598
|
-
**Note:** Version bump only for package @latticexyz/utils
|
599
|
-
|
600
|
-
## [0.1.4](https://github.com/latticexyz/mud/compare/v0.1.3...v0.1.4) (2022-05-24)
|
601
|
-
|
602
|
-
**Note:** Version bump only for package @latticexyz/utils
|
603
|
-
|
604
|
-
## [0.1.3](https://github.com/latticexyz/mud/compare/v0.1.2...v0.1.3) (2022-05-23)
|
605
|
-
|
606
|
-
**Note:** Version bump only for package @latticexyz/utils
|
607
|
-
|
608
|
-
## [0.1.2](https://github.com/latticexyz/mud/compare/v0.1.1...v0.1.2) (2022-05-23)
|
609
|
-
|
610
|
-
**Note:** Version bump only for package @latticexyz/utils
|
611
|
-
|
612
|
-
## [0.1.1](https://github.com/latticexyz/mud/compare/v0.1.0...v0.1.1) (2022-05-23)
|
613
|
-
|
614
|
-
**Note:** Version bump only for package @latticexyz/utils
|
615
|
-
|
616
|
-
# 0.1.0 (2022-05-23)
|
617
|
-
|
618
|
-
### Features
|
619
|
-
|
620
|
-
- **@mud/utils:** add @mud/utils package ([fc721cc](https://github.com/latticexyz/mud/commit/fc721cc564b20150c3b13883cb3edb773f48e312))
|
621
|
-
- **@mud/utils:** add keccak256 hash function that accepts string inputs ([ca1a4e0](https://github.com/latticexyz/mud/commit/ca1a4e0cc7452724e703a6530c2e56112c307b66))
|
622
|
-
- **@mud/utils:** add stretch rxjs operator to add a minimum delay between events in a rxjs stream ([3a1673f](https://github.com/latticexyz/mud/commit/3a1673f5fba548f94afd5580a7e32007a6edd57f))
|