Skip to content

Commit

Permalink
2.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
mayur-bhandari committed Oct 5, 2020
1 parent c3dde74 commit efb4758
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 31 deletions.
54 changes: 27 additions & 27 deletions CometChat.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -643,11 +643,11 @@ export namespace 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
*/
* 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 All @@ -672,15 +672,15 @@ export namespace CometChat {
export function logout(): Promise<Object>;

/**
* method to set resource, platform and language variable.
*
* @static
* @param {string} resource
* @param {string} platform
* @param {string} language
* @returns void
* @memberof CometChat
*/
* method to set resource, platform and language variable.
*
* @static
* @param {string} resource
* @param {string} platform
* @param {string} language
* @returns void
* @memberof CometChat
*/
export function setSource(resource: string, platform: string, language: string): void;

/**
Expand Down Expand Up @@ -749,8 +749,8 @@ export namespace CometChat {
setLastActiveAt(lastActiveAt: number): void;
getLink(): string;
setLink(link: string): string;
getMetadata(): string;
setMetadata(metadata: string): void;
getMetadata(): Object;
setMetadata(metadata: Object): void;
getRole(): string;
setRole(role: string): void;
getStatus(): string;
Expand All @@ -760,7 +760,7 @@ export namespace CometChat {
setBlockedByMe(blockedByMe: boolean): void;
getBlockedByMe(): boolean;
setHasBlockedMe(hasBlockedMe: boolean): void;
getHasBlockedMeMe(): boolean;
getHasBlockedMe(): boolean;
constructor(userObj: UserObj | any);
}
export class Me extends User {
Expand Down Expand Up @@ -1523,8 +1523,8 @@ export namespace CometChat {
setDescription(description: string): void;
getOwner(): string;
setOwner(owner: string): void;
getMetadata(): string;
setMetadata(metadata: string): void;
getMetadata(): Object;
setMetadata(metadata: Object): void;
getCreatedAt(): number;
setCreatedAt(createdAt: number): void;
getUpdatedAt(): number;
Expand Down Expand Up @@ -1653,9 +1653,9 @@ export namespace CometChat {
setData(data: object): void;
getSessionId(): string;
setSessionId(sessionId: string): void;
getMetadata(): any;
getMetadata(): Object;
getSender(): User;
setMetadata(metadata: any): void;
setMetadata(metadata: Object): void;
getAction(): string;
setAction(action: string): void;
getInitiatedAt(): number;
Expand Down Expand Up @@ -1819,8 +1819,8 @@ export namespace CometChat {
getActionOn(): User | Group | BaseMessage;
setActionFor(actionFor: User | Group | BaseMessage): void;
getActionFor(): User | Group | BaseMessage | any;
getMetadata(): any;
setMetadata(metadata: any): void;
getMetadata(): Object;
setMetadata(metadata: Object): void;
}

export class GroupsRequest {
Expand Down Expand Up @@ -1986,8 +1986,8 @@ export namespace CometChat {
setReceiverType(receiverType: string): void;
getReceiverId(): string;
setReceiverId(receiverId: string): void;
getMetadata(): string;
setMetadata(meta: string): void;
getMetadata(): Object;
setMetadata(meta: Object): void;
getSender(): User;
setSender(sender: User): void;
}
Expand Down Expand Up @@ -2015,8 +2015,8 @@ export namespace CometChat {
setLastActiveAt(lastActiveAt: number): void;
getLink(): string;
setLink(link: string): void;
getMetadata(): string;
setMetadata(metadata: string): void;
getMetadata(): Object;
setMetadata(metadata: Object): void;
getRole(): string;
setRole(role: string): void;
getStatus(): string;
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.11 --save
npm install @cometchat-pro/cordova-ionic-chat@2.0.12 --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.11/CometChat.js"></script>
<script type="text/javascript" src="https://unpkg.com/@cometchat-pro/cordova-ionic-chat@2.0.12/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.12-beta1",
"version": "2.0.12",
"description": "A complete chat solution.",
"main": "CometChat.js",
"scripts": {
Expand Down

0 comments on commit efb4758

Please sign in to comment.