@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 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://demo.rerun.io/version/0.11.0/examples/dna/data.rrd>
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
@@ -75,4 +75,3 @@ export class WebViewer {
75
75
  }
76
76
  }
77
77
  }
78
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rerun-io/web-viewer",
3
- "version": "0.11.0",
3
+ "version": "0.12.0-alpha.4",
4
4
  "description": "Embed the Rerun web viewer in your app",
5
5
  "private": false,
6
6
  "scripts": {
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` and `demo.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
- * The `url` is an optional URL to either an .rrd file over http, or a Rerun WebSocket server.
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;