added error for comment live object when create new comment
fixed user reporting
Removed check for comments since post contains only comments without replies
recalculate comments counter for replies
clean in-memory cache when the session is reset
added user displayName to comments output
fixed crash of file uploading
force unix line ending for windows
added withCredentials() so the cookie gets saved
Allowed avatarCustomUrl to be passed to show avatars which are stored in the external systems
Added case insensitive community search
You can now create custom posts
PostRepository.createPost({ dataType: string, data: Object })
Comment
Fix the issue of fetching X comments with first / last sorting in CommentRepository.queryComments(parameters: Object)
Reaction
Normalized API accross the SDK
Post
PostRepository()
PostRepository.postForId(postId: string)
PostRepository.createPost(postType: string)
PostRepository.updatePost({ postId: string, data: Object })
async PostRepository.deletePost(postId: string)
async PostRepository.addReaction(postId: string)
async PostRepository.removeReaction(postId: string)
async PostRepository.flag(postId: string)
async PostRepository.unflag(postId: string)
async PostRepository.isFlaggedByMe(postId: string)
Comment
CommentRepository()
CommentRepository.queryComments(parameters: Object)
CommentRepository.commentForId(commentId: string)
CommentRepository.createComment(parameters: Object)
CommentRepository.editComment({ commentId: string, data: Object })
async CommentRepository.deleteComment(commentId: string)
async CommentRepository.addReaction(commentId: string)
async CommentRepository.removeReaction(commentId: string)
async CommentRepository.flag(commentId: string)
async CommentRepository.unflag(commentId: string)
async CommentRepository.isFlaggedByMe(commentId: string)
User
UserRepository.getAllUsers(sortBy?: EkoUserSortingMethod)
UserRepository.searchUserByDisplayName(search: string)