@rive-app/webgl-single 2.23.2 → 2.23.3

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.23.2",
3
+ "version": "2.23.3",
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
@@ -663,26 +663,26 @@ export declare class Rive {
663
663
  /**
664
664
  * The width of the artboard.
665
665
  *
666
- * This will return undefined if the artboard is not loaded yet and a custom
666
+ * This will return 0 if the artboard is not loaded yet and a custom
667
667
  * width has not been set.
668
668
  *
669
669
  * Do not set this value manually when using {@link resizeDrawingSurfaceToCanvas}
670
670
  * with a {@link Layout.fit} of {@link Fit.Layout}, as the artboard width is
671
671
  * automatically set.
672
672
  */
673
- get artboardWidth(): number | undefined;
673
+ get artboardWidth(): number;
674
674
  set artboardWidth(value: number);
675
675
  /**
676
676
  * The height of the artboard.
677
677
  *
678
- * This will return undefined if the artboard is not loaded yet and a custom
678
+ * This will return 0 if the artboard is not loaded yet and a custom
679
679
  * height has not been set.
680
680
  *
681
681
  * Do not set this value manually when using {@link resizeDrawingSurfaceToCanvas}
682
682
  * with a {@link Layout.fit} of {@link Fit.Layout}, as the artboard height is
683
683
  * automatically set.
684
684
  */
685
- get artboardHeight(): number | undefined;
685
+ get artboardHeight(): number;
686
686
  set artboardHeight(value: number);
687
687
  /**
688
688
  * Reset the artboard size to its original values.