🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@rive-app/react-canvas

Package Overview
Dependencies
Maintainers
5
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rive-app/react-canvas - npm Package Compare versions

Comparing version
4.27.3
to
4.28.0
+2
-2
dist/types/index.d.ts

@@ -24,7 +24,7 @@ import { Layout, RiveParameters, Rive as Rive$1, RiveFileParameters, RiveFile, ViewModelInstance, ViewModelInstanceArtboard, decodeImage, StateMachineInput, ViewModel, Bounds } from '@rive-app/canvas';

/**
* Specify a starting Layout object to set Fill and Alignment for the drawing surface. See docs at https://rive.app/community/doc/layout/docBl81zd1GB for more on layout configuration.
* Specify a starting Layout object to set Fill and Alignment for the drawing surface. See docs at https://rive.app/docs/runtimes/react/layouts for more on layout configuration.
*/
layout?: Layout;
/**
* For `@rive-app/react-webgl`, sets this property to maintain a single WebGL context for multiple canvases. **We recommend to keep the default value** when rendering multiple Rive instances on a page.
* For `@rive-app/react-webgl2`, sets this property to maintain a single WebGL context for multiple canvases. **We recommend to keep the default value** when rendering multiple Rive instances on a page.
*/

@@ -31,0 +31,0 @@ useOffscreenRenderer?: boolean;

{
"name": "@rive-app/react-canvas",
"version": "4.27.3",
"version": "4.28.0",
"description": "React wrapper around the @rive-app/canvas library",

@@ -21,3 +21,3 @@ "main": "dist/index.js",

"dependencies": {
"@rive-app/canvas": "2.35.4"
"@rive-app/canvas": "2.37.1"
},

@@ -24,0 +24,0 @@ "peerDependencies": {