Skip to content

Commit

Permalink
v2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mayur-bhandari committed Dec 15, 2020
1 parent 3aa0347 commit c9b4cee
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CometChat.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,8 @@ export namespace CometChat {
getBlockedByMe(): boolean;
setHasBlockedMe(hasBlockedMe: boolean): void;
getHasBlockedMe(): boolean;
setTags(tags: Array<String>): void;
getTags(): Array<String>;
constructor(userObj: UserObj | any);
}
export class Me extends User {
Expand Down Expand Up @@ -1552,6 +1554,8 @@ export namespace CometChat {
setJoinedAt(joinedAt: string): void;
getMembersCount(): number;
setMembersCount(membersCount: number): void;
getTags(): Array<String>;
setTags(tags: Array<String>): void;
}

export class ConnectionListener {
Expand Down Expand Up @@ -1855,6 +1859,8 @@ export namespace CometChat {
setLimit(limit: number): this;
setSearchKeyword(searchKeyword: string): this;
joinedOnly(hasJoined: boolean): this;
withTags(withTags: boolean): this;
setTags(tags: Array<String>): this;
build(): GroupsRequest;
}

Expand Down Expand Up @@ -1932,6 +1938,8 @@ export namespace CometChat {
setRole(role: string): this;
setRoles(roles: Array<String>): this;
friendsOnly(friendsOnly: boolean): this;
setTags(tags: Array<String>): this;
withTags(withTags: boolean): this;
build(): UsersRequest;
}

Expand Down
2 changes: 1 addition & 1 deletion CometChat.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This guide demonstrates how to add chat to a Javascript application using CometC
First, install via npm

```
npm install @cometchat-pro/[email protected].0 --save
npm install @cometchat-pro/[email protected].1 --save
```

Then, import the `CometChat` object wherever you want to use CometChat
Expand All @@ -47,7 +47,7 @@ import { CometChat } from "@cometchat-pro/cordova-ionic-chat"
Include the CometChat Javascript library in your HTML code

```
<script type="text/javascript" src="https://unpkg.com/@cometchat-pro/[email protected].0/CometChat.js"></script>
<script type="text/javascript" src="https://unpkg.com/@cometchat-pro/[email protected].1/CometChat.js"></script>
```

To learn more, please refer to our Documentation: <a href="https://prodocs.cometchat.com/v2.0/docs/cordova-ionic-quick-start">Documentation</a>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cometchat-pro/cordova-ionic-chat",
"version": "2.1.0",
"version": "2.1.1",
"description": "A complete chat solution.",
"main": "CometChat.js",
"scripts": {
Expand Down

0 comments on commit c9b4cee

Please sign in to comment.