@rerun-io/web-viewer 0.27.3-rc.4 → 0.27.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 +6 -6
- package/re_viewer.js +37 -37
- 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.27.3
|
|
31
|
+
The entrypoint for this packages is the [`WebViewer`](https://ref.rerun.io/docs/js/0.27.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.27.3
|
|
47
|
+
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.27.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
|
@@ -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.27.3
|
|
195
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.27.3/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.27.3
|
|
56
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.27.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
|
@@ -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.27.3
|
|
312
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.27.3/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
|
@@ -156,15 +156,15 @@ declare interface InitOutput {
|
|
|
156
156
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
157
157
|
readonly closure14_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
158
158
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he34a9ae45f20c6fd: (a: number, b: number) => void;
|
|
159
|
-
readonly
|
|
159
|
+
readonly closure3617_externref_shim: (a: number, b: number, c: any) => void;
|
|
160
160
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hec908fa8b4e5a092: (a: number, b: number) => void;
|
|
161
|
-
readonly
|
|
161
|
+
readonly closure19765_externref_shim: (a: number, b: number, c: any) => void;
|
|
162
162
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1cad2b2e4845897f_multivalue_shim: (a: number, b: number) => [number, number];
|
|
163
|
-
readonly
|
|
164
|
-
readonly
|
|
163
|
+
readonly closure20322_externref_shim: (a: number, b: number, c: any) => void;
|
|
164
|
+
readonly closure24163_externref_shim: (a: number, b: number, c: any) => void;
|
|
165
165
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1eaaa1f5cdf1492d: (a: number, b: number) => void;
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
166
|
+
readonly closure24780_externref_shim: (a: number, b: number, c: any) => void;
|
|
167
|
+
readonly closure28835_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
168
168
|
readonly __wbindgen_start: () => void;
|
|
169
169
|
}
|
|
170
170
|
|
package/re_viewer.js
CHANGED
|
@@ -277,7 +277,7 @@ export default function() {
|
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
function __wbg_adapter_52(arg0, arg1, arg2) {
|
|
280
|
-
wasm.
|
|
280
|
+
wasm.closure3617_externref_shim(arg0, arg1, arg2);
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
function __wbg_adapter_55(arg0, arg1) {
|
|
@@ -285,7 +285,7 @@ export default function() {
|
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
function __wbg_adapter_58(arg0, arg1, arg2) {
|
|
288
|
-
wasm.
|
|
288
|
+
wasm.closure19765_externref_shim(arg0, arg1, arg2);
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
function __wbg_adapter_63(arg0, arg1) {
|
|
@@ -296,11 +296,11 @@ export default function() {
|
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
function __wbg_adapter_66(arg0, arg1, arg2) {
|
|
299
|
-
wasm.
|
|
299
|
+
wasm.closure20322_externref_shim(arg0, arg1, arg2);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
function __wbg_adapter_69(arg0, arg1, arg2) {
|
|
303
|
-
wasm.
|
|
303
|
+
wasm.closure24163_externref_shim(arg0, arg1, arg2);
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
function __wbg_adapter_74(arg0, arg1) {
|
|
@@ -308,11 +308,11 @@ export default function() {
|
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
function __wbg_adapter_77(arg0, arg1, arg2) {
|
|
311
|
-
wasm.
|
|
311
|
+
wasm.closure24780_externref_shim(arg0, arg1, arg2);
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
function __wbg_adapter_1802(arg0, arg1, arg2, arg3) {
|
|
315
|
-
wasm.
|
|
315
|
+
wasm.closure28835_externref_shim(arg0, arg1, arg2, arg3);
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
const __wbindgen_enum_EncodedVideoChunkType = ["key", "delta"];
|
|
@@ -1378,7 +1378,7 @@ export default function() {
|
|
|
1378
1378
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1379
1379
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1380
1380
|
};
|
|
1381
|
-
imports.wbg.
|
|
1381
|
+
imports.wbg.__wbg_debug_18313a913296435a = function(arg0, arg1) {
|
|
1382
1382
|
console.debug(getStringFromWasm0(arg0, arg1));
|
|
1383
1383
|
};
|
|
1384
1384
|
imports.wbg.__wbg_decode_6c36f113295ffd87 = function() { return handleError(function (arg0, arg1) {
|
|
@@ -1991,7 +1991,7 @@ export default function() {
|
|
|
1991
1991
|
const ret = arg0.includes(arg1, arg2);
|
|
1992
1992
|
return ret;
|
|
1993
1993
|
};
|
|
1994
|
-
imports.wbg.
|
|
1994
|
+
imports.wbg.__wbg_info_22e510e46be1b54c = function(arg0, arg1) {
|
|
1995
1995
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
1996
1996
|
};
|
|
1997
1997
|
imports.wbg.__wbg_inlineSize_8ff96b3ec1b24423 = function(arg0) {
|
|
@@ -2585,10 +2585,6 @@ export default function() {
|
|
|
2585
2585
|
const ret = new URLSearchParams();
|
|
2586
2586
|
return ret;
|
|
2587
2587
|
}, arguments) };
|
|
2588
|
-
imports.wbg.__wbg_new_9826ae0a636dffa5 = function() {
|
|
2589
|
-
const ret = new Error();
|
|
2590
|
-
return ret;
|
|
2591
|
-
};
|
|
2592
2588
|
imports.wbg.__wbg_new_9ffbe0a71eff35e3 = function() { return handleError(function (arg0, arg1) {
|
|
2593
2589
|
const ret = new URL(getStringFromWasm0(arg0, arg1));
|
|
2594
2590
|
return ret;
|
|
@@ -2605,6 +2601,10 @@ export default function() {
|
|
|
2605
2601
|
const ret = new TypeError(getStringFromWasm0(arg0, arg1));
|
|
2606
2602
|
return ret;
|
|
2607
2603
|
};
|
|
2604
|
+
imports.wbg.__wbg_new_bb7e549e09278093 = function() {
|
|
2605
|
+
const ret = new Error();
|
|
2606
|
+
return ret;
|
|
2607
|
+
};
|
|
2608
2608
|
imports.wbg.__wbg_new_c68d7209be747379 = function(arg0, arg1) {
|
|
2609
2609
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
2610
2610
|
return ret;
|
|
@@ -3637,7 +3637,7 @@ export default function() {
|
|
|
3637
3637
|
const ret = arg0.size;
|
|
3638
3638
|
return ret;
|
|
3639
3639
|
};
|
|
3640
|
-
imports.wbg.
|
|
3640
|
+
imports.wbg.__wbg_stack_538982adb76d0e39 = function(arg0, arg1) {
|
|
3641
3641
|
const ret = arg1.stack;
|
|
3642
3642
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3643
3643
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -3717,7 +3717,7 @@ export default function() {
|
|
|
3717
3717
|
const ret = JSON.stringify(arg0);
|
|
3718
3718
|
return ret;
|
|
3719
3719
|
}, arguments) };
|
|
3720
|
-
imports.wbg.
|
|
3720
|
+
imports.wbg.__wbg_structuredClone_d3cd9c161e7ab6f0 = function() { return handleError(function (arg0) {
|
|
3721
3721
|
const ret = window.structuredClone(arg0);
|
|
3722
3722
|
return ret;
|
|
3723
3723
|
}, arguments) };
|
|
@@ -3835,7 +3835,7 @@ export default function() {
|
|
|
3835
3835
|
const ret = arg0.touches;
|
|
3836
3836
|
return ret;
|
|
3837
3837
|
};
|
|
3838
|
-
imports.wbg.
|
|
3838
|
+
imports.wbg.__wbg_trace_59e47e27980df7b2 = function(arg0, arg1) {
|
|
3839
3839
|
console.trace(getStringFromWasm0(arg0, arg1));
|
|
3840
3840
|
};
|
|
3841
3841
|
imports.wbg.__wbg_type_00566e0d2e337e2e = function(arg0, arg1) {
|
|
@@ -4032,7 +4032,7 @@ export default function() {
|
|
|
4032
4032
|
imports.wbg.__wbg_viewport_e615e98f676f2d39 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
4033
4033
|
arg0.viewport(arg1, arg2, arg3, arg4);
|
|
4034
4034
|
};
|
|
4035
|
-
imports.wbg.
|
|
4035
|
+
imports.wbg.__wbg_warn_74577aa279d59408 = function(arg0, arg1) {
|
|
4036
4036
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
4037
4037
|
};
|
|
4038
4038
|
imports.wbg.__wbg_width_4f334fc47ef03de1 = function(arg0) {
|
|
@@ -4091,52 +4091,52 @@ export default function() {
|
|
|
4091
4091
|
const ret = false;
|
|
4092
4092
|
return ret;
|
|
4093
4093
|
};
|
|
4094
|
-
imports.wbg.
|
|
4095
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4094
|
+
imports.wbg.__wbindgen_closure_wrapper112340 = function(arg0, arg1, arg2) {
|
|
4095
|
+
const ret = makeMutClosure(arg0, arg1, 24164, __wbg_adapter_69);
|
|
4096
4096
|
return ret;
|
|
4097
4097
|
};
|
|
4098
|
-
imports.wbg.
|
|
4099
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4098
|
+
imports.wbg.__wbindgen_closure_wrapper112342 = function(arg0, arg1, arg2) {
|
|
4099
|
+
const ret = makeMutClosure(arg0, arg1, 24164, __wbg_adapter_69);
|
|
4100
4100
|
return ret;
|
|
4101
4101
|
};
|
|
4102
|
-
imports.wbg.
|
|
4103
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4102
|
+
imports.wbg.__wbindgen_closure_wrapper114862 = function(arg0, arg1, arg2) {
|
|
4103
|
+
const ret = makeMutClosure(arg0, arg1, 24488, __wbg_adapter_74);
|
|
4104
4104
|
return ret;
|
|
4105
4105
|
};
|
|
4106
|
-
imports.wbg.
|
|
4107
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4106
|
+
imports.wbg.__wbindgen_closure_wrapper118590 = function(arg0, arg1, arg2) {
|
|
4107
|
+
const ret = makeMutClosure(arg0, arg1, 24781, __wbg_adapter_77);
|
|
4108
4108
|
return ret;
|
|
4109
4109
|
};
|
|
4110
4110
|
imports.wbg.__wbindgen_closure_wrapper1425 = function(arg0, arg1, arg2) {
|
|
4111
4111
|
const ret = makeMutClosure(arg0, arg1, 15, __wbg_adapter_46);
|
|
4112
4112
|
return ret;
|
|
4113
4113
|
};
|
|
4114
|
-
imports.wbg.
|
|
4115
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4114
|
+
imports.wbg.__wbindgen_closure_wrapper22321 = function(arg0, arg1, arg2) {
|
|
4115
|
+
const ret = makeMutClosure(arg0, arg1, 3618, __wbg_adapter_52);
|
|
4116
4116
|
return ret;
|
|
4117
4117
|
};
|
|
4118
|
-
imports.wbg.
|
|
4119
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4118
|
+
imports.wbg.__wbindgen_closure_wrapper31824 = function(arg0, arg1, arg2) {
|
|
4119
|
+
const ret = makeMutClosure(arg0, arg1, 5605, __wbg_adapter_55);
|
|
4120
4120
|
return ret;
|
|
4121
4121
|
};
|
|
4122
|
-
imports.wbg.
|
|
4122
|
+
imports.wbg.__wbindgen_closure_wrapper7857 = function(arg0, arg1, arg2) {
|
|
4123
4123
|
const ret = makeMutClosure(arg0, arg1, 1313, __wbg_adapter_49);
|
|
4124
4124
|
return ret;
|
|
4125
4125
|
};
|
|
4126
|
-
imports.wbg.
|
|
4127
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4126
|
+
imports.wbg.__wbindgen_closure_wrapper84449 = function(arg0, arg1, arg2) {
|
|
4127
|
+
const ret = makeMutClosure(arg0, arg1, 19766, __wbg_adapter_58);
|
|
4128
4128
|
return ret;
|
|
4129
4129
|
};
|
|
4130
|
-
imports.wbg.
|
|
4131
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4130
|
+
imports.wbg.__wbindgen_closure_wrapper84451 = function(arg0, arg1, arg2) {
|
|
4131
|
+
const ret = makeMutClosure(arg0, arg1, 19766, __wbg_adapter_58);
|
|
4132
4132
|
return ret;
|
|
4133
4133
|
};
|
|
4134
|
-
imports.wbg.
|
|
4135
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4134
|
+
imports.wbg.__wbindgen_closure_wrapper84453 = function(arg0, arg1, arg2) {
|
|
4135
|
+
const ret = makeMutClosure(arg0, arg1, 19766, __wbg_adapter_63);
|
|
4136
4136
|
return ret;
|
|
4137
4137
|
};
|
|
4138
|
-
imports.wbg.
|
|
4139
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4138
|
+
imports.wbg.__wbindgen_closure_wrapper88203 = function(arg0, arg1, arg2) {
|
|
4139
|
+
const ret = makeMutClosure(arg0, arg1, 20323, __wbg_adapter_66);
|
|
4140
4140
|
return ret;
|
|
4141
4141
|
};
|
|
4142
4142
|
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,13 +65,13 @@ export const __wbindgen_export_6: WebAssembly.Table;
|
|
|
65
65
|
export const __externref_table_dealloc: (a: number) => void;
|
|
66
66
|
export const closure14_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
67
67
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he34a9ae45f20c6fd: (a: number, b: number) => void;
|
|
68
|
-
export const
|
|
68
|
+
export const closure3617_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__hec908fa8b4e5a092: (a: number, b: number) => void;
|
|
70
|
-
export const
|
|
70
|
+
export const closure19765_externref_shim: (a: number, b: number, c: any) => void;
|
|
71
71
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1cad2b2e4845897f_multivalue_shim: (a: number, b: number) => [number, number];
|
|
72
|
-
export const
|
|
73
|
-
export const
|
|
72
|
+
export const closure20322_externref_shim: (a: number, b: number, c: any) => void;
|
|
73
|
+
export const closure24163_externref_shim: (a: number, b: number, c: any) => void;
|
|
74
74
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1eaaa1f5cdf1492d: (a: number, b: number) => void;
|
|
75
|
-
export const
|
|
76
|
-
export const
|
|
75
|
+
export const closure24780_externref_shim: (a: number, b: number, c: any) => void;
|
|
76
|
+
export const closure28835_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
77
77
|
export const __wbindgen_start: () => void;
|