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

@rive-app/canvas-lite

Package Overview
Dependencies
Maintainers
4
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 2.7.0 to 2.7.1

2

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

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

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

import * as rc from "./rive_advanced.mjs";
export type { FileAsset, FontAsset, ImageAsset } from './rive_advanced.mjs';
/**

@@ -550,2 +551,1 @@ * Generic type for a parameterless void callback

export declare const decodeFont: (bytes: Uint8Array) => Promise<rc.Font>;
export {};

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