@rive-app/webgl-single 1.1.2 → 1.1.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rive-app/webgl-single",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
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
@@ -182,6 +182,12 @@ export interface RiveParameters {
182
182
  layout?: Layout;
183
183
  autoplay?: boolean;
184
184
  useOffscreenRenderer?: boolean;
185
+ /**
186
+ * Turn off Rive Listeners. This means state machines that have Listeners
187
+ * will not be invoked, and also, no event listeners pertaining to Listeners
188
+ * will be attached to the <canvas> element
189
+ */
190
+ shouldDisableRiveListeners?: boolean;
185
191
  onLoad?: EventCallback;
186
192
  onLoadError?: EventCallback;
187
193
  onPlay?: EventCallback;
@@ -226,6 +232,7 @@ export interface RiveLoadParameters {
226
232
  animations?: string | string[];
227
233
  stateMachines?: string | string[];
228
234
  useOffscreenRenderer?: boolean;
235
+ shouldDisableRiveListeners?: boolean;
229
236
  }
230
237
  export interface RiveResetParameters {
231
238
  artboard?: string;