@rive-app/webgl 1.0.34 → 1.0.35

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/rive.wasm CHANGED
Binary file
@@ -22,6 +22,8 @@ interface RiveOptions {
22
22
 
23
23
  load(buffer: Uint8Array): File;
24
24
  makeRenderer(canvas: HTMLCanvasElement | OffscreenCanvas, useOffscreenRenderer: boolean) : CanvasRenderer;
25
+ requestAnimationFrame(cb: (timestamp: DOMHighResTimeStamp) => void): number;
26
+ cancelAnimationFrame(requestID: number): void;
25
27
  }
26
28
 
27
29
  //////////////
@@ -301,4 +303,4 @@ interface RiveOptions {
301
303
  tx: number;
302
304
  ty: number;
303
305
  }
304
-
306
+