@xmov/avatar 2.1.2 → 2.2.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.
- package/dist/agent/avatar.cjs +1 -1
- package/dist/agent/avatar.modern.js +1 -1
- package/dist/agent/avatar.module.js +1 -1
- package/dist/agent/avatar.umd.js +1 -1
- package/dist/agent/index.d.ts +5 -3
- package/dist/agent/types.d.ts +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -1
- 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/package.json +1 -1
- package/src/index.ts +8 -4
package/dist/index.d.ts
CHANGED
|
@@ -93,7 +93,8 @@ export default class XmovAvatar {
|
|
|
93
93
|
*/
|
|
94
94
|
private initializeClient;
|
|
95
95
|
private renderFrameCallback;
|
|
96
|
-
init(params: IInitParams): Promise<
|
|
96
|
+
init(params: IInitParams): Promise<void>;
|
|
97
|
+
protected initializeSession(params: IInitParams): Promise<ISessionResponse | null | undefined>;
|
|
97
98
|
/**
|
|
98
99
|
* 初始化音频捕获(MSE 模式)
|
|
99
100
|
* 通过 AudioContext.createMediaElementSource 接管 <audio> 元素输出,
|