@rerun-io/web-viewer 0.16.0-rc.3 → 0.16.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 +1 -1
- package/package.json +1 -1
- package/re_viewer_bg.js +89 -89
- package/re_viewer_bg.wasm +0 -0
- package/re_viewer_bg.wasm.d.ts +3 -3
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ viewer.stop();
|
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
The `rrd` in the snippet above should be a URL pointing to either:
|
|
44
|
-
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.16.0
|
|
44
|
+
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.16.0/examples/dna.rrd>
|
|
45
45
|
- A WebSocket connection to the SDK opened via the [`serve`](https://www.rerun.io/docs/reference/sdk-operating-modes#serve) API
|
|
46
46
|
|
|
47
47
|
If `rrd` is not set, the Viewer will display the same welcome screen as <https://app.rerun.io>.
|
package/package.json
CHANGED
package/re_viewer_bg.js
CHANGED
|
@@ -10,7 +10,34 @@ heap.push(undefined, null, true, false);
|
|
|
10
10
|
|
|
11
11
|
function getObject(idx) { return heap[idx]; }
|
|
12
12
|
|
|
13
|
-
let
|
|
13
|
+
let heap_next = heap.length;
|
|
14
|
+
|
|
15
|
+
function dropObject(idx) {
|
|
16
|
+
if (idx < 132) return;
|
|
17
|
+
heap[idx] = heap_next;
|
|
18
|
+
heap_next = idx;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function takeObject(idx) {
|
|
22
|
+
const ret = getObject(idx);
|
|
23
|
+
dropObject(idx);
|
|
24
|
+
return ret;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function addHeapObject(obj) {
|
|
28
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
29
|
+
const idx = heap_next;
|
|
30
|
+
heap_next = heap[idx];
|
|
31
|
+
|
|
32
|
+
heap[idx] = obj;
|
|
33
|
+
return idx;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
|
|
37
|
+
|
|
38
|
+
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
39
|
+
|
|
40
|
+
cachedTextDecoder.decode();
|
|
14
41
|
|
|
15
42
|
let cachedUint8Memory0 = null;
|
|
16
43
|
|
|
@@ -21,6 +48,13 @@ function getUint8Memory0() {
|
|
|
21
48
|
return cachedUint8Memory0;
|
|
22
49
|
}
|
|
23
50
|
|
|
51
|
+
function getStringFromWasm0(ptr, len) {
|
|
52
|
+
ptr = ptr >>> 0;
|
|
53
|
+
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
let WASM_VECTOR_LEN = 0;
|
|
57
|
+
|
|
24
58
|
const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
|
|
25
59
|
|
|
26
60
|
let cachedTextEncoder = new lTextEncoder('utf-8');
|
|
@@ -89,40 +123,6 @@ function getInt32Memory0() {
|
|
|
89
123
|
return cachedInt32Memory0;
|
|
90
124
|
}
|
|
91
125
|
|
|
92
|
-
let heap_next = heap.length;
|
|
93
|
-
|
|
94
|
-
function dropObject(idx) {
|
|
95
|
-
if (idx < 132) return;
|
|
96
|
-
heap[idx] = heap_next;
|
|
97
|
-
heap_next = idx;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
function takeObject(idx) {
|
|
101
|
-
const ret = getObject(idx);
|
|
102
|
-
dropObject(idx);
|
|
103
|
-
return ret;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
|
|
107
|
-
|
|
108
|
-
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
109
|
-
|
|
110
|
-
cachedTextDecoder.decode();
|
|
111
|
-
|
|
112
|
-
function getStringFromWasm0(ptr, len) {
|
|
113
|
-
ptr = ptr >>> 0;
|
|
114
|
-
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
function addHeapObject(obj) {
|
|
118
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
119
|
-
const idx = heap_next;
|
|
120
|
-
heap_next = heap[idx];
|
|
121
|
-
|
|
122
|
-
heap[idx] = obj;
|
|
123
|
-
return idx;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
126
|
let cachedFloat64Memory0 = null;
|
|
127
127
|
|
|
128
128
|
function getFloat64Memory0() {
|
|
@@ -221,12 +221,12 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
221
221
|
|
|
222
222
|
return real;
|
|
223
223
|
}
|
|
224
|
-
function __wbg_adapter_32(arg0, arg1) {
|
|
225
|
-
wasm.
|
|
224
|
+
function __wbg_adapter_32(arg0, arg1, arg2) {
|
|
225
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h334e840900f249c5(arg0, arg1, addHeapObject(arg2));
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
function __wbg_adapter_35(arg0, arg1
|
|
229
|
-
wasm.
|
|
228
|
+
function __wbg_adapter_35(arg0, arg1) {
|
|
229
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hcd85974fc1ad5bdb(arg0, arg1);
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
function __wbg_adapter_38(arg0, arg1) {
|
|
@@ -264,7 +264,7 @@ function __wbg_adapter_55(arg0, arg1, arg2) {
|
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
function __wbg_adapter_64(arg0, arg1, arg2) {
|
|
267
|
-
wasm.
|
|
267
|
+
wasm.wasm_bindgen__convert__closures__invoke1_mut__h28b8f3338bcfe264(arg0, arg1, addHeapObject(arg2));
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
function __wbg_adapter_67(arg0, arg1, arg2) {
|
|
@@ -631,26 +631,17 @@ export class WebHandle {
|
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
633
|
|
|
634
|
-
export function __wbindgen_string_get(arg0, arg1) {
|
|
635
|
-
const obj = getObject(arg1);
|
|
636
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
637
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
638
|
-
var len1 = WASM_VECTOR_LEN;
|
|
639
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
640
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
641
|
-
};
|
|
642
|
-
|
|
643
634
|
export function __wbindgen_object_drop_ref(arg0) {
|
|
644
635
|
takeObject(arg0);
|
|
645
636
|
};
|
|
646
637
|
|
|
647
|
-
export function
|
|
648
|
-
const ret =
|
|
638
|
+
export function __wbindgen_object_clone_ref(arg0) {
|
|
639
|
+
const ret = getObject(arg0);
|
|
649
640
|
return addHeapObject(ret);
|
|
650
641
|
};
|
|
651
642
|
|
|
652
|
-
export function
|
|
653
|
-
const ret =
|
|
643
|
+
export function __wbindgen_string_new(arg0, arg1) {
|
|
644
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
654
645
|
return addHeapObject(ret);
|
|
655
646
|
};
|
|
656
647
|
|
|
@@ -664,6 +655,15 @@ export function __wbindgen_cb_drop(arg0) {
|
|
|
664
655
|
return ret;
|
|
665
656
|
};
|
|
666
657
|
|
|
658
|
+
export function __wbindgen_string_get(arg0, arg1) {
|
|
659
|
+
const obj = getObject(arg1);
|
|
660
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
661
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
662
|
+
var len1 = WASM_VECTOR_LEN;
|
|
663
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
664
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
665
|
+
};
|
|
666
|
+
|
|
667
667
|
export function __wbg_error_0bedcd258a3fa8ab(arg0, arg1) {
|
|
668
668
|
let deferred0_0;
|
|
669
669
|
let deferred0_1;
|
|
@@ -696,12 +696,12 @@ export function __wbindgen_number_get(arg0, arg1) {
|
|
|
696
696
|
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
697
697
|
};
|
|
698
698
|
|
|
699
|
-
export function
|
|
699
|
+
export function __wbg_new_741fa8ce8843f819() {
|
|
700
700
|
const ret = new Error();
|
|
701
701
|
return addHeapObject(ret);
|
|
702
702
|
};
|
|
703
703
|
|
|
704
|
-
export function
|
|
704
|
+
export function __wbg_stack_31ab25bc34bdddbd(arg0, arg1) {
|
|
705
705
|
const ret = getObject(arg1).stack;
|
|
706
706
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
707
707
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -3438,19 +3438,19 @@ export function __wbg_changedTouches_9667f17739458e92(arg0) {
|
|
|
3438
3438
|
return addHeapObject(ret);
|
|
3439
3439
|
};
|
|
3440
3440
|
|
|
3441
|
-
export function
|
|
3441
|
+
export function __wbg_warn_06be12b641995e2d(arg0, arg1) {
|
|
3442
3442
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
3443
3443
|
};
|
|
3444
3444
|
|
|
3445
|
-
export function
|
|
3445
|
+
export function __wbg_info_331e86eb1f6ebd3f(arg0, arg1) {
|
|
3446
3446
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
3447
3447
|
};
|
|
3448
3448
|
|
|
3449
|
-
export function
|
|
3449
|
+
export function __wbg_debug_85a4a145df11a9fd(arg0, arg1) {
|
|
3450
3450
|
console.debug(getStringFromWasm0(arg0, arg1));
|
|
3451
3451
|
};
|
|
3452
3452
|
|
|
3453
|
-
export function
|
|
3453
|
+
export function __wbg_trace_3028fc5ee3e78dfc(arg0, arg1) {
|
|
3454
3454
|
console.trace(getStringFromWasm0(arg0, arg1));
|
|
3455
3455
|
};
|
|
3456
3456
|
|
|
@@ -3820,78 +3820,78 @@ export function __wbindgen_memory() {
|
|
|
3820
3820
|
return addHeapObject(ret);
|
|
3821
3821
|
};
|
|
3822
3822
|
|
|
3823
|
-
export function
|
|
3824
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3823
|
+
export function __wbindgen_closure_wrapper2591(arg0, arg1, arg2) {
|
|
3824
|
+
const ret = makeMutClosure(arg0, arg1, 846, __wbg_adapter_32);
|
|
3825
3825
|
return addHeapObject(ret);
|
|
3826
3826
|
};
|
|
3827
3827
|
|
|
3828
|
-
export function
|
|
3829
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3828
|
+
export function __wbindgen_closure_wrapper2593(arg0, arg1, arg2) {
|
|
3829
|
+
const ret = makeMutClosure(arg0, arg1, 846, __wbg_adapter_35);
|
|
3830
3830
|
return addHeapObject(ret);
|
|
3831
3831
|
};
|
|
3832
3832
|
|
|
3833
|
-
export function
|
|
3834
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3833
|
+
export function __wbindgen_closure_wrapper3483(arg0, arg1, arg2) {
|
|
3834
|
+
const ret = makeMutClosure(arg0, arg1, 1122, __wbg_adapter_38);
|
|
3835
3835
|
return addHeapObject(ret);
|
|
3836
3836
|
};
|
|
3837
3837
|
|
|
3838
|
-
export function
|
|
3839
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3838
|
+
export function __wbindgen_closure_wrapper6564(arg0, arg1, arg2) {
|
|
3839
|
+
const ret = makeMutClosure(arg0, arg1, 2480, __wbg_adapter_41);
|
|
3840
3840
|
return addHeapObject(ret);
|
|
3841
3841
|
};
|
|
3842
3842
|
|
|
3843
|
-
export function
|
|
3844
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3843
|
+
export function __wbindgen_closure_wrapper6566(arg0, arg1, arg2) {
|
|
3844
|
+
const ret = makeMutClosure(arg0, arg1, 2480, __wbg_adapter_44);
|
|
3845
3845
|
return addHeapObject(ret);
|
|
3846
3846
|
};
|
|
3847
3847
|
|
|
3848
|
-
export function
|
|
3849
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3848
|
+
export function __wbindgen_closure_wrapper6568(arg0, arg1, arg2) {
|
|
3849
|
+
const ret = makeMutClosure(arg0, arg1, 2480, __wbg_adapter_47);
|
|
3850
3850
|
return addHeapObject(ret);
|
|
3851
3851
|
};
|
|
3852
3852
|
|
|
3853
|
-
export function
|
|
3854
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3853
|
+
export function __wbindgen_closure_wrapper19291(arg0, arg1, arg2) {
|
|
3854
|
+
const ret = makeMutClosure(arg0, arg1, 7729, __wbg_adapter_50);
|
|
3855
3855
|
return addHeapObject(ret);
|
|
3856
3856
|
};
|
|
3857
3857
|
|
|
3858
|
-
export function
|
|
3859
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3858
|
+
export function __wbindgen_closure_wrapper19293(arg0, arg1, arg2) {
|
|
3859
|
+
const ret = makeMutClosure(arg0, arg1, 7729, __wbg_adapter_50);
|
|
3860
3860
|
return addHeapObject(ret);
|
|
3861
3861
|
};
|
|
3862
3862
|
|
|
3863
|
-
export function
|
|
3864
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3863
|
+
export function __wbindgen_closure_wrapper25819(arg0, arg1, arg2) {
|
|
3864
|
+
const ret = makeMutClosure(arg0, arg1, 10820, __wbg_adapter_55);
|
|
3865
3865
|
return addHeapObject(ret);
|
|
3866
3866
|
};
|
|
3867
3867
|
|
|
3868
|
-
export function
|
|
3869
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3868
|
+
export function __wbindgen_closure_wrapper25821(arg0, arg1, arg2) {
|
|
3869
|
+
const ret = makeMutClosure(arg0, arg1, 10820, __wbg_adapter_55);
|
|
3870
3870
|
return addHeapObject(ret);
|
|
3871
3871
|
};
|
|
3872
3872
|
|
|
3873
|
-
export function
|
|
3874
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3873
|
+
export function __wbindgen_closure_wrapper25823(arg0, arg1, arg2) {
|
|
3874
|
+
const ret = makeMutClosure(arg0, arg1, 10820, __wbg_adapter_55);
|
|
3875
3875
|
return addHeapObject(ret);
|
|
3876
3876
|
};
|
|
3877
3877
|
|
|
3878
|
-
export function
|
|
3879
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3878
|
+
export function __wbindgen_closure_wrapper25825(arg0, arg1, arg2) {
|
|
3879
|
+
const ret = makeMutClosure(arg0, arg1, 10820, __wbg_adapter_55);
|
|
3880
3880
|
return addHeapObject(ret);
|
|
3881
3881
|
};
|
|
3882
3882
|
|
|
3883
|
-
export function
|
|
3884
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3883
|
+
export function __wbindgen_closure_wrapper31557(arg0, arg1, arg2) {
|
|
3884
|
+
const ret = makeMutClosure(arg0, arg1, 13204, __wbg_adapter_64);
|
|
3885
3885
|
return addHeapObject(ret);
|
|
3886
3886
|
};
|
|
3887
3887
|
|
|
3888
|
-
export function
|
|
3889
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3888
|
+
export function __wbindgen_closure_wrapper32754(arg0, arg1, arg2) {
|
|
3889
|
+
const ret = makeMutClosure(arg0, arg1, 13929, __wbg_adapter_67);
|
|
3890
3890
|
return addHeapObject(ret);
|
|
3891
3891
|
};
|
|
3892
3892
|
|
|
3893
|
-
export function
|
|
3894
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3893
|
+
export function __wbindgen_closure_wrapper32816(arg0, arg1, arg2) {
|
|
3894
|
+
const ret = makeMutClosure(arg0, arg1, 13942, __wbg_adapter_70);
|
|
3895
3895
|
return addHeapObject(ret);
|
|
3896
3896
|
};
|
|
3897
3897
|
|
package/re_viewer_bg.wasm
CHANGED
|
Binary file
|
package/re_viewer_bg.wasm.d.ts
CHANGED
|
@@ -79,8 +79,8 @@ export function intounderlyingsource_cancel(a: number): void;
|
|
|
79
79
|
export function __wbindgen_malloc(a: number, b: number): number;
|
|
80
80
|
export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;
|
|
81
81
|
export const __wbindgen_export_2: WebAssembly.Table;
|
|
82
|
-
export function
|
|
83
|
-
export function
|
|
82
|
+
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h334e840900f249c5(a: number, b: number, c: number): void;
|
|
83
|
+
export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hcd85974fc1ad5bdb(a: number, b: number): void;
|
|
84
84
|
export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he3e77c8746920ad8(a: number, b: number): void;
|
|
85
85
|
export function wasm_bindgen__convert__closures__invoke1_mut__h545ec82ded2d9534(a: number, b: number, c: number): void;
|
|
86
86
|
export function wasm_bindgen__convert__closures__invoke0_mut__h3e523de377ad9304(a: number, b: number): void;
|
|
@@ -88,7 +88,7 @@ export function __wbindgen_add_to_stack_pointer(a: number): number;
|
|
|
88
88
|
export function wasm_bindgen__convert__closures__invoke0_mut__h48ee5bf1e8dab96d(a: number, b: number, c: number): void;
|
|
89
89
|
export function wasm_bindgen__convert__closures__invoke1_mut__h389a8557fc3a6c1d(a: number, b: number, c: number): void;
|
|
90
90
|
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4415f29ff9ffe1e6(a: number, b: number, c: number): void;
|
|
91
|
-
export function
|
|
91
|
+
export function wasm_bindgen__convert__closures__invoke1_mut__h28b8f3338bcfe264(a: number, b: number, c: number): void;
|
|
92
92
|
export function wasm_bindgen__convert__closures__invoke1_mut__h74463477a347a8fe(a: number, b: number, c: number): void;
|
|
93
93
|
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__haf670f9b2e2edd2a(a: number, b: number, c: number): void;
|
|
94
94
|
export function __wbindgen_free(a: number, b: number, c: number): void;
|