@rive-app/webgl2 2.31.3 → 2.31.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/webgl2",
3
- "version": "2.31.3",
3
+ "version": "2.31.4",
4
4
  "description": "Rive's webgl2 based web api.",
5
5
  "main": "rive.js",
6
6
  "homepage": "https://rive.app",
package/rive.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import * as rc from "./rive_advanced.mjs";
2
- import { FinalizableTarget } from "./utils";
3
2
  export type AssetLoadCallback = (asset: rc.FileAsset, bytes: Uint8Array) => Boolean;
4
3
  export type { FileAsset, AudioAsset, FontAsset, ImageAsset, } from "./rive_advanced.mjs";
5
4
  /**
@@ -307,7 +306,7 @@ export interface RiveFileParameters {
307
306
  onLoad?: EventCallback;
308
307
  onLoadError?: EventCallback;
309
308
  }
310
- export declare class RiveFile implements FinalizableTarget {
309
+ export declare class RiveFile implements rc.FinalizableTarget {
311
310
  private static readonly missingErrorMessage;
312
311
  private static readonly fileLoadErrorMessage;
313
312
  private src;
package/rive.js CHANGED
@@ -3613,7 +3613,7 @@ be();
3613
3613
  /* 2 */
3614
3614
  /***/ ((module) => {
3615
3615
 
3616
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/webgl2","version":"2.31.3","description":"Rive\'s webgl2 based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)","Chris Dalton <chris@rive.app> (https://rive.app)"],"license":"MIT","files":["rive.js","rive.wasm","rive.js.map","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
3616
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/webgl2","version":"2.31.4","description":"Rive\'s webgl2 based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)","Chris Dalton <chris@rive.app> (https://rive.app)"],"license":"MIT","files":["rive.js","rive.wasm","rive.js.map","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
3617
3617
 
3618
3618
  /***/ }),
3619
3619
  /* 3 */
@@ -6086,7 +6086,7 @@ var Rive = /** @class */ (function () {
6086
6086
  type: EventType.Load,
6087
6087
  data: (_a = this.src) !== null && _a !== void 0 ? _a : "buffer",
6088
6088
  });
6089
- // Only initialize paused state machines after the load event has been fired
6089
+ // Only initialize paused state machines after the load event has been fired
6090
6090
  // to allow users to initialize inputs and view models before the first advance
6091
6091
  this.animator.advanceIfPaused();
6092
6092
  // Flag ready for playback commands and clear the task queue; this order