easemob-chat-uikit 3.0.2 → 3.0.3
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/ChatUI.esm.js +23670 -22952
- package/ChatUI.js +73 -73
- package/ChatUI.umd.js +74 -74
- package/README.md +4 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -161,11 +161,10 @@ const ChatApp = () => {
|
|
|
161
161
|
const client = useClient();
|
|
162
162
|
useEffect(() => {
|
|
163
163
|
client &&
|
|
164
|
-
client
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
})
|
|
164
|
+
client.login({
|
|
165
|
+
userId: 'userId',
|
|
166
|
+
token: 'token',
|
|
167
|
+
})
|
|
169
168
|
.then(res => {
|
|
170
169
|
console.log('get token success', res);
|
|
171
170
|
// create a conversation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "easemob-chat-uikit",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "Easemob UIKit for React - A comprehensive React UI component library for building instant messaging applications with chat, voice/video calling, and group management features",
|
|
5
5
|
"main": "ChatUI.umd.js",
|
|
6
6
|
"type": "module",
|