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.86

2

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

@@ -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