@rive-app/webgl-single 2.14.0 → 2.14.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/webgl-single",
3
- "version": "2.14.0",
3
+ "version": "2.14.1",
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
@@ -1,5 +1,5 @@
1
1
  import * as rc from "./rive_advanced.mjs";
2
- export type { FileAsset, FontAsset, ImageAsset } from './rive_advanced.mjs';
2
+ export type { FileAsset, FontAsset, ImageAsset } from "./rive_advanced.mjs";
3
3
  /**
4
4
  * Generic type for a parameterless void callback
5
5
  */
@@ -304,6 +304,7 @@ export declare class Rive {
304
304
  private shouldDisableRiveListeners;
305
305
  private automaticallyHandleEvents;
306
306
  private enableRiveAssetCDN;
307
+ private _volume;
307
308
  durations: number[];
308
309
  frameTimes: number[];
309
310
  frameCount: number;
@@ -525,6 +526,11 @@ export declare class Rive {
525
526
  * Returns the contents of a Rive file: the artboards, animations, and state machines
526
527
  */
527
528
  get contents(): RiveFileContents;
529
+ /**
530
+ * getter and setter for the volume of the artboard
531
+ */
532
+ get volume(): number;
533
+ set volume(value: number);
528
534
  }
529
535
  /**
530
536
  * Contents of a state machine input