@rerun-io/web-viewer 0.25.0-alpha.2 → 0.25.0-alpha.3
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 +35 -35
- 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-alpha.
|
|
31
|
+
The entrypoint for this packages is the [`WebViewer`](https://ref.rerun.io/docs/js/0.25.0-alpha.3/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.3/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.3/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.3/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.3/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
|
|
158
|
+
readonly closure16605_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__h02aa36292c085eda_multivalue_shim: (a: number, b: number) => [number, number];
|
|
160
|
-
readonly
|
|
161
|
-
readonly
|
|
162
|
-
readonly
|
|
163
|
-
readonly
|
|
160
|
+
readonly closure17093_externref_shim: (a: number, b: number, c: any) => void;
|
|
161
|
+
readonly closure20575_externref_shim: (a: number, b: number, c: any) => void;
|
|
162
|
+
readonly closure21184_externref_shim: (a: number, b: number, c: any) => void;
|
|
163
|
+
readonly closure25019_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,7 +281,7 @@ export default function() {
|
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
function __wbg_adapter_55(arg0, arg1, arg2) {
|
|
284
|
-
wasm.
|
|
284
|
+
wasm.closure16605_externref_shim(arg0, arg1, arg2);
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
function __wbg_adapter_60(arg0, arg1) {
|
|
@@ -292,19 +292,19 @@ export default function() {
|
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
function __wbg_adapter_63(arg0, arg1, arg2) {
|
|
295
|
-
wasm.
|
|
295
|
+
wasm.closure17093_externref_shim(arg0, arg1, arg2);
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
function __wbg_adapter_66(arg0, arg1, arg2) {
|
|
299
|
-
wasm.
|
|
299
|
+
wasm.closure20575_externref_shim(arg0, arg1, arg2);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
function __wbg_adapter_71(arg0, arg1, arg2) {
|
|
303
|
-
wasm.
|
|
303
|
+
wasm.closure21184_externref_shim(arg0, arg1, arg2);
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
function __wbg_adapter_1783(arg0, arg1, arg2, arg3) {
|
|
307
|
-
wasm.
|
|
307
|
+
wasm.closure25019_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_d75601f8087857d6 = 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_e0d23a2e93209f52 = function(arg0, arg1) {
|
|
1966
1966
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
1967
1967
|
};
|
|
1968
1968
|
imports.wbg.__wbg_inlineSize_8ff96b3ec1b24423 = function(arg0) {
|
|
@@ -2522,6 +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
|
+
};
|
|
2525
2529
|
imports.wbg.__wbg_new_49bbf669d24a0662 = function() { return handleError(function (arg0) {
|
|
2526
2530
|
const ret = new EncodedVideoChunk(arg0);
|
|
2527
2531
|
return ret;
|
|
@@ -2570,10 +2574,6 @@ export default function() {
|
|
|
2570
2574
|
const ret = new AbortController();
|
|
2571
2575
|
return ret;
|
|
2572
2576
|
}, arguments) };
|
|
2573
|
-
imports.wbg.__wbg_new_fd82893cbae09a93 = 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;
|
|
@@ -3599,7 +3599,7 @@ export default function() {
|
|
|
3599
3599
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3600
3600
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3601
3601
|
};
|
|
3602
|
-
imports.wbg.
|
|
3602
|
+
imports.wbg.__wbg_stack_f1eb0012096cd5e6 = function(arg0, arg1) {
|
|
3603
3603
|
const ret = arg1.stack;
|
|
3604
3604
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3605
3605
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -3672,7 +3672,7 @@ export default function() {
|
|
|
3672
3672
|
const ret = JSON.stringify(arg0);
|
|
3673
3673
|
return ret;
|
|
3674
3674
|
}, arguments) };
|
|
3675
|
-
imports.wbg.
|
|
3675
|
+
imports.wbg.__wbg_structuredClone_d7f62b39aa82295f = function() { return handleError(function (arg0) {
|
|
3676
3676
|
const ret = window.structuredClone(arg0);
|
|
3677
3677
|
return ret;
|
|
3678
3678
|
}, arguments) };
|
|
@@ -3794,7 +3794,7 @@ export default function() {
|
|
|
3794
3794
|
const ret = arg0.touches;
|
|
3795
3795
|
return ret;
|
|
3796
3796
|
};
|
|
3797
|
-
imports.wbg.
|
|
3797
|
+
imports.wbg.__wbg_trace_d5f12142dbb2a77a = function(arg0, arg1) {
|
|
3798
3798
|
console.trace(getStringFromWasm0(arg0, arg1));
|
|
3799
3799
|
};
|
|
3800
3800
|
imports.wbg.__wbg_type_00566e0d2e337e2e = function(arg0, arg1) {
|
|
@@ -3995,7 +3995,7 @@ export default function() {
|
|
|
3995
3995
|
imports.wbg.__wbg_viewport_e615e98f676f2d39 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
3996
3996
|
arg0.viewport(arg1, arg2, arg3, arg4);
|
|
3997
3997
|
};
|
|
3998
|
-
imports.wbg.
|
|
3998
|
+
imports.wbg.__wbg_warn_b948b527c3c75cf0 = function(arg0, arg1) {
|
|
3999
3999
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
4000
4000
|
};
|
|
4001
4001
|
imports.wbg.__wbg_width_4f334fc47ef03de1 = function(arg0) {
|
|
@@ -4054,44 +4054,44 @@ export default function() {
|
|
|
4054
4054
|
const ret = false;
|
|
4055
4055
|
return ret;
|
|
4056
4056
|
};
|
|
4057
|
-
imports.wbg.
|
|
4058
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4057
|
+
imports.wbg.__wbindgen_closure_wrapper100081 = function(arg0, arg1, arg2) {
|
|
4058
|
+
const ret = makeMutClosure(arg0, arg1, 20576, __wbg_adapter_66);
|
|
4059
4059
|
return ret;
|
|
4060
4060
|
};
|
|
4061
|
-
imports.wbg.
|
|
4062
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4061
|
+
imports.wbg.__wbindgen_closure_wrapper100083 = function(arg0, arg1, arg2) {
|
|
4062
|
+
const ret = makeMutClosure(arg0, arg1, 20576, __wbg_adapter_66);
|
|
4063
4063
|
return ret;
|
|
4064
4064
|
};
|
|
4065
|
-
imports.wbg.
|
|
4066
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4065
|
+
imports.wbg.__wbindgen_closure_wrapper104269 = function(arg0, arg1, arg2) {
|
|
4066
|
+
const ret = makeMutClosure(arg0, arg1, 21185, __wbg_adapter_71);
|
|
4067
4067
|
return ret;
|
|
4068
4068
|
};
|
|
4069
|
-
imports.wbg.
|
|
4070
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4069
|
+
imports.wbg.__wbindgen_closure_wrapper1332 = function(arg0, arg1, arg2) {
|
|
4070
|
+
const ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_46);
|
|
4071
4071
|
return ret;
|
|
4072
4072
|
};
|
|
4073
|
-
imports.wbg.
|
|
4074
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4073
|
+
imports.wbg.__wbindgen_closure_wrapper69981 = function(arg0, arg1, arg2) {
|
|
4074
|
+
const ret = makeMutClosure(arg0, arg1, 15986, __wbg_adapter_52);
|
|
4075
4075
|
return ret;
|
|
4076
4076
|
};
|
|
4077
|
-
imports.wbg.
|
|
4078
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4077
|
+
imports.wbg.__wbindgen_closure_wrapper74551 = function(arg0, arg1, arg2) {
|
|
4078
|
+
const ret = makeMutClosure(arg0, arg1, 16606, __wbg_adapter_55);
|
|
4079
4079
|
return ret;
|
|
4080
4080
|
};
|
|
4081
|
-
imports.wbg.
|
|
4082
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4081
|
+
imports.wbg.__wbindgen_closure_wrapper74553 = function(arg0, arg1, arg2) {
|
|
4082
|
+
const ret = makeMutClosure(arg0, arg1, 16606, __wbg_adapter_55);
|
|
4083
4083
|
return ret;
|
|
4084
4084
|
};
|
|
4085
|
-
imports.wbg.
|
|
4086
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4085
|
+
imports.wbg.__wbindgen_closure_wrapper74555 = function(arg0, arg1, arg2) {
|
|
4086
|
+
const ret = makeMutClosure(arg0, arg1, 16606, __wbg_adapter_60);
|
|
4087
4087
|
return ret;
|
|
4088
4088
|
};
|
|
4089
|
-
imports.wbg.
|
|
4090
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4089
|
+
imports.wbg.__wbindgen_closure_wrapper7653 = function(arg0, arg1, arg2) {
|
|
4090
|
+
const ret = makeMutClosure(arg0, arg1, 1349, __wbg_adapter_49);
|
|
4091
4091
|
return ret;
|
|
4092
4092
|
};
|
|
4093
|
-
imports.wbg.
|
|
4094
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4093
|
+
imports.wbg.__wbindgen_closure_wrapper78115 = function(arg0, arg1, arg2) {
|
|
4094
|
+
const ret = makeMutClosure(arg0, arg1, 17094, __wbg_adapter_63);
|
|
4095
4095
|
return ret;
|
|
4096
4096
|
};
|
|
4097
4097
|
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
|
|
68
|
+
export const closure16605_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__h02aa36292c085eda_multivalue_shim: (a: number, b: number) => [number, number];
|
|
70
|
-
export const
|
|
71
|
-
export const
|
|
72
|
-
export const
|
|
73
|
-
export const
|
|
70
|
+
export const closure17093_externref_shim: (a: number, b: number, c: any) => void;
|
|
71
|
+
export const closure20575_externref_shim: (a: number, b: number, c: any) => void;
|
|
72
|
+
export const closure21184_externref_shim: (a: number, b: number, c: any) => void;
|
|
73
|
+
export const closure25019_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
74
74
|
export const __wbindgen_start: () => void;
|