@xmov/avatar 2.0.0-alpha.40 → 2.0.0-alpha.42
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/README.md +3 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -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/dist/modules/ResourceManager.d.ts +2 -1
- package/package.json +4 -2
- package/src/baseRender/MSEAudioPlayer.ts +18 -7
- package/src/index.ts +2 -1
- package/src/modules/ResourceManager.ts +7 -3
package/README.md
CHANGED
|
@@ -146,7 +146,7 @@ import XingyunAvatarAgent from '@xmov/avatar/agent';
|
|
|
146
146
|
pnpm install
|
|
147
147
|
cd app/ && pnpm install
|
|
148
148
|
|
|
149
|
-
#
|
|
149
|
+
# 同时监听根 SDK 和 Agent SDK
|
|
150
150
|
pnpm sdk
|
|
151
151
|
|
|
152
152
|
# 启动 Demo 应用
|
|
@@ -155,6 +155,8 @@ pnpm app
|
|
|
155
155
|
# 浏览器访问 http://localhost:5173
|
|
156
156
|
```
|
|
157
157
|
|
|
158
|
+
`pnpm sdk` 会并行运行 `sdk:core` 和 `sdk:agent`。只需监听其中一个入口时,可以单独运行 `pnpm sdk:core` 或 `pnpm sdk:agent`。
|
|
159
|
+
|
|
158
160
|
### 构建
|
|
159
161
|
|
|
160
162
|
```bash
|