@xmov/avatar 2.3.2-beta.1 → 2.4.0-alpha.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/dist/index.d.ts CHANGED
@@ -17,6 +17,9 @@ export default class XmovAvatar {
17
17
  private networkMonitor;
18
18
  private ttsa;
19
19
  private debugOverlay;
20
+ private sentryReporter;
21
+ /** 首帧 span 句柄(init 时启动,首次 BODY 帧到达时结束) */
22
+ private firstFrameSpan;
20
23
  private _offlineTimer;
21
24
  private readonly _offlineInterval;
22
25
  private _env;
@@ -138,6 +141,7 @@ export default class XmovAvatar {
138
141
  isDestroyed(): boolean;
139
142
  destroyClient(): Promise<void>;
140
143
  destroy(stop_reason?: string): Promise<void>;
144
+ protected disconnectClientForDestroy(stopReason: string): Promise<void>;
141
145
  idle(): void;
142
146
  listen(): void;
143
147
  think(): void;
@@ -146,6 +150,7 @@ export default class XmovAvatar {
146
150
  client_speak_id: string;
147
151
  client_frame: number;
148
152
  }): string | undefined;
153
+ private speakInternal;
149
154
  setOffsetFrame(offsetFrame: number): void;
150
155
  syncTimestamp(): void;
151
156
  /**