@msssystems/mss-link-sdk 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,4 +9,5 @@ export declare class ChatsClient {
9
9
  searchUsers(query: string): Promise<any>;
10
10
  archive(chatId: string): Promise<any>;
11
11
  hide(chatId: string): Promise<any>;
12
+ delete(chatId: string): Promise<any>;
12
13
  }
@@ -26,4 +26,7 @@ export class ChatsClient {
26
26
  async hide(chatId) {
27
27
  return this.http.post(`/link/v1/chats/${chatId}/hide`);
28
28
  }
29
+ async delete(chatId) {
30
+ return this.http.delete(`/link/v1/chats/${chatId}`);
31
+ }
29
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@msssystems/mss-link-sdk",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Official managed application SDK for MSS ecosystem",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",