@rerun-io/web-viewer 0.28.2 → 0.29.0-alpha.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 +11 -11
- package/re_viewer.js +49 -49
- package/re_viewer_bg.wasm +0 -0
- package/re_viewer_bg.wasm.d.ts +11 -11
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.
|
|
31
|
+
The entrypoint for this packages is the [`WebViewer`](https://ref.rerun.io/docs/js/0.29.0-alpha.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.
|
|
47
|
+
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.29.0-alpha.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.
|
|
195
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.29.0-alpha.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.
|
|
56
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.29.0-alpha.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.
|
|
312
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.29.0-alpha.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
|
@@ -154,17 +154,17 @@ declare interface InitOutput {
|
|
|
154
154
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
155
155
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
156
156
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
157
|
-
readonly
|
|
158
|
-
readonly
|
|
159
|
-
readonly
|
|
160
|
-
readonly
|
|
161
|
-
readonly
|
|
162
|
-
readonly
|
|
163
|
-
readonly
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
157
|
+
readonly closure17_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
158
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8e043dde7412b994: (a: number, b: number) => void;
|
|
159
|
+
readonly closure3571_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__h42bf793bf6397f51: (a: number, b: number) => void;
|
|
161
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8126ba2e408ba13a_multivalue_shim: (a: number, b: number) => [number, number];
|
|
162
|
+
readonly closure7137_externref_shim: (a: number, b: number, c: any) => void;
|
|
163
|
+
readonly closure7740_externref_shim: (a: number, b: number, c: any) => void;
|
|
164
|
+
readonly closure11772_externref_shim: (a: number, b: number, c: any) => void;
|
|
165
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfdf434c39940301b: (a: number, b: number) => void;
|
|
166
|
+
readonly closure12561_externref_shim: (a: number, b: number, c: any) => void;
|
|
167
|
+
readonly closure29222_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
|
@@ -266,53 +266,53 @@ export default function() {
|
|
|
266
266
|
return ptr;
|
|
267
267
|
}
|
|
268
268
|
function __wbg_adapter_46(arg0, arg1, arg2) {
|
|
269
|
-
const ret = wasm.
|
|
269
|
+
const ret = wasm.closure17_externref_shim_multivalue_shim(arg0, arg1, arg2);
|
|
270
270
|
if (ret[1]) {
|
|
271
271
|
throw takeFromExternrefTable0(ret[0]);
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
function __wbg_adapter_49(arg0, arg1) {
|
|
276
|
-
wasm.
|
|
276
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8e043dde7412b994(arg0, arg1);
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
function __wbg_adapter_52(arg0, arg1, arg2) {
|
|
280
|
-
wasm.
|
|
280
|
+
wasm.closure3571_externref_shim(arg0, arg1, arg2);
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
function __wbg_adapter_55(arg0, arg1) {
|
|
284
|
-
wasm.
|
|
284
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h42bf793bf6397f51(arg0, arg1);
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
function __wbg_adapter_58(arg0, arg1
|
|
288
|
-
wasm.
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
function __wbg_adapter_61(arg0, arg1) {
|
|
292
|
-
const ret = wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hdb5622cad79dec1a_multivalue_shim(arg0, arg1);
|
|
287
|
+
function __wbg_adapter_58(arg0, arg1) {
|
|
288
|
+
const ret = wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8126ba2e408ba13a_multivalue_shim(arg0, arg1);
|
|
293
289
|
if (ret[1]) {
|
|
294
290
|
throw takeFromExternrefTable0(ret[0]);
|
|
295
291
|
}
|
|
296
292
|
}
|
|
297
293
|
|
|
294
|
+
function __wbg_adapter_61(arg0, arg1, arg2) {
|
|
295
|
+
wasm.closure7137_externref_shim(arg0, arg1, arg2);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
298
|
function __wbg_adapter_66(arg0, arg1, arg2) {
|
|
299
|
-
wasm.
|
|
299
|
+
wasm.closure7740_externref_shim(arg0, arg1, arg2);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
function __wbg_adapter_69(arg0, arg1, arg2) {
|
|
303
|
-
wasm.
|
|
303
|
+
wasm.closure11772_externref_shim(arg0, arg1, arg2);
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
function __wbg_adapter_74(arg0, arg1) {
|
|
307
|
-
wasm.
|
|
307
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfdf434c39940301b(arg0, arg1);
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
function __wbg_adapter_77(arg0, arg1, arg2) {
|
|
311
|
-
wasm.
|
|
311
|
+
wasm.closure12561_externref_shim(arg0, arg1, arg2);
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
function __wbg_adapter_1802(arg0, arg1, arg2, arg3) {
|
|
315
|
-
wasm.
|
|
315
|
+
wasm.closure29222_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_fe85d4e4309b5878 = 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_d8292bee68ece95a = function(arg0, arg1) {
|
|
1995
1995
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
1996
1996
|
};
|
|
1997
1997
|
imports.wbg.__wbg_inlineSize_8ff96b3ec1b24423 = function(arg0) {
|
|
@@ -2535,10 +2535,6 @@ export default function() {
|
|
|
2535
2535
|
const ret = new Headers();
|
|
2536
2536
|
return ret;
|
|
2537
2537
|
}, arguments) };
|
|
2538
|
-
imports.wbg.__wbg_new_0f5bde66e79ec2a5 = function() {
|
|
2539
|
-
const ret = new Error();
|
|
2540
|
-
return ret;
|
|
2541
|
-
};
|
|
2542
2538
|
imports.wbg.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
|
|
2543
2539
|
try {
|
|
2544
2540
|
var state0 = {a: arg0, b: arg1};
|
|
@@ -2581,6 +2577,10 @@ export default function() {
|
|
|
2581
2577
|
const ret = new ResizeObserver(arg0);
|
|
2582
2578
|
return ret;
|
|
2583
2579
|
}, arguments) };
|
|
2580
|
+
imports.wbg.__wbg_new_74473b98c1753328 = function() {
|
|
2581
|
+
const ret = new Error();
|
|
2582
|
+
return ret;
|
|
2583
|
+
};
|
|
2584
2584
|
imports.wbg.__wbg_new_78feb108b6472713 = function() {
|
|
2585
2585
|
const ret = new Array();
|
|
2586
2586
|
return ret;
|
|
@@ -3640,7 +3640,7 @@ export default function() {
|
|
|
3640
3640
|
const ret = arg0.size;
|
|
3641
3641
|
return ret;
|
|
3642
3642
|
};
|
|
3643
|
-
imports.wbg.
|
|
3643
|
+
imports.wbg.__wbg_stack_414a3a95c843876e = function(arg0, arg1) {
|
|
3644
3644
|
const ret = arg1.stack;
|
|
3645
3645
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3646
3646
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -3720,7 +3720,7 @@ export default function() {
|
|
|
3720
3720
|
const ret = JSON.stringify(arg0);
|
|
3721
3721
|
return ret;
|
|
3722
3722
|
}, arguments) };
|
|
3723
|
-
imports.wbg.
|
|
3723
|
+
imports.wbg.__wbg_structuredClone_51e629b623cb9603 = function() { return handleError(function (arg0) {
|
|
3724
3724
|
const ret = window.structuredClone(arg0);
|
|
3725
3725
|
return ret;
|
|
3726
3726
|
}, arguments) };
|
|
@@ -3838,7 +3838,7 @@ export default function() {
|
|
|
3838
3838
|
const ret = arg0.touches;
|
|
3839
3839
|
return ret;
|
|
3840
3840
|
};
|
|
3841
|
-
imports.wbg.
|
|
3841
|
+
imports.wbg.__wbg_trace_788c9c0b877d7a53 = function(arg0, arg1) {
|
|
3842
3842
|
console.trace(getStringFromWasm0(arg0, arg1));
|
|
3843
3843
|
};
|
|
3844
3844
|
imports.wbg.__wbg_type_00566e0d2e337e2e = function(arg0, arg1) {
|
|
@@ -4035,7 +4035,7 @@ export default function() {
|
|
|
4035
4035
|
imports.wbg.__wbg_viewport_e615e98f676f2d39 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
4036
4036
|
arg0.viewport(arg1, arg2, arg3, arg4);
|
|
4037
4037
|
};
|
|
4038
|
-
imports.wbg.
|
|
4038
|
+
imports.wbg.__wbg_warn_6816dd55dc757f02 = function(arg0, arg1) {
|
|
4039
4039
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
4040
4040
|
};
|
|
4041
4041
|
imports.wbg.__wbg_width_4f334fc47ef03de1 = function(arg0) {
|
|
@@ -4094,52 +4094,52 @@ export default function() {
|
|
|
4094
4094
|
const ret = false;
|
|
4095
4095
|
return ret;
|
|
4096
4096
|
};
|
|
4097
|
-
imports.wbg.
|
|
4098
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4097
|
+
imports.wbg.__wbindgen_closure_wrapper1440 = function(arg0, arg1, arg2) {
|
|
4098
|
+
const ret = makeMutClosure(arg0, arg1, 18, __wbg_adapter_46);
|
|
4099
4099
|
return ret;
|
|
4100
4100
|
};
|
|
4101
|
-
imports.wbg.
|
|
4102
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4101
|
+
imports.wbg.__wbindgen_closure_wrapper21293 = function(arg0, arg1, arg2) {
|
|
4102
|
+
const ret = makeMutClosure(arg0, arg1, 3572, __wbg_adapter_52);
|
|
4103
4103
|
return ret;
|
|
4104
4104
|
};
|
|
4105
|
-
imports.wbg.
|
|
4106
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4105
|
+
imports.wbg.__wbindgen_closure_wrapper31176 = function(arg0, arg1, arg2) {
|
|
4106
|
+
const ret = makeMutClosure(arg0, arg1, 5632, __wbg_adapter_55);
|
|
4107
4107
|
return ret;
|
|
4108
4108
|
};
|
|
4109
|
-
imports.wbg.
|
|
4110
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4109
|
+
imports.wbg.__wbindgen_closure_wrapper37633 = function(arg0, arg1, arg2) {
|
|
4110
|
+
const ret = makeMutClosure(arg0, arg1, 7136, __wbg_adapter_58);
|
|
4111
4111
|
return ret;
|
|
4112
4112
|
};
|
|
4113
|
-
imports.wbg.
|
|
4114
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4113
|
+
imports.wbg.__wbindgen_closure_wrapper37635 = function(arg0, arg1, arg2) {
|
|
4114
|
+
const ret = makeMutClosure(arg0, arg1, 7136, __wbg_adapter_61);
|
|
4115
4115
|
return ret;
|
|
4116
4116
|
};
|
|
4117
|
-
imports.wbg.
|
|
4118
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4117
|
+
imports.wbg.__wbindgen_closure_wrapper37637 = function(arg0, arg1, arg2) {
|
|
4118
|
+
const ret = makeMutClosure(arg0, arg1, 7136, __wbg_adapter_61);
|
|
4119
4119
|
return ret;
|
|
4120
4120
|
};
|
|
4121
|
-
imports.wbg.
|
|
4122
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4121
|
+
imports.wbg.__wbindgen_closure_wrapper42528 = function(arg0, arg1, arg2) {
|
|
4122
|
+
const ret = makeMutClosure(arg0, arg1, 7741, __wbg_adapter_66);
|
|
4123
4123
|
return ret;
|
|
4124
4124
|
};
|
|
4125
|
-
imports.wbg.
|
|
4126
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4125
|
+
imports.wbg.__wbindgen_closure_wrapper67261 = function(arg0, arg1, arg2) {
|
|
4126
|
+
const ret = makeMutClosure(arg0, arg1, 11773, __wbg_adapter_69);
|
|
4127
4127
|
return ret;
|
|
4128
4128
|
};
|
|
4129
|
-
imports.wbg.
|
|
4130
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4129
|
+
imports.wbg.__wbindgen_closure_wrapper67263 = function(arg0, arg1, arg2) {
|
|
4130
|
+
const ret = makeMutClosure(arg0, arg1, 11773, __wbg_adapter_69);
|
|
4131
4131
|
return ret;
|
|
4132
4132
|
};
|
|
4133
|
-
imports.wbg.
|
|
4134
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4133
|
+
imports.wbg.__wbindgen_closure_wrapper69827 = function(arg0, arg1, arg2) {
|
|
4134
|
+
const ret = makeMutClosure(arg0, arg1, 12121, __wbg_adapter_74);
|
|
4135
4135
|
return ret;
|
|
4136
4136
|
};
|
|
4137
|
-
imports.wbg.
|
|
4138
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4137
|
+
imports.wbg.__wbindgen_closure_wrapper72604 = function(arg0, arg1, arg2) {
|
|
4138
|
+
const ret = makeMutClosure(arg0, arg1, 12562, __wbg_adapter_77);
|
|
4139
4139
|
return ret;
|
|
4140
4140
|
};
|
|
4141
|
-
imports.wbg.
|
|
4142
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4141
|
+
imports.wbg.__wbindgen_closure_wrapper7803 = function(arg0, arg1, arg2) {
|
|
4142
|
+
const ret = makeMutClosure(arg0, arg1, 1299, __wbg_adapter_49);
|
|
4143
4143
|
return ret;
|
|
4144
4144
|
};
|
|
4145
4145
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/re_viewer_bg.wasm
CHANGED
|
Binary file
|
package/re_viewer_bg.wasm.d.ts
CHANGED
|
@@ -63,15 +63,15 @@ export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) =>
|
|
|
63
63
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
64
64
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
65
65
|
export const __externref_table_dealloc: (a: number) => void;
|
|
66
|
-
export const
|
|
67
|
-
export const
|
|
68
|
-
export const
|
|
69
|
-
export const
|
|
70
|
-
export const
|
|
71
|
-
export const
|
|
72
|
-
export const
|
|
73
|
-
export const
|
|
74
|
-
export const
|
|
75
|
-
export const
|
|
76
|
-
export const
|
|
66
|
+
export const closure17_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
67
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8e043dde7412b994: (a: number, b: number) => void;
|
|
68
|
+
export const closure3571_externref_shim: (a: number, b: number, c: any) => void;
|
|
69
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h42bf793bf6397f51: (a: number, b: number) => void;
|
|
70
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8126ba2e408ba13a_multivalue_shim: (a: number, b: number) => [number, number];
|
|
71
|
+
export const closure7137_externref_shim: (a: number, b: number, c: any) => void;
|
|
72
|
+
export const closure7740_externref_shim: (a: number, b: number, c: any) => void;
|
|
73
|
+
export const closure11772_externref_shim: (a: number, b: number, c: any) => void;
|
|
74
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfdf434c39940301b: (a: number, b: number) => void;
|
|
75
|
+
export const closure12561_externref_shim: (a: number, b: number, c: any) => void;
|
|
76
|
+
export const closure29222_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
77
77
|
export const __wbindgen_start: () => void;
|