Package Exports
- easemob-websdk
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (easemob-websdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Changelog
v1.4.6
###Feature
- add demo.html
###BugFix
- to decoupling from Demo namespaces, delete codes using Demo
- delete connection.prototype.createRoom, which is not supported by server
v1.4.5
###Feature
- GNU version number:
Major_Version_Number.Minor_Version_Number.Revision_Number - support webrtc
- while http access,use ip directly instead of ServerName,avoid DNS hijacking.
isHttpDNS:true
###BugFix
- does not update catact list UI after destory group
- does not call the callback function after send out the cmd message
1.1.4
- add browser version support umd
- remove strophe from sdk because it't too big for webpack or other compiler
How to install
npm install easemob-webim --save
require('easemob-websdk');Demo.conn = new WebIM.connection({
isMultiLoginSessions: WebIM.config.isMultiLoginSessions,
https: typeof WebIM.config.https === 'boolean' ? WebIM.config.https : location.protocol === 'https:',
url: WebIM.config.xmppURL,
isAutoLogin: false,
heartBeatWait: WebIM.config.heartBeatWait,
autoReconnectNumMax: WebIM.config.autoReconnectNumMax,
autoReconnectInterval: WebIM.config.autoReconnectInterval
});How to release
npm install
npm run build