@rive-app/webgl2 2.25.7 → 2.26.0

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/webgl2",
3
- "version": "2.25.7",
3
+ "version": "2.26.0",
4
4
  "description": "Rive's webgl2 based web api.",
5
5
  "main": "rive.js",
6
6
  "homepage": "https://rive.app",
package/rive.d.ts CHANGED
@@ -307,6 +307,7 @@ export declare class RiveFile {
307
307
  private enableRiveAssetCDN;
308
308
  private eventManager;
309
309
  private referenceCount;
310
+ private destroyed;
310
311
  constructor(params: RiveFileParameters);
311
312
  private initData;
312
313
  init(): Promise<void>;
@@ -358,6 +359,7 @@ export declare class Rive {
358
359
  private animator;
359
360
  private assetLoader;
360
361
  private static readonly missingErrorMessage;
362
+ private static readonly cleanupErrorMessage;
361
363
  private shouldDisableRiveListeners;
362
364
  private automaticallyHandleEvents;
363
365
  private enableRiveAssetCDN;
@@ -367,6 +369,7 @@ export declare class Rive {
367
369
  private _devicePixelRatioUsed;
368
370
  private _hasZeroSize;
369
371
  private _audioEventListener;
372
+ private _boundDraw;
370
373
  durations: number[];
371
374
  frameTimes: number[];
372
375
  frameCount: number;