mezon-js 2.8.63 → 2.8.65
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/mezon-js.cjs.js +2 -2
- package/dist/mezon-js.esm.mjs +2 -2
- package/dist/socket.d.ts +1 -1
- package/package.json +1 -1
- package/socket.ts +2 -2
package/dist/mezon-js.cjs.js
CHANGED
@@ -5033,9 +5033,9 @@ var _DefaultSocket = class _DefaultSocket {
|
|
5033
5033
|
return response.message_reaction_event;
|
5034
5034
|
});
|
5035
5035
|
}
|
5036
|
-
writeMessageTyping(clan_id, channel_id, mode) {
|
5036
|
+
writeMessageTyping(clan_id, channel_id, mode, is_public) {
|
5037
5037
|
return __async(this, null, function* () {
|
5038
|
-
const response = yield this.send({ message_typing_event: { clan_id, channel_id, mode } });
|
5038
|
+
const response = yield this.send({ message_typing_event: { clan_id, channel_id, mode, is_public } });
|
5039
5039
|
return response.message_typing_event;
|
5040
5040
|
});
|
5041
5041
|
}
|
package/dist/mezon-js.esm.mjs
CHANGED
@@ -5004,9 +5004,9 @@ var _DefaultSocket = class _DefaultSocket {
|
|
5004
5004
|
return response.message_reaction_event;
|
5005
5005
|
});
|
5006
5006
|
}
|
5007
|
-
writeMessageTyping(clan_id, channel_id, mode) {
|
5007
|
+
writeMessageTyping(clan_id, channel_id, mode, is_public) {
|
5008
5008
|
return __async(this, null, function* () {
|
5009
|
-
const response = yield this.send({ message_typing_event: { clan_id, channel_id, mode } });
|
5009
|
+
const response = yield this.send({ message_typing_event: { clan_id, channel_id, mode, is_public } });
|
5010
5010
|
return response.message_typing_event;
|
5011
5011
|
});
|
5012
5012
|
}
|
package/dist/socket.d.ts
CHANGED
@@ -671,7 +671,7 @@ export declare class DefaultSocket implements Socket {
|
|
671
671
|
updateStatus(status?: string): Promise<void>;
|
672
672
|
writeChatMessage(clan_id: string, channel_id: string, mode: number, is_public: boolean, content: any, mentions?: Array<ApiMessageMention>, attachments?: Array<ApiMessageAttachment>, references?: Array<ApiMessageRef>, anonymous_message?: boolean, mention_everyone?: Boolean, avatar?: string): Promise<ChannelMessageAck>;
|
673
673
|
writeMessageReaction(id: string, clan_id: string, channel_id: string, mode: number, is_public: boolean, message_id: string, emoji_id: string, emoji: string, count: number, message_sender_id: string, action_delete: boolean): Promise<ApiMessageReaction>;
|
674
|
-
writeMessageTyping(clan_id: string, channel_id: string, mode: number): Promise<MessageTypingEvent>;
|
674
|
+
writeMessageTyping(clan_id: string, channel_id: string, mode: number, is_public: boolean): Promise<MessageTypingEvent>;
|
675
675
|
writeLastSeenMessage(clan_id: string, channel_id: string, mode: number, message_id: string, timestamp_seconds: number): Promise<LastSeenMessageEvent>;
|
676
676
|
writeLastPinMessage(clan_id: string, channel_id: string, mode: number, is_public: boolean, message_id: string, timestamp_seconds: number, operation: number): Promise<LastPinMessageEvent>;
|
677
677
|
writeVoiceJoined(id: string, clanId: string, clanName: string, voiceChannelId: string, voiceChannelLabel: string, participant: string, lastScreenshot: string): Promise<VoiceJoinedEvent>;
|
package/package.json
CHANGED
package/socket.ts
CHANGED
@@ -1445,8 +1445,8 @@ export class DefaultSocket implements Socket {
|
|
1445
1445
|
return response.message_reaction_event
|
1446
1446
|
}
|
1447
1447
|
|
1448
|
-
async writeMessageTyping(clan_id: string, channel_id: string, mode: number): Promise<MessageTypingEvent> {
|
1449
|
-
const response = await this.send({message_typing_event: {clan_id: clan_id, channel_id: channel_id, mode:mode}});
|
1448
|
+
async writeMessageTyping(clan_id: string, channel_id: string, mode: number, is_public: boolean): Promise<MessageTypingEvent> {
|
1449
|
+
const response = await this.send({message_typing_event: {clan_id: clan_id, channel_id: channel_id, mode:mode, is_public: is_public}});
|
1450
1450
|
return response.message_typing_event
|
1451
1451
|
}
|
1452
1452
|
|