@rive-app/webgl2 2.31.2 → 2.31.4
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 +1 -1
- package/rive.d.ts +3 -1
- package/rive.js +682 -593
- package/rive.js.map +1 -1
- package/rive.wasm +0 -0
- package/rive_advanced.mjs.d.ts +7 -4
package/package.json
CHANGED
package/rive.d.ts
CHANGED
|
@@ -306,7 +306,7 @@ export interface RiveFileParameters {
|
|
|
306
306
|
onLoad?: EventCallback;
|
|
307
307
|
onLoadError?: EventCallback;
|
|
308
308
|
}
|
|
309
|
-
export declare class RiveFile {
|
|
309
|
+
export declare class RiveFile implements rc.FinalizableTarget {
|
|
310
310
|
private static readonly missingErrorMessage;
|
|
311
311
|
private static readonly fileLoadErrorMessage;
|
|
312
312
|
private src;
|
|
@@ -318,7 +318,9 @@ export declare class RiveFile {
|
|
|
318
318
|
private eventManager;
|
|
319
319
|
private referenceCount;
|
|
320
320
|
private destroyed;
|
|
321
|
+
selfUnref: boolean;
|
|
321
322
|
constructor(params: RiveFileParameters);
|
|
323
|
+
private releaseFile;
|
|
322
324
|
private initData;
|
|
323
325
|
init(): Promise<void>;
|
|
324
326
|
private fireLoadError;
|