@avaturn-live/web-sdk 0.4.6 → 0.4.8

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/dist/main.d.ts CHANGED
@@ -35,6 +35,8 @@ export declare class AvaturnHead implements IAvaturnHead {
35
35
  protected handlers: {
36
36
  [K in AvaturnHeadEvent]?: AvaturnEventCallback<K>[];
37
37
  };
38
+ protected lastLocalAudioState: boolean | null;
39
+ protected lastLocalMicState: string | null;
38
40
  /**
39
41
  * Creates an instance of AvaturnHead using API options.
40
42
  * @constructor
@@ -68,13 +70,9 @@ export declare class AvaturnHead implements IAvaturnHead {
68
70
  cancelAllTasks(): Promise<void>;
69
71
  private patchConfig;
70
72
  changeVoice(config: TTSConfig): Promise<void>;
71
- protected applyEventHandlers(config?: {
72
- timeout?: number;
73
- }): Promise<void>;
73
+ protected applyEventHandlers(): void;
74
74
  attachDOMNode(node: HTMLElement): void;
75
- init(config?: {
76
- timeout?: number;
77
- }): Promise<void>;
75
+ init(): Promise<void>;
78
76
  join(opts?: {
79
77
  startAudioOff?: boolean;
80
78
  }): Promise<void>;