@lottiefiles/dotlottie-web 0.28.0 → 0.29.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.
Binary file
@@ -252,6 +252,7 @@ declare class DotLottieWorker {
252
252
  removeEventListener<T extends EventType>(type: T, listener?: EventListener<T>): void;
253
253
  static setWasmUrl(url: string): void;
254
254
  loadStateMachine(stateMachineId: string): Promise<boolean>;
255
+ loadStateMachineData(stateMachineData: string): Promise<boolean>;
255
256
  startStateMachine(): Promise<boolean>;
256
257
  stopStateMachine(): Promise<boolean>;
257
258
  postStateMachineEvent(event: string): Promise<boolean>;
@@ -252,6 +252,7 @@ declare class DotLottieWorker {
252
252
  removeEventListener<T extends EventType>(type: T, listener?: EventListener<T>): void;
253
253
  static setWasmUrl(url: string): void;
254
254
  loadStateMachine(stateMachineId: string): Promise<boolean>;
255
+ loadStateMachineData(stateMachineData: string): Promise<boolean>;
255
256
  startStateMachine(): Promise<boolean>;
256
257
  stopStateMachine(): Promise<boolean>;
257
258
  postStateMachineEvent(event: string): Promise<boolean>;