@rive-app/canvas-advanced-lite 2.49.0 → 2.49.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-advanced-lite",
3
- "version": "2.49.0",
3
+ "version": "2.49.1",
4
4
  "description": "Rive's lite low-level canvas based web api.",
5
5
  "main": "canvas_advanced.mjs",
6
6
  "homepage": "https://rive.app",
package/rive.wasm CHANGED
Binary file
@@ -85,6 +85,14 @@ export interface RiveCanvas {
85
85
  */
86
86
  enableReplayWorker?(): boolean;
87
87
 
88
+ /**
89
+ * @internal Settles once the replay worker's device caps reach the page, so
90
+ * scripts read truthful features before any canvas reaches the worker.
91
+ *
92
+ * @returns undefined when nothing replays on the worker
93
+ */
94
+ awaitReplayCaps?(): Promise<void> | undefined;
95
+
88
96
  /**
89
97
  * Loads a Rive file for the runtime and returns a Rive-specific File class
90
98
  *
Binary file