@rerun-io/web-viewer 0.25.0 → 0.25.1

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
@@ -28,7 +28,7 @@ This means that:
28
28
 
29
29
  ## Usage
30
30
 
31
- The entrypoint for this packages is the [`WebViewer`](https://ref.rerun.io/docs/js/0.25.0/web-viewer/classes/WebViewer.html) class.
31
+ The entrypoint for this packages is the [`WebViewer`](https://ref.rerun.io/docs/js/0.25.1/web-viewer/classes/WebViewer.html) class.
32
32
  The web viewer is an object which manages a canvas element:
33
33
 
34
34
  ```js
@@ -44,7 +44,7 @@ viewer.stop();
44
44
  ```
45
45
 
46
46
  The `rrd` in the snippet above should be a URL pointing to either:
47
- - A hosted `.rrd` file, such as <https://app.rerun.io/version/0.25.0/examples/dna.rrd>
47
+ - A hosted `.rrd` file, such as <https://app.rerun.io/version/0.25.1/examples/dna.rrd>
48
48
  - A gRPC connection to the SDK opened via the [`serve`](https://www.rerun.io/docs/reference/sdk/operating-modes#serve) API
49
49
 
50
50
  If `rrd` is not set, the Viewer will display the same welcome screen as <https://app.rerun.io>.
package/index.d.ts CHANGED
@@ -190,7 +190,7 @@ export type EventsWithoutValue = {
190
190
  * ```
191
191
  *
192
192
  * Data may be provided to the Viewer as:
193
- * - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.25.0/examples/dna.rrd")`
193
+ * - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.25.1/examples/dna.rrd")`
194
194
  * - A Rerun gRPC URL, e.g. `viewer.start("rerun+http://127.0.0.1:9876/proxy")`
195
195
  * - A stream of log messages, via {@link WebViewer.open_channel}.
196
196
  *
package/index.js CHANGED
@@ -53,7 +53,7 @@ function delay(ms) {
53
53
  * ```
54
54
  *
55
55
  * Data may be provided to the Viewer as:
56
- * - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.25.0/examples/dna.rrd")`
56
+ * - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.25.1/examples/dna.rrd")`
57
57
  * - A Rerun gRPC URL, e.g. `viewer.start("rerun+http://127.0.0.1:9876/proxy")`
58
58
  * - A stream of log messages, via {@link WebViewer.open_channel}.
59
59
  *
package/index.ts CHANGED
@@ -305,7 +305,7 @@ function delay(ms: number) {
305
305
  * ```
306
306
  *
307
307
  * Data may be provided to the Viewer as:
308
- * - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.25.0/examples/dna.rrd")`
308
+ * - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.25.1/examples/dna.rrd")`
309
309
  * - A Rerun gRPC URL, e.g. `viewer.start("rerun+http://127.0.0.1:9876/proxy")`
310
310
  * - A stream of log messages, via {@link WebViewer.open_channel}.
311
311
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rerun-io/web-viewer",
3
- "version": "0.25.0",
3
+ "version": "0.25.1",
4
4
  "description": "Embed the Rerun web viewer in your app",
5
5
  "licenses": [
6
6
  {
package/re_viewer.d.ts CHANGED
@@ -152,15 +152,15 @@ declare interface InitOutput {
152
152
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
153
153
  readonly __wbindgen_export_6: WebAssembly.Table;
154
154
  readonly __externref_table_dealloc: (a: number) => void;
155
- readonly closure7_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
156
- readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4045029159763268: (a: number, b: number) => void;
155
+ readonly closure12_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
156
+ readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h80698ba6f867db8e: (a: number, b: number) => void;
157
157
  readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h62243419debf4837: (a: number, b: number) => void;
158
- readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h50626c7fd83ddeb3_multivalue_shim: (a: number, b: number) => [number, number];
159
- readonly closure18208_externref_shim: (a: number, b: number, c: any) => void;
160
- readonly closure18730_externref_shim: (a: number, b: number, c: any) => void;
161
- readonly closure22219_externref_shim: (a: number, b: number, c: any) => void;
162
- readonly closure22821_externref_shim: (a: number, b: number, c: any) => void;
163
- readonly closure26654_externref_shim: (a: number, b: number, c: any, d: any) => void;
158
+ readonly closure18200_externref_shim: (a: number, b: number, c: any) => void;
159
+ readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h765ec94171c42581_multivalue_shim: (a: number, b: number) => [number, number];
160
+ readonly closure18725_externref_shim: (a: number, b: number, c: any) => void;
161
+ readonly closure22217_externref_shim: (a: number, b: number, c: any) => void;
162
+ readonly closure22812_externref_shim: (a: number, b: number, c: any) => void;
163
+ readonly closure26656_externref_shim: (a: number, b: number, c: any, d: any) => void;
164
164
  readonly __wbindgen_start: () => void;
165
165
  }
166
166
 
package/re_viewer.js CHANGED
@@ -266,45 +266,45 @@ export default function() {
266
266
  return ptr;
267
267
  }
268
268
  function __wbg_adapter_46(arg0, arg1, arg2) {
269
- const ret = wasm.closure7_externref_shim_multivalue_shim(arg0, arg1, arg2);
269
+ const ret = wasm.closure12_externref_shim_multivalue_shim(arg0, arg1, arg2);
270
270
  if (ret[1]) {
271
271
  throw takeFromExternrefTable0(ret[0]);
272
272
  }
273
273
  }
274
274
 
275
275
  function __wbg_adapter_49(arg0, arg1) {
276
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4045029159763268(arg0, arg1);
276
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h80698ba6f867db8e(arg0, arg1);
277
277
  }
278
278
 
279
279
  function __wbg_adapter_52(arg0, arg1) {
280
280
  wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h62243419debf4837(arg0, arg1);
281
281
  }
282
282
 
283
- function __wbg_adapter_55(arg0, arg1) {
284
- const ret = wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h50626c7fd83ddeb3_multivalue_shim(arg0, arg1);
283
+ function __wbg_adapter_55(arg0, arg1, arg2) {
284
+ wasm.closure18200_externref_shim(arg0, arg1, arg2);
285
+ }
286
+
287
+ function __wbg_adapter_60(arg0, arg1) {
288
+ const ret = wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h765ec94171c42581_multivalue_shim(arg0, arg1);
285
289
  if (ret[1]) {
286
290
  throw takeFromExternrefTable0(ret[0]);
287
291
  }
288
292
  }
289
293
 
290
- function __wbg_adapter_58(arg0, arg1, arg2) {
291
- wasm.closure18208_externref_shim(arg0, arg1, arg2);
292
- }
293
-
294
294
  function __wbg_adapter_63(arg0, arg1, arg2) {
295
- wasm.closure18730_externref_shim(arg0, arg1, arg2);
295
+ wasm.closure18725_externref_shim(arg0, arg1, arg2);
296
296
  }
297
297
 
298
298
  function __wbg_adapter_66(arg0, arg1, arg2) {
299
- wasm.closure22219_externref_shim(arg0, arg1, arg2);
299
+ wasm.closure22217_externref_shim(arg0, arg1, arg2);
300
300
  }
301
301
 
302
302
  function __wbg_adapter_71(arg0, arg1, arg2) {
303
- wasm.closure22821_externref_shim(arg0, arg1, arg2);
303
+ wasm.closure22812_externref_shim(arg0, arg1, arg2);
304
304
  }
305
305
 
306
306
  function __wbg_adapter_1783(arg0, arg1, arg2, arg3) {
307
- wasm.closure26654_externref_shim(arg0, arg1, arg2, arg3);
307
+ wasm.closure26656_externref_shim(arg0, arg1, arg2, arg3);
308
308
  }
309
309
 
310
310
  const __wbindgen_enum_EncodedVideoChunkType = ["key", "delta"];
@@ -1346,7 +1346,7 @@ export default function() {
1346
1346
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1347
1347
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1348
1348
  };
1349
- imports.wbg.__wbg_debug_e066c730b3059a13 = function(arg0, arg1) {
1349
+ imports.wbg.__wbg_debug_ac23b449350db4e1 = function(arg0, arg1) {
1350
1350
  console.debug(getStringFromWasm0(arg0, arg1));
1351
1351
  };
1352
1352
  imports.wbg.__wbg_decode_6c36f113295ffd87 = function() { return handleError(function (arg0, arg1) {
@@ -1962,7 +1962,7 @@ export default function() {
1962
1962
  const ret = arg0.includes(arg1, arg2);
1963
1963
  return ret;
1964
1964
  };
1965
- imports.wbg.__wbg_info_91dace82dd471acd = function(arg0, arg1) {
1965
+ imports.wbg.__wbg_info_2d6110670c6c7e63 = function(arg0, arg1) {
1966
1966
  console.info(getStringFromWasm0(arg0, arg1));
1967
1967
  };
1968
1968
  imports.wbg.__wbg_inlineSize_8ff96b3ec1b24423 = function(arg0) {
@@ -2526,6 +2526,10 @@ export default function() {
2526
2526
  const ret = new EncodedVideoChunk(arg0);
2527
2527
  return ret;
2528
2528
  }, arguments) };
2529
+ imports.wbg.__wbg_new_55df07bfefe09dd7 = function() {
2530
+ const ret = new Error();
2531
+ return ret;
2532
+ };
2529
2533
  imports.wbg.__wbg_new_59a6be6d80c4dcbb = function() { return handleError(function (arg0) {
2530
2534
  const ret = new VideoDecoder(arg0);
2531
2535
  return ret;
@@ -2534,10 +2538,6 @@ export default function() {
2534
2538
  const ret = new ResizeObserver(arg0);
2535
2539
  return ret;
2536
2540
  }, arguments) };
2537
- imports.wbg.__wbg_new_6606b5f7fa309d4a = function() {
2538
- const ret = new Error();
2539
- return ret;
2540
- };
2541
2541
  imports.wbg.__wbg_new_78feb108b6472713 = function() {
2542
2542
  const ret = new Array();
2543
2543
  return ret;
@@ -3588,14 +3588,14 @@ export default function() {
3588
3588
  const ret = arg0.size;
3589
3589
  return ret;
3590
3590
  };
3591
- imports.wbg.__wbg_stack_ce508d4881a78479 = function(arg0, arg1) {
3591
+ imports.wbg.__wbg_stack_beab7d471979a9a5 = function(arg0, arg1) {
3592
3592
  const ret = arg1.stack;
3593
3593
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3594
3594
  const len1 = WASM_VECTOR_LEN;
3595
3595
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3596
3596
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3597
3597
  };
3598
- imports.wbg.__wbg_stack_f87695d6a37a1a0a = function(arg0, arg1) {
3598
+ imports.wbg.__wbg_stack_ce508d4881a78479 = function(arg0, arg1) {
3599
3599
  const ret = arg1.stack;
3600
3600
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3601
3601
  const len1 = WASM_VECTOR_LEN;
@@ -3668,7 +3668,7 @@ export default function() {
3668
3668
  const ret = JSON.stringify(arg0);
3669
3669
  return ret;
3670
3670
  }, arguments) };
3671
- imports.wbg.__wbg_structuredClone_248feea3b31b4bd5 = function() { return handleError(function (arg0) {
3671
+ imports.wbg.__wbg_structuredClone_50d8218aa4c8173d = function() { return handleError(function (arg0) {
3672
3672
  const ret = window.structuredClone(arg0);
3673
3673
  return ret;
3674
3674
  }, arguments) };
@@ -3790,7 +3790,7 @@ export default function() {
3790
3790
  const ret = arg0.touches;
3791
3791
  return ret;
3792
3792
  };
3793
- imports.wbg.__wbg_trace_5c53f31d53ea7566 = function(arg0, arg1) {
3793
+ imports.wbg.__wbg_trace_ec850a3dbadf664c = function(arg0, arg1) {
3794
3794
  console.trace(getStringFromWasm0(arg0, arg1));
3795
3795
  };
3796
3796
  imports.wbg.__wbg_type_00566e0d2e337e2e = function(arg0, arg1) {
@@ -3991,7 +3991,7 @@ export default function() {
3991
3991
  imports.wbg.__wbg_viewport_e615e98f676f2d39 = function(arg0, arg1, arg2, arg3, arg4) {
3992
3992
  arg0.viewport(arg1, arg2, arg3, arg4);
3993
3993
  };
3994
- imports.wbg.__wbg_warn_865b5e515d87452a = function(arg0, arg1) {
3994
+ imports.wbg.__wbg_warn_707b3830f261bb01 = function(arg0, arg1) {
3995
3995
  console.warn(getStringFromWasm0(arg0, arg1));
3996
3996
  };
3997
3997
  imports.wbg.__wbg_width_4f334fc47ef03de1 = function(arg0) {
@@ -4050,44 +4050,44 @@ export default function() {
4050
4050
  const ret = false;
4051
4051
  return ret;
4052
4052
  };
4053
- imports.wbg.__wbindgen_closure_wrapper104012 = function(arg0, arg1, arg2) {
4054
- const ret = makeMutClosure(arg0, arg1, 22220, __wbg_adapter_66);
4053
+ imports.wbg.__wbindgen_closure_wrapper103929 = function(arg0, arg1, arg2) {
4054
+ const ret = makeMutClosure(arg0, arg1, 22218, __wbg_adapter_66);
4055
4055
  return ret;
4056
4056
  };
4057
- imports.wbg.__wbindgen_closure_wrapper104014 = function(arg0, arg1, arg2) {
4058
- const ret = makeMutClosure(arg0, arg1, 22220, __wbg_adapter_66);
4057
+ imports.wbg.__wbindgen_closure_wrapper103931 = function(arg0, arg1, arg2) {
4058
+ const ret = makeMutClosure(arg0, arg1, 22218, __wbg_adapter_66);
4059
4059
  return ret;
4060
4060
  };
4061
- imports.wbg.__wbindgen_closure_wrapper108196 = function(arg0, arg1, arg2) {
4062
- const ret = makeMutClosure(arg0, arg1, 22822, __wbg_adapter_71);
4061
+ imports.wbg.__wbindgen_closure_wrapper108112 = function(arg0, arg1, arg2) {
4062
+ const ret = makeMutClosure(arg0, arg1, 22813, __wbg_adapter_71);
4063
4063
  return ret;
4064
4064
  };
4065
- imports.wbg.__wbindgen_closure_wrapper1322 = function(arg0, arg1, arg2) {
4066
- const ret = makeMutClosure(arg0, arg1, 8, __wbg_adapter_46);
4065
+ imports.wbg.__wbindgen_closure_wrapper1412 = function(arg0, arg1, arg2) {
4066
+ const ret = makeMutClosure(arg0, arg1, 13, __wbg_adapter_46);
4067
4067
  return ret;
4068
4068
  };
4069
- imports.wbg.__wbindgen_closure_wrapper73287 = function(arg0, arg1, arg2) {
4070
- const ret = makeMutClosure(arg0, arg1, 17596, __wbg_adapter_52);
4069
+ imports.wbg.__wbindgen_closure_wrapper73201 = function(arg0, arg1, arg2) {
4070
+ const ret = makeMutClosure(arg0, arg1, 17585, __wbg_adapter_52);
4071
4071
  return ret;
4072
4072
  };
4073
- imports.wbg.__wbindgen_closure_wrapper7750 = function(arg0, arg1, arg2) {
4074
- const ret = makeMutClosure(arg0, arg1, 1344, __wbg_adapter_49);
4073
+ imports.wbg.__wbindgen_closure_wrapper7748 = function(arg0, arg1, arg2) {
4074
+ const ret = makeMutClosure(arg0, arg1, 1342, __wbg_adapter_49);
4075
4075
  return ret;
4076
4076
  };
4077
- imports.wbg.__wbindgen_closure_wrapper77903 = function(arg0, arg1, arg2) {
4078
- const ret = makeMutClosure(arg0, arg1, 18207, __wbg_adapter_55);
4077
+ imports.wbg.__wbindgen_closure_wrapper77884 = function(arg0, arg1, arg2) {
4078
+ const ret = makeMutClosure(arg0, arg1, 18201, __wbg_adapter_55);
4079
4079
  return ret;
4080
4080
  };
4081
- imports.wbg.__wbindgen_closure_wrapper77905 = function(arg0, arg1, arg2) {
4082
- const ret = makeMutClosure(arg0, arg1, 18207, __wbg_adapter_58);
4081
+ imports.wbg.__wbindgen_closure_wrapper77886 = function(arg0, arg1, arg2) {
4082
+ const ret = makeMutClosure(arg0, arg1, 18201, __wbg_adapter_55);
4083
4083
  return ret;
4084
4084
  };
4085
- imports.wbg.__wbindgen_closure_wrapper77907 = function(arg0, arg1, arg2) {
4086
- const ret = makeMutClosure(arg0, arg1, 18207, __wbg_adapter_58);
4085
+ imports.wbg.__wbindgen_closure_wrapper77888 = function(arg0, arg1, arg2) {
4086
+ const ret = makeMutClosure(arg0, arg1, 18201, __wbg_adapter_60);
4087
4087
  return ret;
4088
4088
  };
4089
- imports.wbg.__wbindgen_closure_wrapper81629 = function(arg0, arg1, arg2) {
4090
- const ret = makeMutClosure(arg0, arg1, 18731, __wbg_adapter_63);
4089
+ imports.wbg.__wbindgen_closure_wrapper81542 = function(arg0, arg1, arg2) {
4090
+ const ret = makeMutClosure(arg0, arg1, 18726, __wbg_adapter_63);
4091
4091
  return ret;
4092
4092
  };
4093
4093
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
package/re_viewer_bg.wasm CHANGED
Binary file
@@ -62,13 +62,13 @@ export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) =>
62
62
  export const __wbindgen_free: (a: number, b: number, c: number) => void;
63
63
  export const __wbindgen_export_6: WebAssembly.Table;
64
64
  export const __externref_table_dealloc: (a: number) => void;
65
- export const closure7_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
66
- export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4045029159763268: (a: number, b: number) => void;
65
+ export const closure12_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
66
+ export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h80698ba6f867db8e: (a: number, b: number) => void;
67
67
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h62243419debf4837: (a: number, b: number) => void;
68
- export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h50626c7fd83ddeb3_multivalue_shim: (a: number, b: number) => [number, number];
69
- export const closure18208_externref_shim: (a: number, b: number, c: any) => void;
70
- export const closure18730_externref_shim: (a: number, b: number, c: any) => void;
71
- export const closure22219_externref_shim: (a: number, b: number, c: any) => void;
72
- export const closure22821_externref_shim: (a: number, b: number, c: any) => void;
73
- export const closure26654_externref_shim: (a: number, b: number, c: any, d: any) => void;
68
+ export const closure18200_externref_shim: (a: number, b: number, c: any) => void;
69
+ export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h765ec94171c42581_multivalue_shim: (a: number, b: number) => [number, number];
70
+ export const closure18725_externref_shim: (a: number, b: number, c: any) => void;
71
+ export const closure22217_externref_shim: (a: number, b: number, c: any) => void;
72
+ export const closure22812_externref_shim: (a: number, b: number, c: any) => void;
73
+ export const closure26656_externref_shim: (a: number, b: number, c: any, d: any) => void;
74
74
  export const __wbindgen_start: () => void;