mezon-js 2.8.33 → 2.8.34

Sign up to get free protection for your applications and to get access to all the features.
package/api.gen.ts CHANGED
@@ -477,6 +477,8 @@ export interface ApiChannelDescription {
477
477
 
478
478
  /** A message sent on a channel. */
479
479
  export interface ApiChannelMessage {
480
+ // id
481
+ id: string;
480
482
  //
481
483
  attachments?: string;
482
484
  //
package/dist/api.gen.d.ts CHANGED
@@ -276,6 +276,7 @@ export interface ApiChannelDescription {
276
276
  }
277
277
  /** A message sent on a channel. */
278
278
  export interface ApiChannelMessage {
279
+ id: string;
279
280
  attachments?: string;
280
281
  avatar?: string;
281
282
  category_name?: string;
@@ -4798,6 +4798,7 @@ var _DefaultSocket = class _DefaultSocket {
4798
4798
  } catch (e2) {
4799
4799
  }
4800
4800
  var e = {
4801
+ id: message.id,
4801
4802
  avatar: message.channel_message.avatar,
4802
4803
  channel_id: message.channel_message.channel_id,
4803
4804
  mode: message.channel_message.mode,
@@ -4769,6 +4769,7 @@ var _DefaultSocket = class _DefaultSocket {
4769
4769
  } catch (e2) {
4770
4770
  }
4771
4771
  var e = {
4772
+ id: message.id,
4772
4773
  avatar: message.channel_message.avatar,
4773
4774
  channel_id: message.channel_message.channel_id,
4774
4775
  mode: message.channel_message.mode,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.8.33",
3
+ "version": "2.8.34",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },
package/socket.ts CHANGED
@@ -937,6 +937,7 @@ export class DefaultSocket implements Socket {
937
937
  //console.log("references is invalid", e);
938
938
  }
939
939
  var e: ApiChannelMessage = {
940
+ id: message.id,
940
941
  avatar: message.channel_message.avatar,
941
942
  channel_id: message.channel_message.channel_id,
942
943
  mode: message.channel_message.mode,