@rerun-io/web-viewer 0.25.0-alpha.3 → 0.25.0-alpha.5
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 -6
- package/re_viewer.js +46 -43
- package/re_viewer_bg.wasm +0 -0
- package/re_viewer_bg.wasm.d.ts +6 -6
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-alpha.
|
|
31
|
+
The entrypoint for this packages is the [`WebViewer`](https://ref.rerun.io/docs/js/0.25.0-alpha.5/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-alpha.
|
|
47
|
+
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.25.0-alpha.5/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-alpha.
|
|
193
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.25.0-alpha.5/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-alpha.
|
|
56
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.25.0-alpha.5/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-alpha.
|
|
308
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.25.0-alpha.5/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
package/re_viewer.d.ts
CHANGED
|
@@ -155,12 +155,12 @@ declare interface InitOutput {
|
|
|
155
155
|
readonly closure9_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__h4045029159763268: (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
|
|
159
|
-
readonly
|
|
160
|
-
readonly
|
|
161
|
-
readonly
|
|
162
|
-
readonly
|
|
163
|
-
readonly
|
|
158
|
+
readonly closure18165_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__h4fefafa268cf8d19_multivalue_shim: (a: number, b: number) => [number, number];
|
|
160
|
+
readonly closure18684_externref_shim: (a: number, b: number, c: any) => void;
|
|
161
|
+
readonly closure22171_externref_shim: (a: number, b: number, c: any) => void;
|
|
162
|
+
readonly closure22765_externref_shim: (a: number, b: number, c: any) => void;
|
|
163
|
+
readonly closure26596_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
|
@@ -281,30 +281,30 @@ export default function() {
|
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
function __wbg_adapter_55(arg0, arg1, arg2) {
|
|
284
|
-
wasm.
|
|
284
|
+
wasm.closure18165_externref_shim(arg0, arg1, arg2);
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
function __wbg_adapter_60(arg0, arg1) {
|
|
288
|
-
const ret = wasm.
|
|
288
|
+
const ret = wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4fefafa268cf8d19_multivalue_shim(arg0, arg1);
|
|
289
289
|
if (ret[1]) {
|
|
290
290
|
throw takeFromExternrefTable0(ret[0]);
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
function __wbg_adapter_63(arg0, arg1, arg2) {
|
|
295
|
-
wasm.
|
|
295
|
+
wasm.closure18684_externref_shim(arg0, arg1, arg2);
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
function __wbg_adapter_66(arg0, arg1, arg2) {
|
|
299
|
-
wasm.
|
|
299
|
+
wasm.closure22171_externref_shim(arg0, arg1, arg2);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
function __wbg_adapter_71(arg0, arg1, arg2) {
|
|
303
|
-
wasm.
|
|
303
|
+
wasm.closure22765_externref_shim(arg0, arg1, arg2);
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
function
|
|
307
|
-
wasm.
|
|
306
|
+
function __wbg_adapter_1785(arg0, arg1, arg2, arg3) {
|
|
307
|
+
wasm.closure26596_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.
|
|
1349
|
+
imports.wbg.__wbg_debug_91a9f670b6d70b20 = 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) {
|
|
@@ -1551,7 +1551,7 @@ export default function() {
|
|
|
1551
1551
|
const ret = arg0.error;
|
|
1552
1552
|
return ret;
|
|
1553
1553
|
};
|
|
1554
|
-
imports.wbg.
|
|
1554
|
+
imports.wbg.__wbg_error_ad643f5a2306db4c = function(arg0, arg1) {
|
|
1555
1555
|
let deferred0_0;
|
|
1556
1556
|
let deferred0_1;
|
|
1557
1557
|
try {
|
|
@@ -1962,7 +1962,7 @@ export default function() {
|
|
|
1962
1962
|
const ret = arg0.includes(arg1, arg2);
|
|
1963
1963
|
return ret;
|
|
1964
1964
|
};
|
|
1965
|
-
imports.wbg.
|
|
1965
|
+
imports.wbg.__wbg_info_fda9381a3df0064b = function(arg0, arg1) {
|
|
1966
1966
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
1967
1967
|
};
|
|
1968
1968
|
imports.wbg.__wbg_inlineSize_8ff96b3ec1b24423 = function(arg0) {
|
|
@@ -2503,7 +2503,7 @@ export default function() {
|
|
|
2503
2503
|
const a = state0.a;
|
|
2504
2504
|
state0.a = 0;
|
|
2505
2505
|
try {
|
|
2506
|
-
return
|
|
2506
|
+
return __wbg_adapter_1785(a, state0.b, arg0, arg1);
|
|
2507
2507
|
} finally {
|
|
2508
2508
|
state0.a = a;
|
|
2509
2509
|
}
|
|
@@ -2522,18 +2522,10 @@ export default function() {
|
|
|
2522
2522
|
const ret = new FileReader();
|
|
2523
2523
|
return ret;
|
|
2524
2524
|
}, arguments) };
|
|
2525
|
-
imports.wbg.__wbg_new_47383f2dbea8cd53 = function() {
|
|
2526
|
-
const ret = new Error();
|
|
2527
|
-
return ret;
|
|
2528
|
-
};
|
|
2529
2525
|
imports.wbg.__wbg_new_49bbf669d24a0662 = function() { return handleError(function (arg0) {
|
|
2530
2526
|
const ret = new EncodedVideoChunk(arg0);
|
|
2531
2527
|
return ret;
|
|
2532
2528
|
}, arguments) };
|
|
2533
|
-
imports.wbg.__wbg_new_4f1bf264dfa8f904 = function() {
|
|
2534
|
-
const ret = new Error();
|
|
2535
|
-
return ret;
|
|
2536
|
-
};
|
|
2537
2529
|
imports.wbg.__wbg_new_59a6be6d80c4dcbb = function() { return handleError(function (arg0) {
|
|
2538
2530
|
const ret = new VideoDecoder(arg0);
|
|
2539
2531
|
return ret;
|
|
@@ -2566,6 +2558,10 @@ export default function() {
|
|
|
2566
2558
|
const ret = new TypeError(getStringFromWasm0(arg0, arg1));
|
|
2567
2559
|
return ret;
|
|
2568
2560
|
};
|
|
2561
|
+
imports.wbg.__wbg_new_c2b2ddf13cb3e7d2 = function() {
|
|
2562
|
+
const ret = new Error();
|
|
2563
|
+
return ret;
|
|
2564
|
+
};
|
|
2569
2565
|
imports.wbg.__wbg_new_c68d7209be747379 = function(arg0, arg1) {
|
|
2570
2566
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
2571
2567
|
return ret;
|
|
@@ -2574,6 +2570,10 @@ export default function() {
|
|
|
2574
2570
|
const ret = new AbortController();
|
|
2575
2571
|
return ret;
|
|
2576
2572
|
}, arguments) };
|
|
2573
|
+
imports.wbg.__wbg_new_f4deddbd61c21207 = function() {
|
|
2574
|
+
const ret = new Error();
|
|
2575
|
+
return ret;
|
|
2576
|
+
};
|
|
2577
2577
|
imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
|
|
2578
2578
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
2579
2579
|
return ret;
|
|
@@ -2796,6 +2796,9 @@ export default function() {
|
|
|
2796
2796
|
imports.wbg.__wbg_renderbufferStorage_f010012bd3566942 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
2797
2797
|
arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
|
|
2798
2798
|
};
|
|
2799
|
+
imports.wbg.__wbg_replaceState_79f3b896be12c919 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2800
|
+
arg0.replaceState(arg1, getStringFromWasm0(arg2, arg3), arg4 === 0 ? undefined : getStringFromWasm0(arg4, arg5));
|
|
2801
|
+
}, arguments) };
|
|
2799
2802
|
imports.wbg.__wbg_requestAdapter_85a0526011ba069a = function(arg0) {
|
|
2800
2803
|
const ret = arg0.requestAdapter();
|
|
2801
2804
|
return ret;
|
|
@@ -3592,14 +3595,14 @@ export default function() {
|
|
|
3592
3595
|
const ret = arg0.size;
|
|
3593
3596
|
return ret;
|
|
3594
3597
|
};
|
|
3595
|
-
imports.wbg.
|
|
3598
|
+
imports.wbg.__wbg_stack_35d397f0b183b865 = function(arg0, arg1) {
|
|
3596
3599
|
const ret = arg1.stack;
|
|
3597
3600
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3598
3601
|
const len1 = WASM_VECTOR_LEN;
|
|
3599
3602
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3600
3603
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3601
3604
|
};
|
|
3602
|
-
imports.wbg.
|
|
3605
|
+
imports.wbg.__wbg_stack_8259ba65012409b0 = function(arg0, arg1) {
|
|
3603
3606
|
const ret = arg1.stack;
|
|
3604
3607
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3605
3608
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -3672,7 +3675,7 @@ export default function() {
|
|
|
3672
3675
|
const ret = JSON.stringify(arg0);
|
|
3673
3676
|
return ret;
|
|
3674
3677
|
}, arguments) };
|
|
3675
|
-
imports.wbg.
|
|
3678
|
+
imports.wbg.__wbg_structuredClone_1d6bd87419b11769 = function() { return handleError(function (arg0) {
|
|
3676
3679
|
const ret = window.structuredClone(arg0);
|
|
3677
3680
|
return ret;
|
|
3678
3681
|
}, arguments) };
|
|
@@ -3794,7 +3797,7 @@ export default function() {
|
|
|
3794
3797
|
const ret = arg0.touches;
|
|
3795
3798
|
return ret;
|
|
3796
3799
|
};
|
|
3797
|
-
imports.wbg.
|
|
3800
|
+
imports.wbg.__wbg_trace_20f709ac5b3dc0c2 = function(arg0, arg1) {
|
|
3798
3801
|
console.trace(getStringFromWasm0(arg0, arg1));
|
|
3799
3802
|
};
|
|
3800
3803
|
imports.wbg.__wbg_type_00566e0d2e337e2e = function(arg0, arg1) {
|
|
@@ -3995,7 +3998,7 @@ export default function() {
|
|
|
3995
3998
|
imports.wbg.__wbg_viewport_e615e98f676f2d39 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
3996
3999
|
arg0.viewport(arg1, arg2, arg3, arg4);
|
|
3997
4000
|
};
|
|
3998
|
-
imports.wbg.
|
|
4001
|
+
imports.wbg.__wbg_warn_557a8060e040f51f = function(arg0, arg1) {
|
|
3999
4002
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
4000
4003
|
};
|
|
4001
4004
|
imports.wbg.__wbg_width_4f334fc47ef03de1 = function(arg0) {
|
|
@@ -4054,44 +4057,44 @@ export default function() {
|
|
|
4054
4057
|
const ret = false;
|
|
4055
4058
|
return ret;
|
|
4056
4059
|
};
|
|
4057
|
-
imports.wbg.
|
|
4058
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4060
|
+
imports.wbg.__wbindgen_closure_wrapper103579 = function(arg0, arg1, arg2) {
|
|
4061
|
+
const ret = makeMutClosure(arg0, arg1, 22172, __wbg_adapter_66);
|
|
4059
4062
|
return ret;
|
|
4060
4063
|
};
|
|
4061
|
-
imports.wbg.
|
|
4062
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4064
|
+
imports.wbg.__wbindgen_closure_wrapper103581 = function(arg0, arg1, arg2) {
|
|
4065
|
+
const ret = makeMutClosure(arg0, arg1, 22172, __wbg_adapter_66);
|
|
4063
4066
|
return ret;
|
|
4064
4067
|
};
|
|
4065
|
-
imports.wbg.
|
|
4066
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4068
|
+
imports.wbg.__wbindgen_closure_wrapper107741 = function(arg0, arg1, arg2) {
|
|
4069
|
+
const ret = makeMutClosure(arg0, arg1, 22766, __wbg_adapter_71);
|
|
4067
4070
|
return ret;
|
|
4068
4071
|
};
|
|
4069
|
-
imports.wbg.
|
|
4072
|
+
imports.wbg.__wbindgen_closure_wrapper1337 = function(arg0, arg1, arg2) {
|
|
4070
4073
|
const ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_46);
|
|
4071
4074
|
return ret;
|
|
4072
4075
|
};
|
|
4073
|
-
imports.wbg.
|
|
4074
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4076
|
+
imports.wbg.__wbindgen_closure_wrapper73049 = function(arg0, arg1, arg2) {
|
|
4077
|
+
const ret = makeMutClosure(arg0, arg1, 17556, __wbg_adapter_52);
|
|
4075
4078
|
return ret;
|
|
4076
4079
|
};
|
|
4077
|
-
imports.wbg.
|
|
4078
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4080
|
+
imports.wbg.__wbindgen_closure_wrapper77672 = function(arg0, arg1, arg2) {
|
|
4081
|
+
const ret = makeMutClosure(arg0, arg1, 18166, __wbg_adapter_55);
|
|
4079
4082
|
return ret;
|
|
4080
4083
|
};
|
|
4081
|
-
imports.wbg.
|
|
4082
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4084
|
+
imports.wbg.__wbindgen_closure_wrapper77674 = function(arg0, arg1, arg2) {
|
|
4085
|
+
const ret = makeMutClosure(arg0, arg1, 18166, __wbg_adapter_55);
|
|
4083
4086
|
return ret;
|
|
4084
4087
|
};
|
|
4085
|
-
imports.wbg.
|
|
4086
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4088
|
+
imports.wbg.__wbindgen_closure_wrapper77676 = function(arg0, arg1, arg2) {
|
|
4089
|
+
const ret = makeMutClosure(arg0, arg1, 18166, __wbg_adapter_60);
|
|
4087
4090
|
return ret;
|
|
4088
4091
|
};
|
|
4089
|
-
imports.wbg.
|
|
4090
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4092
|
+
imports.wbg.__wbindgen_closure_wrapper7785 = function(arg0, arg1, arg2) {
|
|
4093
|
+
const ret = makeMutClosure(arg0, arg1, 1371, __wbg_adapter_49);
|
|
4091
4094
|
return ret;
|
|
4092
4095
|
};
|
|
4093
|
-
imports.wbg.
|
|
4094
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4096
|
+
imports.wbg.__wbindgen_closure_wrapper81393 = function(arg0, arg1, arg2) {
|
|
4097
|
+
const ret = makeMutClosure(arg0, arg1, 18685, __wbg_adapter_63);
|
|
4095
4098
|
return ret;
|
|
4096
4099
|
};
|
|
4097
4100
|
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,10 @@ export const __externref_table_dealloc: (a: number) => void;
|
|
|
65
65
|
export const closure9_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__h4045029159763268: (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
|
|
69
|
-
export const
|
|
70
|
-
export const
|
|
71
|
-
export const
|
|
72
|
-
export const
|
|
73
|
-
export const
|
|
68
|
+
export const closure18165_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__h4fefafa268cf8d19_multivalue_shim: (a: number, b: number) => [number, number];
|
|
70
|
+
export const closure18684_externref_shim: (a: number, b: number, c: any) => void;
|
|
71
|
+
export const closure22171_externref_shim: (a: number, b: number, c: any) => void;
|
|
72
|
+
export const closure22765_externref_shim: (a: number, b: number, c: any) => void;
|
|
73
|
+
export const closure26596_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
74
74
|
export const __wbindgen_start: () => void;
|