@rerun-io/web-viewer 0.24.1-rc.2 → 0.24.1-rc.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 +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.24.1-rc.
|
|
31
|
+
The entrypoint for this packages is the [`WebViewer`](https://ref.rerun.io/docs/js/0.24.1-rc.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.24.1-rc.
|
|
47
|
+
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.24.1-rc.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.24.1-rc.
|
|
193
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.24.1-rc.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.24.1-rc.
|
|
56
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.24.1-rc.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.24.1-rc.
|
|
308
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.24.1-rc.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
|
@@ -140,12 +140,12 @@ declare interface InitOutput {
|
|
|
140
140
|
readonly closure7_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
141
141
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc7f63d5c8a7a6405: (a: number, b: number) => void;
|
|
142
142
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9cfa259b7cf078ed: (a: number, b: number) => void;
|
|
143
|
-
readonly
|
|
143
|
+
readonly closure16720_externref_shim: (a: number, b: number, c: any) => void;
|
|
144
144
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d7fbb5555ca41d4_multivalue_shim: (a: number, b: number) => [number, number];
|
|
145
|
-
readonly
|
|
146
|
-
readonly
|
|
147
|
-
readonly
|
|
148
|
-
readonly
|
|
145
|
+
readonly closure17221_externref_shim: (a: number, b: number, c: any) => void;
|
|
146
|
+
readonly closure19993_externref_shim: (a: number, b: number, c: any) => void;
|
|
147
|
+
readonly closure20611_externref_shim: (a: number, b: number, c: any) => void;
|
|
148
|
+
readonly closure24469_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
149
149
|
readonly __wbindgen_start: () => void;
|
|
150
150
|
}
|
|
151
151
|
|
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.closure16720_externref_shim(arg0, arg1, arg2);
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
function __wbg_adapter_58(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.closure17221_externref_shim(arg0, arg1, arg2);
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
function __wbg_adapter_66(arg0, arg1, arg2) {
|
|
299
|
-
wasm.
|
|
299
|
+
wasm.closure19993_externref_shim(arg0, arg1, arg2);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
function __wbg_adapter_71(arg0, arg1, arg2) {
|
|
303
|
-
wasm.
|
|
303
|
+
wasm.closure20611_externref_shim(arg0, arg1, arg2);
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
function __wbg_adapter_1791(arg0, arg1, arg2, arg3) {
|
|
307
|
-
wasm.
|
|
307
|
+
wasm.closure24469_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_8f473719c25d48d6 = 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) {
|
|
@@ -1973,7 +1973,7 @@ export default function() {
|
|
|
1973
1973
|
const ret = arg0.includes(arg1, arg2);
|
|
1974
1974
|
return ret;
|
|
1975
1975
|
};
|
|
1976
|
-
imports.wbg.
|
|
1976
|
+
imports.wbg.__wbg_info_5fcf2e451cb2824b = function(arg0, arg1) {
|
|
1977
1977
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
1978
1978
|
};
|
|
1979
1979
|
imports.wbg.__wbg_inlineSize_8ff96b3ec1b24423 = function(arg0) {
|
|
@@ -2533,10 +2533,6 @@ export default function() {
|
|
|
2533
2533
|
const ret = new Object();
|
|
2534
2534
|
return ret;
|
|
2535
2535
|
};
|
|
2536
|
-
imports.wbg.__wbg_new_46d5b9205acdceff = function() {
|
|
2537
|
-
const ret = new Error();
|
|
2538
|
-
return ret;
|
|
2539
|
-
};
|
|
2540
2536
|
imports.wbg.__wbg_new_46e8134c3341d05a = function() { return handleError(function () {
|
|
2541
2537
|
const ret = new FileReader();
|
|
2542
2538
|
return ret;
|
|
@@ -2589,6 +2585,10 @@ export default function() {
|
|
|
2589
2585
|
const ret = new AbortController();
|
|
2590
2586
|
return ret;
|
|
2591
2587
|
}, arguments) };
|
|
2588
|
+
imports.wbg.__wbg_new_e8f028461930cbf3 = function() {
|
|
2589
|
+
const ret = new Error();
|
|
2590
|
+
return ret;
|
|
2591
|
+
};
|
|
2592
2592
|
imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
|
|
2593
2593
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
2594
2594
|
return ret;
|
|
@@ -3610,14 +3610,14 @@ export default function() {
|
|
|
3610
3610
|
const ret = arg0.size;
|
|
3611
3611
|
return ret;
|
|
3612
3612
|
};
|
|
3613
|
-
imports.wbg.
|
|
3613
|
+
imports.wbg.__wbg_stack_ae0a92a9512cc7a7 = function(arg0, arg1) {
|
|
3614
3614
|
const ret = arg1.stack;
|
|
3615
3615
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3616
3616
|
const len1 = WASM_VECTOR_LEN;
|
|
3617
3617
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3618
3618
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3619
3619
|
};
|
|
3620
|
-
imports.wbg.
|
|
3620
|
+
imports.wbg.__wbg_stack_d91d7c3c7abdc49e = function(arg0, arg1) {
|
|
3621
3621
|
const ret = arg1.stack;
|
|
3622
3622
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3623
3623
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -3690,7 +3690,7 @@ export default function() {
|
|
|
3690
3690
|
const ret = JSON.stringify(arg0);
|
|
3691
3691
|
return ret;
|
|
3692
3692
|
}, arguments) };
|
|
3693
|
-
imports.wbg.
|
|
3693
|
+
imports.wbg.__wbg_structuredClone_8fe79d51237e0e57 = function() { return handleError(function (arg0) {
|
|
3694
3694
|
const ret = window.structuredClone(arg0);
|
|
3695
3695
|
return ret;
|
|
3696
3696
|
}, arguments) };
|
|
@@ -3812,7 +3812,7 @@ export default function() {
|
|
|
3812
3812
|
const ret = arg0.touches;
|
|
3813
3813
|
return ret;
|
|
3814
3814
|
};
|
|
3815
|
-
imports.wbg.
|
|
3815
|
+
imports.wbg.__wbg_trace_fa11eb59637c0a70 = function(arg0, arg1) {
|
|
3816
3816
|
console.trace(getStringFromWasm0(arg0, arg1));
|
|
3817
3817
|
};
|
|
3818
3818
|
imports.wbg.__wbg_type_00566e0d2e337e2e = function(arg0, arg1) {
|
|
@@ -4013,7 +4013,7 @@ export default function() {
|
|
|
4013
4013
|
imports.wbg.__wbg_viewport_e615e98f676f2d39 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
4014
4014
|
arg0.viewport(arg1, arg2, arg3, arg4);
|
|
4015
4015
|
};
|
|
4016
|
-
imports.wbg.
|
|
4016
|
+
imports.wbg.__wbg_warn_ae4f27f438e9ae25 = function(arg0, arg1) {
|
|
4017
4017
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
4018
4018
|
};
|
|
4019
4019
|
imports.wbg.__wbg_width_4f334fc47ef03de1 = function(arg0) {
|
|
@@ -4072,44 +4072,44 @@ export default function() {
|
|
|
4072
4072
|
const ret = false;
|
|
4073
4073
|
return ret;
|
|
4074
4074
|
};
|
|
4075
|
-
imports.wbg.
|
|
4076
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4075
|
+
imports.wbg.__wbindgen_closure_wrapper100575 = function(arg0, arg1, arg2) {
|
|
4076
|
+
const ret = makeMutClosure(arg0, arg1, 20612, __wbg_adapter_71);
|
|
4077
4077
|
return ret;
|
|
4078
4078
|
};
|
|
4079
4079
|
imports.wbg.__wbindgen_closure_wrapper1330 = function(arg0, arg1, arg2) {
|
|
4080
4080
|
const ret = makeMutClosure(arg0, arg1, 8, __wbg_adapter_46);
|
|
4081
4081
|
return ret;
|
|
4082
4082
|
};
|
|
4083
|
-
imports.wbg.
|
|
4084
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4083
|
+
imports.wbg.__wbindgen_closure_wrapper70301 = function(arg0, arg1, arg2) {
|
|
4084
|
+
const ret = makeMutClosure(arg0, arg1, 16070, __wbg_adapter_52);
|
|
4085
4085
|
return ret;
|
|
4086
4086
|
};
|
|
4087
|
-
imports.wbg.
|
|
4088
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4087
|
+
imports.wbg.__wbindgen_closure_wrapper75038 = function(arg0, arg1, arg2) {
|
|
4088
|
+
const ret = makeMutClosure(arg0, arg1, 16721, __wbg_adapter_55);
|
|
4089
4089
|
return ret;
|
|
4090
4090
|
};
|
|
4091
|
-
imports.wbg.
|
|
4092
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4091
|
+
imports.wbg.__wbindgen_closure_wrapper75040 = function(arg0, arg1, arg2) {
|
|
4092
|
+
const ret = makeMutClosure(arg0, arg1, 16721, __wbg_adapter_58);
|
|
4093
4093
|
return ret;
|
|
4094
4094
|
};
|
|
4095
|
-
imports.wbg.
|
|
4096
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4095
|
+
imports.wbg.__wbindgen_closure_wrapper75042 = function(arg0, arg1, arg2) {
|
|
4096
|
+
const ret = makeMutClosure(arg0, arg1, 16721, __wbg_adapter_55);
|
|
4097
4097
|
return ret;
|
|
4098
4098
|
};
|
|
4099
4099
|
imports.wbg.__wbindgen_closure_wrapper7731 = function(arg0, arg1, arg2) {
|
|
4100
4100
|
const ret = makeMutClosure(arg0, arg1, 1349, __wbg_adapter_49);
|
|
4101
4101
|
return ret;
|
|
4102
4102
|
};
|
|
4103
|
-
imports.wbg.
|
|
4104
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4103
|
+
imports.wbg.__wbindgen_closure_wrapper78567 = function(arg0, arg1, arg2) {
|
|
4104
|
+
const ret = makeMutClosure(arg0, arg1, 17222, __wbg_adapter_63);
|
|
4105
4105
|
return ret;
|
|
4106
4106
|
};
|
|
4107
|
-
imports.wbg.
|
|
4108
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4107
|
+
imports.wbg.__wbindgen_closure_wrapper96530 = function(arg0, arg1, arg2) {
|
|
4108
|
+
const ret = makeMutClosure(arg0, arg1, 19994, __wbg_adapter_66);
|
|
4109
4109
|
return ret;
|
|
4110
4110
|
};
|
|
4111
|
-
imports.wbg.
|
|
4112
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4111
|
+
imports.wbg.__wbindgen_closure_wrapper96532 = function(arg0, arg1, arg2) {
|
|
4112
|
+
const ret = makeMutClosure(arg0, arg1, 19994, __wbg_adapter_66);
|
|
4113
4113
|
return ret;
|
|
4114
4114
|
};
|
|
4115
4115
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/re_viewer_bg.wasm
CHANGED
|
Binary file
|
package/re_viewer_bg.wasm.d.ts
CHANGED
|
@@ -50,10 +50,10 @@ export const __externref_table_dealloc: (a: number) => void;
|
|
|
50
50
|
export const closure7_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
51
51
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc7f63d5c8a7a6405: (a: number, b: number) => void;
|
|
52
52
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9cfa259b7cf078ed: (a: number, b: number) => void;
|
|
53
|
-
export const
|
|
53
|
+
export const closure16720_externref_shim: (a: number, b: number, c: any) => void;
|
|
54
54
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d7fbb5555ca41d4_multivalue_shim: (a: number, b: number) => [number, number];
|
|
55
|
-
export const
|
|
56
|
-
export const
|
|
57
|
-
export const
|
|
58
|
-
export const
|
|
55
|
+
export const closure17221_externref_shim: (a: number, b: number, c: any) => void;
|
|
56
|
+
export const closure19993_externref_shim: (a: number, b: number, c: any) => void;
|
|
57
|
+
export const closure20611_externref_shim: (a: number, b: number, c: any) => void;
|
|
58
|
+
export const closure24469_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
59
59
|
export const __wbindgen_start: () => void;
|