@rerun-io/web-viewer 0.17.0-alpha.100 → 0.17.0-alpha.102

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/README.md CHANGED
@@ -41,7 +41,7 @@ viewer.stop();
41
41
  ```
42
42
 
43
43
  The `rrd` in the snippet above should be a URL pointing to either:
44
- - A hosted `.rrd` file, such as <https://app.rerun.io/version/0.17.0-alpha.100/examples/dna.rrd>
44
+ - A hosted `.rrd` file, such as <https://app.rerun.io/version/0.17.0-alpha.102/examples/dna.rrd>
45
45
  - A WebSocket connection to the SDK opened via the [`serve`](https://www.rerun.io/docs/reference/sdk-operating-modes#serve) API
46
46
 
47
47
  If `rrd` is not set, the Viewer will display the same welcome screen as <https://app.rerun.io>.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rerun-io/web-viewer",
3
- "version": "0.17.0-alpha.100",
3
+ "version": "0.17.0-alpha.102",
4
4
  "description": "Embed the Rerun web viewer in your app",
5
5
  "licenses": [
6
6
  {
package/re_viewer_bg.js CHANGED
@@ -33,11 +33,7 @@ function addHeapObject(obj) {
33
33
  return idx;
34
34
  }
35
35
 
36
- const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
37
-
38
- let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
39
-
40
- cachedTextDecoder.decode();
36
+ let WASM_VECTOR_LEN = 0;
41
37
 
42
38
  let cachedUint8Memory0 = null;
43
39
 
@@ -48,13 +44,6 @@ function getUint8Memory0() {
48
44
  return cachedUint8Memory0;
49
45
  }
50
46
 
51
- function getStringFromWasm0(ptr, len) {
52
- ptr = ptr >>> 0;
53
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
54
- }
55
-
56
- let WASM_VECTOR_LEN = 0;
57
-
58
47
  const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
59
48
 
60
49
  let cachedTextEncoder = new lTextEncoder('utf-8');
@@ -123,6 +112,17 @@ function getInt32Memory0() {
123
112
  return cachedInt32Memory0;
124
113
  }
125
114
 
115
+ const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
116
+
117
+ let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
118
+
119
+ cachedTextDecoder.decode();
120
+
121
+ function getStringFromWasm0(ptr, len) {
122
+ ptr = ptr >>> 0;
123
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
124
+ }
125
+
126
126
  let cachedFloat64Memory0 = null;
127
127
 
128
128
  function getFloat64Memory0() {
@@ -221,22 +221,26 @@ function makeMutClosure(arg0, arg1, dtor, f) {
221
221
 
222
222
  return real;
223
223
  }
224
- function __wbg_adapter_42(arg0, arg1) {
225
- wasm.wasm_bindgen__convert__closures__invoke0_mut__h3a86e84b4c0f1976(arg0, arg1);
224
+ function __wbg_adapter_42(arg0, arg1, arg2) {
225
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf710b7771c3b692c(arg0, arg1, addHeapObject(arg2));
226
226
  }
227
227
 
228
- function __wbg_adapter_45(arg0, arg1, arg2) {
229
- wasm.wasm_bindgen__convert__closures__invoke1_mut__h02e806fd526a68b6(arg0, arg1, addHeapObject(arg2));
228
+ function __wbg_adapter_45(arg0, arg1) {
229
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hac6666b3979470cb(arg0, arg1);
230
230
  }
231
231
 
232
232
  function __wbg_adapter_48(arg0, arg1) {
233
233
  wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h27a3d25f4f9e1f6f(arg0, arg1);
234
234
  }
235
235
 
236
- function __wbg_adapter_51(arg0, arg1) {
236
+ function __wbg_adapter_51(arg0, arg1, arg2) {
237
+ wasm.wasm_bindgen__convert__closures__invoke1_mut__h627cc28e0f456519(arg0, arg1, addHeapObject(arg2));
238
+ }
239
+
240
+ function __wbg_adapter_56(arg0, arg1) {
237
241
  try {
238
242
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
239
- wasm.wasm_bindgen__convert__closures__invoke0_mut__h70e9241ea137aceb(retptr, arg0, arg1);
243
+ wasm.wasm_bindgen__convert__closures__invoke0_mut__h87f9a28e2674ffe3(retptr, arg0, arg1);
240
244
  var r0 = getInt32Memory0()[retptr / 4 + 0];
241
245
  var r1 = getInt32Memory0()[retptr / 4 + 1];
242
246
  if (r1) {
@@ -247,10 +251,6 @@ function __wbg_adapter_51(arg0, arg1) {
247
251
  }
248
252
  }
249
253
 
250
- function __wbg_adapter_54(arg0, arg1, arg2) {
251
- wasm.wasm_bindgen__convert__closures__invoke1_mut__hb3c72bc01d08a80c(arg0, arg1, addHeapObject(arg2));
252
- }
253
-
254
254
  function __wbg_adapter_59(arg0, arg1, arg2) {
255
255
  wasm.wasm_bindgen__convert__closures__invoke1_mut__h743de7ed621e3baa(arg0, arg1, addHeapObject(arg2));
256
256
  }
@@ -260,7 +260,7 @@ function __wbg_adapter_64(arg0, arg1, arg2) {
260
260
  }
261
261
 
262
262
  function __wbg_adapter_73(arg0, arg1, arg2) {
263
- wasm.wasm_bindgen__convert__closures__invoke1_mut__hb3e94994a0f5798b(arg0, arg1, addHeapObject(arg2));
263
+ wasm.wasm_bindgen__convert__closures__invoke1_mut__h8044e65151c21f1f(arg0, arg1, addHeapObject(arg2));
264
264
  }
265
265
 
266
266
  function __wbg_adapter_76(arg0, arg1, arg2) {
@@ -331,7 +331,7 @@ function getArrayF32FromWasm0(ptr, len) {
331
331
  ptr = ptr >>> 0;
332
332
  return getFloat32Memory0().subarray(ptr / 4, ptr / 4 + len);
333
333
  }
334
- function __wbg_adapter_1340(arg0, arg1, arg2, arg3) {
334
+ function __wbg_adapter_1342(arg0, arg1, arg2, arg3) {
335
335
  wasm.wasm_bindgen__convert__closures__invoke2_mut__h7d56b0e98ff72306(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
336
336
  }
337
337
 
@@ -665,9 +665,13 @@ export function __wbindgen_object_clone_ref(arg0) {
665
665
  return addHeapObject(ret);
666
666
  };
667
667
 
668
- export function __wbindgen_is_falsy(arg0) {
669
- const ret = !getObject(arg0);
670
- return ret;
668
+ export function __wbindgen_string_get(arg0, arg1) {
669
+ const obj = getObject(arg1);
670
+ const ret = typeof(obj) === 'string' ? obj : undefined;
671
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
672
+ var len1 = WASM_VECTOR_LEN;
673
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
674
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
671
675
  };
672
676
 
673
677
  export function __wbindgen_string_new(arg0, arg1) {
@@ -675,24 +679,35 @@ export function __wbindgen_string_new(arg0, arg1) {
675
679
  return addHeapObject(ret);
676
680
  };
677
681
 
682
+ export function __wbindgen_is_function(arg0) {
683
+ const ret = typeof(getObject(arg0)) === 'function';
684
+ return ret;
685
+ };
686
+
678
687
  export function __wbindgen_error_new(arg0, arg1) {
679
688
  const ret = new Error(getStringFromWasm0(arg0, arg1));
680
689
  return addHeapObject(ret);
681
690
  };
682
691
 
692
+ export function __wbindgen_is_falsy(arg0) {
693
+ const ret = !getObject(arg0);
694
+ return ret;
695
+ };
696
+
683
697
  export function __wbindgen_boolean_get(arg0) {
684
698
  const v = getObject(arg0);
685
699
  const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
686
700
  return ret;
687
701
  };
688
702
 
689
- export function __wbindgen_string_get(arg0, arg1) {
690
- const obj = getObject(arg1);
691
- const ret = typeof(obj) === 'string' ? obj : undefined;
692
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
693
- var len1 = WASM_VECTOR_LEN;
694
- getInt32Memory0()[arg0 / 4 + 1] = len1;
695
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
703
+ export function __wbindgen_cb_drop(arg0) {
704
+ const obj = takeObject(arg0).original;
705
+ if (obj.cnt-- == 1) {
706
+ obj.a = 0;
707
+ return true;
708
+ }
709
+ const ret = false;
710
+ return ret;
696
711
  };
697
712
 
698
713
  export function __wbindgen_is_string(arg0) {
@@ -721,21 +736,6 @@ export function __wbindgen_number_new(arg0) {
721
736
  return addHeapObject(ret);
722
737
  };
723
738
 
724
- export function __wbindgen_is_function(arg0) {
725
- const ret = typeof(getObject(arg0)) === 'function';
726
- return ret;
727
- };
728
-
729
- export function __wbindgen_cb_drop(arg0) {
730
- const obj = takeObject(arg0).original;
731
- if (obj.cnt-- == 1) {
732
- obj.a = 0;
733
- return true;
734
- }
735
- const ret = false;
736
- return ret;
737
- };
738
-
739
739
  export function __wbindgen_jsval_loose_eq(arg0, arg1) {
740
740
  const ret = getObject(arg0) == getObject(arg1);
741
741
  return ret;
@@ -3671,6 +3671,11 @@ export function __wbg_includes_b0feae2b4a1ae514(arg0, arg1, arg2) {
3671
3671
  return ret;
3672
3672
  };
3673
3673
 
3674
+ export function __wbg_isArray_fbd24d447869b527(arg0) {
3675
+ const ret = Array.isArray(getObject(arg0));
3676
+ return ret;
3677
+ };
3678
+
3674
3679
  export function __wbg_of_3d7aa62bb0ab56ee(arg0) {
3675
3680
  const ret = Array.of(getObject(arg0));
3676
3681
  return addHeapObject(ret);
@@ -3797,7 +3802,7 @@ export function __wbg_new_1d93771b84541aa5(arg0, arg1) {
3797
3802
  const a = state0.a;
3798
3803
  state0.a = 0;
3799
3804
  try {
3800
- return __wbg_adapter_1340(a, state0.b, arg0, arg1);
3805
+ return __wbg_adapter_1342(a, state0.b, arg0, arg1);
3801
3806
  } finally {
3802
3807
  state0.a = a;
3803
3808
  }
@@ -3941,78 +3946,78 @@ export function __wbindgen_memory() {
3941
3946
  return addHeapObject(ret);
3942
3947
  };
3943
3948
 
3944
- export function __wbindgen_closure_wrapper3201(arg0, arg1, arg2) {
3945
- const ret = makeMutClosure(arg0, arg1, 982, __wbg_adapter_42);
3949
+ export function __wbindgen_closure_wrapper1747(arg0, arg1, arg2) {
3950
+ const ret = makeMutClosure(arg0, arg1, 408, __wbg_adapter_42);
3946
3951
  return addHeapObject(ret);
3947
3952
  };
3948
3953
 
3949
- export function __wbindgen_closure_wrapper3203(arg0, arg1, arg2) {
3950
- const ret = makeMutClosure(arg0, arg1, 982, __wbg_adapter_45);
3954
+ export function __wbindgen_closure_wrapper1749(arg0, arg1, arg2) {
3955
+ const ret = makeMutClosure(arg0, arg1, 408, __wbg_adapter_45);
3951
3956
  return addHeapObject(ret);
3952
3957
  };
3953
3958
 
3954
- export function __wbindgen_closure_wrapper5150(arg0, arg1, arg2) {
3955
- const ret = makeMutClosure(arg0, arg1, 1879, __wbg_adapter_48);
3959
+ export function __wbindgen_closure_wrapper5170(arg0, arg1, arg2) {
3960
+ const ret = makeMutClosure(arg0, arg1, 1869, __wbg_adapter_48);
3956
3961
  return addHeapObject(ret);
3957
3962
  };
3958
3963
 
3959
- export function __wbindgen_closure_wrapper11818(arg0, arg1, arg2) {
3960
- const ret = makeMutClosure(arg0, arg1, 5001, __wbg_adapter_51);
3964
+ export function __wbindgen_closure_wrapper11848(arg0, arg1, arg2) {
3965
+ const ret = makeMutClosure(arg0, arg1, 4996, __wbg_adapter_51);
3961
3966
  return addHeapObject(ret);
3962
3967
  };
3963
3968
 
3964
- export function __wbindgen_closure_wrapper11820(arg0, arg1, arg2) {
3965
- const ret = makeMutClosure(arg0, arg1, 5001, __wbg_adapter_54);
3969
+ export function __wbindgen_closure_wrapper11850(arg0, arg1, arg2) {
3970
+ const ret = makeMutClosure(arg0, arg1, 4996, __wbg_adapter_51);
3966
3971
  return addHeapObject(ret);
3967
3972
  };
3968
3973
 
3969
- export function __wbindgen_closure_wrapper11822(arg0, arg1, arg2) {
3970
- const ret = makeMutClosure(arg0, arg1, 5001, __wbg_adapter_54);
3974
+ export function __wbindgen_closure_wrapper11852(arg0, arg1, arg2) {
3975
+ const ret = makeMutClosure(arg0, arg1, 4996, __wbg_adapter_56);
3971
3976
  return addHeapObject(ret);
3972
3977
  };
3973
3978
 
3974
- export function __wbindgen_closure_wrapper21146(arg0, arg1, arg2) {
3975
- const ret = makeMutClosure(arg0, arg1, 8555, __wbg_adapter_59);
3979
+ export function __wbindgen_closure_wrapper21279(arg0, arg1, arg2) {
3980
+ const ret = makeMutClosure(arg0, arg1, 8491, __wbg_adapter_59);
3976
3981
  return addHeapObject(ret);
3977
3982
  };
3978
3983
 
3979
- export function __wbindgen_closure_wrapper21148(arg0, arg1, arg2) {
3980
- const ret = makeMutClosure(arg0, arg1, 8555, __wbg_adapter_59);
3984
+ export function __wbindgen_closure_wrapper21281(arg0, arg1, arg2) {
3985
+ const ret = makeMutClosure(arg0, arg1, 8491, __wbg_adapter_59);
3981
3986
  return addHeapObject(ret);
3982
3987
  };
3983
3988
 
3984
- export function __wbindgen_closure_wrapper27716(arg0, arg1, arg2) {
3985
- const ret = makeMutClosure(arg0, arg1, 11679, __wbg_adapter_64);
3989
+ export function __wbindgen_closure_wrapper27855(arg0, arg1, arg2) {
3990
+ const ret = makeMutClosure(arg0, arg1, 11617, __wbg_adapter_64);
3986
3991
  return addHeapObject(ret);
3987
3992
  };
3988
3993
 
3989
- export function __wbindgen_closure_wrapper27718(arg0, arg1, arg2) {
3990
- const ret = makeMutClosure(arg0, arg1, 11679, __wbg_adapter_64);
3994
+ export function __wbindgen_closure_wrapper27857(arg0, arg1, arg2) {
3995
+ const ret = makeMutClosure(arg0, arg1, 11617, __wbg_adapter_64);
3991
3996
  return addHeapObject(ret);
3992
3997
  };
3993
3998
 
3994
- export function __wbindgen_closure_wrapper27720(arg0, arg1, arg2) {
3995
- const ret = makeMutClosure(arg0, arg1, 11679, __wbg_adapter_64);
3999
+ export function __wbindgen_closure_wrapper27859(arg0, arg1, arg2) {
4000
+ const ret = makeMutClosure(arg0, arg1, 11617, __wbg_adapter_64);
3996
4001
  return addHeapObject(ret);
3997
4002
  };
3998
4003
 
3999
- export function __wbindgen_closure_wrapper27722(arg0, arg1, arg2) {
4000
- const ret = makeMutClosure(arg0, arg1, 11679, __wbg_adapter_64);
4004
+ export function __wbindgen_closure_wrapper27861(arg0, arg1, arg2) {
4005
+ const ret = makeMutClosure(arg0, arg1, 11617, __wbg_adapter_64);
4001
4006
  return addHeapObject(ret);
4002
4007
  };
4003
4008
 
4004
- export function __wbindgen_closure_wrapper33554(arg0, arg1, arg2) {
4005
- const ret = makeMutClosure(arg0, arg1, 14152, __wbg_adapter_73);
4009
+ export function __wbindgen_closure_wrapper33707(arg0, arg1, arg2) {
4010
+ const ret = makeMutClosure(arg0, arg1, 14107, __wbg_adapter_73);
4006
4011
  return addHeapObject(ret);
4007
4012
  };
4008
4013
 
4009
- export function __wbindgen_closure_wrapper34751(arg0, arg1, arg2) {
4010
- const ret = makeMutClosure(arg0, arg1, 14877, __wbg_adapter_76);
4014
+ export function __wbindgen_closure_wrapper34904(arg0, arg1, arg2) {
4015
+ const ret = makeMutClosure(arg0, arg1, 14832, __wbg_adapter_76);
4011
4016
  return addHeapObject(ret);
4012
4017
  };
4013
4018
 
4014
- export function __wbindgen_closure_wrapper34813(arg0, arg1, arg2) {
4015
- const ret = makeMutClosure(arg0, arg1, 14890, __wbg_adapter_79);
4019
+ export function __wbindgen_closure_wrapper34966(arg0, arg1, arg2) {
4020
+ const ret = makeMutClosure(arg0, arg1, 14845, __wbg_adapter_79);
4016
4021
  return addHeapObject(ret);
4017
4022
  };
4018
4023
 
package/re_viewer_bg.wasm CHANGED
Binary file
@@ -81,15 +81,15 @@ export function intounderlyingsource_cancel(a: number): void;
81
81
  export function __wbindgen_malloc(a: number, b: number): number;
82
82
  export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;
83
83
  export const __wbindgen_export_2: WebAssembly.Table;
84
- export function wasm_bindgen__convert__closures__invoke0_mut__h3a86e84b4c0f1976(a: number, b: number): void;
85
- export function wasm_bindgen__convert__closures__invoke1_mut__h02e806fd526a68b6(a: number, b: number, c: number): void;
84
+ export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf710b7771c3b692c(a: number, b: number, c: number): void;
85
+ export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hac6666b3979470cb(a: number, b: number): void;
86
86
  export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h27a3d25f4f9e1f6f(a: number, b: number): void;
87
+ export function wasm_bindgen__convert__closures__invoke1_mut__h627cc28e0f456519(a: number, b: number, c: number): void;
87
88
  export function __wbindgen_add_to_stack_pointer(a: number): number;
88
- export function wasm_bindgen__convert__closures__invoke0_mut__h70e9241ea137aceb(a: number, b: number, c: number): void;
89
- export function wasm_bindgen__convert__closures__invoke1_mut__hb3c72bc01d08a80c(a: number, b: number, c: number): void;
89
+ export function wasm_bindgen__convert__closures__invoke0_mut__h87f9a28e2674ffe3(a: number, b: number, c: number): void;
90
90
  export function wasm_bindgen__convert__closures__invoke1_mut__h743de7ed621e3baa(a: number, b: number, c: number): void;
91
91
  export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0de10aa8b026c35e(a: number, b: number, c: number): void;
92
- export function wasm_bindgen__convert__closures__invoke1_mut__hb3e94994a0f5798b(a: number, b: number, c: number): void;
92
+ export function wasm_bindgen__convert__closures__invoke1_mut__h8044e65151c21f1f(a: number, b: number, c: number): void;
93
93
  export function wasm_bindgen__convert__closures__invoke1_mut__hb203e6ea76ae43c4(a: number, b: number, c: number): void;
94
94
  export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__haf670f9b2e2edd2a(a: number, b: number, c: number): void;
95
95
  export function __wbindgen_free(a: number, b: number, c: number): void;