mezon-js 2.8.78 → 2.8.79

Sign up to get free protection for your applications and to get access to all the features.
package/client.ts CHANGED
@@ -196,9 +196,9 @@ export interface ChannelMessage {
196
196
  //
197
197
  message_id?: string;
198
198
  //
199
- hideEditted?: boolean;
199
+ hide_editted?: boolean;
200
200
  //
201
- isPublic?: boolean;
201
+ is_public?: boolean;
202
202
  }
203
203
 
204
204
  /** A list of channel messages, usually a result of a list operation. */
package/dist/client.d.ts CHANGED
@@ -71,8 +71,8 @@ export interface ChannelMessage {
71
71
  update_time_seconds?: number;
72
72
  mode?: number;
73
73
  message_id?: string;
74
- hideEditted?: boolean;
75
- isPublic?: boolean;
74
+ hide_editted?: boolean;
75
+ is_public?: boolean;
76
76
  }
77
77
  /** A list of channel messages, usually a result of a list operation. */
78
78
  export interface ChannelMessageList {
@@ -4840,8 +4840,8 @@ var _DefaultSocket = class _DefaultSocket {
4840
4840
  mentions,
4841
4841
  attachments,
4842
4842
  references,
4843
- hideEditted: message.channel_message.hide_editted,
4844
- isPublic: message.channel_message.is_public
4843
+ hide_editted: message.channel_message.hide_editted,
4844
+ is_public: message.channel_message.is_public
4845
4845
  };
4846
4846
  this.onchannelmessage(e);
4847
4847
  } else if (message.message_typing_event) {
@@ -4811,8 +4811,8 @@ var _DefaultSocket = class _DefaultSocket {
4811
4811
  mentions,
4812
4812
  attachments,
4813
4813
  references,
4814
- hideEditted: message.channel_message.hide_editted,
4815
- isPublic: message.channel_message.is_public
4814
+ hide_editted: message.channel_message.hide_editted,
4815
+ is_public: message.channel_message.is_public
4816
4816
  };
4817
4817
  this.onchannelmessage(e);
4818
4818
  } else if (message.message_typing_event) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.8.78",
3
+ "version": "2.8.79",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },
package/socket.ts CHANGED
@@ -954,7 +954,7 @@ export interface Socket {
954
954
 
955
955
  getNotificationChannelCategorySetting(clan_id : string): Promise<NotificationChannelCategorySettingEvent>;
956
956
 
957
- oneventcreated: (clan_event_created: ApiCreateEventRequest) => void
957
+ oneventcreated: (clan_event_created: ApiCreateEventRequest) => void;
958
958
  }
959
959
 
960
960
  /** Reports an error received from a socket message. */
@@ -1100,8 +1100,8 @@ export class DefaultSocket implements Socket {
1100
1100
  mentions: mentions,
1101
1101
  attachments: attachments,
1102
1102
  references: references,
1103
- hideEditted: message.channel_message.hide_editted,
1104
- isPublic: message.channel_message.is_public
1103
+ hide_editted: message.channel_message.hide_editted,
1104
+ is_public: message.channel_message.is_public
1105
1105
  };
1106
1106
  this.onchannelmessage(e);
1107
1107
  } else if (message.message_typing_event) {