@ethora/chat-component 26.3.3 → 26.3.4
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/components/styled/SendInput.d.ts +4 -4
- package/dist/main.js +6905 -6787
- package/dist/main.js.map +1 -1
- package/dist/networking/stanzaHandlers.d.ts +2 -1
- package/package.json +4 -1
|
@@ -15,6 +15,7 @@ declare const onGetRoomInfo: (stanza: Element) => void;
|
|
|
15
15
|
declare const onGetLastMessageArchive: (stanza: Element) => void;
|
|
16
16
|
declare const onNewRoomCreated: (stanza: Element, xmpp: any) => void;
|
|
17
17
|
declare const onGetChatRooms: (stanza: Element, xmpp: any) => void;
|
|
18
|
+
declare const onRoomMembershipChange: (stanza: Element) => void;
|
|
18
19
|
declare const onRoomKicked: (stanza: Element) => Promise<void>;
|
|
19
20
|
declare const onMessageError: (stanza: Element, client: XmppClient) => Promise<void>;
|
|
20
21
|
export type XMPPErrorInfo = {
|
|
@@ -29,4 +30,4 @@ export type XMPPErrorInfo = {
|
|
|
29
30
|
export declare const handleErrorMessageStanza: (stanza: Element) => XMPPErrorInfo | null;
|
|
30
31
|
declare const onUserUpdate: (stanza: Element) => Promise<void>;
|
|
31
32
|
declare const onChatUpdate: (stanza: Element) => Promise<void>;
|
|
32
|
-
export { onRealtimeMessage, onMessageHistory, onPresenceInRoom, onReactionHistory, onGetLastMessageArchive, handleComposing, onGetChatRooms, onNewRoomCreated, onGetMembers, onGetRoomInfo, onDeleteMessage, onEditMessage, onReactionMessage, onChatInvite, onRoomKicked, onMessageError, onUserUpdate, onChatUpdate, };
|
|
33
|
+
export { onRealtimeMessage, onMessageHistory, onPresenceInRoom, onReactionHistory, onGetLastMessageArchive, handleComposing, onGetChatRooms, onNewRoomCreated, onGetMembers, onGetRoomInfo, onDeleteMessage, onEditMessage, onReactionMessage, onChatInvite, onRoomKicked, onRoomMembershipChange, onMessageError, onUserUpdate, onChatUpdate, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ethora/chat-component",
|
|
3
|
-
"version": "26.3.
|
|
3
|
+
"version": "26.3.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/main.js",
|
|
6
6
|
"types": "dist/main.d.ts",
|
|
@@ -69,6 +69,9 @@
|
|
|
69
69
|
"vite": "^7.0.0",
|
|
70
70
|
"vite-plugin-dts": "^4.5.4"
|
|
71
71
|
},
|
|
72
|
+
"overrides": {
|
|
73
|
+
"csstype": "3.1.3"
|
|
74
|
+
},
|
|
72
75
|
"description": "1. npm create vite@latest 2. select name of project, select type (react/js) 3. cd project-name 4. npm i 5. npm i @ethora/chat-component 6. go to file src/App.tsx and replace it with this code",
|
|
73
76
|
"directories": {
|
|
74
77
|
"lib": "lib"
|