easemob-chat-uikit 1.0.0-beta → 1.0.0-beta-2

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 +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,7 +6,7 @@ easemob-chat-uikit 是基于环信 Chat SDK 的一款 UI 组件库,提供通
6
6
 
7
7
  ## 技术原理
8
8
 
9
- UIKIt 由三部分组成:UI 组件,管理数据的 mobx store, chat SDK。UI 组件包含容器组件 container 复合组件 module, 以及纯 UI 组件 components, 这些不同级别的组件全部对外暴露,用户可以引用任意组件构建自己的应用。UIkit 使用 mobx 管理全局数据,用户可以引用 rootStore 来获得全部数据和 action 方法,可以用 action 方法来操作数据。 UIKit 内部集成了 chat SDK,通过 chat SDK 和服务器交互。<div align=center> <img src="./uikit.png" width = "400" height = "450" /></div>
9
+ UIKIt 由三部分组成:UI 组件,管理数据的 mobx store, chat SDK。UI 组件包含容器组件 container 复合组件 module, 以及纯 UI 组件 components, 这些不同级别的组件全部对外暴露,用户可以引用任意组件构建自己的应用。UIkit 使用 mobx 管理全局数据,用户可以引用 rootStore 来获得全部数据和 action 方法,可以用 action 方法来操作数据。 UIKit 内部集成了 chat SDK,通过 chat SDK 和服务器交互。<div align=center> <img src="https://github.com/easemob/Easemob-UIKit-web/blob/dev/docs/uikit.png" width = "400" height = "450" /></div>
10
10
 
11
11
  ## 功能
12
12
 
@@ -372,7 +372,7 @@ const ChatApp = () => {
372
372
  client
373
373
  .open({
374
374
  user: '',
375
- agoraToken: '',
375
+ pwd: '',
376
376
  })
377
377
  .then(res => {
378
378
  console.log('get token success', res);
@@ -422,7 +422,7 @@ npm run start
422
422
 
423
423
  在浏览器可看到你的应用。
424
424
 
425
- <div align=center style="background: #ddd; padding-top: 8px"> <img src="./chat.png" width = "480" height = "350" /></div>
425
+ <div align=center style="background: #ddd; padding-top: 8px"> <img src="https://github.com/easemob/Easemob-UIKit-web/blob/dev/docs/chat.png" width = "480" height = "350" /></div>
426
426
 
427
427
  在默认 App Key 情况下,为方便快速体验,我们默认支持几种类型的消息下发。点击选中一个成员后,输入你的第一条消息并发送。
428
428
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easemob-chat-uikit",
3
- "version": "1.0.0-beta",
3
+ "version": "1.0.0-beta-2",
4
4
  "description": "easemob uikit",
5
5
  "main": "ChatUI.umd.js",
6
6
  "type": "commonjs",