Skip to content

Commit

Permalink
v2.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
mayur-bhandari committed Jun 15, 2020
1 parent cd2cde0 commit 14a99ec
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 4 deletions.
22 changes: 22 additions & 0 deletions CometChat.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,21 @@ export namespace CometChat {
* @memberof CometChat
*/
export function removeGroupListener(name: string): void;
/**
* It will add the LoginEventListener to list of the LoginEventListeners.
*
* @param {string} name
* @param {Function} callback
* @memberof CometChat
*/
export function addLoginListener(name: string, loginEventListenerHandler: LoginListener): void;
/**
* It will remove the LoginEventListener from the list of the LoginEventListeners.
*
* @param {string} name
* @memberof CometChat
*/
export function removeLoginListener(name: string): void;
/**
* Get the current connection status
*
Expand Down Expand Up @@ -1572,6 +1587,13 @@ export namespace CometChat {
onError?: Function;
constructor(...args: any[]);
}
export class LoginListener {
loginSuccess?: Function;
loginFailure?: Function;
logoutFailure?: Function;
logoutSuccess?: Function;
constructor(...args: any[]);
}


export class Call extends BaseMessage implements Message {
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/cordova-ionic-chat@2.0.9 --save
npm install @cometchat-pro/cordova-ionic-chat@2.0.10 --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/cordova-ionic-chat@2.0.9/CometChat.js"></script>
<script type="text/javascript" src="https://unpkg.com/@cometchat-pro/cordova-ionic-chat@2.0.10/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.0.9",
"version": "2.0.10",
"description": "A complete chat solution.",
"main": "CometChat.js",
"scripts": {
Expand Down

0 comments on commit 14a99ec

Please sign in to comment.