@rive-app/canvas-single 2.29.4 → 2.30.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rive-app/canvas-single",
3
- "version": "2.29.4",
3
+ "version": "2.30.1",
4
4
  "description": "Rive's high-level canvas based web api all in one js file.",
5
5
  "main": "rive.js",
6
6
  "homepage": "https://rive.app",
package/rive.d.ts CHANGED
@@ -339,6 +339,7 @@ export declare class RiveFile {
339
339
  */
340
340
  removeAllRiveEventListeners(type?: EventType): void;
341
341
  getInstance(): rc.File;
342
+ destroyIfUnused(): void;
342
343
  }
343
344
  export declare class Rive {
344
345
  private readonly canvas;