v4.7.0
          ·
          
            2 commits
          
          to master
          since this release
        
        
        
Added Private Key support in SDK
- Added 
Serverclass and exported it everywhere. - Added 
connect,setCurrentUser,getCurrentUser,disconnect&createAccessTokenin server class. - Added option 
autoSubscribeSocketEventsinsocket-service. - Added test cases for 
clientandserver. 
Improved chat configs
- removed 
config.allow_guest_usersinconversation-model - added 
config.allow_chatandconfig.allow_watch - added 
conversation.canWatch()andconversation.canChat() 
Ban User Support
- Added ban property in `conversation-model.
 - Added API functions - 
banUsers,unbanUsers - Added ListQuery -
ConversationBanListQueryand addedlistfunction in it. - Added 
user.conversation_ban_updatedevent for ban/unban. - Added 
addEventfunction for custom event add(not currently used now but did this for symmetry) 
Socket Improvements
- Added option allowUserPresenceEvents while initializing with default true
 - Added 
allowedRolekey for each socket event and added validations as per those. - allowed 
subscribeAllforanonymousandguestroles also.