@rerun-io/web-viewer-react 0.24.0 → 0.24.1-rc.1
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.js +1 -1
- package/package.json +9 -5
package/README.md
CHANGED
|
@@ -30,12 +30,12 @@ This means that `@rerun-io/web-viewer-react@0.10.0` can only connect to a data s
|
|
|
30
30
|
import WebViewer from "@rerun-io/web-viewer-react";
|
|
31
31
|
|
|
32
32
|
export default function App() {
|
|
33
|
-
return <WebViewer width="800px" height="600px" rrd="..."
|
|
33
|
+
return <WebViewer width="800px" height="600px" rrd="..."/>
|
|
34
34
|
}
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
The `rrd` in the snippet above should be a URL pointing to either:
|
|
38
|
-
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.24.
|
|
38
|
+
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.24.1-rc.1/examples/dna.rrd>
|
|
39
39
|
- A gRPC connection to the SDK opened via the [`serve`](https://www.rerun.io/docs/reference/sdk/operating-modes#serve) API
|
|
40
40
|
|
|
41
41
|
If `rrd` is not set, the Viewer will display the same welcome screen as <https://app.rerun.io>.
|
package/index.js
CHANGED
|
@@ -28,7 +28,7 @@ import * as rerun from "@rerun-io/web-viewer";
|
|
|
28
28
|
*/
|
|
29
29
|
export default class WebViewer extends React.Component {
|
|
30
30
|
/** @type {React.RefObject<HTMLDivElement>} */
|
|
31
|
-
#parent = createRef();
|
|
31
|
+
#parent = /** @type {React.RefObject<HTMLDivElement>} */ (createRef());
|
|
32
32
|
|
|
33
33
|
/** @type {rerun.WebViewer} */
|
|
34
34
|
#handle;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rerun-io/web-viewer-react",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.1-rc.1",
|
|
4
4
|
"description": "Embed the Rerun web viewer in your React app",
|
|
5
5
|
"licenses": [
|
|
6
6
|
{
|
|
@@ -43,14 +43,18 @@
|
|
|
43
43
|
"tsconfig.json"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@rerun-io/web-viewer": "0.24.
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
"@rerun-io/web-viewer": "0.24.1-rc.1"
|
|
47
|
+
},
|
|
48
|
+
"peerDependencies": {
|
|
49
|
+
"@types/react": "^18.2.33 || ^19.0.0",
|
|
50
|
+
"react": "^18.2.0 || ^19.0.0"
|
|
49
51
|
},
|
|
50
52
|
"devDependencies": {
|
|
51
53
|
"dts-buddy": "^0.3.0",
|
|
52
54
|
"typedoc": "^0.28.6",
|
|
53
55
|
"typedoc-github-theme": "^0.3.0",
|
|
54
|
-
"typescript": "^5.2.2"
|
|
56
|
+
"typescript": "^5.2.2",
|
|
57
|
+
"@types/react": "^19.0.0",
|
|
58
|
+
"react": "^19.0.0"
|
|
55
59
|
}
|
|
56
60
|
}
|