@rive-app/canvas 2.27.5 → 2.28.1

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",
3
- "version": "2.27.5",
3
+ "version": "2.28.1",
4
4
  "description": "Rive's canvas based web api.",
5
5
  "main": "rive.js",
6
6
  "homepage": "https://rive.app",
package/rive.d.ts CHANGED
@@ -317,6 +317,7 @@ export declare class RiveFile {
317
317
  constructor(params: RiveFileParameters);
318
318
  private initData;
319
319
  init(): Promise<void>;
320
+ private fireLoadError;
320
321
  /**
321
322
  * Subscribe to Rive-generated events
322
323
  * @param type the type of event to subscribe to
@@ -882,6 +883,7 @@ export declare class ViewModelInstanceList extends ViewModelInstanceValue {
882
883
  removeInstance(instance: ViewModelInstance): void;
883
884
  removeInstanceAt(index: number): void;
884
885
  instanceAt(index: number): ViewModelInstance | null;
886
+ swap(a: number, b: number): void;
885
887
  internalHandleCallback(callback: Function): void;
886
888
  }
887
889
  export declare class ViewModelInstanceColor extends ViewModelInstanceValue {