@rerun-io/web-viewer 0.27.0 → 0.27.1
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 +36 -36
- 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.
|
|
31
|
+
The entrypoint for this packages is the [`WebViewer`](https://ref.rerun.io/docs/js/0.27.1/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.
|
|
47
|
+
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.27.1/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.
|
|
195
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.27.1/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.
|
|
56
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.27.1/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.
|
|
312
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.27.1/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
|
@@ -154,15 +154,15 @@ declare interface InitOutput {
|
|
|
154
154
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
155
155
|
readonly closure14_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__he34a9ae45f20c6fd: (a: number, b: number) => void;
|
|
157
|
-
readonly
|
|
157
|
+
readonly closure3622_externref_shim: (a: number, b: number, c: any) => void;
|
|
158
158
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hec908fa8b4e5a092: (a: number, b: number) => void;
|
|
159
|
-
readonly
|
|
159
|
+
readonly closure19771_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__h5b108304cf502912_multivalue_shim: (a: number, b: number) => [number, number];
|
|
161
|
-
readonly
|
|
162
|
-
readonly
|
|
161
|
+
readonly closure20329_externref_shim: (a: number, b: number, c: any) => void;
|
|
162
|
+
readonly closure24168_externref_shim: (a: number, b: number, c: any) => void;
|
|
163
163
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1eaaa1f5cdf1492d: (a: number, b: number) => void;
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
164
|
+
readonly closure24775_externref_shim: (a: number, b: number, c: any) => void;
|
|
165
|
+
readonly closure28827_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
166
166
|
readonly __wbindgen_start: () => void;
|
|
167
167
|
}
|
|
168
168
|
|
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.closure3622_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.closure19771_externref_shim(arg0, arg1, arg2);
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
function __wbg_adapter_61(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.closure20329_externref_shim(arg0, arg1, arg2);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
function __wbg_adapter_69(arg0, arg1, arg2) {
|
|
303
|
-
wasm.
|
|
303
|
+
wasm.closure24168_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.closure24775_externref_shim(arg0, arg1, arg2);
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
function __wbg_adapter_1801(arg0, arg1, arg2, arg3) {
|
|
315
|
-
wasm.
|
|
315
|
+
wasm.closure28827_externref_shim(arg0, arg1, arg2, arg3);
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
const __wbindgen_enum_EncodedVideoChunkType = ["key", "delta"];
|
|
@@ -1367,7 +1367,7 @@ export default function() {
|
|
|
1367
1367
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1368
1368
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1369
1369
|
};
|
|
1370
|
-
imports.wbg.
|
|
1370
|
+
imports.wbg.__wbg_debug_ecd8b2d0c024c9fa = function(arg0, arg1) {
|
|
1371
1371
|
console.debug(getStringFromWasm0(arg0, arg1));
|
|
1372
1372
|
};
|
|
1373
1373
|
imports.wbg.__wbg_decode_6c36f113295ffd87 = function() { return handleError(function (arg0, arg1) {
|
|
@@ -1980,7 +1980,7 @@ export default function() {
|
|
|
1980
1980
|
const ret = arg0.includes(arg1, arg2);
|
|
1981
1981
|
return ret;
|
|
1982
1982
|
};
|
|
1983
|
-
imports.wbg.
|
|
1983
|
+
imports.wbg.__wbg_info_20dd5753446edfb1 = function(arg0, arg1) {
|
|
1984
1984
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
1985
1985
|
};
|
|
1986
1986
|
imports.wbg.__wbg_inlineSize_8ff96b3ec1b24423 = function(arg0) {
|
|
@@ -2558,10 +2558,6 @@ export default function() {
|
|
|
2558
2558
|
const ret = new EncodedVideoChunk(arg0);
|
|
2559
2559
|
return ret;
|
|
2560
2560
|
}, arguments) };
|
|
2561
|
-
imports.wbg.__wbg_new_57585064c88e33d1 = function() {
|
|
2562
|
-
const ret = new Error();
|
|
2563
|
-
return ret;
|
|
2564
|
-
};
|
|
2565
2561
|
imports.wbg.__wbg_new_59a6be6d80c4dcbb = function() { return handleError(function (arg0) {
|
|
2566
2562
|
const ret = new VideoDecoder(arg0);
|
|
2567
2563
|
return ret;
|
|
@@ -2598,6 +2594,10 @@ export default function() {
|
|
|
2598
2594
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
2599
2595
|
return ret;
|
|
2600
2596
|
};
|
|
2597
|
+
imports.wbg.__wbg_new_cd98f36e6af74b72 = function() {
|
|
2598
|
+
const ret = new Error();
|
|
2599
|
+
return ret;
|
|
2600
|
+
};
|
|
2601
2601
|
imports.wbg.__wbg_new_e25e5aab09ff45db = function() { return handleError(function () {
|
|
2602
2602
|
const ret = new AbortController();
|
|
2603
2603
|
return ret;
|
|
@@ -3633,7 +3633,7 @@ export default function() {
|
|
|
3633
3633
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3634
3634
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3635
3635
|
};
|
|
3636
|
-
imports.wbg.
|
|
3636
|
+
imports.wbg.__wbg_stack_f66b481f5e6f89b9 = function(arg0, arg1) {
|
|
3637
3637
|
const ret = arg1.stack;
|
|
3638
3638
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3639
3639
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -3706,7 +3706,7 @@ export default function() {
|
|
|
3706
3706
|
const ret = JSON.stringify(arg0);
|
|
3707
3707
|
return ret;
|
|
3708
3708
|
}, arguments) };
|
|
3709
|
-
imports.wbg.
|
|
3709
|
+
imports.wbg.__wbg_structuredClone_38e37c735d5cd0e5 = function() { return handleError(function (arg0) {
|
|
3710
3710
|
const ret = window.structuredClone(arg0);
|
|
3711
3711
|
return ret;
|
|
3712
3712
|
}, arguments) };
|
|
@@ -3824,7 +3824,7 @@ export default function() {
|
|
|
3824
3824
|
const ret = arg0.touches;
|
|
3825
3825
|
return ret;
|
|
3826
3826
|
};
|
|
3827
|
-
imports.wbg.
|
|
3827
|
+
imports.wbg.__wbg_trace_22bf936d9ec1acef = function(arg0, arg1) {
|
|
3828
3828
|
console.trace(getStringFromWasm0(arg0, arg1));
|
|
3829
3829
|
};
|
|
3830
3830
|
imports.wbg.__wbg_type_00566e0d2e337e2e = function(arg0, arg1) {
|
|
@@ -4021,7 +4021,7 @@ export default function() {
|
|
|
4021
4021
|
imports.wbg.__wbg_viewport_e615e98f676f2d39 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
4022
4022
|
arg0.viewport(arg1, arg2, arg3, arg4);
|
|
4023
4023
|
};
|
|
4024
|
-
imports.wbg.
|
|
4024
|
+
imports.wbg.__wbg_warn_70f98a40df989b20 = function(arg0, arg1) {
|
|
4025
4025
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
4026
4026
|
};
|
|
4027
4027
|
imports.wbg.__wbg_width_4f334fc47ef03de1 = function(arg0) {
|
|
@@ -4080,52 +4080,52 @@ export default function() {
|
|
|
4080
4080
|
const ret = false;
|
|
4081
4081
|
return ret;
|
|
4082
4082
|
};
|
|
4083
|
-
imports.wbg.
|
|
4084
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4083
|
+
imports.wbg.__wbindgen_closure_wrapper112339 = function(arg0, arg1, arg2) {
|
|
4084
|
+
const ret = makeMutClosure(arg0, arg1, 24169, __wbg_adapter_69);
|
|
4085
4085
|
return ret;
|
|
4086
4086
|
};
|
|
4087
|
-
imports.wbg.
|
|
4088
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4087
|
+
imports.wbg.__wbindgen_closure_wrapper112341 = function(arg0, arg1, arg2) {
|
|
4088
|
+
const ret = makeMutClosure(arg0, arg1, 24169, __wbg_adapter_69);
|
|
4089
4089
|
return ret;
|
|
4090
4090
|
};
|
|
4091
|
-
imports.wbg.
|
|
4092
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4091
|
+
imports.wbg.__wbindgen_closure_wrapper114848 = function(arg0, arg1, arg2) {
|
|
4092
|
+
const ret = makeMutClosure(arg0, arg1, 24494, __wbg_adapter_74);
|
|
4093
4093
|
return ret;
|
|
4094
4094
|
};
|
|
4095
|
-
imports.wbg.
|
|
4096
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4095
|
+
imports.wbg.__wbindgen_closure_wrapper118462 = function(arg0, arg1, arg2) {
|
|
4096
|
+
const ret = makeMutClosure(arg0, arg1, 24776, __wbg_adapter_77);
|
|
4097
4097
|
return ret;
|
|
4098
4098
|
};
|
|
4099
4099
|
imports.wbg.__wbindgen_closure_wrapper1425 = function(arg0, arg1, arg2) {
|
|
4100
4100
|
const ret = makeMutClosure(arg0, arg1, 15, __wbg_adapter_46);
|
|
4101
4101
|
return ret;
|
|
4102
4102
|
};
|
|
4103
|
-
imports.wbg.
|
|
4104
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4103
|
+
imports.wbg.__wbindgen_closure_wrapper22317 = function(arg0, arg1, arg2) {
|
|
4104
|
+
const ret = makeMutClosure(arg0, arg1, 3623, __wbg_adapter_52);
|
|
4105
4105
|
return ret;
|
|
4106
4106
|
};
|
|
4107
|
-
imports.wbg.
|
|
4108
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4107
|
+
imports.wbg.__wbindgen_closure_wrapper31810 = function(arg0, arg1, arg2) {
|
|
4108
|
+
const ret = makeMutClosure(arg0, arg1, 5612, __wbg_adapter_55);
|
|
4109
4109
|
return ret;
|
|
4110
4110
|
};
|
|
4111
4111
|
imports.wbg.__wbindgen_closure_wrapper7849 = function(arg0, arg1, arg2) {
|
|
4112
4112
|
const ret = makeMutClosure(arg0, arg1, 1310, __wbg_adapter_49);
|
|
4113
4113
|
return ret;
|
|
4114
4114
|
};
|
|
4115
|
-
imports.wbg.
|
|
4116
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4115
|
+
imports.wbg.__wbindgen_closure_wrapper84445 = function(arg0, arg1, arg2) {
|
|
4116
|
+
const ret = makeMutClosure(arg0, arg1, 19772, __wbg_adapter_58);
|
|
4117
4117
|
return ret;
|
|
4118
4118
|
};
|
|
4119
|
-
imports.wbg.
|
|
4120
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4119
|
+
imports.wbg.__wbindgen_closure_wrapper84447 = function(arg0, arg1, arg2) {
|
|
4120
|
+
const ret = makeMutClosure(arg0, arg1, 19772, __wbg_adapter_61);
|
|
4121
4121
|
return ret;
|
|
4122
4122
|
};
|
|
4123
|
-
imports.wbg.
|
|
4124
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4123
|
+
imports.wbg.__wbindgen_closure_wrapper84449 = function(arg0, arg1, arg2) {
|
|
4124
|
+
const ret = makeMutClosure(arg0, arg1, 19772, __wbg_adapter_58);
|
|
4125
4125
|
return ret;
|
|
4126
4126
|
};
|
|
4127
|
-
imports.wbg.
|
|
4128
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4127
|
+
imports.wbg.__wbindgen_closure_wrapper88201 = function(arg0, arg1, arg2) {
|
|
4128
|
+
const ret = makeMutClosure(arg0, arg1, 20330, __wbg_adapter_66);
|
|
4129
4129
|
return ret;
|
|
4130
4130
|
};
|
|
4131
4131
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/re_viewer_bg.wasm
CHANGED
|
Binary file
|
package/re_viewer_bg.wasm.d.ts
CHANGED
|
@@ -64,13 +64,13 @@ export const __wbindgen_export_6: WebAssembly.Table;
|
|
|
64
64
|
export const __externref_table_dealloc: (a: number) => void;
|
|
65
65
|
export const closure14_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__he34a9ae45f20c6fd: (a: number, b: number) => void;
|
|
67
|
-
export const
|
|
67
|
+
export const closure3622_externref_shim: (a: number, b: number, c: any) => void;
|
|
68
68
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hec908fa8b4e5a092: (a: number, b: number) => void;
|
|
69
|
-
export const
|
|
69
|
+
export const closure19771_externref_shim: (a: number, b: number, c: any) => void;
|
|
70
70
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5b108304cf502912_multivalue_shim: (a: number, b: number) => [number, number];
|
|
71
|
-
export const
|
|
72
|
-
export const
|
|
71
|
+
export const closure20329_externref_shim: (a: number, b: number, c: any) => void;
|
|
72
|
+
export const closure24168_externref_shim: (a: number, b: number, c: any) => void;
|
|
73
73
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1eaaa1f5cdf1492d: (a: number, b: number) => void;
|
|
74
|
-
export const
|
|
75
|
-
export const
|
|
74
|
+
export const closure24775_externref_shim: (a: number, b: number, c: any) => void;
|
|
75
|
+
export const closure28827_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
76
76
|
export const __wbindgen_start: () => void;
|