@rive-app/canvas-single 2.29.2 → 2.29.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/canvas-single",
3
- "version": "2.29.2",
3
+ "version": "2.29.3",
4
4
  "description": "Rive's high-level canvas based web api all in one js file.",
5
5
  "main": "rive.js",
6
6
  "homepage": "https://rive.app",
package/rive.d.ts CHANGED
@@ -880,6 +880,7 @@ export declare class ViewModelInstanceList extends ViewModelInstanceValue {
880
880
  constructor(instance: rc.ViewModelInstanceList, parent: ViewModelInstance);
881
881
  get length(): number;
882
882
  addInstance(instance: ViewModelInstance): void;
883
+ addInstanceAt(instance: ViewModelInstance, index: number): boolean;
883
884
  removeInstance(instance: ViewModelInstance): void;
884
885
  removeInstanceAt(index: number): void;
885
886
  instanceAt(index: number): ViewModelInstance | null;
@@ -899,7 +900,7 @@ export declare class ViewModelInstanceColor extends ViewModelInstanceValue {
899
900
  }
900
901
  export declare class ViewModelInstanceAssetImage extends ViewModelInstanceValue {
901
902
  constructor(instance: rc.ViewModelInstanceAssetImage, root: ViewModelInstance);
902
- set value(image: rc.Image);
903
+ set value(image: rc.Image | null);
903
904
  internalHandleCallback(callback: Function): void;
904
905
  }
905
906
  /**