@glodon-aiot/chat-app-sdk 0.0.5 → 0.0.6

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 +2 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -303,9 +303,8 @@ new WebChatClient(options: WebChatOptions)
303
303
 
304
304
  ```typescript
305
305
  {
306
- type: 'app' | 'bot',
307
- botId?: string, // Bot ID(type 为 'bot' 时必填)
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?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glodon-aiot/chat-app-sdk",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Glodon AIoT Chat App SDK",
5
5
  "author": "Glodon AIoT Team",
6
6
  "sideEffects": [