@college-africa/chat-ui 1.2.0 → 1.2.2
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/index.d.ts +1 -1
- package/dist/index.js +14 -83
- package/dist/index.mjs +6613 -15473
- package/dist/summaries-0iZfut4e.cjs +11 -0
- package/dist/summaries-RBBM8btI.js +8122 -0
- package/dist/utils/summaries.d.ts +1 -1
- package/package.json +22 -22
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GetMessagesSummaryParams } from '@college-africa/chat-sdk';
|
|
2
2
|
export declare const setActiveConversation: (conversationId: string | null) => void;
|
|
3
3
|
export declare const getActiveConversationId: () => string | null;
|
|
4
|
-
export declare const fetchSummaries: (params
|
|
4
|
+
export declare const fetchSummaries: (params?: GetMessagesSummaryParams) => Promise<{
|
|
5
5
|
id: `group:${string}` | `group:${number}` | `user:${string}` | `user:${number}`;
|
|
6
6
|
group?: number;
|
|
7
7
|
user?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@college-africa/chat-ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "React chat UI component library for College Africa Chat",
|
|
@@ -34,35 +34,35 @@
|
|
|
34
34
|
"@emotion/react": "^11.0.0",
|
|
35
35
|
"@emotion/styled": "^11.0.0",
|
|
36
36
|
"@mui/material": "^6.0.0 || ^7.0.0",
|
|
37
|
-
"react": "^19.0.0",
|
|
38
|
-
"react-dom": "^19.0.0"
|
|
37
|
+
"react": "^17.0.0||^18.0.0||^19.0.0",
|
|
38
|
+
"react-dom": "^17.0.0||^18.0.0||^19.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@mui/icons-material": "^7.
|
|
42
|
-
"dexie": "^4.
|
|
43
|
-
"dexie-react-hooks": "^4.
|
|
41
|
+
"@mui/icons-material": "^7.0.0",
|
|
42
|
+
"dexie": "^4.4.2",
|
|
43
|
+
"dexie-react-hooks": "^4.4.0",
|
|
44
44
|
"formik": "^2.4.9",
|
|
45
|
-
"jose": "^6.
|
|
45
|
+
"jose": "^6.2.2",
|
|
46
46
|
"@college-africa/chat-sdk": "1.2.0",
|
|
47
47
|
"yup": "^1.7.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@emotion/react": "^11.14.0",
|
|
51
|
-
"@emotion/styled": "^11.14.
|
|
52
|
-
"@mui/material": "^7.
|
|
53
|
-
"@testing-library/jest-dom": "^6.
|
|
54
|
-
"@testing-library/react": "^16.
|
|
55
|
-
"@types/react": "^19.
|
|
56
|
-
"@types/react-dom": "^19.
|
|
57
|
-
"@vitejs/plugin-react": "^
|
|
58
|
-
"@vitest/ui": "^
|
|
59
|
-
"fake-indexeddb": "^6.
|
|
60
|
-
"jsdom": "^
|
|
61
|
-
"react": "^19.
|
|
62
|
-
"react-dom": "^19.
|
|
51
|
+
"@emotion/styled": "^11.14.1",
|
|
52
|
+
"@mui/material": "^7.0.0",
|
|
53
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
54
|
+
"@testing-library/react": "^16.3.2",
|
|
55
|
+
"@types/react": "^19.2.14",
|
|
56
|
+
"@types/react-dom": "^19.2.3",
|
|
57
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
58
|
+
"@vitest/ui": "^4.1.4",
|
|
59
|
+
"fake-indexeddb": "^6.2.5",
|
|
60
|
+
"jsdom": "^29.0.2",
|
|
61
|
+
"react": "^19.2.5",
|
|
62
|
+
"react-dom": "^19.2.5",
|
|
63
63
|
"typescript": "^5.7.3",
|
|
64
|
-
"vite": "^
|
|
65
|
-
"vite-plugin-dts": "^4.
|
|
66
|
-
"vitest": "^
|
|
64
|
+
"vite": "^8.0.8",
|
|
65
|
+
"vite-plugin-dts": "^4.5.4",
|
|
66
|
+
"vitest": "^4.1.4"
|
|
67
67
|
}
|
|
68
68
|
}
|