virtual-human-cf 1.0.6 → 1.0.7

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.
Files changed (2) hide show
  1. package/README.md +10 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -113,7 +113,14 @@ const onEnded = () => {
113
113
  | 事件名 | 说明 | 回调参数 |
114
114
  |--------|------|----------|
115
115
  | connected | WebSocket 连接成功 | - |
116
- | eventNotifaction | 自定义事件接收器 | 载荷数据: {
116
+ | eventNotifaction | 自定义事件接收器 | 载荷数据 |
117
+ | end | 数字人对话结束 | 载荷数据 |
118
+ | pause | 暂停播放 | 载荷数据 |
119
+ | error | 错误事件 | 错误信息 |
120
+ | playComplete | 播放完成,数字人对话结束,关闭数字人 | - |
121
+
122
+ ```json
123
+ eventNotifaction => 载荷数据 :{
117
124
 
118
125
  "type": "send_event",
119
126
  // 自定义事件名称
@@ -122,11 +129,8 @@ const onEnded = () => {
122
129
  "params": {
123
130
  "domid": "wrap-1"
124
131
  }
125
- } |
126
- | end | 数字人对话结束 | 载荷数据 |
127
- | pause | 暂停播放 | 载荷数据 |
128
- | error | 错误事件 | 错误信息 |
129
- | playComplete | 播放完成,数字人对话结束,关闭数字人 | - |
132
+ }
133
+ ```
130
134
 
131
135
  #### 示例
132
136
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "virtual-human-cf",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Vue3 Digital Human Component Package by cf ",
5
5
  "main": "dist/virtual-human-cf.umd.js",
6
6
  "module": "dist/virtual-human-cf.es.js",