New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rive-app/canvas-single

Package Overview
Dependencies
Maintainers
4
Versions
231
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version

to
1.0.92

2

package.json
{
"name": "@rive-app/canvas-single",
"version": "1.0.91",
"version": "1.0.92",
"description": "Rive's high-level canvas based web api all in one js file.",

@@ -5,0 +5,0 @@ "main": "rive.js",

@@ -7,6 +7,5 @@ import * as rc from "./rive_advanced.mjs";

/**
* Interface for artboard bounds
* Type for artboard bounds
*/
export interface Bounds extends rc.AABB {
}
export declare type Bounds = rc.AABB;
export declare enum Fit {

@@ -167,3 +166,3 @@ Cover = "cover",

export interface Task {
action: VoidCallback;
action?: VoidCallback;
event?: Event;

@@ -279,3 +278,4 @@ }

/**
* Used be draw to track when a second of active rendering time has passed. Used for debugging purposes
* Used be draw to track when a second of active rendering time has passed.
* Used for debugging purposes
*/

@@ -340,4 +340,4 @@ private renderSecondTimer;

* Uses the size of the backing canvas to set new width/height attributes. Need to re-render
* and resize the layout to match the new drawing surface afterwards. Useful function for consumers
* to include in a window resize listener
* and resize the layout to match the new drawing surface afterwards.
* Useful function for consumers to include in a window resize listener
*/

@@ -422,3 +422,4 @@ resizeDrawingSurfaceToCanvas(): void;

* Enables frames-per-second (FPS) reporting for the runtime
* If no callback is provided, Rive will append a fixed-position div at the top-right corner of the page with the FPS reading
* If no callback is provided, Rive will append a fixed-position div at the top-right corner of
* the page with the FPS reading
* @param fpsCallback - Callback from the runtime during the RAF loop that supplies the FPS value

@@ -425,0 +426,0 @@ */

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet