@kuncat/avoidant 0.2.3 → 0.2.4

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.
Files changed (87) hide show
  1. package/dist/components/AvoidantGame.svelte +1 -2
  2. package/dist/components/MapControls.svelte +1 -1
  3. package/dist/components/board.svelte +7 -34
  4. package/dist/components/label-connectors.d.ts +5 -2
  5. package/dist/components/label-connectors.js +47 -37
  6. package/dist/components/map-camera.js +1 -1
  7. package/dist/paraglide/messages/_index.d.ts +8 -8
  8. package/dist/paraglide/messages/_index.js +9 -9
  9. package/dist/paraglide/messages/action_back.js +2 -2
  10. package/dist/paraglide/messages/action_copy.js +2 -2
  11. package/dist/paraglide/messages/action_exit.js +2 -2
  12. package/dist/paraglide/messages/action_invite.js +2 -2
  13. package/dist/paraglide/messages/action_join.js +2 -2
  14. package/dist/paraglide/messages/action_join_game.js +2 -2
  15. package/dist/paraglide/messages/action_new_game.js +2 -2
  16. package/dist/paraglide/messages/action_random.js +2 -2
  17. package/dist/paraglide/messages/action_start.js +2 -2
  18. package/dist/paraglide/messages/aria_close_invitation.js +2 -2
  19. package/dist/paraglide/messages/aria_score_summary.js +2 -2
  20. package/dist/paraglide/messages/cells_count.js +2 -2
  21. package/dist/paraglide/messages/cells_per_face.js +2 -2
  22. package/dist/paraglide/messages/default_player_name.js +2 -2
  23. package/dist/paraglide/messages/error_join_connect_failed.js +2 -2
  24. package/dist/paraglide/messages/error_join_failed.js +2 -2
  25. package/dist/paraglide/messages/error_join_ticket_invalid.js +2 -2
  26. package/dist/paraglide/messages/error_join_ticket_required.js +2 -2
  27. package/dist/paraglide/messages/faces_count.js +2 -2
  28. package/dist/paraglide/messages/field_cell_density.js +2 -2
  29. package/dist/paraglide/messages/field_invitation_url.js +2 -2
  30. package/dist/paraglide/messages/field_map_shape.js +2 -2
  31. package/dist/paraglide/messages/field_map_size.js +2 -2
  32. package/dist/paraglide/messages/field_player_name.js +2 -2
  33. package/dist/paraglide/messages/field_radius.js +2 -2
  34. package/dist/paraglide/messages/field_radius_x.js +2 -2
  35. package/dist/paraglide/messages/field_radius_y.js +2 -2
  36. package/dist/paraglide/messages/field_radius_z.js +2 -2
  37. package/dist/paraglide/messages/field_relay_servers.js +2 -2
  38. package/dist/paraglide/messages/field_seed.js +2 -2
  39. package/dist/paraglide/messages/field_size.js +2 -2
  40. package/dist/paraglide/messages/field_spikiness.js +2 -2
  41. package/dist/paraglide/messages/field_subdivisions.js +2 -2
  42. package/dist/paraglide/messages/field_surface_detail.js +2 -2
  43. package/dist/paraglide/messages/field_ticket_or_invitation_url.js +2 -2
  44. package/dist/paraglide/messages/field_tutorial_mode.js +2 -2
  45. package/dist/paraglide/messages/field_void_fraction.js +2 -2
  46. package/dist/paraglide/messages/label_advanced_settings.js +2 -2
  47. package/dist/paraglide/messages/label_players.js +2 -2
  48. package/dist/paraglide/messages/label_safe_cells_explored.js +2 -2
  49. package/dist/paraglide/messages/label_safe_cells_remaining.js +2 -2
  50. package/dist/paraglide/messages/label_score.js +2 -2
  51. package/dist/paraglide/messages/label_streak.js +2 -2
  52. package/dist/paraglide/messages/label_voids_discovered.js +2 -2
  53. package/dist/paraglide/messages/package.json +4 -0
  54. package/dist/paraglide/messages/preset_custom.js +2 -2
  55. package/dist/paraglide/messages/preset_large.js +2 -2
  56. package/dist/paraglide/messages/preset_medium.js +2 -2
  57. package/dist/paraglide/messages/preset_small.js +2 -2
  58. package/dist/paraglide/messages/shape_label.js +2 -2
  59. package/dist/paraglide/messages/status_generating_map.js +2 -2
  60. package/dist/paraglide/messages/status_initialization_failed.js +2 -2
  61. package/dist/paraglide/messages/status_joining_game.js +2 -2
  62. package/dist/paraglide/messages/status_loading.js +2 -2
  63. package/dist/paraglide/messages/status_preparing.js +2 -2
  64. package/dist/paraglide/messages/text_avoided.js +2 -2
  65. package/dist/paraglide/messages/text_density_summary.js +2 -2
  66. package/dist/paraglide/messages/text_invite_after_opening.js +2 -2
  67. package/dist/paraglide/messages/text_relay_servers_hint.js +2 -2
  68. package/dist/paraglide/messages/tutorial_action_dismiss.js +2 -2
  69. package/dist/paraglide/messages/tutorial_action_next.js +2 -2
  70. package/dist/paraglide/messages/tutorial_after_safe_deducible.js +2 -2
  71. package/dist/paraglide/messages/tutorial_after_safe_guess.js +2 -2
  72. package/dist/paraglide/messages/tutorial_after_void.js +2 -2
  73. package/dist/paraglide/messages/tutorial_awaiting_first_click.js +2 -2
  74. package/dist/paraglide/messages/tutorial_intro.d.ts +1 -1
  75. package/dist/paraglide/messages/tutorial_intro.js +5 -5
  76. package/dist/paraglide/messages/tutorial_won.js +2 -2
  77. package/dist/paraglide/registry.d.ts +13 -0
  78. package/dist/paraglide/registry.js +15 -0
  79. package/dist/paraglide/runtime.d.ts +90 -26
  80. package/dist/paraglide/runtime.js +597 -109
  81. package/dist/paraglide/server.d.ts +1 -1
  82. package/dist/paraglide/server.js +27 -10
  83. package/dist/wasm/avoidant_wasm.d.ts +46 -1
  84. package/dist/wasm/avoidant_wasm.js +164 -28
  85. package/dist/wasm/avoidant_wasm_bg.wasm +0 -0
  86. package/dist/wasm/avoidant_wasm_bg.wasm.d.ts +15 -1
  87. package/package.json +29 -29
@@ -19,7 +19,7 @@
19
19
  * - If URL doesn't match the determined locale, redirects to localized URL (only for document requests)
20
20
  * - De-localizes URLs before passing to server (e.g., `/fr/about` → `/about`)
21
21
  *
22
- * @see https://inlang.com/m/gerre34r/library-inlang-paraglideJs/middleware
22
+ * @see https://paraglidejs.com/middleware
23
23
  *
24
24
  * @template T - The return type of the resolve function
25
25
  *
@@ -23,7 +23,7 @@ import * as runtime from "./runtime.js";
23
23
  * - If URL doesn't match the determined locale, redirects to localized URL (only for document requests)
24
24
  * - De-localizes URLs before passing to server (e.g., `/fr/about` → `/about`)
25
25
  *
26
- * @see https://inlang.com/m/gerre34r/library-inlang-paraglideJs/middleware
26
+ * @see https://paraglidejs.com/middleware
27
27
  *
28
28
  * @template T - The return type of the resolve function
29
29
  *
@@ -92,11 +92,19 @@ import * as runtime from "./runtime.js";
92
92
  * ```
93
93
  */
94
94
  export async function paraglideMiddleware(request, resolve, options) {
95
- if (!runtime.disableAsyncLocalStorage && !runtime.serverAsyncLocalStorage) {
95
+ let requestAsyncLocalStorage = runtime.serverAsyncLocalStorage;
96
+ requestAsyncLocalStorage = runtime.getServerAsyncLocalStorage();
97
+ if (!runtime.disableAsyncLocalStorage && !requestAsyncLocalStorage) {
96
98
  const { AsyncLocalStorage } = await import("async_hooks");
97
- runtime.overwriteServerAsyncLocalStorage(new AsyncLocalStorage());
98
- } else if (!runtime.serverAsyncLocalStorage) {
99
- runtime.overwriteServerAsyncLocalStorage(createMockAsyncLocalStorage());
99
+ requestAsyncLocalStorage = runtime.getServerAsyncLocalStorage();
100
+ if (!requestAsyncLocalStorage) {
101
+ requestAsyncLocalStorage = new AsyncLocalStorage();
102
+ runtime.overwriteServerAsyncLocalStorage(requestAsyncLocalStorage);
103
+ }
104
+ }
105
+ if (!requestAsyncLocalStorage) {
106
+ requestAsyncLocalStorage = createMockAsyncLocalStorage();
107
+ runtime.overwriteServerAsyncLocalStorage(requestAsyncLocalStorage);
100
108
  }
101
109
  const url = resolveMiddlewareUrl(request, options?.effectiveRequestUrl);
102
110
  const origin = url.origin;
@@ -105,10 +113,13 @@ export async function paraglideMiddleware(request, resolve, options) {
105
113
  const newRequest = cloneRequestWithFallback(request, url);
106
114
  /** @type {Set<string>} */
107
115
  const messageCalls = new Set();
108
- return /** @type {Response} */ (await runtime.serverAsyncLocalStorage?.run({ locale, origin, messageCalls }, () => resolve({ locale, request: newRequest })));
116
+ return /** @type {Response} */ (await requestAsyncLocalStorage?.run({ locale, origin, messageCalls }, () => resolve({ locale, request: newRequest })));
109
117
  }
110
118
  const strategy = runtime.getStrategyForUrl(url.href);
111
- const decision = await runtime.shouldRedirect({ request, effectiveRequestUrl: url });
119
+ const decision = await runtime.shouldRedirect({
120
+ request,
121
+ effectiveRequestUrl: url,
122
+ });
112
123
  const locale = decision.locale;
113
124
  // if the client makes a request to a URL that doesn't match
114
125
  // the localizedUrl, redirect the client to the localized URL
@@ -147,7 +158,7 @@ export async function paraglideMiddleware(request, resolve, options) {
147
158
  // the message functions that have been called in this request
148
159
  /** @type {Set<string>} */
149
160
  const messageCalls = new Set();
150
- const response = await runtime.serverAsyncLocalStorage?.run({ locale, origin, messageCalls }, () => resolve({ locale, request: newRequest }));
161
+ const response = await requestAsyncLocalStorage?.run({ locale, origin, messageCalls }, () => resolve({ locale, request: newRequest }));
151
162
  // Only modify HTML responses
152
163
  if (runtime.experimentalMiddlewareLocaleSplitting &&
153
164
  response.headers.get("Content-Type")?.includes("html")) {
@@ -164,7 +175,12 @@ export async function paraglideMiddleware(request, resolve, options) {
164
175
  const escapedMessages = messages
165
176
  .join(",")
166
177
  .replace(/<\/(script)/gi, "<\\/$1");
167
- const script = `<script>globalThis.__paraglide = globalThis.__paraglide ?? {}; globalThis.__paraglide.ssr = { ${escapedMessages} }</script>`;
178
+ // Reuse the request's CSP nonce (if any) so the injected script is allowed under a strict CSP
179
+ const nonce = response.headers
180
+ .get("Content-Security-Policy")
181
+ ?.match(/'nonce-([\w+/=-]+)'/)?.[1];
182
+ const nonceAttr = nonce ? `nonce="${nonce}"` : "";
183
+ const script = `<script ${nonceAttr}>globalThis.__paraglide = globalThis.__paraglide ?? {}; globalThis.__paraglide.ssr = { ${escapedMessages} }</script>`;
168
184
  // Insert the script before the closing head tag
169
185
  const newBody = body.replace("</head>", `${script}</head>`);
170
186
  // Create a new response with the modified body
@@ -188,7 +204,8 @@ function resolveMiddlewareUrl(request, effectiveRequestUrl) {
188
204
  if (typeof effectiveRequestUrl === "function") {
189
205
  return new URL(effectiveRequestUrl(request), request.url);
190
206
  }
191
- if (typeof effectiveRequestUrl === "string" || effectiveRequestUrl instanceof URL) {
207
+ if (typeof effectiveRequestUrl === "string" ||
208
+ effectiveRequestUrl instanceof URL) {
192
209
  return new URL(effectiveRequestUrl, request.url);
193
210
  }
194
211
  return new URL(request.url);
@@ -248,6 +248,18 @@ export class IntoUnderlyingByteSource {
248
248
  readonly type: ReadableStreamType;
249
249
  }
250
250
 
251
+ declare class IntoUnderlyingByteSource2 {
252
+ private constructor();
253
+ free(): void;
254
+ [Symbol.dispose](): void;
255
+ cancel(): void;
256
+ pull(controller: ReadableByteStreamController): Promise<any>;
257
+ start(controller: ReadableByteStreamController): void;
258
+ readonly autoAllocateChunkSize: number;
259
+ readonly type: ReadableStreamType;
260
+ }
261
+ export type { IntoUnderlyingByteSource2 };
262
+
251
263
  export class IntoUnderlyingSink {
252
264
  private constructor();
253
265
  free(): void;
@@ -257,6 +269,16 @@ export class IntoUnderlyingSink {
257
269
  write(chunk: any): Promise<any>;
258
270
  }
259
271
 
272
+ declare class IntoUnderlyingSink2 {
273
+ private constructor();
274
+ free(): void;
275
+ [Symbol.dispose](): void;
276
+ abort(reason: any): Promise<any>;
277
+ close(): Promise<any>;
278
+ write(chunk: any): Promise<any>;
279
+ }
280
+ export type { IntoUnderlyingSink2 };
281
+
260
282
  export class IntoUnderlyingSource {
261
283
  private constructor();
262
284
  free(): void;
@@ -265,6 +287,15 @@ export class IntoUnderlyingSource {
265
287
  pull(controller: ReadableStreamDefaultController): Promise<any>;
266
288
  }
267
289
 
290
+ declare class IntoUnderlyingSource2 {
291
+ private constructor();
292
+ free(): void;
293
+ [Symbol.dispose](): void;
294
+ cancel(): void;
295
+ pull(controller: ReadableStreamDefaultController): Promise<any>;
296
+ }
297
+ export type { IntoUnderlyingSource2 };
298
+
268
299
  export class NetworkNode {
269
300
  private constructor();
270
301
  free(): void;
@@ -316,8 +347,11 @@ export interface InitOutput {
316
347
  readonly __wbg_channel_free: (a: number, b: number) => void;
317
348
  readonly __wbg_channelsender_free: (a: number, b: number) => void;
318
349
  readonly __wbg_gamestate_free: (a: number, b: number) => void;
350
+ readonly __wbg_intounderlyingbytesource2_free: (a: number, b: number) => void;
319
351
  readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
352
+ readonly __wbg_intounderlyingsink2_free: (a: number, b: number) => void;
320
353
  readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
354
+ readonly __wbg_intounderlyingsource2_free: (a: number, b: number) => void;
321
355
  readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
322
356
  readonly __wbg_networknode_free: (a: number, b: number) => void;
323
357
  readonly __wbg_pulse_free: (a: number, b: number) => void;
@@ -342,7 +376,7 @@ export interface InitOutput {
342
376
  readonly gamestate_lastInboundMutationMs: (a: number) => [number, number];
343
377
  readonly gamestate_lastOutboundMutationMs: (a: number) => [number, number];
344
378
  readonly gamestate_networkListenerStarted: (a: number) => number;
345
- readonly gamestate_networkPeers: (a: number) => [number, number];
379
+ readonly gamestate_networkPeers: (a: number) => [number, number, number, number];
346
380
  readonly gamestate_networkSnapshot: (a: number) => any;
347
381
  readonly gamestate_new: (a: any) => [number, number, number];
348
382
  readonly gamestate_optionsFromTicket: (a: number, b: number) => [number, number, number];
@@ -351,14 +385,24 @@ export interface InitOutput {
351
385
  readonly gamestate_topicId: (a: number) => [number, number];
352
386
  readonly gamestate_uiState: (a: number) => number;
353
387
  readonly generateMapData: (a: any) => [number, number, number];
388
+ readonly intounderlyingbytesource2_autoAllocateChunkSize: (a: number) => number;
389
+ readonly intounderlyingbytesource2_cancel: (a: number) => void;
390
+ readonly intounderlyingbytesource2_pull: (a: number, b: any) => any;
391
+ readonly intounderlyingbytesource2_start: (a: number, b: any) => void;
392
+ readonly intounderlyingbytesource2_type: (a: number) => number;
354
393
  readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
355
394
  readonly intounderlyingbytesource_cancel: (a: number) => void;
356
395
  readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
357
396
  readonly intounderlyingbytesource_start: (a: number, b: any) => void;
358
397
  readonly intounderlyingbytesource_type: (a: number) => number;
398
+ readonly intounderlyingsink2_abort: (a: number, b: any) => any;
399
+ readonly intounderlyingsink2_close: (a: number) => any;
400
+ readonly intounderlyingsink2_write: (a: number, b: any) => any;
359
401
  readonly intounderlyingsink_abort: (a: number, b: any) => any;
360
402
  readonly intounderlyingsink_close: (a: number) => any;
361
403
  readonly intounderlyingsink_write: (a: number, b: any) => any;
404
+ readonly intounderlyingsource2_cancel: (a: number) => void;
405
+ readonly intounderlyingsource2_pull: (a: number, b: any) => any;
362
406
  readonly intounderlyingsource_cancel: (a: number) => void;
363
407
  readonly intounderlyingsource_pull: (a: number, b: any) => any;
364
408
  readonly networknode_create: (a: number, b: number, c: number) => any;
@@ -380,6 +424,7 @@ export interface InitOutput {
380
424
  readonly wasm_bindgen_585cb334958f67c___convert__closures_____invoke___wasm_bindgen_585cb334958f67c___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_585cb334958f67c___JsError___true_: (a: number, b: number, c: any) => [number, number];
381
425
  readonly wasm_bindgen_585cb334958f67c___convert__closures_____invoke___wasm_bindgen_585cb334958f67c___JsValue__wasm_bindgen_585cb334958f67c___JsValue__true_: (a: number, b: number, c: any) => any;
382
426
  readonly wasm_bindgen_585cb334958f67c___convert__closures_____invoke___wasm_bindgen_585cb334958f67c___JsValue______true_: (a: number, b: number, c: any) => void;
427
+ readonly wasm_bindgen_585cb334958f67c___convert__closures_____invoke___wasm_bindgen_585cb334958f67c___JsValue______true__1_: (a: number, b: number, c: any) => void;
383
428
  readonly wasm_bindgen_585cb334958f67c___convert__closures_____invoke___web_sys_6e0514d408c53d89___features__gen_CloseEvent__CloseEvent______true_: (a: number, b: number, c: any) => void;
384
429
  readonly wasm_bindgen_585cb334958f67c___convert__closures_____invoke___web_sys_6e0514d408c53d89___features__gen_MessageEvent__MessageEvent______true_: (a: number, b: number, c: any) => void;
385
430
  readonly wasm_bindgen_585cb334958f67c___convert__closures_____invoke_______true_: (a: number, b: number) => void;
@@ -259,6 +259,9 @@ export class GameState {
259
259
  */
260
260
  get networkPeers() {
261
261
  const ret = wasm.gamestate_networkPeers(this.__wbg_ptr);
262
+ if (ret[3]) {
263
+ throw takeFromExternrefTable0(ret[2]);
264
+ }
262
265
  var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]);
263
266
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
264
267
  return v1;
@@ -383,6 +386,52 @@ export class IntoUnderlyingByteSource {
383
386
  }
384
387
  if (Symbol.dispose) IntoUnderlyingByteSource.prototype[Symbol.dispose] = IntoUnderlyingByteSource.prototype.free;
385
388
 
389
+ class IntoUnderlyingByteSource2 {
390
+ __destroy_into_raw() {
391
+ const ptr = this.__wbg_ptr;
392
+ this.__wbg_ptr = 0;
393
+ IntoUnderlyingByteSource2Finalization.unregister(this);
394
+ return ptr;
395
+ }
396
+ free() {
397
+ const ptr = this.__destroy_into_raw();
398
+ wasm.__wbg_intounderlyingbytesource2_free(ptr, 0);
399
+ }
400
+ /**
401
+ * @returns {number}
402
+ */
403
+ get autoAllocateChunkSize() {
404
+ const ret = wasm.intounderlyingbytesource2_autoAllocateChunkSize(this.__wbg_ptr);
405
+ return ret >>> 0;
406
+ }
407
+ cancel() {
408
+ const ptr = this.__destroy_into_raw();
409
+ wasm.intounderlyingbytesource2_cancel(ptr);
410
+ }
411
+ /**
412
+ * @param {ReadableByteStreamController} controller
413
+ * @returns {Promise<any>}
414
+ */
415
+ pull(controller) {
416
+ const ret = wasm.intounderlyingbytesource2_pull(this.__wbg_ptr, controller);
417
+ return ret;
418
+ }
419
+ /**
420
+ * @param {ReadableByteStreamController} controller
421
+ */
422
+ start(controller) {
423
+ wasm.intounderlyingbytesource2_start(this.__wbg_ptr, controller);
424
+ }
425
+ /**
426
+ * @returns {ReadableStreamType}
427
+ */
428
+ get type() {
429
+ const ret = wasm.intounderlyingbytesource2_type(this.__wbg_ptr);
430
+ return __wbindgen_enum_ReadableStreamType[ret];
431
+ }
432
+ }
433
+ if (Symbol.dispose) IntoUnderlyingByteSource2.prototype[Symbol.dispose] = IntoUnderlyingByteSource2.prototype.free;
434
+
386
435
  export class IntoUnderlyingSink {
387
436
  __destroy_into_raw() {
388
437
  const ptr = this.__wbg_ptr;
@@ -422,13 +471,46 @@ export class IntoUnderlyingSink {
422
471
  }
423
472
  if (Symbol.dispose) IntoUnderlyingSink.prototype[Symbol.dispose] = IntoUnderlyingSink.prototype.free;
424
473
 
425
- export class IntoUnderlyingSource {
426
- static __wrap(ptr) {
427
- const obj = Object.create(IntoUnderlyingSource.prototype);
428
- obj.__wbg_ptr = ptr;
429
- IntoUnderlyingSourceFinalization.register(obj, obj.__wbg_ptr, obj);
430
- return obj;
474
+ class IntoUnderlyingSink2 {
475
+ __destroy_into_raw() {
476
+ const ptr = this.__wbg_ptr;
477
+ this.__wbg_ptr = 0;
478
+ IntoUnderlyingSink2Finalization.unregister(this);
479
+ return ptr;
480
+ }
481
+ free() {
482
+ const ptr = this.__destroy_into_raw();
483
+ wasm.__wbg_intounderlyingsink2_free(ptr, 0);
484
+ }
485
+ /**
486
+ * @param {any} reason
487
+ * @returns {Promise<any>}
488
+ */
489
+ abort(reason) {
490
+ const ptr = this.__destroy_into_raw();
491
+ const ret = wasm.intounderlyingsink2_abort(ptr, reason);
492
+ return ret;
493
+ }
494
+ /**
495
+ * @returns {Promise<any>}
496
+ */
497
+ close() {
498
+ const ptr = this.__destroy_into_raw();
499
+ const ret = wasm.intounderlyingsink2_close(ptr);
500
+ return ret;
501
+ }
502
+ /**
503
+ * @param {any} chunk
504
+ * @returns {Promise<any>}
505
+ */
506
+ write(chunk) {
507
+ const ret = wasm.intounderlyingsink2_write(this.__wbg_ptr, chunk);
508
+ return ret;
431
509
  }
510
+ }
511
+ if (Symbol.dispose) IntoUnderlyingSink2.prototype[Symbol.dispose] = IntoUnderlyingSink2.prototype.free;
512
+
513
+ export class IntoUnderlyingSource {
432
514
  __destroy_into_raw() {
433
515
  const ptr = this.__wbg_ptr;
434
516
  this.__wbg_ptr = 0;
@@ -454,6 +536,38 @@ export class IntoUnderlyingSource {
454
536
  }
455
537
  if (Symbol.dispose) IntoUnderlyingSource.prototype[Symbol.dispose] = IntoUnderlyingSource.prototype.free;
456
538
 
539
+ class IntoUnderlyingSource2 {
540
+ static __wrap(ptr) {
541
+ const obj = Object.create(IntoUnderlyingSource2.prototype);
542
+ obj.__wbg_ptr = ptr;
543
+ IntoUnderlyingSource2Finalization.register(obj, obj.__wbg_ptr, obj);
544
+ return obj;
545
+ }
546
+ __destroy_into_raw() {
547
+ const ptr = this.__wbg_ptr;
548
+ this.__wbg_ptr = 0;
549
+ IntoUnderlyingSource2Finalization.unregister(this);
550
+ return ptr;
551
+ }
552
+ free() {
553
+ const ptr = this.__destroy_into_raw();
554
+ wasm.__wbg_intounderlyingsource2_free(ptr, 0);
555
+ }
556
+ cancel() {
557
+ const ptr = this.__destroy_into_raw();
558
+ wasm.intounderlyingsource2_cancel(ptr);
559
+ }
560
+ /**
561
+ * @param {ReadableStreamDefaultController} controller
562
+ * @returns {Promise<any>}
563
+ */
564
+ pull(controller) {
565
+ const ret = wasm.intounderlyingsource2_pull(this.__wbg_ptr, controller);
566
+ return ret;
567
+ }
568
+ }
569
+ if (Symbol.dispose) IntoUnderlyingSource2.prototype[Symbol.dispose] = IntoUnderlyingSource2.prototype.free;
570
+
457
571
  export class NetworkNode {
458
572
  static __wrap(ptr) {
459
573
  const obj = Object.create(NetworkNode.prototype);
@@ -877,6 +991,10 @@ function __wbg_get_imports() {
877
991
  const ret = arg0.getReader();
878
992
  return ret;
879
993
  }, arguments); },
994
+ __wbg_getReader_bf34f92ee19c42b4: function() { return handleError(function (arg0) {
995
+ const ret = arg0.getReader();
996
+ return ret;
997
+ }, arguments); },
880
998
  __wbg_get_31af05bd4842a84f: function() { return handleError(function (arg0, arg1) {
881
999
  const ret = Reflect.get(arg0, arg1);
882
1000
  return ret;
@@ -1061,8 +1179,8 @@ function __wbg_get_imports() {
1061
1179
  const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
1062
1180
  return ret;
1063
1181
  },
1064
- __wbg_new_with_into_underlying_source_fd904252f385f59c: function(arg0, arg1) {
1065
- const ret = new ReadableStream(IntoUnderlyingSource.__wrap(arg0), arg1);
1182
+ __wbg_new_with_into_underlying_source_a57cfcc7c705351c: function(arg0, arg1) {
1183
+ const ret = new ReadableStream(IntoUnderlyingSource2.__wrap(arg0), arg1);
1066
1184
  return ret;
1067
1185
  },
1068
1186
  __wbg_new_with_length_3da0ad195f6f63ba: function(arg0) {
@@ -1326,71 +1444,76 @@ function __wbg_get_imports() {
1326
1444
  return ret;
1327
1445
  },
1328
1446
  __wbindgen_generic_0000000000000001: function(arg0, arg1) {
1329
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2336, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1330
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_585cb334958f67c___convert__closures_____invoke___wasm_bindgen_585cb334958f67c___JsValue______true_);
1447
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2378, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1448
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_585cb334958f67c___convert__closures_____invoke___wasm_bindgen_585cb334958f67c___JsValue______true__1_);
1331
1449
  return ret;
1332
1450
  },
1333
1451
  __wbindgen_generic_0000000000000002: function(arg0, arg1) {
1334
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3995, ret: Externref, inner_ret: Some(Externref) }, mutable: true }) -> Externref`.
1452
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 4040, ret: Externref, inner_ret: Some(Externref) }, mutable: true }) -> Externref`.
1335
1453
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_585cb334958f67c___convert__closures_____invoke___wasm_bindgen_585cb334958f67c___JsValue__wasm_bindgen_585cb334958f67c___JsValue__true_);
1336
1454
  return ret;
1337
1455
  },
1338
1456
  __wbindgen_generic_0000000000000003: function(arg0, arg1) {
1339
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 4000, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1457
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 4053, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1340
1458
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_585cb334958f67c___convert__closures_____invoke___wasm_bindgen_585cb334958f67c___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_585cb334958f67c___JsError___true_);
1341
1459
  return ret;
1342
1460
  },
1343
1461
  __wbindgen_generic_0000000000000004: function(arg0, arg1) {
1344
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1118, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1345
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_585cb334958f67c___convert__closures_____invoke___web_sys_6e0514d408c53d89___features__gen_CloseEvent__CloseEvent______true_);
1462
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 470, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1463
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_585cb334958f67c___convert__closures_____invoke___wasm_bindgen_585cb334958f67c___JsValue______true_);
1346
1464
  return ret;
1347
1465
  },
1348
1466
  __wbindgen_generic_0000000000000005: function(arg0, arg1) {
1349
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 2743, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1350
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_585cb334958f67c___convert__closures_____invoke___web_sys_6e0514d408c53d89___features__gen_MessageEvent__MessageEvent______true_);
1467
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1143, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1468
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_585cb334958f67c___convert__closures_____invoke___web_sys_6e0514d408c53d89___features__gen_CloseEvent__CloseEvent______true_);
1351
1469
  return ret;
1352
1470
  },
1353
1471
  __wbindgen_generic_0000000000000006: function(arg0, arg1) {
1354
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2296, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1355
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_585cb334958f67c___convert__closures_____invoke_______true_);
1472
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 2785, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1473
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_585cb334958f67c___convert__closures_____invoke___web_sys_6e0514d408c53d89___features__gen_MessageEvent__MessageEvent______true_);
1356
1474
  return ret;
1357
1475
  },
1358
1476
  __wbindgen_generic_0000000000000007: function(arg0, arg1) {
1359
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2476, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1360
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_585cb334958f67c___convert__closures_____invoke_______true__1_);
1477
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2338, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1478
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_585cb334958f67c___convert__closures_____invoke_______true_);
1361
1479
  return ret;
1362
1480
  },
1363
1481
  __wbindgen_generic_0000000000000008: function(arg0, arg1) {
1364
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2478, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1365
- const ret = makeClosure(arg0, arg1, wasm_bindgen_585cb334958f67c___convert__closures_____invoke_______true__2_);
1482
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2518, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1483
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_585cb334958f67c___convert__closures_____invoke_______true__1_);
1366
1484
  return ret;
1367
1485
  },
1368
1486
  __wbindgen_generic_0000000000000009: function(arg0, arg1) {
1369
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 3865, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1487
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2520, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1488
+ const ret = makeClosure(arg0, arg1, wasm_bindgen_585cb334958f67c___convert__closures_____invoke_______true__2_);
1489
+ return ret;
1490
+ },
1491
+ __wbindgen_generic_000000000000000a: function(arg0, arg1) {
1492
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 3908, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1370
1493
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_585cb334958f67c___convert__closures_____invoke_______true__3_);
1371
1494
  return ret;
1372
1495
  },
1373
- __wbindgen_generic_000000000000000a: function(arg0) {
1496
+ __wbindgen_generic_000000000000000b: function(arg0) {
1374
1497
  // Cast intrinsic for `F64 -> Externref`.
1375
1498
  const ret = arg0;
1376
1499
  return ret;
1377
1500
  },
1378
- __wbindgen_generic_000000000000000b: function(arg0) {
1501
+ __wbindgen_generic_000000000000000c: function(arg0) {
1379
1502
  // Cast intrinsic for `I64 -> Externref`.
1380
1503
  const ret = arg0;
1381
1504
  return ret;
1382
1505
  },
1383
- __wbindgen_generic_000000000000000c: function(arg0, arg1) {
1506
+ __wbindgen_generic_000000000000000d: function(arg0, arg1) {
1384
1507
  // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
1385
1508
  const ret = getArrayU8FromWasm0(arg0, arg1);
1386
1509
  return ret;
1387
1510
  },
1388
- __wbindgen_generic_000000000000000d: function(arg0, arg1) {
1511
+ __wbindgen_generic_000000000000000e: function(arg0, arg1) {
1389
1512
  // Cast intrinsic for `Ref(String) -> Externref`.
1390
1513
  const ret = getStringFromWasm0(arg0, arg1);
1391
1514
  return ret;
1392
1515
  },
1393
- __wbindgen_generic_000000000000000e: function(arg0) {
1516
+ __wbindgen_generic_000000000000000f: function(arg0) {
1394
1517
  // Cast intrinsic for `U64 -> Externref`.
1395
1518
  const ret = BigInt.asUintN(64, arg0);
1396
1519
  return ret;
@@ -1429,6 +1552,10 @@ function wasm_bindgen_585cb334958f67c___convert__closures_____invoke_______true_
1429
1552
  wasm.wasm_bindgen_585cb334958f67c___convert__closures_____invoke_______true__3_(arg0, arg1);
1430
1553
  }
1431
1554
 
1555
+ function wasm_bindgen_585cb334958f67c___convert__closures_____invoke___wasm_bindgen_585cb334958f67c___JsValue______true__1_(arg0, arg1, arg2) {
1556
+ wasm.wasm_bindgen_585cb334958f67c___convert__closures_____invoke___wasm_bindgen_585cb334958f67c___JsValue______true__1_(arg0, arg1, arg2);
1557
+ }
1558
+
1432
1559
  function wasm_bindgen_585cb334958f67c___convert__closures_____invoke___wasm_bindgen_585cb334958f67c___JsValue______true_(arg0, arg1, arg2) {
1433
1560
  wasm.wasm_bindgen_585cb334958f67c___convert__closures_____invoke___wasm_bindgen_585cb334958f67c___JsValue______true_(arg0, arg1, arg2);
1434
1561
  }
@@ -1486,12 +1613,21 @@ const GameStateFinalization = (typeof FinalizationRegistry === 'undefined')
1486
1613
  const IntoUnderlyingByteSourceFinalization = (typeof FinalizationRegistry === 'undefined')
1487
1614
  ? { register: () => {}, unregister: () => {} }
1488
1615
  : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr, 1));
1616
+ const IntoUnderlyingByteSource2Finalization = (typeof FinalizationRegistry === 'undefined')
1617
+ ? { register: () => {}, unregister: () => {} }
1618
+ : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource2_free(ptr, 1));
1489
1619
  const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefined')
1490
1620
  ? { register: () => {}, unregister: () => {} }
1491
1621
  : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr, 1));
1622
+ const IntoUnderlyingSink2Finalization = (typeof FinalizationRegistry === 'undefined')
1623
+ ? { register: () => {}, unregister: () => {} }
1624
+ : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink2_free(ptr, 1));
1492
1625
  const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined')
1493
1626
  ? { register: () => {}, unregister: () => {} }
1494
1627
  : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr, 1));
1628
+ const IntoUnderlyingSource2Finalization = (typeof FinalizationRegistry === 'undefined')
1629
+ ? { register: () => {}, unregister: () => {} }
1630
+ : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource2_free(ptr, 1));
1495
1631
  const NetworkNodeFinalization = (typeof FinalizationRegistry === 'undefined')
1496
1632
  ? { register: () => {}, unregister: () => {} }
1497
1633
  : new FinalizationRegistry(ptr => wasm.__wbg_networknode_free(ptr, 1));
Binary file
@@ -4,8 +4,11 @@ export const memory: WebAssembly.Memory;
4
4
  export const __wbg_channel_free: (a: number, b: number) => void;
5
5
  export const __wbg_channelsender_free: (a: number, b: number) => void;
6
6
  export const __wbg_gamestate_free: (a: number, b: number) => void;
7
+ export const __wbg_intounderlyingbytesource2_free: (a: number, b: number) => void;
7
8
  export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
9
+ export const __wbg_intounderlyingsink2_free: (a: number, b: number) => void;
8
10
  export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
11
+ export const __wbg_intounderlyingsource2_free: (a: number, b: number) => void;
9
12
  export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
10
13
  export const __wbg_networknode_free: (a: number, b: number) => void;
11
14
  export const __wbg_pulse_free: (a: number, b: number) => void;
@@ -30,7 +33,7 @@ export const gamestate_joinAsPeer: (a: number, b: number, c: number, d: number,
30
33
  export const gamestate_lastInboundMutationMs: (a: number) => [number, number];
31
34
  export const gamestate_lastOutboundMutationMs: (a: number) => [number, number];
32
35
  export const gamestate_networkListenerStarted: (a: number) => number;
33
- export const gamestate_networkPeers: (a: number) => [number, number];
36
+ export const gamestate_networkPeers: (a: number) => [number, number, number, number];
34
37
  export const gamestate_networkSnapshot: (a: number) => any;
35
38
  export const gamestate_new: (a: any) => [number, number, number];
36
39
  export const gamestate_optionsFromTicket: (a: number, b: number) => [number, number, number];
@@ -39,14 +42,24 @@ export const gamestate_score: (a: number) => any;
39
42
  export const gamestate_topicId: (a: number) => [number, number];
40
43
  export const gamestate_uiState: (a: number) => number;
41
44
  export const generateMapData: (a: any) => [number, number, number];
45
+ export const intounderlyingbytesource2_autoAllocateChunkSize: (a: number) => number;
46
+ export const intounderlyingbytesource2_cancel: (a: number) => void;
47
+ export const intounderlyingbytesource2_pull: (a: number, b: any) => any;
48
+ export const intounderlyingbytesource2_start: (a: number, b: any) => void;
49
+ export const intounderlyingbytesource2_type: (a: number) => number;
42
50
  export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
43
51
  export const intounderlyingbytesource_cancel: (a: number) => void;
44
52
  export const intounderlyingbytesource_pull: (a: number, b: any) => any;
45
53
  export const intounderlyingbytesource_start: (a: number, b: any) => void;
46
54
  export const intounderlyingbytesource_type: (a: number) => number;
55
+ export const intounderlyingsink2_abort: (a: number, b: any) => any;
56
+ export const intounderlyingsink2_close: (a: number) => any;
57
+ export const intounderlyingsink2_write: (a: number, b: any) => any;
47
58
  export const intounderlyingsink_abort: (a: number, b: any) => any;
48
59
  export const intounderlyingsink_close: (a: number) => any;
49
60
  export const intounderlyingsink_write: (a: number, b: any) => any;
61
+ export const intounderlyingsource2_cancel: (a: number) => void;
62
+ export const intounderlyingsource2_pull: (a: number, b: any) => any;
50
63
  export const intounderlyingsource_cancel: (a: number) => void;
51
64
  export const intounderlyingsource_pull: (a: number, b: any) => any;
52
65
  export const networknode_create: (a: number, b: number, c: number) => any;
@@ -68,6 +81,7 @@ export const wasm_bindgen_585cb334958f67c___convert__closures_____invoke___js_sy
68
81
  export const wasm_bindgen_585cb334958f67c___convert__closures_____invoke___wasm_bindgen_585cb334958f67c___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_585cb334958f67c___JsError___true_: (a: number, b: number, c: any) => [number, number];
69
82
  export const wasm_bindgen_585cb334958f67c___convert__closures_____invoke___wasm_bindgen_585cb334958f67c___JsValue__wasm_bindgen_585cb334958f67c___JsValue__true_: (a: number, b: number, c: any) => any;
70
83
  export const wasm_bindgen_585cb334958f67c___convert__closures_____invoke___wasm_bindgen_585cb334958f67c___JsValue______true_: (a: number, b: number, c: any) => void;
84
+ export const wasm_bindgen_585cb334958f67c___convert__closures_____invoke___wasm_bindgen_585cb334958f67c___JsValue______true__1_: (a: number, b: number, c: any) => void;
71
85
  export const wasm_bindgen_585cb334958f67c___convert__closures_____invoke___web_sys_6e0514d408c53d89___features__gen_CloseEvent__CloseEvent______true_: (a: number, b: number, c: any) => void;
72
86
  export const wasm_bindgen_585cb334958f67c___convert__closures_____invoke___web_sys_6e0514d408c53d89___features__gen_MessageEvent__MessageEvent______true_: (a: number, b: number, c: any) => void;
73
87
  export const wasm_bindgen_585cb334958f67c___convert__closures_____invoke_______true_: (a: number, b: number) => void;
package/package.json CHANGED
@@ -1,40 +1,40 @@
1
1
  {
2
2
  "devDependencies": {
3
- "@eslint/compat": "^2.0.4",
3
+ "@eslint/compat": "^2.1.1",
4
4
  "@eslint/js": "^10.0.1",
5
- "@inlang/paraglide-js": "^2.15.2",
5
+ "@inlang/paraglide-js": "^2.25.4",
6
6
  "@sveltejs/adapter-static": "^3.0.10",
7
- "@sveltejs/kit": "^2.57.0",
8
- "@sveltejs/package": "^2.5.7",
9
- "@sveltejs/vite-plugin-svelte": "^7.0.0",
7
+ "@sveltejs/kit": "^2.70.3",
8
+ "@sveltejs/package": "^2.5.8",
9
+ "@sveltejs/vite-plugin-svelte": "^7.3.1",
10
10
  "@tailwindcss/forms": "^0.5.11",
11
- "@tailwindcss/typography": "^0.5.19",
12
- "@tailwindcss/vite": "^4.2.2",
13
- "@types/node": "^24",
14
- "@vitest/browser-playwright": "^4.1.3",
15
- "eslint": "^10.2.0",
11
+ "@tailwindcss/typography": "^0.5.20",
12
+ "@tailwindcss/vite": "^4.3.3",
13
+ "@types/node": "^26",
14
+ "@vitest/browser-playwright": "^5.0.2",
15
+ "eslint": "^10.11.0",
16
16
  "eslint-config-prettier": "^10.1.8",
17
- "eslint-plugin-svelte": "^3.17.0",
18
- "globals": "^17.4.0",
19
- "playwright": "^1.59.1",
20
- "prettier": "^3.8.1",
21
- "prettier-plugin-glsl": "^0.3.0",
22
- "prettier-plugin-svelte": "^3.5.1",
23
- "prettier-plugin-tailwindcss": "^0.7.2",
24
- "publint": "^0.3.21",
25
- "svelte": "^5.55.2",
26
- "svelte-check": "^4.4.6",
27
- "tailwindcss": "^4.2.2",
28
- "typescript": "^6.0.2",
29
- "typescript-eslint": "^8.58.1",
30
- "vite": "^8.0.7",
17
+ "eslint-plugin-svelte": "^3.23.0",
18
+ "globals": "^17.12.0",
19
+ "playwright": "^1.63.0",
20
+ "prettier": "^3.9.9",
21
+ "prettier-plugin-glsl": "^0.3.1",
22
+ "prettier-plugin-svelte": "^4.1.1",
23
+ "prettier-plugin-tailwindcss": "^0.8.1",
24
+ "publint": "^0.3.24",
25
+ "svelte": "^5.57.1",
26
+ "svelte-check": "^4.7.6",
27
+ "tailwindcss": "^4.3.3",
28
+ "typescript": "^6.0.3",
29
+ "typescript-eslint": "^8.70.1",
30
+ "vite": "^8.3.1",
31
31
  "vite-plugin-wasm": "^3.6.0",
32
- "vitest": "^4.1.3",
33
- "vitest-browser-svelte": "^2.1.0"
32
+ "vitest": "^5.0.2",
33
+ "vitest-browser-svelte": "^3.1.0"
34
34
  },
35
35
  "dependencies": {
36
- "@threlte/core": "^8.5.9",
37
- "@threlte/extras": "^9.15.0"
36
+ "@threlte/core": "^8.6.1",
37
+ "@threlte/extras": "^9.22.0"
38
38
  },
39
39
  "exports": {
40
40
  ".": {
@@ -84,5 +84,5 @@
84
84
  "**/*.css"
85
85
  ],
86
86
  "type": "module",
87
- "version": "0.2.3"
87
+ "version": "0.2.4"
88
88
  }