@rerun-io/web-viewer 0.30.0-rc.2 → 0.30.0
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 +34 -34
- 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.30.0
|
|
31
|
+
The entrypoint for this packages is the [`WebViewer`](https://ref.rerun.io/docs/js/0.30.0/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.30.0
|
|
47
|
+
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.30.0/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
|
@@ -198,7 +198,7 @@ export type EventsWithoutValue = {
|
|
|
198
198
|
* ```
|
|
199
199
|
*
|
|
200
200
|
* Data may be provided to the Viewer as:
|
|
201
|
-
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.30.0
|
|
201
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.30.0/examples/dna.rrd")`
|
|
202
202
|
* - A Rerun gRPC URL, e.g. `viewer.start("rerun+http://127.0.0.1:9876/proxy")`
|
|
203
203
|
* - A stream of log messages, via {@link WebViewer.open_channel}.
|
|
204
204
|
*
|
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.30.0
|
|
56
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.30.0/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
|
@@ -316,7 +316,7 @@ function delay(ms: number) {
|
|
|
316
316
|
* ```
|
|
317
317
|
*
|
|
318
318
|
* Data may be provided to the Viewer as:
|
|
319
|
-
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.30.0
|
|
319
|
+
* - An HTTP file URL, e.g. `viewer.start("https://app.rerun.io/version/0.30.0/examples/dna.rrd")`
|
|
320
320
|
* - A Rerun gRPC URL, e.g. `viewer.start("rerun+http://127.0.0.1:9876/proxy")`
|
|
321
321
|
* - A stream of log messages, via {@link WebViewer.open_channel}.
|
|
322
322
|
*
|
package/package.json
CHANGED
package/re_viewer.d.ts
CHANGED
|
@@ -159,13 +159,13 @@ declare interface InitOutput {
|
|
|
159
159
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h106503555543f5d8: (a: number, b: number) => void;
|
|
160
160
|
readonly closure3668_externref_shim: (a: number, b: number, c: any) => void;
|
|
161
161
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h963c1ea1f7b255b6: (a: number, b: number) => void;
|
|
162
|
-
readonly
|
|
162
|
+
readonly closure20440_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__h322dd5343fc83880_multivalue_shim: (a: number, b: number) => [number, number];
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
164
|
+
readonly closure21055_externref_shim: (a: number, b: number, c: any) => void;
|
|
165
|
+
readonly closure25043_externref_shim: (a: number, b: number, c: any) => void;
|
|
166
166
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha3c47bae686a12fa: (a: number, b: number) => void;
|
|
167
|
-
readonly
|
|
168
|
-
readonly
|
|
167
|
+
readonly closure29756_externref_shim: (a: number, b: number, c: any) => void;
|
|
168
|
+
readonly closure29896_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
169
169
|
readonly __wbindgen_start: () => void;
|
|
170
170
|
}
|
|
171
171
|
|
package/re_viewer.js
CHANGED
|
@@ -285,7 +285,7 @@ export default function() {
|
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
function __wbg_adapter_58(arg0, arg1, arg2) {
|
|
288
|
-
wasm.
|
|
288
|
+
wasm.closure20440_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.closure21055_externref_shim(arg0, arg1, arg2);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
function __wbg_adapter_69(arg0, arg1, arg2) {
|
|
303
|
-
wasm.
|
|
303
|
+
wasm.closure25043_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.closure29756_externref_shim(arg0, arg1, arg2);
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
function __wbg_adapter_1806(arg0, arg1, arg2, arg3) {
|
|
315
|
-
wasm.
|
|
315
|
+
wasm.closure29896_externref_shim(arg0, arg1, arg2, arg3);
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
const __wbindgen_enum_EncodedVideoChunkType = ["key", "delta"];
|
|
@@ -1379,7 +1379,7 @@ export default function() {
|
|
|
1379
1379
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1380
1380
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1381
1381
|
};
|
|
1382
|
-
imports.wbg.
|
|
1382
|
+
imports.wbg.__wbg_debug_6b5cc3e45ae4328b = function(arg0, arg1) {
|
|
1383
1383
|
console.debug(getStringFromWasm0(arg0, arg1));
|
|
1384
1384
|
};
|
|
1385
1385
|
imports.wbg.__wbg_decode_6c36f113295ffd87 = function() { return handleError(function (arg0, arg1) {
|
|
@@ -1992,7 +1992,7 @@ export default function() {
|
|
|
1992
1992
|
const ret = arg0.includes(arg1, arg2);
|
|
1993
1993
|
return ret;
|
|
1994
1994
|
};
|
|
1995
|
-
imports.wbg.
|
|
1995
|
+
imports.wbg.__wbg_info_e64fcecaebbb5082 = function(arg0, arg1) {
|
|
1996
1996
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
1997
1997
|
};
|
|
1998
1998
|
imports.wbg.__wbg_inlineSize_8ff96b3ec1b24423 = function(arg0) {
|
|
@@ -2540,10 +2540,6 @@ export default function() {
|
|
|
2540
2540
|
const ret = new Headers();
|
|
2541
2541
|
return ret;
|
|
2542
2542
|
}, arguments) };
|
|
2543
|
-
imports.wbg.__wbg_new_194e9be6be626ae1 = function() {
|
|
2544
|
-
const ret = new Error();
|
|
2545
|
-
return ret;
|
|
2546
|
-
};
|
|
2547
2543
|
imports.wbg.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
|
|
2548
2544
|
try {
|
|
2549
2545
|
var state0 = {a: arg0, b: arg1};
|
|
@@ -2578,6 +2574,10 @@ export default function() {
|
|
|
2578
2574
|
const ret = new EncodedVideoChunk(arg0);
|
|
2579
2575
|
return ret;
|
|
2580
2576
|
}, arguments) };
|
|
2577
|
+
imports.wbg.__wbg_new_4ecf4d83c4397726 = function() {
|
|
2578
|
+
const ret = new Error();
|
|
2579
|
+
return ret;
|
|
2580
|
+
};
|
|
2581
2581
|
imports.wbg.__wbg_new_59a6be6d80c4dcbb = function() { return handleError(function (arg0) {
|
|
2582
2582
|
const ret = new VideoDecoder(arg0);
|
|
2583
2583
|
return ret;
|
|
@@ -3645,7 +3645,7 @@ export default function() {
|
|
|
3645
3645
|
const ret = arg0.size;
|
|
3646
3646
|
return ret;
|
|
3647
3647
|
};
|
|
3648
|
-
imports.wbg.
|
|
3648
|
+
imports.wbg.__wbg_stack_8717dd9b165c9c3f = function(arg0, arg1) {
|
|
3649
3649
|
const ret = arg1.stack;
|
|
3650
3650
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3651
3651
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -3725,7 +3725,7 @@ export default function() {
|
|
|
3725
3725
|
const ret = JSON.stringify(arg0);
|
|
3726
3726
|
return ret;
|
|
3727
3727
|
}, arguments) };
|
|
3728
|
-
imports.wbg.
|
|
3728
|
+
imports.wbg.__wbg_structuredClone_0ea0d18d57595680 = function() { return handleError(function (arg0) {
|
|
3729
3729
|
const ret = window.structuredClone(arg0);
|
|
3730
3730
|
return ret;
|
|
3731
3731
|
}, arguments) };
|
|
@@ -3843,7 +3843,7 @@ export default function() {
|
|
|
3843
3843
|
const ret = arg0.touches;
|
|
3844
3844
|
return ret;
|
|
3845
3845
|
};
|
|
3846
|
-
imports.wbg.
|
|
3846
|
+
imports.wbg.__wbg_trace_b5043658a311f847 = function(arg0, arg1) {
|
|
3847
3847
|
console.trace(getStringFromWasm0(arg0, arg1));
|
|
3848
3848
|
};
|
|
3849
3849
|
imports.wbg.__wbg_type_00566e0d2e337e2e = function(arg0, arg1) {
|
|
@@ -4044,7 +4044,7 @@ export default function() {
|
|
|
4044
4044
|
imports.wbg.__wbg_viewport_e615e98f676f2d39 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
4045
4045
|
arg0.viewport(arg1, arg2, arg3, arg4);
|
|
4046
4046
|
};
|
|
4047
|
-
imports.wbg.
|
|
4047
|
+
imports.wbg.__wbg_warn_d702ef1c7c525516 = function(arg0, arg1) {
|
|
4048
4048
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
4049
4049
|
};
|
|
4050
4050
|
imports.wbg.__wbg_width_4f334fc47ef03de1 = function(arg0) {
|
|
@@ -4103,52 +4103,52 @@ export default function() {
|
|
|
4103
4103
|
const ret = false;
|
|
4104
4104
|
return ret;
|
|
4105
4105
|
};
|
|
4106
|
-
imports.wbg.
|
|
4107
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4106
|
+
imports.wbg.__wbindgen_closure_wrapper117463 = function(arg0, arg1, arg2) {
|
|
4107
|
+
const ret = makeMutClosure(arg0, arg1, 25044, __wbg_adapter_69);
|
|
4108
4108
|
return ret;
|
|
4109
4109
|
};
|
|
4110
|
-
imports.wbg.
|
|
4111
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4110
|
+
imports.wbg.__wbindgen_closure_wrapper117465 = function(arg0, arg1, arg2) {
|
|
4111
|
+
const ret = makeMutClosure(arg0, arg1, 25044, __wbg_adapter_69);
|
|
4112
4112
|
return ret;
|
|
4113
4113
|
};
|
|
4114
|
-
imports.wbg.
|
|
4115
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4114
|
+
imports.wbg.__wbindgen_closure_wrapper121406 = function(arg0, arg1, arg2) {
|
|
4115
|
+
const ret = makeMutClosure(arg0, arg1, 25515, __wbg_adapter_74);
|
|
4116
4116
|
return ret;
|
|
4117
4117
|
};
|
|
4118
4118
|
imports.wbg.__wbindgen_closure_wrapper1387 = function(arg0, arg1, arg2) {
|
|
4119
4119
|
const ret = makeMutClosure(arg0, arg1, 17, __wbg_adapter_46);
|
|
4120
4120
|
return ret;
|
|
4121
4121
|
};
|
|
4122
|
-
imports.wbg.
|
|
4123
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4122
|
+
imports.wbg.__wbindgen_closure_wrapper152981 = function(arg0, arg1, arg2) {
|
|
4123
|
+
const ret = makeMutClosure(arg0, arg1, 29757, __wbg_adapter_77);
|
|
4124
4124
|
return ret;
|
|
4125
4125
|
};
|
|
4126
|
-
imports.wbg.
|
|
4126
|
+
imports.wbg.__wbindgen_closure_wrapper22585 = function(arg0, arg1, arg2) {
|
|
4127
4127
|
const ret = makeMutClosure(arg0, arg1, 3669, __wbg_adapter_52);
|
|
4128
4128
|
return ret;
|
|
4129
4129
|
};
|
|
4130
|
-
imports.wbg.
|
|
4131
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4130
|
+
imports.wbg.__wbindgen_closure_wrapper33400 = function(arg0, arg1, arg2) {
|
|
4131
|
+
const ret = makeMutClosure(arg0, arg1, 5893, __wbg_adapter_55);
|
|
4132
4132
|
return ret;
|
|
4133
4133
|
};
|
|
4134
4134
|
imports.wbg.__wbindgen_closure_wrapper8273 = function(arg0, arg1, arg2) {
|
|
4135
4135
|
const ret = makeMutClosure(arg0, arg1, 1360, __wbg_adapter_49);
|
|
4136
4136
|
return ret;
|
|
4137
4137
|
};
|
|
4138
|
-
imports.wbg.
|
|
4139
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4138
|
+
imports.wbg.__wbindgen_closure_wrapper87110 = function(arg0, arg1, arg2) {
|
|
4139
|
+
const ret = makeMutClosure(arg0, arg1, 20439, __wbg_adapter_58);
|
|
4140
4140
|
return ret;
|
|
4141
4141
|
};
|
|
4142
|
-
imports.wbg.
|
|
4143
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4142
|
+
imports.wbg.__wbindgen_closure_wrapper87112 = function(arg0, arg1, arg2) {
|
|
4143
|
+
const ret = makeMutClosure(arg0, arg1, 20439, __wbg_adapter_61);
|
|
4144
4144
|
return ret;
|
|
4145
4145
|
};
|
|
4146
|
-
imports.wbg.
|
|
4147
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4146
|
+
imports.wbg.__wbindgen_closure_wrapper87114 = function(arg0, arg1, arg2) {
|
|
4147
|
+
const ret = makeMutClosure(arg0, arg1, 20439, __wbg_adapter_58);
|
|
4148
4148
|
return ret;
|
|
4149
4149
|
};
|
|
4150
|
-
imports.wbg.
|
|
4151
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4150
|
+
imports.wbg.__wbindgen_closure_wrapper92218 = function(arg0, arg1, arg2) {
|
|
4151
|
+
const ret = makeMutClosure(arg0, arg1, 21056, __wbg_adapter_66);
|
|
4152
4152
|
return ret;
|
|
4153
4153
|
};
|
|
4154
4154
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/re_viewer_bg.wasm
CHANGED
|
Binary file
|
package/re_viewer_bg.wasm.d.ts
CHANGED
|
@@ -67,11 +67,11 @@ export const closure16_externref_shim_multivalue_shim: (a: number, b: number, c:
|
|
|
67
67
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h106503555543f5d8: (a: number, b: number) => void;
|
|
68
68
|
export const closure3668_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__h963c1ea1f7b255b6: (a: number, b: number) => void;
|
|
70
|
-
export const
|
|
70
|
+
export const closure20440_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__h322dd5343fc83880_multivalue_shim: (a: number, b: number) => [number, number];
|
|
72
|
-
export const
|
|
73
|
-
export const
|
|
72
|
+
export const closure21055_externref_shim: (a: number, b: number, c: any) => void;
|
|
73
|
+
export const closure25043_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__ha3c47bae686a12fa: (a: number, b: number) => void;
|
|
75
|
-
export const
|
|
76
|
-
export const
|
|
75
|
+
export const closure29756_externref_shim: (a: number, b: number, c: any) => void;
|
|
76
|
+
export const closure29896_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
77
77
|
export const __wbindgen_start: () => void;
|