@rerun-io/web-viewer 0.26.1 → 0.26.2
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 +2 -2
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/re_viewer.d.ts +5 -5
- package/re_viewer.js +33 -33
- package/re_viewer_bg.wasm +0 -0
- package/re_viewer_bg.wasm.d.ts +5 -5
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.
|
|
31
|
+
The entrypoint for this packages is the [`WebViewer`](https://ref.rerun.io/docs/js/0.26.2/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.
|
|
47
|
+
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.26.2/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.
|
|
195
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.26.2/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.
|
|
56
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.26.2/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.
|
|
312
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.26.2/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
package/re_viewer.d.ts
CHANGED
|
@@ -155,13 +155,13 @@ declare interface InitOutput {
|
|
|
155
155
|
readonly closure15_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
156
156
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98a68708d84b6c19: (a: number, b: number) => void;
|
|
157
157
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc53a9cb6fcc73ac1: (a: number, b: number) => void;
|
|
158
|
-
readonly
|
|
158
|
+
readonly closure19333_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
|
|
161
|
-
readonly
|
|
160
|
+
readonly closure19888_externref_shim: (a: number, b: number, c: any) => void;
|
|
161
|
+
readonly closure23706_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
|
|
164
|
-
readonly
|
|
163
|
+
readonly closure24308_externref_shim: (a: number, b: number, c: any) => void;
|
|
164
|
+
readonly closure28223_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
|
@@ -281,7 +281,7 @@ export default function() {
|
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
function __wbg_adapter_55(arg0, arg1, arg2) {
|
|
284
|
-
wasm.
|
|
284
|
+
wasm.closure19333_externref_shim(arg0, arg1, arg2);
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
function __wbg_adapter_60(arg0, arg1) {
|
|
@@ -292,11 +292,11 @@ export default function() {
|
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
function __wbg_adapter_63(arg0, arg1, arg2) {
|
|
295
|
-
wasm.
|
|
295
|
+
wasm.closure19888_externref_shim(arg0, arg1, arg2);
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
function __wbg_adapter_66(arg0, arg1, arg2) {
|
|
299
|
-
wasm.
|
|
299
|
+
wasm.closure23706_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.
|
|
307
|
+
wasm.closure24308_externref_shim(arg0, arg1, arg2);
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
function __wbg_adapter_1788(arg0, arg1, arg2, arg3) {
|
|
311
|
-
wasm.
|
|
311
|
+
wasm.closure28223_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.
|
|
1359
|
+
imports.wbg.__wbg_debug_a21cba20a5bbb77e = 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.
|
|
1972
|
+
imports.wbg.__wbg_info_9ce335e51936412e = function(arg0, arg1) {
|
|
1973
1973
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
1974
1974
|
};
|
|
1975
1975
|
imports.wbg.__wbg_inlineSize_8ff96b3ec1b24423 = function(arg0) {
|
|
@@ -2517,10 +2517,6 @@ 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
|
-
};
|
|
2524
2520
|
imports.wbg.__wbg_new_3a326de758934c0f = function() {
|
|
2525
2521
|
const ret = new Error();
|
|
2526
2522
|
return ret;
|
|
@@ -2577,6 +2573,10 @@ export default function() {
|
|
|
2577
2573
|
const ret = new AbortController();
|
|
2578
2574
|
return ret;
|
|
2579
2575
|
}, arguments) };
|
|
2576
|
+
imports.wbg.__wbg_new_f2667287a060bb1e = function() {
|
|
2577
|
+
const ret = new Error();
|
|
2578
|
+
return ret;
|
|
2579
|
+
};
|
|
2580
2580
|
imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
|
|
2581
2581
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
2582
2582
|
return ret;
|
|
@@ -3597,7 +3597,7 @@ export default function() {
|
|
|
3597
3597
|
const ret = arg0.size;
|
|
3598
3598
|
return ret;
|
|
3599
3599
|
};
|
|
3600
|
-
imports.wbg.
|
|
3600
|
+
imports.wbg.__wbg_stack_533d9fd06c237138 = 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.
|
|
3680
|
+
imports.wbg.__wbg_structuredClone_5efe0e2525661e3b = 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.
|
|
3798
|
+
imports.wbg.__wbg_trace_045bf9a1782b4de9 = 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.
|
|
3995
|
+
imports.wbg.__wbg_warn_4fad3877400ae0b2 = 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.
|
|
4055
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4054
|
+
imports.wbg.__wbindgen_closure_wrapper109844 = function(arg0, arg1, arg2) {
|
|
4055
|
+
const ret = makeMutClosure(arg0, arg1, 23707, __wbg_adapter_66);
|
|
4056
4056
|
return ret;
|
|
4057
4057
|
};
|
|
4058
|
-
imports.wbg.
|
|
4059
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4058
|
+
imports.wbg.__wbindgen_closure_wrapper109846 = function(arg0, arg1, arg2) {
|
|
4059
|
+
const ret = makeMutClosure(arg0, arg1, 23707, __wbg_adapter_66);
|
|
4060
4060
|
return ret;
|
|
4061
4061
|
};
|
|
4062
|
-
imports.wbg.
|
|
4063
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4062
|
+
imports.wbg.__wbindgen_closure_wrapper112320 = function(arg0, arg1, arg2) {
|
|
4063
|
+
const ret = makeMutClosure(arg0, arg1, 24034, __wbg_adapter_71);
|
|
4064
4064
|
return ret;
|
|
4065
4065
|
};
|
|
4066
|
-
imports.wbg.
|
|
4067
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4066
|
+
imports.wbg.__wbindgen_closure_wrapper113887 = function(arg0, arg1, arg2) {
|
|
4067
|
+
const ret = makeMutClosure(arg0, arg1, 24309, __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.
|
|
4075
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4074
|
+
imports.wbg.__wbindgen_closure_wrapper30534 = function(arg0, arg1, arg2) {
|
|
4075
|
+
const ret = makeMutClosure(arg0, arg1, 5364, __wbg_adapter_52);
|
|
4076
4076
|
return ret;
|
|
4077
4077
|
};
|
|
4078
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.
|
|
4083
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4082
|
+
imports.wbg.__wbindgen_closure_wrapper82413 = function(arg0, arg1, arg2) {
|
|
4083
|
+
const ret = makeMutClosure(arg0, arg1, 19332, __wbg_adapter_55);
|
|
4084
4084
|
return ret;
|
|
4085
4085
|
};
|
|
4086
|
-
imports.wbg.
|
|
4087
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4086
|
+
imports.wbg.__wbindgen_closure_wrapper82415 = function(arg0, arg1, arg2) {
|
|
4087
|
+
const ret = makeMutClosure(arg0, arg1, 19332, __wbg_adapter_55);
|
|
4088
4088
|
return ret;
|
|
4089
4089
|
};
|
|
4090
|
-
imports.wbg.
|
|
4091
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4090
|
+
imports.wbg.__wbindgen_closure_wrapper82417 = function(arg0, arg1, arg2) {
|
|
4091
|
+
const ret = makeMutClosure(arg0, arg1, 19332, __wbg_adapter_60);
|
|
4092
4092
|
return ret;
|
|
4093
4093
|
};
|
|
4094
|
-
imports.wbg.
|
|
4095
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4094
|
+
imports.wbg.__wbindgen_closure_wrapper86174 = function(arg0, arg1, arg2) {
|
|
4095
|
+
const ret = makeMutClosure(arg0, arg1, 19889, __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
|
package/re_viewer_bg.wasm.d.ts
CHANGED
|
@@ -65,11 +65,11 @@ export const __externref_table_dealloc: (a: number) => void;
|
|
|
65
65
|
export const closure15_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
66
66
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h98a68708d84b6c19: (a: number, b: number) => void;
|
|
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
|
-
export const
|
|
68
|
+
export const closure19333_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
|
|
71
|
-
export const
|
|
70
|
+
export const closure19888_externref_shim: (a: number, b: number, c: any) => void;
|
|
71
|
+
export const closure23706_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
|
|
74
|
-
export const
|
|
73
|
+
export const closure24308_externref_shim: (a: number, b: number, c: any) => void;
|
|
74
|
+
export const closure28223_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
75
75
|
export const __wbindgen_start: () => void;
|