sceyt-chat-react-uikit 1.6.9-beta.2 → 1.6.9-beta.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sceyt-chat-react-uikit",
3
- "version": "1.6.9-beta.2",
3
+ "version": "1.6.9-beta.21",
4
4
  "description": "Interactive React UI Components for Sceyt Chat.",
5
5
  "author": "Sceyt",
6
6
  "license": "MIT",
@@ -29,7 +29,7 @@
29
29
  "react-dom": "18.2.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@reduxjs/toolkit": "^1.8.5",
32
+ "@reduxjs/toolkit": "^2.8.2",
33
33
  "@testing-library/jest-dom": "^4.2.4",
34
34
  "@testing-library/react": "^9.5.0",
35
35
  "@testing-library/user-event": "^7.2.1",
@@ -40,7 +40,7 @@
40
40
  "@types/react": "^18.0.18",
41
41
  "@types/react-dom": "18.0.6",
42
42
  "@types/react-easy-crop": "^2.0.0",
43
- "@types/react-redux": "^7.1.24",
43
+ "@types/react-redux": "^7.1.34",
44
44
  "@types/redux-saga": "^0.10.5",
45
45
  "@types/styled-components": "^5.1.26",
46
46
  "@types/uuid": "^9.0.0",
@@ -93,9 +93,9 @@
93
93
  "file-saver": "^2.0.5",
94
94
  "uuid": "^9.0.0",
95
95
  "styled-components": "^5.3.5",
96
- "react-redux": "^8.0.2",
97
- "redux": "^4.2.0",
98
- "redux-saga": "^1.1.3",
96
+ "react-redux": "^9.2.0",
97
+ "redux": "^5.0.1",
98
+ "redux-saga": "^1.3.0",
99
99
  "wavesurfer.js": "^6.6.3",
100
100
  "react-circular-progressbar": "^2.1.0"
101
101
  }
package/types/index.d.ts CHANGED
@@ -79,6 +79,7 @@ export interface IMessage {
79
79
  tid?: string;
80
80
  body: string;
81
81
  user: IUser;
82
+ channelId: string;
82
83
  createdAt: Date;
83
84
  updatedAt?: Date;
84
85
  type: string;
@@ -216,6 +217,27 @@ export interface IContact {
216
217
  export interface IContactsMap {
217
218
  [key: string]: IContact;
218
219
  }
220
+ export interface IOGMetadata {
221
+ id: string;
222
+ url: string;
223
+ og: {
224
+ audio: {
225
+ url: string;
226
+ }[];
227
+ description: string;
228
+ favicon: {
229
+ url: string;
230
+ };
231
+ image: {
232
+ url: string;
233
+ }[];
234
+ localeAlternate: any[];
235
+ title: string;
236
+ video: {
237
+ url: string;
238
+ }[];
239
+ };
240
+ }
219
241
  export declare type MuteTime = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 24;
220
242
  export declare type ICustomAvatarColors = [string, string, string, string, string, string];
221
243
  export interface ChannelQueryParams {