@vserifsaglam/chat-react-client 1.0.6 → 1.0.7

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.
package/dist/types.d.ts CHANGED
@@ -57,7 +57,6 @@ export interface MessageSentEvent {
57
57
  is_read: boolean;
58
58
  attachments?: Attachment[];
59
59
  conversation_uid?: string;
60
- metadata?: Record<string, any>;
61
60
  }
62
61
  export interface MessageEditedEvent {
63
62
  msg_id: number;
@@ -106,6 +105,7 @@ export interface User {
106
105
  attributes: Record<string, any>;
107
106
  file_storage_provider: string;
108
107
  owner_client_id: string;
108
+ specialityName?: string;
109
109
  }
110
110
  export interface Conversation {
111
111
  id: string;
@@ -151,7 +151,6 @@ export interface Message {
151
151
  status: string;
152
152
  is_read: boolean;
153
153
  attachments?: Attachment[];
154
- metadata?: Record<string, any>;
155
154
  }
156
155
  export interface MessagesPagination {
157
156
  page: number;
@@ -169,7 +168,6 @@ export interface SendMessageRequest {
169
168
  attachments?: number[];
170
169
  conversation_uid?: string;
171
170
  isAppointment?: boolean;
172
- metadata?: Record<string, any>;
173
171
  }
174
172
  export interface UpdateMessageRequest {
175
173
  content: string;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@vserifsaglam/chat-react-client",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Frontend library to easliy connect to the chat",
5
- "author": "vahit",
5
+ "author": "vahit",
6
6
  "license": "MIT",
7
7
  "repository": "",
8
8
  "main": "dist/index.js",
@@ -65,4 +65,4 @@
65
65
  "files": [
66
66
  "dist"
67
67
  ]
68
- }
68
+ }