This repository was archived by the owner on Oct 22, 2025. It is now read-only.
Commit 71063d5
committed
chore: update sdk (#1182)
### TL;DR
Updated the engine-runner dependency and added TypeScript type annotations to fix type errors.
### What changed?
- Updated `@rivetkit/engine-runner` dependency from version `472` to `7f23f3a`
- Added explicit type annotations in `actor-driver.ts`:
- Added type `any` to the `input` variable
- Added type `Promise<UpgradeWebSocketArgs>` to the `wsHandlerPromise` variable
- Added import for `UpgradeWebSocketArgs` type
### How to test?
1. Run the TypeScript compiler to verify no type errors remain
2. Test WebSocket connections to ensure they still function properly
3. Verify that actor input handling works as expected
### Why make this change?
This change addresses TypeScript type errors in the engine actor driver by adding proper type annotations. The update to the engine-runner dependency likely includes fixes or improvements that complement these type changes, ensuring better type safety and code reliability.1 parent 8296b21 commit 71063d5
File tree
6 files changed
+72
-36
lines changed- packages/core
- src/drivers/engine
6 files changed
+72
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 9 | + | |
18 | 10 | | |
19 | 11 | | |
20 | 12 | | |
| |||
27 | 19 | | |
28 | 20 | | |
29 | 21 | | |
30 | | - | |
31 | 22 | | |
32 | 23 | | |
33 | 24 | | |
| 25 | + | |
34 | 26 | | |
35 | 27 | | |
36 | 28 | | |
| |||
51 | 43 | | |
52 | 44 | | |
53 | 45 | | |
54 | | - | |
55 | 46 | | |
56 | 47 | | |
57 | 48 | | |
| |||
93 | 84 | | |
94 | 85 | | |
95 | 86 | | |
| 87 | + | |
96 | 88 | | |
97 | 89 | | |
98 | 90 | | |
| |||
201 | 193 | | |
202 | 194 | | |
203 | 195 | | |
204 | | - | |
205 | | - | |
| 196 | + | |
| 197 | + | |
206 | 198 | | |
207 | 199 | | |
208 | 200 | | |
209 | 201 | | |
210 | | - | |
| 202 | + | |
211 | 203 | | |
212 | 204 | | |
213 | 205 | | |
| |||
218 | 210 | | |
219 | 211 | | |
220 | 212 | | |
221 | | - | |
222 | 213 | | |
223 | 214 | | |
224 | 215 | | |
225 | 216 | | |
226 | 217 | | |
227 | | - | |
228 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
229 | 221 | | |
230 | 222 | | |
231 | 223 | | |
232 | 224 | | |
233 | | - | |
| 225 | + | |
234 | 226 | | |
235 | 227 | | |
236 | 228 | | |
| |||
299 | 291 | | |
300 | 292 | | |
301 | 293 | | |
302 | | - | |
| 294 | + | |
303 | 295 | | |
304 | 296 | | |
305 | 297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments