@dcl-regenesislabs/bevy-explorer-web 0.1.0-27953885021.commit-0977a9a → 0.1.0-28017960330.commit-df928e4

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/.env CHANGED
@@ -1 +1 @@
1
- PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-27953885021.commit-0977a9a"
1
+ PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-28017960330.commit-df928e4"
package/index.html CHANGED
@@ -127,8 +127,10 @@
127
127
  var lastError = null; // { err, source, at } — most recent recorded error
128
128
  var lastBeat = 0; // timestamp of the last heartbeat
129
129
  var beatsSeen = false; // engine has produced at least one frame
130
- var HANG_MS = 15000; // silent stall (no corroborating error) before we show
131
- var ERROR_CONFIRM_MS = 3000; // stall after a recent error before we show
130
+ var beatCount = 0; // monotonic frame counter, bumped each heartbeat
131
+ var WATCHDOG_MS = 2000; // how often the watchdog checks
132
+ var HANG_TICKS = 8; // ~16s of no frames (no corroborating error) before we show
133
+ var ERROR_CONFIRM_TICKS = 2; // ~4s of no frames after a recent error before we show
132
134
 
133
135
  function nowMs() {
134
136
  return (window.performance && performance.now) ? performance.now() : Date.now();
@@ -222,15 +224,7 @@
222
224
  'border:1px solid rgba(255,255,255,0.3);border-radius:6px;' +
223
225
  'padding:12px 28px;font-size:1rem;font-weight:600;cursor:pointer;' +
224
226
  'margin:0;width:auto;display:inline-block;';
225
- dismissBtn.onclick = function () {
226
- overlay.remove();
227
- shown = false;
228
- // Re-arm: clear the stale error and pretend a fresh beat so we
229
- // don't immediately re-trigger. If the engine is genuinely dead
230
- // the heartbeat won't advance and the watchdog shows it again.
231
- lastError = null;
232
- lastBeat = nowMs();
233
- };
227
+ dismissBtn.onclick = hideCrashOverlay;
234
228
 
235
229
  buttons.appendChild(reloadBtn);
236
230
  buttons.appendChild(dismissBtn);
@@ -251,6 +245,20 @@
251
245
  }
252
246
  }
253
247
 
248
+ // Take the overlay back down — either the engine recovered (frames resumed)
249
+ // or the user dismissed a false positive. Re-arm detection from a clean slate
250
+ // so a later genuine crash still shows after a fresh full threshold.
251
+ function hideCrashOverlay() {
252
+ var el = document.getElementById('crash-overlay');
253
+ if (el) el.remove();
254
+ shown = false;
255
+ lastError = null;
256
+ lastBeat = nowMs();
257
+ missedTicks = 0;
258
+ recoverTicks = 0;
259
+ lastBeatCount = beatCount;
260
+ }
261
+
254
262
  // Record an error as context for the watchdog. Does NOT show the overlay —
255
263
  // only a stalled heartbeat does that. Exposed so engine.js worker handlers
256
264
  // can feed in worker crashes too.
@@ -264,6 +272,7 @@
264
272
  window.__engineHeartbeat = function () {
265
273
  lastBeat = nowMs();
266
274
  beatsSeen = true;
275
+ beatCount++;
267
276
  };
268
277
 
269
278
  // Don't shadow the browser/mobile gate page.
@@ -278,32 +287,48 @@
278
287
  });
279
288
  }
280
289
 
281
- // Backgrounded tabs throttle rAF/timers, so the heartbeat legitimately
282
- // stalls while hidden reset on return to visible to avoid a false verdict.
283
- document.addEventListener('visibilitychange', function () {
284
- if (!document.hidden) lastBeat = nowMs();
285
- });
286
-
287
- // The watchdog: the only thing that actually shows the overlay.
290
+ // The watchdog: the only thing that actually shows the overlay. We count
291
+ // consecutive ticks with no new frame rather than measuring wall-clock time,
292
+ // because a backgrounded / minimized / asleep tab throttles this very timer
293
+ // along with the rAF heartbeat — so a stall there produces at most a tick or
294
+ // two on wake, never enough to trip the threshold. A genuine engine stall
295
+ // leaves the JS event loop alive, so this timer keeps firing on schedule
296
+ // while only the heartbeat stops. (document.hidden also zeroes the counter,
297
+ // covering lightly-throttled background tabs that still fire timers ~1/s.)
298
+ var lastBeatCount = 0;
299
+ var missedTicks = 0;
300
+ var recoverTicks = 0; // consecutive ticks with frames again, while the overlay is up
288
301
  setInterval(function () {
289
- if (shown || !beatsSeen || document.hidden) return;
290
- var stalled = nowMs() - lastBeat;
302
+ if (!beatsSeen || document.hidden) { missedTicks = 0; recoverTicks = 0; return; }
303
+ var advanced = beatCount !== lastBeatCount; // engine produced frames since last tick
304
+ lastBeatCount = beatCount;
305
+
306
+ if (shown) {
307
+ // Overlay is up. If frames come back for a couple of ticks the engine
308
+ // recovered (the stall was transient) — take the overlay down. Two
309
+ // ticks rather than one so a single stray frame doesn't flicker it.
310
+ recoverTicks = advanced ? recoverTicks + 1 : 0;
311
+ if (recoverTicks >= 2) hideCrashOverlay();
312
+ return;
313
+ }
314
+
315
+ if (advanced) { missedTicks = 0; return; }
316
+ missedTicks++;
291
317
  // A recent error (recorded around when frames stopped) corroborates a
292
- // real crash, so we wait far less before showing it.
318
+ // real crash, so we wait far fewer ticks before showing it.
293
319
  var corroborated = lastError && lastError.at >= lastBeat - 1000;
294
- var threshold = corroborated ? ERROR_CONFIRM_MS : HANG_MS;
295
- if (stalled <= threshold) return;
320
+ if (missedTicks < (corroborated ? ERROR_CONFIRM_TICKS : HANG_TICKS)) return;
296
321
 
297
322
  if (lastError) {
298
323
  showCrashOverlay(lastError.err, lastError.source);
299
324
  } else {
300
325
  showCrashOverlay(
301
- 'The engine stopped responding (no frames for ' +
302
- Math.round(stalled / 1000) + 's). It may have run out of memory, ' +
303
- 'or a worker thread crashed and deadlocked the main thread.',
326
+ 'The engine stopped responding (no frames for ~' +
327
+ Math.round(missedTicks * WATCHDOG_MS / 1000) + 's). It may have run out ' +
328
+ 'of memory, or a worker thread crashed and deadlocked the main thread.',
304
329
  'watchdog');
305
330
  }
306
- }, 2000);
331
+ }, WATCHDOG_MS);
307
332
  })();
308
333
  </script>
309
334
  <link rel="icon" type="image/png" href="favicon/favicon-96x96.png" sizes="96x96" />
@@ -614,7 +639,7 @@
614
639
  }
615
640
  </style>
616
641
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
617
- <script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-27953885021.commit-0977a9a";</script>
642
+ <script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-28017960330.commit-df928e4";</script>
618
643
  </head>
619
644
  <body>
620
645
  <div id="header" class="container">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl-regenesislabs/bevy-explorer-web",
3
- "version": "0.1.0-27953885021.commit-0977a9a",
3
+ "version": "0.1.0-28017960330.commit-df928e4",
4
4
  "scripts": {
5
5
  "postinstall": "node ./scripts/prebuild.js"
6
6
  },
@@ -8,6 +8,6 @@
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/decentraland/bevy-explorer.git"
10
10
  },
11
- "homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-27953885021.commit-0977a9a",
12
- "commit": "0977a9a6794a5b69a36ca9e5c0e349b7c9f9460f"
11
+ "homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-28017960330.commit-df928e4",
12
+ "commit": "df928e4ef3a2d21a7b62333796dddd07835bd70f"
13
13
  }
package/pkg/manifest.json CHANGED
@@ -1 +1 @@
1
- {"wasmSize":110322365}
1
+ {"wasmSize":110327304}
@@ -303,7 +303,7 @@ export function op_send_chat(state: WorkerContext, message: string, channel: str
303
303
 
304
304
  export function op_send_friend_request(state: WorkerContext, address: string, message?: string | null): Promise<void>;
305
305
 
306
- export function op_set_avatar(state: WorkerContext, base: any, equip: any, has_claimed_name: boolean | null | undefined, profile_extras: any): Promise<number>;
306
+ export function op_set_avatar(state: WorkerContext, base: any, equip: any, has_claimed_name: boolean | null | undefined, profile_extras: any, name_color: any): Promise<number>;
307
307
 
308
308
  export function op_set_bindings(state: WorkerContext, bindings: any): Promise<void>;
309
309
 
@@ -468,7 +468,7 @@ export interface InitOutput {
468
468
  readonly op_send_batch: (a: number) => any;
469
469
  readonly op_send_chat: (a: number, b: number, c: number, d: number, e: number) => void;
470
470
  readonly op_send_friend_request: (a: number, b: number, c: number, d: number, e: number) => any;
471
- readonly op_set_avatar: (a: number, b: any, c: any, d: number, e: any) => any;
471
+ readonly op_set_avatar: (a: number, b: any, c: any, d: number, e: any, f: any) => any;
472
472
  readonly op_set_bindings: (a: number, b: any) => any;
473
473
  readonly op_set_elapsed: (a: number, b: number) => void;
474
474
  readonly op_set_home_scene: (a: number, b: number, c: number, d: any) => void;
@@ -1513,11 +1513,12 @@ export function op_send_friend_request(state, address, message) {
1513
1513
  * @param {any} equip
1514
1514
  * @param {boolean | null | undefined} has_claimed_name
1515
1515
  * @param {any} profile_extras
1516
+ * @param {any} name_color
1516
1517
  * @returns {Promise<number>}
1517
1518
  */
1518
- export function op_set_avatar(state, base, equip, has_claimed_name, profile_extras) {
1519
+ export function op_set_avatar(state, base, equip, has_claimed_name, profile_extras, name_color) {
1519
1520
  _assertClass(state, WorkerContext);
1520
- const ret = wasm.op_set_avatar(state.__wbg_ptr, base, equip, isLikeNone(has_claimed_name) ? 0xFFFFFF : has_claimed_name ? 1 : 0, profile_extras);
1521
+ const ret = wasm.op_set_avatar(state.__wbg_ptr, base, equip, isLikeNone(has_claimed_name) ? 0xFFFFFF : has_claimed_name ? 1 : 0, profile_extras, name_color);
1521
1522
  return ret;
1522
1523
  }
1523
1524
 
@@ -4890,147 +4891,147 @@ function __wbg_get_imports(memory) {
4890
4891
  return ret;
4891
4892
  },
4892
4893
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
4893
- // Cast intrinsic for `Closure(Closure { dtor_idx: 10889, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 10890, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4894
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 10890, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 10891, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4894
4895
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_773b58dd858ebbdd___features__gen_CloseEvent__CloseEvent____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_773b58dd858ebbdd___features__gen_CloseEvent__CloseEvent______true_);
4895
4896
  return ret;
4896
4897
  },
4897
4898
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
4898
- // Cast intrinsic for `Closure(Closure { dtor_idx: 130258, function: Function { arguments: [Externref], shim_idx: 130259, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4899
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 130265, function: Function { arguments: [Externref], shim_idx: 130266, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4899
4900
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output________2_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__3_);
4900
4901
  return ret;
4901
4902
  },
4902
4903
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
4903
- // Cast intrinsic for `Closure(Closure { dtor_idx: 130258, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 130259, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4904
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 130265, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 130266, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4904
4905
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output________2_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__3__2);
4905
4906
  return ret;
4906
4907
  },
4907
4908
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
4908
- // Cast intrinsic for `Closure(Closure { dtor_idx: 137489, function: Function { arguments: [Externref], shim_idx: 137490, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4909
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 137496, function: Function { arguments: [Externref], shim_idx: 137497, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4909
4910
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output________3_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__4_);
4910
4911
  return ret;
4911
4912
  },
4912
4913
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
4913
- // Cast intrinsic for `Closure(Closure { dtor_idx: 138777, function: Function { arguments: [], shim_idx: 138778, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4914
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 138784, function: Function { arguments: [], shim_idx: 138785, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4914
4915
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________3_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__4_);
4915
4916
  return ret;
4916
4917
  },
4917
4918
  __wbindgen_cast_0000000000000006: function(arg0, arg1) {
4918
- // Cast intrinsic for `Closure(Closure { dtor_idx: 145630, function: Function { arguments: [Externref], shim_idx: 145631, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4919
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 145637, function: Function { arguments: [Externref], shim_idx: 145638, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4919
4920
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output___core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue__core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___true_);
4920
4921
  return ret;
4921
4922
  },
4922
4923
  __wbindgen_cast_0000000000000007: function(arg0, arg1) {
4923
- // Cast intrinsic for `Closure(Closure { dtor_idx: 145630, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 145633, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4924
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 145637, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 145640, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4924
4925
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output___core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_773b58dd858ebbdd___features__gen_MessageEvent__MessageEvent______true_);
4925
4926
  return ret;
4926
4927
  },
4927
4928
  __wbindgen_cast_0000000000000008: function(arg0, arg1) {
4928
- // Cast intrinsic for `Closure(Closure { dtor_idx: 29376, function: Function { arguments: [F64, Externref], shim_idx: 29377, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4929
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 29377, function: Function { arguments: [F64, Externref], shim_idx: 29378, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4929
4930
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__f64__wasm_bindgen_37b2aef40228fbc7___JsValue___Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___f64__wasm_bindgen_37b2aef40228fbc7___JsValue______true_);
4930
4931
  return ret;
4931
4932
  },
4932
4933
  __wbindgen_cast_0000000000000009: function(arg0, arg1) {
4933
- // Cast intrinsic for `Closure(Closure { dtor_idx: 56134, function: Function { arguments: [Externref], shim_idx: 56135, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4934
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 56136, function: Function { arguments: [Externref], shim_idx: 56137, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4934
4935
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_913a2f036f4a5fac___livekit__web__room_event__RoomEvent____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_913a2f036f4a5fac___livekit__web__local_audio_track__LocalAudioTrack__core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___true_);
4935
4936
  return ret;
4936
4937
  },
4937
4938
  __wbindgen_cast_000000000000000a: function(arg0, arg1) {
4938
- // Cast intrinsic for `Closure(Closure { dtor_idx: 56134, function: Function { arguments: [Externref], shim_idx: 56137, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4939
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 56136, function: Function { arguments: [Externref], shim_idx: 56139, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4939
4940
  const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_913a2f036f4a5fac___livekit__web__room_event__RoomEvent____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_913a2f036f4a5fac___livekit__web__room_event__RoomEvent______true_);
4940
4941
  return ret;
4941
4942
  },
4942
4943
  __wbindgen_cast_000000000000000b: function(arg0, arg1) {
4943
- // Cast intrinsic for `Closure(Closure { dtor_idx: 58907, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 58908, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4944
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 58910, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 58911, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4944
4945
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_773b58dd858ebbdd___features__gen_CloseEvent__CloseEvent____Output________1_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_773b58dd858ebbdd___features__gen_CloseEvent__CloseEvent______true__1_);
4945
4946
  return ret;
4946
4947
  },
4947
4948
  __wbindgen_cast_000000000000000c: function(arg0, arg1) {
4948
- // Cast intrinsic for `Closure(Closure { dtor_idx: 63662, function: Function { arguments: [], shim_idx: 63663, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4949
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 63669, function: Function { arguments: [], shim_idx: 63670, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4949
4950
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true_);
4950
4951
  return ret;
4951
4952
  },
4952
4953
  __wbindgen_cast_000000000000000d: function(arg0, arg1) {
4953
- // Cast intrinsic for `Closure(Closure { dtor_idx: 64014, function: Function { arguments: [], shim_idx: 64015, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4954
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 64021, function: Function { arguments: [], shim_idx: 64022, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4954
4955
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________1_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__1_);
4955
4956
  return ret;
4956
4957
  },
4957
4958
  __wbindgen_cast_000000000000000e: function(arg0, arg1) {
4958
- // Cast intrinsic for `Closure(Closure { dtor_idx: 64050, function: Function { arguments: [Externref], shim_idx: 64051, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4959
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 64057, function: Function { arguments: [Externref], shim_idx: 64058, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4959
4960
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true_);
4960
4961
  return ret;
4961
4962
  },
4962
4963
  __wbindgen_cast_000000000000000f: function(arg0, arg1) {
4963
- // Cast intrinsic for `Closure(Closure { dtor_idx: 64094, function: Function { arguments: [], shim_idx: 64095, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4964
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 64101, function: Function { arguments: [], shim_idx: 64102, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4964
4965
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________2_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__2_);
4965
4966
  return ret;
4966
4967
  },
4967
4968
  __wbindgen_cast_0000000000000010: function(arg0, arg1) {
4968
- // Cast intrinsic for `Closure(Closure { dtor_idx: 64100, function: Function { arguments: [Externref], shim_idx: 64101, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4969
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 64107, function: Function { arguments: [Externref], shim_idx: 64108, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4969
4970
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output________1_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__1_);
4970
4971
  return ret;
4971
4972
  },
4972
4973
  __wbindgen_cast_0000000000000011: function(arg0, arg1) {
4973
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65113, function: Function { arguments: [NamedExternref("CompositionEvent")], shim_idx: 65114, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4974
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 65120, function: Function { arguments: [NamedExternref("CompositionEvent")], shim_idx: 65121, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4974
4975
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_773b58dd858ebbdd___features__gen_InputEvent__InputEvent____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_773b58dd858ebbdd___features__gen_InputEvent__InputEvent______true_);
4975
4976
  return ret;
4976
4977
  },
4977
4978
  __wbindgen_cast_0000000000000012: function(arg0, arg1) {
4978
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65113, function: Function { arguments: [NamedExternref("InputEvent")], shim_idx: 65114, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4979
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 65120, function: Function { arguments: [NamedExternref("InputEvent")], shim_idx: 65121, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4979
4980
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_773b58dd858ebbdd___features__gen_InputEvent__InputEvent____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_773b58dd858ebbdd___features__gen_InputEvent__InputEvent______true__17);
4980
4981
  return ret;
4981
4982
  },
4982
4983
  __wbindgen_cast_0000000000000013: function(arg0, arg1) {
4983
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65113, function: Function { arguments: [NamedExternref("TouchEvent")], shim_idx: 65114, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4984
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 65120, function: Function { arguments: [NamedExternref("TouchEvent")], shim_idx: 65121, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4984
4985
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_773b58dd858ebbdd___features__gen_InputEvent__InputEvent____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_773b58dd858ebbdd___features__gen_InputEvent__InputEvent______true__18);
4985
4986
  return ret;
4986
4987
  },
4987
4988
  __wbindgen_cast_0000000000000014: function(arg0, arg1) {
4988
- // Cast intrinsic for `Closure(Closure { dtor_idx: 68205, function: Function { arguments: [Externref], shim_idx: 68206, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4989
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 68212, function: Function { arguments: [Externref], shim_idx: 68213, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4989
4990
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_773b58dd858ebbdd___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2_);
4990
4991
  return ret;
4991
4992
  },
4992
4993
  __wbindgen_cast_0000000000000015: function(arg0, arg1) {
4993
- // Cast intrinsic for `Closure(Closure { dtor_idx: 68205, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 68213, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4994
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 68212, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 68220, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4994
4995
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_773b58dd858ebbdd___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___js_sys_342d9548e43f4e8___Array__web_sys_773b58dd858ebbdd___features__gen_ResizeObserver__ResizeObserver______true_);
4995
4996
  return ret;
4996
4997
  },
4997
4998
  __wbindgen_cast_0000000000000016: function(arg0, arg1) {
4998
- // Cast intrinsic for `Closure(Closure { dtor_idx: 68205, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 68206, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4999
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 68212, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 68213, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4999
5000
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_773b58dd858ebbdd___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__21);
5000
5001
  return ret;
5001
5002
  },
5002
5003
  __wbindgen_cast_0000000000000017: function(arg0, arg1) {
5003
- // Cast intrinsic for `Closure(Closure { dtor_idx: 68205, function: Function { arguments: [NamedExternref("Event")], shim_idx: 68206, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5004
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 68212, function: Function { arguments: [NamedExternref("Event")], shim_idx: 68213, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5004
5005
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_773b58dd858ebbdd___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__22);
5005
5006
  return ret;
5006
5007
  },
5007
5008
  __wbindgen_cast_0000000000000018: function(arg0, arg1) {
5008
- // Cast intrinsic for `Closure(Closure { dtor_idx: 68205, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 68206, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5009
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 68212, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 68213, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5009
5010
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_773b58dd858ebbdd___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__23);
5010
5011
  return ret;
5011
5012
  },
5012
5013
  __wbindgen_cast_0000000000000019: function(arg0, arg1) {
5013
- // Cast intrinsic for `Closure(Closure { dtor_idx: 68205, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 68206, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5014
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 68212, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 68213, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5014
5015
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_773b58dd858ebbdd___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__24);
5015
5016
  return ret;
5016
5017
  },
5017
5018
  __wbindgen_cast_000000000000001a: function(arg0, arg1) {
5018
- // Cast intrinsic for `Closure(Closure { dtor_idx: 68205, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 68206, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5019
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 68212, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 68213, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5019
5020
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_773b58dd858ebbdd___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__25);
5020
5021
  return ret;
5021
5022
  },
5022
5023
  __wbindgen_cast_000000000000001b: function(arg0, arg1) {
5023
- // Cast intrinsic for `Closure(Closure { dtor_idx: 68205, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 68206, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5024
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 68212, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 68213, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5024
5025
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_773b58dd858ebbdd___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__26);
5025
5026
  return ret;
5026
5027
  },
5027
5028
  __wbindgen_cast_000000000000001c: function(arg0, arg1) {
5028
- // Cast intrinsic for `Closure(Closure { dtor_idx: 68205, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 68206, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5029
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 68212, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 68213, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5029
5030
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_773b58dd858ebbdd___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__27);
5030
5031
  return ret;
5031
5032
  },
5032
5033
  __wbindgen_cast_000000000000001d: function(arg0, arg1) {
5033
- // Cast intrinsic for `Closure(Closure { dtor_idx: 68205, function: Function { arguments: [], shim_idx: 68221, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5034
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 68212, function: Function { arguments: [], shim_idx: 68228, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5034
5035
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_773b58dd858ebbdd___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__3_);
5035
5036
  return ret;
5036
5037
  },
Binary file
@@ -104,7 +104,7 @@ export const op_send_async: (a: number, b: number, c: number, d: number, e: numb
104
104
  export const op_send_batch: (a: number) => any;
105
105
  export const op_send_chat: (a: number, b: number, c: number, d: number, e: number) => void;
106
106
  export const op_send_friend_request: (a: number, b: number, c: number, d: number, e: number) => any;
107
- export const op_set_avatar: (a: number, b: any, c: any, d: number, e: any) => any;
107
+ export const op_set_avatar: (a: number, b: any, c: any, d: number, e: any, f: any) => any;
108
108
  export const op_set_bindings: (a: number, b: any) => any;
109
109
  export const op_set_elapsed: (a: number, b: number) => void;
110
110
  export const op_set_home_scene: (a: number, b: number, c: number, d: any) => void;