@rive-app/canvas 2.37.4 → 2.37.6

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/rive.wasm CHANGED
Binary file
Binary file
@@ -8,14 +8,16 @@ export declare class RuntimeLoader {
8
8
  private static wasmURL;
9
9
  private static wasmFallbackURL;
10
10
  private static wasmBinary;
11
+ private static errorCallbackQueue;
11
12
  private constructor();
12
13
  /**
13
14
  * When true, performance.mark / performance.measure entries are emitted for
14
15
  * WASM initialization.
15
16
  */
16
17
  static enablePerfMarks: boolean;
18
+ private static notifyError;
17
19
  private static loadRuntime;
18
- static getInstance(callback: RuntimeCallback): void;
20
+ static getInstance(callback: RuntimeCallback, onError?: (error: Error) => void): void;
19
21
  static awaitInstance(): Promise<rc.RiveCanvas>;
20
22
  static setWasmUrl(url: string): void;
21
23
  static getWasmUrl(): string;