@rerun-io/web-viewer 0.26.0-alpha.3 → 0.26.0-rc.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 +6 -5
- package/re_viewer.js +58 -42
- package/re_viewer_bg.wasm +0 -0
- package/re_viewer_bg.wasm.d.ts +6 -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.0-
|
|
31
|
+
The entrypoint for this packages is the [`WebViewer`](https://ref.rerun.io/docs/js/0.26.0-rc.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.0-
|
|
47
|
+
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.26.0-rc.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.0-
|
|
195
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.26.0-rc.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.0-
|
|
56
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.26.0-rc.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.0-
|
|
312
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.26.0-rc.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,12 +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 closure19304_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
|
|
162
|
-
readonly
|
|
163
|
-
readonly
|
|
160
|
+
readonly closure19863_externref_shim: (a: number, b: number, c: any) => void;
|
|
161
|
+
readonly closure23659_externref_shim: (a: number, b: number, c: any) => void;
|
|
162
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he5d5195c02d7737c: (a: number, b: number) => void;
|
|
163
|
+
readonly closure24198_externref_shim: (a: number, b: number, c: any) => void;
|
|
164
|
+
readonly closure28113_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
164
165
|
readonly __wbindgen_start: () => void;
|
|
165
166
|
}
|
|
166
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.closure19304_externref_shim(arg0, arg1, arg2);
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
function __wbg_adapter_60(arg0, arg1) {
|
|
@@ -292,19 +292,23 @@ export default function() {
|
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
function __wbg_adapter_63(arg0, arg1, arg2) {
|
|
295
|
-
wasm.
|
|
295
|
+
wasm.closure19863_externref_shim(arg0, arg1, arg2);
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
function __wbg_adapter_66(arg0, arg1, arg2) {
|
|
299
|
-
wasm.
|
|
299
|
+
wasm.closure23659_externref_shim(arg0, arg1, arg2);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
function __wbg_adapter_71(arg0, arg1
|
|
303
|
-
wasm.
|
|
302
|
+
function __wbg_adapter_71(arg0, arg1) {
|
|
303
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he5d5195c02d7737c(arg0, arg1);
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
function
|
|
307
|
-
wasm.
|
|
306
|
+
function __wbg_adapter_74(arg0, arg1, arg2) {
|
|
307
|
+
wasm.closure24198_externref_shim(arg0, arg1, arg2);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
function __wbg_adapter_1788(arg0, arg1, arg2, arg3) {
|
|
311
|
+
wasm.closure28113_externref_shim(arg0, arg1, arg2, arg3);
|
|
308
312
|
}
|
|
309
313
|
|
|
310
314
|
const __wbindgen_enum_EncodedVideoChunkType = ["key", "delta"];
|
|
@@ -1083,6 +1087,10 @@ export default function() {
|
|
|
1083
1087
|
const ret = clearTimeout(arg0);
|
|
1084
1088
|
return ret;
|
|
1085
1089
|
};
|
|
1090
|
+
imports.wbg.__wbg_clearTimeout_2e2c4939388cdfbb = function(arg0) {
|
|
1091
|
+
const ret = clearTimeout(arg0);
|
|
1092
|
+
return ret;
|
|
1093
|
+
};
|
|
1086
1094
|
imports.wbg.__wbg_clear_62b9037b892f6988 = function(arg0, arg1) {
|
|
1087
1095
|
arg0.clear(arg1 >>> 0);
|
|
1088
1096
|
};
|
|
@@ -1348,7 +1356,7 @@ export default function() {
|
|
|
1348
1356
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1349
1357
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1350
1358
|
};
|
|
1351
|
-
imports.wbg.
|
|
1359
|
+
imports.wbg.__wbg_debug_3b1b631355ef4c54 = function(arg0, arg1) {
|
|
1352
1360
|
console.debug(getStringFromWasm0(arg0, arg1));
|
|
1353
1361
|
};
|
|
1354
1362
|
imports.wbg.__wbg_decode_6c36f113295ffd87 = function() { return handleError(function (arg0, arg1) {
|
|
@@ -1584,12 +1592,12 @@ export default function() {
|
|
|
1584
1592
|
const ret = arg0.fetch(arg1);
|
|
1585
1593
|
return ret;
|
|
1586
1594
|
};
|
|
1587
|
-
imports.wbg.
|
|
1588
|
-
const ret =
|
|
1595
|
+
imports.wbg.__wbg_fetch_53eef7df7b439a49 = function(arg0, arg1) {
|
|
1596
|
+
const ret = fetch(arg0, arg1);
|
|
1589
1597
|
return ret;
|
|
1590
1598
|
};
|
|
1591
|
-
imports.wbg.
|
|
1592
|
-
const ret = fetch(
|
|
1599
|
+
imports.wbg.__wbg_fetch_b7bf320f681242d2 = function(arg0, arg1) {
|
|
1600
|
+
const ret = arg0.fetch(arg1);
|
|
1593
1601
|
return ret;
|
|
1594
1602
|
};
|
|
1595
1603
|
imports.wbg.__wbg_files_5f07ac9b6f9116a7 = function(arg0) {
|
|
@@ -1961,7 +1969,7 @@ export default function() {
|
|
|
1961
1969
|
const ret = arg0.includes(arg1, arg2);
|
|
1962
1970
|
return ret;
|
|
1963
1971
|
};
|
|
1964
|
-
imports.wbg.
|
|
1972
|
+
imports.wbg.__wbg_info_c17eff6858af0b31 = function(arg0, arg1) {
|
|
1965
1973
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
1966
1974
|
};
|
|
1967
1975
|
imports.wbg.__wbg_inlineSize_8ff96b3ec1b24423 = function(arg0) {
|
|
@@ -2487,10 +2495,6 @@ export default function() {
|
|
|
2487
2495
|
const ret = new Date();
|
|
2488
2496
|
return ret;
|
|
2489
2497
|
};
|
|
2490
|
-
imports.wbg.__wbg_new_0136981f74cf4b2a = function() {
|
|
2491
|
-
const ret = new Error();
|
|
2492
|
-
return ret;
|
|
2493
|
-
};
|
|
2494
2498
|
imports.wbg.__wbg_new_018dcc2d6c8c2f6a = function() { return handleError(function () {
|
|
2495
2499
|
const ret = new Headers();
|
|
2496
2500
|
return ret;
|
|
@@ -2502,7 +2506,7 @@ export default function() {
|
|
|
2502
2506
|
const a = state0.a;
|
|
2503
2507
|
state0.a = 0;
|
|
2504
2508
|
try {
|
|
2505
|
-
return
|
|
2509
|
+
return __wbg_adapter_1788(a, state0.b, arg0, arg1);
|
|
2506
2510
|
} finally {
|
|
2507
2511
|
state0.a = a;
|
|
2508
2512
|
}
|
|
@@ -2537,6 +2541,10 @@ export default function() {
|
|
|
2537
2541
|
const ret = new ResizeObserver(arg0);
|
|
2538
2542
|
return ret;
|
|
2539
2543
|
}, arguments) };
|
|
2544
|
+
imports.wbg.__wbg_new_6ac71a5bebf77873 = function() {
|
|
2545
|
+
const ret = new Error();
|
|
2546
|
+
return ret;
|
|
2547
|
+
};
|
|
2540
2548
|
imports.wbg.__wbg_new_78feb108b6472713 = function() {
|
|
2541
2549
|
const ret = new Array();
|
|
2542
2550
|
return ret;
|
|
@@ -2876,6 +2884,10 @@ export default function() {
|
|
|
2876
2884
|
const ret = setTimeout(arg0, arg1);
|
|
2877
2885
|
return ret;
|
|
2878
2886
|
};
|
|
2887
|
+
imports.wbg.__wbg_setTimeout_929c97a7c0f23d36 = function(arg0, arg1) {
|
|
2888
|
+
const ret = setTimeout(arg0, arg1);
|
|
2889
|
+
return ret;
|
|
2890
|
+
};
|
|
2879
2891
|
imports.wbg.__wbg_setTimeout_f2fe5af8e3debeb3 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2880
2892
|
const ret = arg0.setTimeout(arg1, arg2);
|
|
2881
2893
|
return ret;
|
|
@@ -3585,14 +3597,14 @@ export default function() {
|
|
|
3585
3597
|
const ret = arg0.size;
|
|
3586
3598
|
return ret;
|
|
3587
3599
|
};
|
|
3588
|
-
imports.wbg.
|
|
3600
|
+
imports.wbg.__wbg_stack_5efcf393ebb1b23e = function(arg0, arg1) {
|
|
3589
3601
|
const ret = arg1.stack;
|
|
3590
3602
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3591
3603
|
const len1 = WASM_VECTOR_LEN;
|
|
3592
3604
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3593
3605
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3594
3606
|
};
|
|
3595
|
-
imports.wbg.
|
|
3607
|
+
imports.wbg.__wbg_stack_7ab0e52d303d5f54 = function(arg0, arg1) {
|
|
3596
3608
|
const ret = arg1.stack;
|
|
3597
3609
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3598
3610
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -3665,7 +3677,7 @@ export default function() {
|
|
|
3665
3677
|
const ret = JSON.stringify(arg0);
|
|
3666
3678
|
return ret;
|
|
3667
3679
|
}, arguments) };
|
|
3668
|
-
imports.wbg.
|
|
3680
|
+
imports.wbg.__wbg_structuredClone_7c47a7037b844fdb = function() { return handleError(function (arg0) {
|
|
3669
3681
|
const ret = window.structuredClone(arg0);
|
|
3670
3682
|
return ret;
|
|
3671
3683
|
}, arguments) };
|
|
@@ -3783,7 +3795,7 @@ export default function() {
|
|
|
3783
3795
|
const ret = arg0.touches;
|
|
3784
3796
|
return ret;
|
|
3785
3797
|
};
|
|
3786
|
-
imports.wbg.
|
|
3798
|
+
imports.wbg.__wbg_trace_265536267967af2f = function(arg0, arg1) {
|
|
3787
3799
|
console.trace(getStringFromWasm0(arg0, arg1));
|
|
3788
3800
|
};
|
|
3789
3801
|
imports.wbg.__wbg_type_00566e0d2e337e2e = function(arg0, arg1) {
|
|
@@ -3980,7 +3992,7 @@ export default function() {
|
|
|
3980
3992
|
imports.wbg.__wbg_viewport_e615e98f676f2d39 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
3981
3993
|
arg0.viewport(arg1, arg2, arg3, arg4);
|
|
3982
3994
|
};
|
|
3983
|
-
imports.wbg.
|
|
3995
|
+
imports.wbg.__wbg_warn_b8502fb8a45aed67 = function(arg0, arg1) {
|
|
3984
3996
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
3985
3997
|
};
|
|
3986
3998
|
imports.wbg.__wbg_width_4f334fc47ef03de1 = function(arg0) {
|
|
@@ -4039,44 +4051,48 @@ export default function() {
|
|
|
4039
4051
|
const ret = false;
|
|
4040
4052
|
return ret;
|
|
4041
4053
|
};
|
|
4042
|
-
imports.wbg.
|
|
4043
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4054
|
+
imports.wbg.__wbindgen_closure_wrapper109814 = function(arg0, arg1, arg2) {
|
|
4055
|
+
const ret = makeMutClosure(arg0, arg1, 23660, __wbg_adapter_66);
|
|
4056
|
+
return ret;
|
|
4057
|
+
};
|
|
4058
|
+
imports.wbg.__wbindgen_closure_wrapper109816 = function(arg0, arg1, arg2) {
|
|
4059
|
+
const ret = makeMutClosure(arg0, arg1, 23660, __wbg_adapter_66);
|
|
4044
4060
|
return ret;
|
|
4045
4061
|
};
|
|
4046
|
-
imports.wbg.
|
|
4047
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4062
|
+
imports.wbg.__wbindgen_closure_wrapper112299 = function(arg0, arg1, arg2) {
|
|
4063
|
+
const ret = makeMutClosure(arg0, arg1, 23993, __wbg_adapter_71);
|
|
4048
4064
|
return ret;
|
|
4049
4065
|
};
|
|
4050
|
-
imports.wbg.
|
|
4051
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4066
|
+
imports.wbg.__wbindgen_closure_wrapper113569 = function(arg0, arg1, arg2) {
|
|
4067
|
+
const ret = makeMutClosure(arg0, arg1, 24199, __wbg_adapter_74);
|
|
4052
4068
|
return ret;
|
|
4053
4069
|
};
|
|
4054
|
-
imports.wbg.
|
|
4070
|
+
imports.wbg.__wbindgen_closure_wrapper1472 = function(arg0, arg1, arg2) {
|
|
4055
4071
|
const ret = makeMutClosure(arg0, arg1, 16, __wbg_adapter_46);
|
|
4056
4072
|
return ret;
|
|
4057
4073
|
};
|
|
4058
|
-
imports.wbg.
|
|
4059
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4074
|
+
imports.wbg.__wbindgen_closure_wrapper30531 = function(arg0, arg1, arg2) {
|
|
4075
|
+
const ret = makeMutClosure(arg0, arg1, 5318, __wbg_adapter_52);
|
|
4060
4076
|
return ret;
|
|
4061
4077
|
};
|
|
4062
|
-
imports.wbg.
|
|
4063
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4078
|
+
imports.wbg.__wbindgen_closure_wrapper8037 = function(arg0, arg1, arg2) {
|
|
4079
|
+
const ret = makeMutClosure(arg0, arg1, 1378, __wbg_adapter_49);
|
|
4064
4080
|
return ret;
|
|
4065
4081
|
};
|
|
4066
|
-
imports.wbg.
|
|
4067
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4082
|
+
imports.wbg.__wbindgen_closure_wrapper82393 = function(arg0, arg1, arg2) {
|
|
4083
|
+
const ret = makeMutClosure(arg0, arg1, 19303, __wbg_adapter_55);
|
|
4068
4084
|
return ret;
|
|
4069
4085
|
};
|
|
4070
|
-
imports.wbg.
|
|
4071
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4086
|
+
imports.wbg.__wbindgen_closure_wrapper82395 = function(arg0, arg1, arg2) {
|
|
4087
|
+
const ret = makeMutClosure(arg0, arg1, 19303, __wbg_adapter_55);
|
|
4072
4088
|
return ret;
|
|
4073
4089
|
};
|
|
4074
|
-
imports.wbg.
|
|
4075
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4090
|
+
imports.wbg.__wbindgen_closure_wrapper82397 = function(arg0, arg1, arg2) {
|
|
4091
|
+
const ret = makeMutClosure(arg0, arg1, 19303, __wbg_adapter_60);
|
|
4076
4092
|
return ret;
|
|
4077
4093
|
};
|
|
4078
|
-
imports.wbg.
|
|
4079
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4094
|
+
imports.wbg.__wbindgen_closure_wrapper86164 = function(arg0, arg1, arg2) {
|
|
4095
|
+
const ret = makeMutClosure(arg0, arg1, 19864, __wbg_adapter_63);
|
|
4080
4096
|
return ret;
|
|
4081
4097
|
};
|
|
4082
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,10 +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 closure19304_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
|
|
72
|
-
export const
|
|
73
|
-
export const
|
|
70
|
+
export const closure19863_externref_shim: (a: number, b: number, c: any) => void;
|
|
71
|
+
export const closure23659_externref_shim: (a: number, b: number, c: any) => void;
|
|
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 closure24198_externref_shim: (a: number, b: number, c: any) => void;
|
|
74
|
+
export const closure28113_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
74
75
|
export const __wbindgen_start: () => void;
|