@xmov/avatar 2.0.0-alpha.61 → 2.0.0-alpha.63
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.module.js +1 -1
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/modules/sentry-reporter.d.ts +58 -0
- package/dist/types/index.d.ts +11 -2
- package/package.json +8 -6
- package/src/global.d.ts +7 -0
- package/src/index.ts +70 -3
- package/src/modules/sentry-reporter.ts +171 -0
- package/src/types/index.ts +13 -0
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;
|
|
@@ -146,6 +149,7 @@ export default class XmovAvatar {
|
|
|
146
149
|
client_speak_id: string;
|
|
147
150
|
client_frame: number;
|
|
148
151
|
}): string | undefined;
|
|
152
|
+
private speakInternal;
|
|
149
153
|
setOffsetFrame(offsetFrame: number): void;
|
|
150
154
|
syncTimestamp(): void;
|
|
151
155
|
/**
|