@rive-app/webgl-single 1.0.71 → 1.0.74

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/webgl-single",
3
- "version": "1.0.71",
3
+ "version": "1.0.74",
4
4
  "description": "Rive's webgl based web api with bundled wasm.",
5
5
  "main": "rive.js",
6
6
  "homepage": "https://rive.app",
package/rive.d.ts CHANGED
@@ -46,11 +46,11 @@ export declare class Layout {
46
46
  readonly maxX: number;
47
47
  readonly maxY: number;
48
48
  constructor(params?: LayoutParameters);
49
- static new({ fit, alignment, minX, minY, maxX, maxY }: LayoutParameters): Layout;
49
+ static new({ fit, alignment, minX, minY, maxX, maxY, }: LayoutParameters): Layout;
50
50
  /**
51
51
  * Makes a copy of the layout, replacing any specified parameters
52
52
  */
53
- copyWith({ fit, alignment, minX, minY, maxX, maxY }: LayoutParameters): Layout;
53
+ copyWith({ fit, alignment, minX, minY, maxX, maxY, }: LayoutParameters): Layout;
54
54
  runtimeFit(rive: rc.RiveCanvas): rc.Fit;
55
55
  runtimeAlignment(rive: rc.RiveCanvas): rc.Alignment;
56
56
  }
@@ -256,6 +256,7 @@ export declare class Rive {
256
256
  private readyForPlaying;
257
257
  private runtime;
258
258
  private artboard;
259
+ private eventCleanup;
259
260
  private file;
260
261
  private eventManager;
261
262
  private taskQueue;