@rerun-io/web-viewer 0.25.0-alpha.7 → 0.25.0
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 +32 -32
- 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.25.0
|
|
31
|
+
The entrypoint for this packages is the [`WebViewer`](https://ref.rerun.io/docs/js/0.25.0/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
|
|
47
|
+
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.25.0/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
|
|
193
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.25.0/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
|
|
56
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.25.0/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
|
|
308
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.25.0/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
|
@@ -156,11 +156,11 @@ declare interface InitOutput {
|
|
|
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
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
|
|
160
|
-
readonly
|
|
161
|
-
readonly
|
|
162
|
-
readonly
|
|
163
|
-
readonly
|
|
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;
|
|
164
164
|
readonly __wbindgen_start: () => void;
|
|
165
165
|
}
|
|
166
166
|
|
package/re_viewer.js
CHANGED
|
@@ -288,23 +288,23 @@ export default function() {
|
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
function __wbg_adapter_58(arg0, arg1, arg2) {
|
|
291
|
-
wasm.
|
|
291
|
+
wasm.closure18208_externref_shim(arg0, arg1, arg2);
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
function __wbg_adapter_63(arg0, arg1, arg2) {
|
|
295
|
-
wasm.
|
|
295
|
+
wasm.closure18730_externref_shim(arg0, arg1, arg2);
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
function __wbg_adapter_66(arg0, arg1, arg2) {
|
|
299
|
-
wasm.
|
|
299
|
+
wasm.closure22219_externref_shim(arg0, arg1, arg2);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
function __wbg_adapter_71(arg0, arg1, arg2) {
|
|
303
|
-
wasm.
|
|
303
|
+
wasm.closure22821_externref_shim(arg0, arg1, arg2);
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
function __wbg_adapter_1783(arg0, arg1, arg2, arg3) {
|
|
307
|
-
wasm.
|
|
307
|
+
wasm.closure26654_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_e066c730b3059a13 = 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.
|
|
1965
|
+
imports.wbg.__wbg_info_91dace82dd471acd = function(arg0, arg1) {
|
|
1966
1966
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
1967
1967
|
};
|
|
1968
1968
|
imports.wbg.__wbg_inlineSize_8ff96b3ec1b24423 = function(arg0) {
|
|
@@ -2526,10 +2526,6 @@ export default function() {
|
|
|
2526
2526
|
const ret = new EncodedVideoChunk(arg0);
|
|
2527
2527
|
return ret;
|
|
2528
2528
|
}, arguments) };
|
|
2529
|
-
imports.wbg.__wbg_new_4be5521eabdbb8d8 = function() {
|
|
2530
|
-
const ret = new Error();
|
|
2531
|
-
return ret;
|
|
2532
|
-
};
|
|
2533
2529
|
imports.wbg.__wbg_new_59a6be6d80c4dcbb = function() { return handleError(function (arg0) {
|
|
2534
2530
|
const ret = new VideoDecoder(arg0);
|
|
2535
2531
|
return ret;
|
|
@@ -2538,6 +2534,10 @@ export default function() {
|
|
|
2538
2534
|
const ret = new ResizeObserver(arg0);
|
|
2539
2535
|
return ret;
|
|
2540
2536
|
}, 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.
|
|
3591
|
+
imports.wbg.__wbg_stack_ce508d4881a78479 = 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.
|
|
3598
|
+
imports.wbg.__wbg_stack_f87695d6a37a1a0a = 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.
|
|
3671
|
+
imports.wbg.__wbg_structuredClone_248feea3b31b4bd5 = 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.
|
|
3793
|
+
imports.wbg.__wbg_trace_5c53f31d53ea7566 = 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.
|
|
3994
|
+
imports.wbg.__wbg_warn_865b5e515d87452a = 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.
|
|
4054
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4053
|
+
imports.wbg.__wbindgen_closure_wrapper104012 = function(arg0, arg1, arg2) {
|
|
4054
|
+
const ret = makeMutClosure(arg0, arg1, 22220, __wbg_adapter_66);
|
|
4055
4055
|
return ret;
|
|
4056
4056
|
};
|
|
4057
|
-
imports.wbg.
|
|
4058
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4057
|
+
imports.wbg.__wbindgen_closure_wrapper104014 = function(arg0, arg1, arg2) {
|
|
4058
|
+
const ret = makeMutClosure(arg0, arg1, 22220, __wbg_adapter_66);
|
|
4059
4059
|
return ret;
|
|
4060
4060
|
};
|
|
4061
|
-
imports.wbg.
|
|
4062
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4061
|
+
imports.wbg.__wbindgen_closure_wrapper108196 = function(arg0, arg1, arg2) {
|
|
4062
|
+
const ret = makeMutClosure(arg0, arg1, 22822, __wbg_adapter_71);
|
|
4063
4063
|
return ret;
|
|
4064
4064
|
};
|
|
4065
4065
|
imports.wbg.__wbindgen_closure_wrapper1322 = function(arg0, arg1, arg2) {
|
|
4066
4066
|
const ret = makeMutClosure(arg0, arg1, 8, __wbg_adapter_46);
|
|
4067
4067
|
return ret;
|
|
4068
4068
|
};
|
|
4069
|
-
imports.wbg.
|
|
4070
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4069
|
+
imports.wbg.__wbindgen_closure_wrapper73287 = function(arg0, arg1, arg2) {
|
|
4070
|
+
const ret = makeMutClosure(arg0, arg1, 17596, __wbg_adapter_52);
|
|
4071
4071
|
return ret;
|
|
4072
4072
|
};
|
|
4073
4073
|
imports.wbg.__wbindgen_closure_wrapper7750 = function(arg0, arg1, arg2) {
|
|
4074
4074
|
const ret = makeMutClosure(arg0, arg1, 1344, __wbg_adapter_49);
|
|
4075
4075
|
return ret;
|
|
4076
4076
|
};
|
|
4077
|
-
imports.wbg.
|
|
4078
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4077
|
+
imports.wbg.__wbindgen_closure_wrapper77903 = function(arg0, arg1, arg2) {
|
|
4078
|
+
const ret = makeMutClosure(arg0, arg1, 18207, __wbg_adapter_55);
|
|
4079
4079
|
return ret;
|
|
4080
4080
|
};
|
|
4081
|
-
imports.wbg.
|
|
4082
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4081
|
+
imports.wbg.__wbindgen_closure_wrapper77905 = function(arg0, arg1, arg2) {
|
|
4082
|
+
const ret = makeMutClosure(arg0, arg1, 18207, __wbg_adapter_58);
|
|
4083
4083
|
return ret;
|
|
4084
4084
|
};
|
|
4085
|
-
imports.wbg.
|
|
4086
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4085
|
+
imports.wbg.__wbindgen_closure_wrapper77907 = function(arg0, arg1, arg2) {
|
|
4086
|
+
const ret = makeMutClosure(arg0, arg1, 18207, __wbg_adapter_58);
|
|
4087
4087
|
return ret;
|
|
4088
4088
|
};
|
|
4089
|
-
imports.wbg.
|
|
4090
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4089
|
+
imports.wbg.__wbindgen_closure_wrapper81629 = function(arg0, arg1, arg2) {
|
|
4090
|
+
const ret = makeMutClosure(arg0, arg1, 18731, __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
|
package/re_viewer_bg.wasm.d.ts
CHANGED
|
@@ -66,9 +66,9 @@ export const closure7_externref_shim_multivalue_shim: (a: number, b: number, c:
|
|
|
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
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
|
|
70
|
-
export const
|
|
71
|
-
export const
|
|
72
|
-
export const
|
|
73
|
-
export const
|
|
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;
|
|
74
74
|
export const __wbindgen_start: () => void;
|