@glodon-aiot/chat-app-sdk 0.0.5 → 0.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.
- package/README.md +2 -4
- package/es/index.esm.js +850 -558
- package/libs/cn/index.js +4 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -303,9 +303,8 @@ new WebChatClient(options: WebChatOptions)
|
|
|
303
303
|
|
|
304
304
|
```typescript
|
|
305
305
|
{
|
|
306
|
-
type: 'app'
|
|
307
|
-
|
|
308
|
-
appInfo?: { // App 信息(type 为 'app' 时必填)
|
|
306
|
+
type: 'app',
|
|
307
|
+
appInfo: { // 必填
|
|
309
308
|
appId: string, // 应用 ID
|
|
310
309
|
workflowId: string, // 工作流 ID
|
|
311
310
|
draft_mode?: boolean, // 是否使用草稿模式
|
|
@@ -358,7 +357,6 @@ new WebChatClient(options: WebChatOptions)
|
|
|
358
357
|
placeholder?: string, // 输入框占位符
|
|
359
358
|
isShow?: boolean, // 是否显示输入框
|
|
360
359
|
defaultText?: string, // 默认文本
|
|
361
|
-
isNeedAudio?: boolean, // 是否需要语音输入
|
|
362
360
|
renderChatInputRightActions?: () => ReactNode, // 自定义右侧操作按钮
|
|
363
361
|
},
|
|
364
362
|
uiKitCustomWebComponents?: {
|