@rive-app/webgl-single 1.0.14 → 1.0.18

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.14",
3
+ "version": "1.0.18",
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
@@ -255,6 +255,9 @@ export declare class Rive {
255
255
  private taskQueue;
256
256
  private animator;
257
257
  private static readonly missingErrorMessage;
258
+ durations: number[];
259
+ frameTimes: number[];
260
+ frameCount: number;
258
261
  constructor(params: RiveParameters);
259
262
  static new(params: RiveParameters): Rive;
260
263
  private init;
@@ -276,6 +279,8 @@ export declare class Rive {
276
279
  * Align the renderer
277
280
  */
278
281
  private alignRenderer;
282
+ get fps(): number;
283
+ get frameTime(): string | 0;
279
284
  /**
280
285
  * Cleans up any Wasm-generated objects that need to be manually destroyed:
281
286
  * artboard instances, animation instances, state machine instances.