@rerun-io/web-viewer 0.26.0 → 0.26.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.26.0/web-viewer/classes/WebViewer.html) class.
31
+ The entrypoint for this packages is the [`WebViewer`](https://ref.rerun.io/docs/js/0.26.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.26.0/examples/dna.rrd>
47
+ - A hosted `.rrd` file, such as <https://app.rerun.io/version/0.26.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
@@ -192,7 +192,7 @@ export type EventsWithoutValue = {
192
192
  * ```
193
193
  *
194
194
  * Data may be provided to the Viewer as:
195
- * - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.26.0/examples/dna.rrd")`
195
+ * - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.26.1/examples/dna.rrd")`
196
196
  * - A Rerun gRPC URL, e.g. `viewer.start("rerun+http://127.0.0.1:9876/proxy")`
197
197
  * - A stream of log messages, via {@link WebViewer.open_channel}.
198
198
  *
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.26.0/examples/dna.rrd")`
56
+ * - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.26.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
@@ -309,7 +309,7 @@ function delay(ms: number) {
309
309
  * ```
310
310
  *
311
311
  * Data may be provided to the Viewer as:
312
- * - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.26.0/examples/dna.rrd")`
312
+ * - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.26.1/examples/dna.rrd")`
313
313
  * - A Rerun gRPC URL, e.g. `viewer.start("rerun+http://127.0.0.1:9876/proxy")`
314
314
  * - A stream of log messages, via {@link WebViewer.open_channel}.
315
315
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rerun-io/web-viewer",
3
- "version": "0.26.0",
3
+ "version": "0.26.1",
4
4
  "description": "Embed the Rerun web viewer in your app",
5
5
  "licenses": [
6
6
  {
package/re_viewer.d.ts CHANGED
@@ -157,11 +157,11 @@ declare interface InitOutput {
157
157
  readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc53a9cb6fcc73ac1: (a: number, b: number) => void;
158
158
  readonly closure19342_externref_shim: (a: number, b: number, c: any) => void;
159
159
  readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc04060e4b7c964d0_multivalue_shim: (a: number, b: number) => [number, number];
160
- readonly closure19901_externref_shim: (a: number, b: number, c: any) => void;
161
- readonly closure23710_externref_shim: (a: number, b: number, c: any) => void;
160
+ readonly closure19897_externref_shim: (a: number, b: number, c: any) => void;
161
+ readonly closure23711_externref_shim: (a: number, b: number, c: any) => void;
162
162
  readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he5d5195c02d7737c: (a: number, b: number) => void;
163
- readonly closure24313_externref_shim: (a: number, b: number, c: any) => void;
164
- readonly closure28228_externref_shim: (a: number, b: number, c: any, d: any) => void;
163
+ readonly closure24314_externref_shim: (a: number, b: number, c: any) => void;
164
+ readonly closure28229_externref_shim: (a: number, b: number, c: any, d: any) => void;
165
165
  readonly __wbindgen_start: () => void;
166
166
  }
167
167
 
package/re_viewer.js CHANGED
@@ -292,11 +292,11 @@ export default function() {
292
292
  }
293
293
 
294
294
  function __wbg_adapter_63(arg0, arg1, arg2) {
295
- wasm.closure19901_externref_shim(arg0, arg1, arg2);
295
+ wasm.closure19897_externref_shim(arg0, arg1, arg2);
296
296
  }
297
297
 
298
298
  function __wbg_adapter_66(arg0, arg1, arg2) {
299
- wasm.closure23710_externref_shim(arg0, arg1, arg2);
299
+ wasm.closure23711_externref_shim(arg0, arg1, arg2);
300
300
  }
301
301
 
302
302
  function __wbg_adapter_71(arg0, arg1) {
@@ -304,11 +304,11 @@ export default function() {
304
304
  }
305
305
 
306
306
  function __wbg_adapter_74(arg0, arg1, arg2) {
307
- wasm.closure24313_externref_shim(arg0, arg1, arg2);
307
+ wasm.closure24314_externref_shim(arg0, arg1, arg2);
308
308
  }
309
309
 
310
310
  function __wbg_adapter_1788(arg0, arg1, arg2, arg3) {
311
- wasm.closure28228_externref_shim(arg0, arg1, arg2, arg3);
311
+ wasm.closure28229_externref_shim(arg0, arg1, arg2, arg3);
312
312
  }
313
313
 
314
314
  const __wbindgen_enum_EncodedVideoChunkType = ["key", "delta"];
@@ -1356,7 +1356,7 @@ export default function() {
1356
1356
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1357
1357
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1358
1358
  };
1359
- imports.wbg.__wbg_debug_f86a01de313c8a2c = function(arg0, arg1) {
1359
+ imports.wbg.__wbg_debug_617a64f3892ccbda = function(arg0, arg1) {
1360
1360
  console.debug(getStringFromWasm0(arg0, arg1));
1361
1361
  };
1362
1362
  imports.wbg.__wbg_decode_6c36f113295ffd87 = function() { return handleError(function (arg0, arg1) {
@@ -1969,7 +1969,7 @@ export default function() {
1969
1969
  const ret = arg0.includes(arg1, arg2);
1970
1970
  return ret;
1971
1971
  };
1972
- imports.wbg.__wbg_info_95f5794b2fcb7b47 = function(arg0, arg1) {
1972
+ imports.wbg.__wbg_info_cc92b78c2b581df3 = function(arg0, arg1) {
1973
1973
  console.info(getStringFromWasm0(arg0, arg1));
1974
1974
  };
1975
1975
  imports.wbg.__wbg_inlineSize_8ff96b3ec1b24423 = function(arg0) {
@@ -2517,6 +2517,10 @@ export default function() {
2517
2517
  state0.a = state0.b = 0;
2518
2518
  }
2519
2519
  };
2520
+ imports.wbg.__wbg_new_37c2a2b30b51db81 = function() {
2521
+ const ret = new Error();
2522
+ return ret;
2523
+ };
2520
2524
  imports.wbg.__wbg_new_3a326de758934c0f = function() {
2521
2525
  const ret = new Error();
2522
2526
  return ret;
@@ -2533,10 +2537,6 @@ export default function() {
2533
2537
  const ret = new EncodedVideoChunk(arg0);
2534
2538
  return ret;
2535
2539
  }, arguments) };
2536
- imports.wbg.__wbg_new_4e2b0a6db2ee78ea = function() {
2537
- const ret = new Error();
2538
- return ret;
2539
- };
2540
2540
  imports.wbg.__wbg_new_59a6be6d80c4dcbb = function() { return handleError(function (arg0) {
2541
2541
  const ret = new VideoDecoder(arg0);
2542
2542
  return ret;
@@ -3597,7 +3597,7 @@ export default function() {
3597
3597
  const ret = arg0.size;
3598
3598
  return ret;
3599
3599
  };
3600
- imports.wbg.__wbg_stack_3bf916cbeaaf0f4e = function(arg0, arg1) {
3600
+ imports.wbg.__wbg_stack_2eb72baa2ccc179a = function(arg0, arg1) {
3601
3601
  const ret = arg1.stack;
3602
3602
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3603
3603
  const len1 = WASM_VECTOR_LEN;
@@ -3677,7 +3677,7 @@ export default function() {
3677
3677
  const ret = JSON.stringify(arg0);
3678
3678
  return ret;
3679
3679
  }, arguments) };
3680
- imports.wbg.__wbg_structuredClone_005f93556cc4c54e = function() { return handleError(function (arg0) {
3680
+ imports.wbg.__wbg_structuredClone_0cb798db2c259c06 = function() { return handleError(function (arg0) {
3681
3681
  const ret = window.structuredClone(arg0);
3682
3682
  return ret;
3683
3683
  }, arguments) };
@@ -3795,7 +3795,7 @@ export default function() {
3795
3795
  const ret = arg0.touches;
3796
3796
  return ret;
3797
3797
  };
3798
- imports.wbg.__wbg_trace_10a9ac6a2002c453 = function(arg0, arg1) {
3798
+ imports.wbg.__wbg_trace_fbc1fd34e6b69573 = function(arg0, arg1) {
3799
3799
  console.trace(getStringFromWasm0(arg0, arg1));
3800
3800
  };
3801
3801
  imports.wbg.__wbg_type_00566e0d2e337e2e = function(arg0, arg1) {
@@ -3992,7 +3992,7 @@ export default function() {
3992
3992
  imports.wbg.__wbg_viewport_e615e98f676f2d39 = function(arg0, arg1, arg2, arg3, arg4) {
3993
3993
  arg0.viewport(arg1, arg2, arg3, arg4);
3994
3994
  };
3995
- imports.wbg.__wbg_warn_3a724ee2d67ae3d9 = function(arg0, arg1) {
3995
+ imports.wbg.__wbg_warn_1cb130bfc4061820 = function(arg0, arg1) {
3996
3996
  console.warn(getStringFromWasm0(arg0, arg1));
3997
3997
  };
3998
3998
  imports.wbg.__wbg_width_4f334fc47ef03de1 = function(arg0) {
@@ -4051,48 +4051,48 @@ export default function() {
4051
4051
  const ret = false;
4052
4052
  return ret;
4053
4053
  };
4054
- imports.wbg.__wbindgen_closure_wrapper109849 = function(arg0, arg1, arg2) {
4055
- const ret = makeMutClosure(arg0, arg1, 23711, __wbg_adapter_66);
4054
+ imports.wbg.__wbindgen_closure_wrapper109923 = function(arg0, arg1, arg2) {
4055
+ const ret = makeMutClosure(arg0, arg1, 23712, __wbg_adapter_66);
4056
4056
  return ret;
4057
4057
  };
4058
- imports.wbg.__wbindgen_closure_wrapper109851 = function(arg0, arg1, arg2) {
4059
- const ret = makeMutClosure(arg0, arg1, 23711, __wbg_adapter_66);
4058
+ imports.wbg.__wbindgen_closure_wrapper109925 = function(arg0, arg1, arg2) {
4059
+ const ret = makeMutClosure(arg0, arg1, 23712, __wbg_adapter_66);
4060
4060
  return ret;
4061
4061
  };
4062
- imports.wbg.__wbindgen_closure_wrapper112317 = function(arg0, arg1, arg2) {
4062
+ imports.wbg.__wbindgen_closure_wrapper112390 = function(arg0, arg1, arg2) {
4063
4063
  const ret = makeMutClosure(arg0, arg1, 24038, __wbg_adapter_71);
4064
4064
  return ret;
4065
4065
  };
4066
- imports.wbg.__wbindgen_closure_wrapper113881 = function(arg0, arg1, arg2) {
4067
- const ret = makeMutClosure(arg0, arg1, 24314, __wbg_adapter_74);
4066
+ imports.wbg.__wbindgen_closure_wrapper113957 = function(arg0, arg1, arg2) {
4067
+ const ret = makeMutClosure(arg0, arg1, 24315, __wbg_adapter_74);
4068
4068
  return ret;
4069
4069
  };
4070
4070
  imports.wbg.__wbindgen_closure_wrapper1472 = function(arg0, arg1, arg2) {
4071
4071
  const ret = makeMutClosure(arg0, arg1, 16, __wbg_adapter_46);
4072
4072
  return ret;
4073
4073
  };
4074
- imports.wbg.__wbindgen_closure_wrapper30536 = function(arg0, arg1, arg2) {
4075
- const ret = makeMutClosure(arg0, arg1, 5372, __wbg_adapter_52);
4074
+ imports.wbg.__wbindgen_closure_wrapper30619 = function(arg0, arg1, arg2) {
4075
+ const ret = makeMutClosure(arg0, arg1, 5373, __wbg_adapter_52);
4076
4076
  return ret;
4077
4077
  };
4078
- imports.wbg.__wbindgen_closure_wrapper8028 = function(arg0, arg1, arg2) {
4078
+ imports.wbg.__wbindgen_closure_wrapper8027 = function(arg0, arg1, arg2) {
4079
4079
  const ret = makeMutClosure(arg0, arg1, 1378, __wbg_adapter_49);
4080
4080
  return ret;
4081
4081
  };
4082
- imports.wbg.__wbindgen_closure_wrapper82415 = function(arg0, arg1, arg2) {
4082
+ imports.wbg.__wbindgen_closure_wrapper82501 = function(arg0, arg1, arg2) {
4083
4083
  const ret = makeMutClosure(arg0, arg1, 19341, __wbg_adapter_55);
4084
4084
  return ret;
4085
4085
  };
4086
- imports.wbg.__wbindgen_closure_wrapper82417 = function(arg0, arg1, arg2) {
4086
+ imports.wbg.__wbindgen_closure_wrapper82503 = function(arg0, arg1, arg2) {
4087
4087
  const ret = makeMutClosure(arg0, arg1, 19341, __wbg_adapter_55);
4088
4088
  return ret;
4089
4089
  };
4090
- imports.wbg.__wbindgen_closure_wrapper82419 = function(arg0, arg1, arg2) {
4090
+ imports.wbg.__wbindgen_closure_wrapper82505 = function(arg0, arg1, arg2) {
4091
4091
  const ret = makeMutClosure(arg0, arg1, 19341, __wbg_adapter_60);
4092
4092
  return ret;
4093
4093
  };
4094
- imports.wbg.__wbindgen_closure_wrapper86187 = function(arg0, arg1, arg2) {
4095
- const ret = makeMutClosure(arg0, arg1, 19902, __wbg_adapter_63);
4094
+ imports.wbg.__wbindgen_closure_wrapper86264 = function(arg0, arg1, arg2) {
4095
+ const ret = makeMutClosure(arg0, arg1, 19898, __wbg_adapter_63);
4096
4096
  return ret;
4097
4097
  };
4098
4098
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
package/re_viewer_bg.wasm CHANGED
Binary file
@@ -67,9 +67,9 @@ export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__clo
67
67
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc53a9cb6fcc73ac1: (a: number, b: number) => void;
68
68
  export const closure19342_externref_shim: (a: number, b: number, c: any) => void;
69
69
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc04060e4b7c964d0_multivalue_shim: (a: number, b: number) => [number, number];
70
- export const closure19901_externref_shim: (a: number, b: number, c: any) => void;
71
- export const closure23710_externref_shim: (a: number, b: number, c: any) => void;
70
+ export const closure19897_externref_shim: (a: number, b: number, c: any) => void;
71
+ export const closure23711_externref_shim: (a: number, b: number, c: any) => void;
72
72
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he5d5195c02d7737c: (a: number, b: number) => void;
73
- export const closure24313_externref_shim: (a: number, b: number, c: any) => void;
74
- export const closure28228_externref_shim: (a: number, b: number, c: any, d: any) => void;
73
+ export const closure24314_externref_shim: (a: number, b: number, c: any) => void;
74
+ export const closure28229_externref_shim: (a: number, b: number, c: any, d: any) => void;
75
75
  export const __wbindgen_start: () => void;