@rerun-io/web-viewer 0.11.0 → 0.12.0-alpha.4
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 +0 -1
- package/package.json +1 -1
- package/re_viewer.d.ts +6 -4
- package/re_viewer_bg.js +606 -614
- package/re_viewer_bg.wasm +0 -0
- package/re_viewer_bg.wasm.d.ts +28 -26
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://
|
|
44
|
+
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.12.0-alpha.4/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
package/package.json
CHANGED
package/re_viewer.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* in the same way as `rerun analytics email YOURNAME@rerun.io`.
|
|
6
6
|
*
|
|
7
7
|
* This one just panics when it fails, as it's only ever really run
|
|
8
|
-
* by rerun employees manually in `app.rerun.io
|
|
8
|
+
* by rerun employees manually in `app.rerun.io`.
|
|
9
9
|
* @param {string} email
|
|
10
10
|
*/
|
|
11
11
|
export function set_email(email: string): void;
|
|
@@ -111,12 +111,14 @@ export class WebHandle {
|
|
|
111
111
|
*/
|
|
112
112
|
constructor();
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
114
|
+
* - `url` is an optional URL to either an .rrd file over http, or a Rerun WebSocket server.
|
|
115
|
+
* - `manifest_url` is an optional URL to an `examples_manifest.json` file over http.
|
|
115
116
|
* @param {string} canvas_id
|
|
116
|
-
* @param {string | undefined} url
|
|
117
|
+
* @param {string | undefined} [url]
|
|
118
|
+
* @param {string | undefined} [manifest_url]
|
|
117
119
|
* @returns {Promise<void>}
|
|
118
120
|
*/
|
|
119
|
-
start(canvas_id: string, url?: string): Promise<void>;
|
|
121
|
+
start(canvas_id: string, url?: string, manifest_url?: string): Promise<void>;
|
|
120
122
|
/**
|
|
121
123
|
*/
|
|
122
124
|
destroy(): void;
|