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

@rive-app/canvas

Package Overview
Dependencies
Maintainers
4
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 1.0.89 to 1.0.90

2

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

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

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

disableFPSCounter(): void;
/**
* Cleans up any WASM-generate objects that need to be destroyed manually.
* This should be called when you wish to remove a rive animation from view.
*/
cleanup(): void;
}

@@ -130,2 +136,3 @@

clear(): void;
delete(): void;
flush(): void;

@@ -236,2 +243,4 @@ translate(x: number, y: number): void;

artboardCount(): number;
delete(): void;
}

@@ -314,3 +323,3 @@

* Learn more: https://help.rive.app/editor/manipulating-shapes/bones
*
*
* @param name - Name of the Bone to grab a reference to

@@ -422,3 +431,3 @@ */

* multiple animations together and want to dictate a strength for each of the animations played
* back. This also applies new values to properties of objects on the Artboard according to the
* back. This also applies new values to properties of objects on the Artboard according to the
* keys of the animation.

@@ -490,3 +499,3 @@ * This must be called after the `advance()` method of `LinearAnimationInstance`

* interest at a given moment.
*
*
* @param x - X coordinate

@@ -500,3 +509,3 @@ * @param y - Y coordinate

* interest at a given moment.
*
*
* @param x - X coordinate

@@ -657,3 +666,3 @@ * @param y - Y coordinate

* the passed-in `mat` parameter
*
*
* @param mat - Reference Mat2D to store the newly inverted matrix into if successful

@@ -660,0 +669,0 @@ * @returns True if the matrix could be inverted

@@ -1,2 +0,2 @@

import * as rc from './rive_advanced.mjs';
import * as rc from "./rive_advanced.mjs";
/**

@@ -292,2 +292,11 @@ * Generic type for a parameterless void callback

/**
* Cleans up all Wasm-generated objects that need to be manually destroyed:
* artboard instances, animation instances, state machine instances,
* renderer instance, file and runtime.
*
* Once this is called, you will need to initialise a new instance of the
* Rive class
*/
cleanup(): void;
/**
* Cleans up any Wasm-generated objects that need to be manually destroyed:

@@ -299,3 +308,3 @@ * artboard instances, animation instances, state machine instances.

*/
cleanup(): void;
cleanupInstances(): void;
play(animationNames?: string | string[], autoplay?: true): void;

@@ -302,0 +311,0 @@ pause(animationNames?: string | string[]): void;

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

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