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
235
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.16.0 to 2.17.0

2

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

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

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

textRun(name: string): TextValueRun;
/**
* Returns a reference for a SMIInput object to get/set an input value for
* @param name - Name of the Input to grab a reference to
* @param path - Path of where the input exists at an artboard level
*/
inputByPath(name: string, path: string): SMIInput;
}

@@ -455,0 +461,0 @@

@@ -498,2 +498,23 @@ import * as rc from "./rive_advanced.mjs";

stateMachineInputs(name: string): StateMachineInput[];
private retrieveInputAtPath;
/**
* Set the boolean input with the provided name at the given path with value
* @param input the state machine input name
* @param value the value to set the input to
* @param path the path the input is located at an artboard level
*/
setBooleanStateAtPath(inputName: string, value: boolean, path: string): void;
/**
* Set the number input with the provided name at the given path with value
* @param input the state machine input name
* @param value the value to set the input to
* @param path the path the input is located at an artboard level
*/
setNumberStateAtPath(inputName: string, value: number, path: string): void;
/**
* Fire the trigger with the provided name at the given path
* @param input the state machine input name
* @param path the path the input is located at an artboard level
*/
fireStateAtPath(inputName: string, path: string): void;
get playingStateMachineNames(): string[];

@@ -500,0 +521,0 @@ get playingAnimationNames(): string[];

Sorry, the diff of this file is not supported yet

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