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

@rive-app/canvas

Package Overview
Dependencies
Maintainers
5
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rive-app/canvas - npm Package Compare versions

Comparing version 2.9.3 to 2.10.0

2

package.json
{
"name": "@rive-app/canvas",
"version": "2.9.3",
"version": "2.10.0",
"description": "Rive's canvas based web api.",

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

@@ -94,2 +94,11 @@ interface RiveOptions {

/**
* A Rive-specific function to "flush" queued up draw calls from using the renderer.
*
* This should only be invoked once at the end of a loop in a regular JS
* requestAnimationFrame loop, and should not be used with the Rive-wrapped
* requestAnimationFrame (aka, the requestAnimationFrame() API on this object) as that
* API will handle flushing the draw calls implicitly.
*/
resolveAnimationFrame(): void;
/**
* Debugging tool to showcase the FPS in the corner of the screen in a new div. If a callback

@@ -96,0 +105,0 @@ * function is provided, this function passes the FPS count to the callback instead of creating a

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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