Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rerun-io/web-viewer-react

Package Overview
Dependencies
Maintainers
2
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rerun-io/web-viewer-react - npm Package Compare versions

Comparing version 0.15.1 to 0.16.0-rc.1

4

index.d.ts

@@ -42,2 +42,6 @@ declare module '@rerun-io/web-viewer-react' {

height?: string | undefined;
/**
* Whether to hide the welcome screen. Default is `false`.
*/
hide_welcome_screen?: boolean | undefined;
};

@@ -44,0 +48,0 @@ }

@@ -11,2 +11,3 @@ import React, { createRef } from "react";

* @property {string} [height] CSS height of the viewer's parent div
* @property {boolean} [hide_welcome_screen] Whether to hide the welcome screen. Default is `false`.
*/

@@ -31,2 +32,5 @@

/** @type {boolean} */
#hide_welcome_screen = false;
/** @param {Props} props */

@@ -38,2 +42,3 @@ constructor(props) {

this.#recordings = toArray(props.rrd);
this.#hide_welcome_screen = props.hide_welcome_screen ?? false;
}

@@ -43,3 +48,3 @@

const current = /** @type {HTMLDivElement} */ (this.#parent.current);
this.#handle.start(this.#recordings, current);
this.#handle.start(this.#recordings, current, this.#hide_welcome_screen);
}

@@ -46,0 +51,0 @@

4

package.json
{
"name": "@rerun-io/web-viewer-react",
"version": "0.15.1",
"version": "0.16.0-rc.1",
"description": "Embed the Rerun web viewer in your React app",

@@ -42,3 +42,3 @@ "licenses": [

"dependencies": {
"@rerun-io/web-viewer": "0.15.1",
"@rerun-io/web-viewer": "0.16.0-rc.1",
"@types/react": "^18.2.33",

@@ -45,0 +45,0 @@ "react": "^18.2.0"

@@ -24,4 +24,4 @@ # Rerun web viewer

ℹ️ Note:
The package version is equal to the supported rerun SDK version.
This means that `@rerun-io/web-viewer-react@0.10.0` can only connect to a data source (`.rrd` file, websocket connection, etc.) that originates from a rerun SDK with version `0.10.0`!
The package version is equal to the supported Rerun SDK version.
This means that `@rerun-io/web-viewer-react@0.10.0` can only connect to a data source (`.rrd` file, websocket connection, etc.) that originates from a Rerun SDK with version `0.10.0`!

@@ -39,6 +39,6 @@ ## Usage

The `rrd` in the snippet above should be a URL pointing to either:
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.15.1/examples/dna.rrd>
- A hosted `.rrd` file, such as <https://app.rerun.io/version/0.16.0-rc.1/examples/dna.rrd>
- A WebSocket connection to the SDK opened via the [`serve`](https://www.rerun.io/docs/reference/sdk-operating-modes#serve) API
If `rrd` is not set, the viewer will display the same welcome screen as <https://app.rerun.io>.
If `rrd` is not set, the Viewer will display the same welcome screen as <https://app.rerun.io>.

@@ -45,0 +45,0 @@ ℹ️ Note:

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc