@rerun-io/web-viewer 0.15.0-rc.2 → 0.15.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/index.js +1 -1
- package/package.json +1 -1
- package/re_viewer_bg.js +39 -39
- 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.15.0
|
|
44
|
+
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.15.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/index.js
CHANGED
|
@@ -121,7 +121,7 @@ export class WebViewer {
|
|
|
121
121
|
* The same viewer instance may be started multiple times.
|
|
122
122
|
*/
|
|
123
123
|
stop() {
|
|
124
|
-
if (this.#state
|
|
124
|
+
if (this.#state === "stopped") return;
|
|
125
125
|
this.#state = "stopped";
|
|
126
126
|
|
|
127
127
|
this.#canvas?.remove();
|
package/package.json
CHANGED
package/re_viewer_bg.js
CHANGED
|
@@ -222,11 +222,11 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
222
222
|
return real;
|
|
223
223
|
}
|
|
224
224
|
function __wbg_adapter_32(arg0, arg1, arg2) {
|
|
225
|
-
wasm.
|
|
225
|
+
wasm.wasm_bindgen__convert__closures__invoke1_mut__h74ba98caf7e0c817(arg0, arg1, addHeapObject(arg2));
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
function __wbg_adapter_35(arg0, arg1) {
|
|
229
|
-
wasm.
|
|
229
|
+
wasm.wasm_bindgen__convert__closures__invoke0_mut__hb3d1ed423e70912b(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__hafbbe124363da73c(arg0, arg1, addHeapObject(arg2));
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
function __wbg_adapter_67(arg0, arg1, arg2) {
|
|
@@ -643,12 +643,12 @@ export function __wbg_stack_593e956638f4c1a9(arg0, arg1) {
|
|
|
643
643
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
644
644
|
};
|
|
645
645
|
|
|
646
|
-
export function
|
|
646
|
+
export function __wbg_new_9058e7070183d321() {
|
|
647
647
|
const ret = new Error();
|
|
648
648
|
return addHeapObject(ret);
|
|
649
649
|
};
|
|
650
650
|
|
|
651
|
-
export function
|
|
651
|
+
export function __wbg_stack_cc156b84431a58e9(arg0, arg1) {
|
|
652
652
|
const ret = getObject(arg1).stack;
|
|
653
653
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
654
654
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -3380,19 +3380,19 @@ export function __wbg_get_2f7d53cc08af8d1a(arg0, arg1) {
|
|
|
3380
3380
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
3381
3381
|
};
|
|
3382
3382
|
|
|
3383
|
-
export function
|
|
3383
|
+
export function __wbg_warn_3f2ee179d7eca9cc(arg0, arg1) {
|
|
3384
3384
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
3385
3385
|
};
|
|
3386
3386
|
|
|
3387
|
-
export function
|
|
3387
|
+
export function __wbg_info_fd06607540714440(arg0, arg1) {
|
|
3388
3388
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
3389
3389
|
};
|
|
3390
3390
|
|
|
3391
|
-
export function
|
|
3391
|
+
export function __wbg_debug_c50298604b24cbeb(arg0, arg1) {
|
|
3392
3392
|
console.debug(getStringFromWasm0(arg0, arg1));
|
|
3393
3393
|
};
|
|
3394
3394
|
|
|
3395
|
-
export function
|
|
3395
|
+
export function __wbg_trace_40bae8003eb06eae(arg0, arg1) {
|
|
3396
3396
|
console.trace(getStringFromWasm0(arg0, arg1));
|
|
3397
3397
|
};
|
|
3398
3398
|
|
|
@@ -3762,78 +3762,78 @@ export function __wbindgen_memory() {
|
|
|
3762
3762
|
return addHeapObject(ret);
|
|
3763
3763
|
};
|
|
3764
3764
|
|
|
3765
|
-
export function
|
|
3766
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3765
|
+
export function __wbindgen_closure_wrapper1693(arg0, arg1, arg2) {
|
|
3766
|
+
const ret = makeMutClosure(arg0, arg1, 458, __wbg_adapter_32);
|
|
3767
3767
|
return addHeapObject(ret);
|
|
3768
3768
|
};
|
|
3769
3769
|
|
|
3770
|
-
export function
|
|
3771
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3770
|
+
export function __wbindgen_closure_wrapper1695(arg0, arg1, arg2) {
|
|
3771
|
+
const ret = makeMutClosure(arg0, arg1, 458, __wbg_adapter_35);
|
|
3772
3772
|
return addHeapObject(ret);
|
|
3773
3773
|
};
|
|
3774
3774
|
|
|
3775
|
-
export function
|
|
3776
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3775
|
+
export function __wbindgen_closure_wrapper3105(arg0, arg1, arg2) {
|
|
3776
|
+
const ret = makeMutClosure(arg0, arg1, 939, __wbg_adapter_38);
|
|
3777
3777
|
return addHeapObject(ret);
|
|
3778
3778
|
};
|
|
3779
3779
|
|
|
3780
|
-
export function
|
|
3781
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3780
|
+
export function __wbindgen_closure_wrapper7492(arg0, arg1, arg2) {
|
|
3781
|
+
const ret = makeMutClosure(arg0, arg1, 2467, __wbg_adapter_41);
|
|
3782
3782
|
return addHeapObject(ret);
|
|
3783
3783
|
};
|
|
3784
3784
|
|
|
3785
|
-
export function
|
|
3786
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3785
|
+
export function __wbindgen_closure_wrapper7494(arg0, arg1, arg2) {
|
|
3786
|
+
const ret = makeMutClosure(arg0, arg1, 2467, __wbg_adapter_44);
|
|
3787
3787
|
return addHeapObject(ret);
|
|
3788
3788
|
};
|
|
3789
3789
|
|
|
3790
|
-
export function
|
|
3791
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3790
|
+
export function __wbindgen_closure_wrapper7496(arg0, arg1, arg2) {
|
|
3791
|
+
const ret = makeMutClosure(arg0, arg1, 2467, __wbg_adapter_47);
|
|
3792
3792
|
return addHeapObject(ret);
|
|
3793
3793
|
};
|
|
3794
3794
|
|
|
3795
|
-
export function
|
|
3796
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3795
|
+
export function __wbindgen_closure_wrapper16190(arg0, arg1, arg2) {
|
|
3796
|
+
const ret = makeMutClosure(arg0, arg1, 5598, __wbg_adapter_50);
|
|
3797
3797
|
return addHeapObject(ret);
|
|
3798
3798
|
};
|
|
3799
3799
|
|
|
3800
|
-
export function
|
|
3801
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3800
|
+
export function __wbindgen_closure_wrapper16192(arg0, arg1, arg2) {
|
|
3801
|
+
const ret = makeMutClosure(arg0, arg1, 5598, __wbg_adapter_50);
|
|
3802
3802
|
return addHeapObject(ret);
|
|
3803
3803
|
};
|
|
3804
3804
|
|
|
3805
|
-
export function
|
|
3806
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3805
|
+
export function __wbindgen_closure_wrapper22846(arg0, arg1, arg2) {
|
|
3806
|
+
const ret = makeMutClosure(arg0, arg1, 8173, __wbg_adapter_55);
|
|
3807
3807
|
return addHeapObject(ret);
|
|
3808
3808
|
};
|
|
3809
3809
|
|
|
3810
|
-
export function
|
|
3811
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3810
|
+
export function __wbindgen_closure_wrapper22848(arg0, arg1, arg2) {
|
|
3811
|
+
const ret = makeMutClosure(arg0, arg1, 8173, __wbg_adapter_55);
|
|
3812
3812
|
return addHeapObject(ret);
|
|
3813
3813
|
};
|
|
3814
3814
|
|
|
3815
|
-
export function
|
|
3816
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3815
|
+
export function __wbindgen_closure_wrapper22850(arg0, arg1, arg2) {
|
|
3816
|
+
const ret = makeMutClosure(arg0, arg1, 8173, __wbg_adapter_55);
|
|
3817
3817
|
return addHeapObject(ret);
|
|
3818
3818
|
};
|
|
3819
3819
|
|
|
3820
|
-
export function
|
|
3821
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3820
|
+
export function __wbindgen_closure_wrapper22852(arg0, arg1, arg2) {
|
|
3821
|
+
const ret = makeMutClosure(arg0, arg1, 8173, __wbg_adapter_55);
|
|
3822
3822
|
return addHeapObject(ret);
|
|
3823
3823
|
};
|
|
3824
3824
|
|
|
3825
|
-
export function
|
|
3826
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3825
|
+
export function __wbindgen_closure_wrapper27890(arg0, arg1, arg2) {
|
|
3826
|
+
const ret = makeMutClosure(arg0, arg1, 10140, __wbg_adapter_64);
|
|
3827
3827
|
return addHeapObject(ret);
|
|
3828
3828
|
};
|
|
3829
3829
|
|
|
3830
|
-
export function
|
|
3831
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3830
|
+
export function __wbindgen_closure_wrapper28663(arg0, arg1, arg2) {
|
|
3831
|
+
const ret = makeMutClosure(arg0, arg1, 10433, __wbg_adapter_67);
|
|
3832
3832
|
return addHeapObject(ret);
|
|
3833
3833
|
};
|
|
3834
3834
|
|
|
3835
|
-
export function
|
|
3836
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3835
|
+
export function __wbindgen_closure_wrapper28700(arg0, arg1, arg2) {
|
|
3836
|
+
const ret = makeMutClosure(arg0, arg1, 10439, __wbg_adapter_70);
|
|
3837
3837
|
return addHeapObject(ret);
|
|
3838
3838
|
};
|
|
3839
3839
|
|
package/re_viewer_bg.wasm
CHANGED
|
Binary file
|
package/re_viewer_bg.wasm.d.ts
CHANGED
|
@@ -76,8 +76,8 @@ export function intounderlyingsink_abort(a: number, b: number): number;
|
|
|
76
76
|
export function __wbindgen_malloc(a: number, b: number): number;
|
|
77
77
|
export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;
|
|
78
78
|
export const __wbindgen_export_2: WebAssembly.Table;
|
|
79
|
-
export function
|
|
80
|
-
export function
|
|
79
|
+
export function wasm_bindgen__convert__closures__invoke1_mut__h74ba98caf7e0c817(a: number, b: number, c: number): void;
|
|
80
|
+
export function wasm_bindgen__convert__closures__invoke0_mut__hb3d1ed423e70912b(a: number, b: number): void;
|
|
81
81
|
export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h525dac48ae725194(a: number, b: number): void;
|
|
82
82
|
export function __wbindgen_add_to_stack_pointer(a: number): number;
|
|
83
83
|
export function wasm_bindgen__convert__closures__invoke0_mut__h606ab82f14671fd4(a: number, b: number, c: number): void;
|
|
@@ -85,7 +85,7 @@ export function wasm_bindgen__convert__closures__invoke1_mut__h2b274e32db49afa1(
|
|
|
85
85
|
export function wasm_bindgen__convert__closures__invoke0_mut__h2e343db4d58d5b7b(a: number, b: number): void;
|
|
86
86
|
export function wasm_bindgen__convert__closures__invoke1_mut__h1b6cf7f0e5cd9978(a: number, b: number, c: number): void;
|
|
87
87
|
export function wasm_bindgen__convert__closures__invoke1_mut__h1a103506c7d094d9(a: number, b: number, c: number): void;
|
|
88
|
-
export function
|
|
88
|
+
export function wasm_bindgen__convert__closures__invoke1_mut__hafbbe124363da73c(a: number, b: number, c: number): void;
|
|
89
89
|
export function wasm_bindgen__convert__closures__invoke1_mut__hd76bd9ca68ba7419(a: number, b: number, c: number): void;
|
|
90
90
|
export function wasm_bindgen__convert__closures__invoke1_mut__h156b5c97f2d9e5f9(a: number, b: number, c: number): void;
|
|
91
91
|
export function __wbindgen_free(a: number, b: number, c: number): void;
|