@rerun-io/web-viewer 0.27.1 → 0.27.2-rc.2
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.
|
|
31
|
+
The entrypoint for this packages is the [`WebViewer`](https://ref.rerun.io/docs/js/0.27.2-rc.2/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.2-rc.2/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.2-rc.2/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.2-rc.2/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.2-rc.2/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,13 +156,13 @@ declare interface InitOutput {
|
|
|
156
156
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he34a9ae45f20c6fd: (a: number, b: number) => void;
|
|
157
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
|
|
160
|
-
readonly
|
|
161
|
-
readonly
|
|
162
|
-
readonly
|
|
159
|
+
readonly closure19767_externref_shim: (a: number, b: number, c: any) => void;
|
|
160
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1cad2b2e4845897f_multivalue_shim: (a: number, b: number) => [number, number];
|
|
161
|
+
readonly closure20325_externref_shim: (a: number, b: number, c: any) => void;
|
|
162
|
+
readonly closure24158_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 closure24768_externref_shim: (a: number, b: number, c: any) => void;
|
|
165
|
+
readonly closure28822_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
|
@@ -285,22 +285,22 @@ export default function() {
|
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
function __wbg_adapter_58(arg0, arg1, arg2) {
|
|
288
|
-
wasm.
|
|
288
|
+
wasm.closure19767_externref_shim(arg0, arg1, arg2);
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
function
|
|
292
|
-
const ret = wasm.
|
|
291
|
+
function __wbg_adapter_63(arg0, arg1) {
|
|
292
|
+
const ret = wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1cad2b2e4845897f_multivalue_shim(arg0, arg1);
|
|
293
293
|
if (ret[1]) {
|
|
294
294
|
throw takeFromExternrefTable0(ret[0]);
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
function __wbg_adapter_66(arg0, arg1, arg2) {
|
|
299
|
-
wasm.
|
|
299
|
+
wasm.closure20325_externref_shim(arg0, arg1, arg2);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
function __wbg_adapter_69(arg0, arg1, arg2) {
|
|
303
|
-
wasm.
|
|
303
|
+
wasm.closure24158_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.closure24768_externref_shim(arg0, arg1, arg2);
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
function __wbg_adapter_1801(arg0, arg1, arg2, arg3) {
|
|
315
|
-
wasm.
|
|
315
|
+
wasm.closure28822_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_76c614373d2f7584 = 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_0956fbcccb040b00 = function(arg0, arg1) {
|
|
1984
1984
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
1985
1985
|
};
|
|
1986
1986
|
imports.wbg.__wbg_inlineSize_8ff96b3ec1b24423 = function(arg0) {
|
|
@@ -2586,6 +2586,10 @@ export default function() {
|
|
|
2586
2586
|
const ret = new Intl.DateTimeFormat(arg0, arg1);
|
|
2587
2587
|
return ret;
|
|
2588
2588
|
};
|
|
2589
|
+
imports.wbg.__wbg_new_a9a06f0e724d3f9f = function() {
|
|
2590
|
+
const ret = new Error();
|
|
2591
|
+
return ret;
|
|
2592
|
+
};
|
|
2589
2593
|
imports.wbg.__wbg_new_b08a00743b8ae2f3 = function(arg0, arg1) {
|
|
2590
2594
|
const ret = new TypeError(getStringFromWasm0(arg0, arg1));
|
|
2591
2595
|
return ret;
|
|
@@ -2594,10 +2598,6 @@ export default function() {
|
|
|
2594
2598
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
2595
2599
|
return ret;
|
|
2596
2600
|
};
|
|
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;
|
|
@@ -3626,14 +3626,14 @@ export default function() {
|
|
|
3626
3626
|
const ret = arg0.size;
|
|
3627
3627
|
return ret;
|
|
3628
3628
|
};
|
|
3629
|
-
imports.wbg.
|
|
3629
|
+
imports.wbg.__wbg_stack_1535005306cca680 = function(arg0, arg1) {
|
|
3630
3630
|
const ret = arg1.stack;
|
|
3631
3631
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3632
3632
|
const len1 = WASM_VECTOR_LEN;
|
|
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_7ab0e52d303d5f54 = 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_2cf13d14827426eb = 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_d5e0dd15c1e9d74c = 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_c40145c6e2fadd68 = 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_wrapper112240 = function(arg0, arg1, arg2) {
|
|
4084
|
+
const ret = makeMutClosure(arg0, arg1, 24159, __wbg_adapter_69);
|
|
4085
4085
|
return ret;
|
|
4086
4086
|
};
|
|
4087
|
-
imports.wbg.
|
|
4088
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4087
|
+
imports.wbg.__wbindgen_closure_wrapper112242 = function(arg0, arg1, arg2) {
|
|
4088
|
+
const ret = makeMutClosure(arg0, arg1, 24159, __wbg_adapter_69);
|
|
4089
4089
|
return ret;
|
|
4090
4090
|
};
|
|
4091
|
-
imports.wbg.
|
|
4092
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4091
|
+
imports.wbg.__wbindgen_closure_wrapper114751 = function(arg0, arg1, arg2) {
|
|
4092
|
+
const ret = makeMutClosure(arg0, arg1, 24482, __wbg_adapter_74);
|
|
4093
4093
|
return ret;
|
|
4094
4094
|
};
|
|
4095
|
-
imports.wbg.
|
|
4096
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4095
|
+
imports.wbg.__wbindgen_closure_wrapper118364 = function(arg0, arg1, arg2) {
|
|
4096
|
+
const ret = makeMutClosure(arg0, arg1, 24769, __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.
|
|
4103
|
+
imports.wbg.__wbindgen_closure_wrapper22316 = function(arg0, arg1, arg2) {
|
|
4104
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_wrapper31736 = function(arg0, arg1, arg2) {
|
|
4108
|
+
const ret = makeMutClosure(arg0, arg1, 5608, __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_wrapper84362 = function(arg0, arg1, arg2) {
|
|
4116
|
+
const ret = makeMutClosure(arg0, arg1, 19768, __wbg_adapter_58);
|
|
4117
4117
|
return ret;
|
|
4118
4118
|
};
|
|
4119
|
-
imports.wbg.
|
|
4120
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4119
|
+
imports.wbg.__wbindgen_closure_wrapper84364 = function(arg0, arg1, arg2) {
|
|
4120
|
+
const ret = makeMutClosure(arg0, arg1, 19768, __wbg_adapter_58);
|
|
4121
4121
|
return ret;
|
|
4122
4122
|
};
|
|
4123
|
-
imports.wbg.
|
|
4124
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4123
|
+
imports.wbg.__wbindgen_closure_wrapper84366 = function(arg0, arg1, arg2) {
|
|
4124
|
+
const ret = makeMutClosure(arg0, arg1, 19768, __wbg_adapter_63);
|
|
4125
4125
|
return ret;
|
|
4126
4126
|
};
|
|
4127
|
-
imports.wbg.
|
|
4128
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4127
|
+
imports.wbg.__wbindgen_closure_wrapper88116 = function(arg0, arg1, arg2) {
|
|
4128
|
+
const ret = makeMutClosure(arg0, arg1, 20326, __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
|
@@ -66,11 +66,11 @@ export const closure14_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__he34a9ae45f20c6fd: (a: number, b: number) => void;
|
|
67
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
|
|
70
|
-
export const
|
|
71
|
-
export const
|
|
72
|
-
export const
|
|
69
|
+
export const closure19767_externref_shim: (a: number, b: number, c: any) => void;
|
|
70
|
+
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];
|
|
71
|
+
export const closure20325_externref_shim: (a: number, b: number, c: any) => void;
|
|
72
|
+
export const closure24158_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 closure24768_externref_shim: (a: number, b: number, c: any) => void;
|
|
75
|
+
export const closure28822_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
76
76
|
export const __wbindgen_start: () => void;
|