mezon-js 2.11.5 → 2.11.6
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/socket.d.ts +4 -1
- package/package.json +1 -1
- package/socket.ts +4 -0
package/dist/socket.d.ts
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { ApiChannelDescription, ApiChannelMessageHeader, ApiCreateEventRequest, ApiGiveCoffeeEvent, ApiMessageAttachment, ApiMessageMention, ApiMessageReaction, ApiMessageRef, ApiNotificationUserChannel, ApiPermissionUpdate, ApiRole, ApiRpc, ApiTokenSentEvent, ApiUserActivity, ApiWebhook } from "./api.gen";
|
16
|
+
import { ApiChannelDescription, ApiChannelMessage, ApiChannelMessageHeader, ApiCreateEventRequest, ApiGiveCoffeeEvent, ApiMessageAttachment, ApiMessageMention, ApiMessageReaction, ApiMessageRef, ApiNotificationUserChannel, ApiPermissionUpdate, ApiRole, ApiRpc, ApiTokenSentEvent, ApiUserActivity, ApiWebhook } from "./api.gen";
|
17
17
|
import { Session } from "./session";
|
18
18
|
import { ChannelMessage } from "./client";
|
19
19
|
import { WebSocketAdapter } from "./web_socket_adapter";
|
@@ -687,6 +687,9 @@ export interface SdTopicEvent {
|
|
687
687
|
clan_id: string;
|
688
688
|
channel_id: string;
|
689
689
|
message_id: string;
|
690
|
+
user_id: string;
|
691
|
+
last_sent_message?: ApiChannelMessageHeader;
|
692
|
+
message?: ApiChannelMessage;
|
690
693
|
}
|
691
694
|
export interface UserStatusEvent {
|
692
695
|
user_id: string;
|
package/package.json
CHANGED
package/socket.ts
CHANGED
@@ -16,6 +16,7 @@
|
|
16
16
|
|
17
17
|
import {
|
18
18
|
ApiChannelDescription,
|
19
|
+
ApiChannelMessage,
|
19
20
|
ApiChannelMessageHeader,
|
20
21
|
ApiCreateEventRequest,
|
21
22
|
ApiGiveCoffeeEvent,
|
@@ -968,6 +969,9 @@ export interface SdTopicEvent {
|
|
968
969
|
clan_id: string;
|
969
970
|
channel_id: string;
|
970
971
|
message_id: string;
|
972
|
+
user_id: string;
|
973
|
+
last_sent_message?: ApiChannelMessageHeader;
|
974
|
+
message?: ApiChannelMessage;
|
971
975
|
}
|
972
976
|
|
973
977
|
export interface UserStatusEvent {
|