@rive-app/webgl-single 1.0.24 → 1.0.27

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.24",
3
+ "version": "1.0.27",
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
@@ -178,6 +178,7 @@ export interface RiveParameters {
178
178
  stateMachines?: string | string[];
179
179
  layout?: Layout;
180
180
  autoplay?: boolean;
181
+ useOffscreenRenderer?: boolean;
181
182
  onLoad?: EventCallback;
182
183
  onLoadError?: EventCallback;
183
184
  onPlay?: EventCallback;
@@ -221,6 +222,7 @@ export interface RiveLoadParameters {
221
222
  artboard?: string;
222
223
  animations?: string | string[];
223
224
  stateMachines?: string | string[];
225
+ useOffscreenRenderer?: boolean;
224
226
  }
225
227
  export interface RiveResetParameters {
226
228
  artboard?: string;