mezon-js 2.9.27 → 2.9.29

Sign up to get free protection for your applications and to get access to all the features.
package/api.gen.ts CHANGED
@@ -571,6 +571,8 @@ export interface ApiChannelDescription {
571
571
  //
572
572
  creator_name?: string;
573
573
  //
574
+ is_mute?: boolean;
575
+ //
574
576
  last_pin_message?: string;
575
577
  //
576
578
  last_seen_message?: ApiChannelMessageHeader;
package/dist/api.gen.d.ts CHANGED
@@ -334,6 +334,7 @@ export interface ApiChannelDescription {
334
334
  create_time_seconds?: number;
335
335
  creator_id?: string;
336
336
  creator_name?: string;
337
+ is_mute?: boolean;
337
338
  last_pin_message?: string;
338
339
  last_seen_message?: ApiChannelMessageHeader;
339
340
  last_sent_message?: ApiChannelMessageHeader;
@@ -5947,7 +5947,9 @@ var _DefaultSocket = class _DefaultSocket {
5947
5947
  attachments,
5948
5948
  references,
5949
5949
  hide_editted: message.channel_message.hide_editted,
5950
- is_public: message.channel_message.is_public
5950
+ is_public: message.channel_message.is_public,
5951
+ create_time_seconds: message.create_time_seconds,
5952
+ update_time_seconds: message.update_time_seconds
5951
5953
  };
5952
5954
  this.onchannelmessage(e);
5953
5955
  } else if (message.message_typing_event) {
@@ -5918,7 +5918,9 @@ var _DefaultSocket = class _DefaultSocket {
5918
5918
  attachments,
5919
5919
  references,
5920
5920
  hide_editted: message.channel_message.hide_editted,
5921
- is_public: message.channel_message.is_public
5921
+ is_public: message.channel_message.is_public,
5922
+ create_time_seconds: message.create_time_seconds,
5923
+ update_time_seconds: message.update_time_seconds
5922
5924
  };
5923
5925
  this.onchannelmessage(e);
5924
5926
  } else if (message.message_typing_event) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.9.27",
4
+ "version": "2.9.29",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
package/socket.ts CHANGED
@@ -1182,7 +1182,9 @@ export class DefaultSocket implements Socket {
1182
1182
  attachments: attachments,
1183
1183
  references: references,
1184
1184
  hide_editted: message.channel_message.hide_editted,
1185
- is_public: message.channel_message.is_public
1185
+ is_public: message.channel_message.is_public,
1186
+ create_time_seconds: message.create_time_seconds,
1187
+ update_time_seconds: message.update_time_seconds,
1186
1188
  };
1187
1189
  this.onchannelmessage(e);
1188
1190
  } else if (message.message_typing_event) {