Skip to content

Commit

Permalink
v2.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mayur-bhandari committed Feb 12, 2020
1 parent fb54976 commit 96b5bbd
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 deletions.
1 change: 1 addition & 0 deletions CometChat.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1810,6 +1810,7 @@ export namespace CometChat {

export class CometChatHelper {
static getConversationFromMessage(message: TextMessage | MediaMessage | CustomMessage | any): Promise<Conversation>;
static processMessage(message: Object): Promise<TextMessage | MediaMessage | CustomMessage | BaseMessage>;
}

export class MessagesRequest {
Expand Down
2 changes: 1 addition & 1 deletion CometChat.js

Large diffs are not rendered by default.

21 changes: 13 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,23 @@ This guide demonstrates how to add chat to a Javascript application using CometC
### NPM
First, install via npm

`Shell`

```shell
npm install @cometchat-pro/cordova-ionic-chat@2.0.5 --save
```
npm install @cometchat-pro/cordova-ionic-chat@2.0.6 --save
```

Then, import the `CometChat` object wherever you want to use CometChat

`JavaScript`
```
import { CometChat } from "@cometchat-pro/cordova-ionic-chat"
```

```Javascript
import { CometChat } from "@cometchat-pro/cordova-ionic-chat"
### HTML (via CDN)
Include the CometChat Javascript library in your HTML code

For v2:

```
<script type="text/javascript" src="https://unpkg.com/@cometchat-pro/cordova-ionic-chat@2.0.6/CometChat.js"></script>
```

To learn more, please refer to our Javascript Developer Documentation: <a href="https://prodocs.cometchat.com/v2.0/docs/cordova-ionic-quick-start">Documentation</a>
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.5",
"version": "2.0.6",
"description": "A complete chat solution.",
"main": "CometChat.js",
"scripts": {
Expand Down

0 comments on commit 96b5bbd

Please sign in to comment.