@rive-app/webgl2-threads 2.49.4 → 2.50.0

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-threads",
3
- "version": "2.49.4",
3
+ "version": "2.50.0",
4
4
  "description": "Rive web runtime with the WebGL2 renderer, using threads on cross-origin isolated pages. Rive is an agent-native 2D and 3D engine for games, apps, and interactive UI.",
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
- import { RuntimeLoader, type RuntimeCallback } from "./runtimeLoader";
2
+ import { RuntimeLoader, type RuntimeCallback, type ScriptFetchOptions } from "./runtimeLoader";
3
3
  import { SemanticTreeModel, AccessibilityOverlay, SemanticMode, type RiveSemanticsOptions } from "./semantics";
4
4
  import { ImageWrapper, AudioWrapper, FontWrapper, RiveFont as RiveFontClassUtil } from "./utils";
5
5
  export type AssetLoadCallback = (asset: rc.FileAsset, bytes: Uint8Array) => boolean;
@@ -97,7 +97,7 @@ export declare class Layout {
97
97
  runtimeFit(rive: rc.RiveCanvas): rc.Fit;
98
98
  runtimeAlignment(rive: rc.RiveCanvas): rc.Alignment;
99
99
  }
100
- export { RuntimeLoader, type RuntimeCallback };
100
+ export { RuntimeLoader, type RuntimeCallback, type ScriptFetchOptions };
101
101
  /**
102
102
  * @deprecated State machine inputs are deprecated and will be removed in a
103
103
  * future major version: please use data binding properties instead. See