easemob-websdk 4.0.0-beta → 4.0.0
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/Easemob-chat.d.ts +1 -0
- package/Easemob-chat.js +1 -1
- package/package.json +2 -2
- package/readme.md +2 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "easemob-websdk",
|
|
3
|
-
"version": "4.0.0
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Easemob chat websdk",
|
|
5
5
|
"main": "Easemob-chat",
|
|
6
6
|
"scripts": {
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
"author": "easemob",
|
|
10
10
|
"typings": "Easemob-chat.d.ts",
|
|
11
11
|
"license": "ISC"
|
|
12
|
-
}
|
|
12
|
+
}
|
package/readme.md
CHANGED
|
@@ -20,8 +20,7 @@ import websdk from 'easemob-websdk'
|
|
|
20
20
|
const WebIM = {}
|
|
21
21
|
const conn = WebIM.conn = new websdk.connection({
|
|
22
22
|
appKey: 'your app key',
|
|
23
|
-
isHttpDNS: true
|
|
24
|
-
https: true
|
|
23
|
+
isHttpDNS: true
|
|
25
24
|
})
|
|
26
25
|
```
|
|
27
26
|
|
|
@@ -29,8 +28,7 @@ const conn = WebIM.conn = new websdk.connection({
|
|
|
29
28
|
```js
|
|
30
29
|
const options = {
|
|
31
30
|
user: 'username',
|
|
32
|
-
pwd: 'password'
|
|
33
|
-
appKey: 'your app key'
|
|
31
|
+
pwd: 'password'
|
|
34
32
|
};
|
|
35
33
|
conn.open(options);
|
|
36
34
|
```
|