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

@rive-app/canvas-advanced-lite

Package Overview
Dependencies
Maintainers
4
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rive-app/canvas-advanced-lite - npm Package Compare versions

Comparing version 2.7.0 to 2.7.1

2

package.json
{
"name": "@rive-app/canvas-advanced-lite",
"version": "2.7.0",
"version": "2.7.1",
"description": "Rive's lite low-level canvas based web api.",

@@ -5,0 +5,0 @@ "main": "canvas_advanced.mjs",

@@ -878,2 +878,6 @@ interface RiveOptions {

/**
* Rive class representing a FileAsset with relevant metadata fields to describe
* an asset associated wtih the Rive File
*/
export declare class FileAsset {

@@ -884,5 +888,21 @@ name: string;

isFont: boolean;
cdnUuid: boolean;
cdnUuid: string;
}
/**
* Rive class extending the FileAsset that exposes a `setRenderImage()` API with a
* decoded Image (via the `decodeImage()` API) to set a new Image on the Rive FileAsset
*/
export declare class ImageAsset extends FileAsset {
setRenderImage(image: Image): void;
}
/**
* Rive class extending the FileAsset that exposes a `setFont()` API with a
* decoded Font (via the `decodeFont()` API) to set a new Font on the Rive FileAsset
*/
export declare class FontAsset extends FileAsset {
setFont(font: Font): void;
}
export declare class FileAssetLoader {}

@@ -889,0 +909,0 @@

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