mezon-js 2.7.29 → 2.7.31

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/api.gen.ts CHANGED
@@ -1093,6 +1093,8 @@ export interface ApiVoiceChannelUser {
1093
1093
  channel_id?: string;
1094
1094
  //Cursor for the next page of results, if any.
1095
1095
  jid?: string;
1096
+ //
1097
+ participant?: string;
1096
1098
  //User for a channel.
1097
1099
  user_id?: string;
1098
1100
  }
package/client.ts CHANGED
@@ -1061,7 +1061,8 @@ export class Client {
1061
1061
  result.voice_channel_users!.push({
1062
1062
  jid: gu.jid,
1063
1063
  channel_id: gu.channel_id,
1064
- user_id: gu.user_id
1064
+ user_id: gu.user_id,
1065
+ participant: gu.participant
1065
1066
  })
1066
1067
  });
1067
1068
  return Promise.resolve(result);
package/dist/api.gen.d.ts CHANGED
@@ -631,6 +631,7 @@ export interface ApiUsers {
631
631
  export interface ApiVoiceChannelUser {
632
632
  channel_id?: string;
633
633
  jid?: string;
634
+ participant?: string;
634
635
  user_id?: string;
635
636
  }
636
637
  /** A list of users belonging to a channel, along with their role. */
@@ -5028,7 +5028,8 @@ var Client = class {
5028
5028
  result.voice_channel_users.push({
5029
5029
  jid: gu.jid,
5030
5030
  channel_id: gu.channel_id,
5031
- user_id: gu.user_id
5031
+ user_id: gu.user_id,
5032
+ participant: gu.participant
5032
5033
  });
5033
5034
  });
5034
5035
  return Promise.resolve(result);
@@ -4999,7 +4999,8 @@ var Client = class {
4999
4999
  result.voice_channel_users.push({
5000
5000
  jid: gu.jid,
5001
5001
  channel_id: gu.channel_id,
5002
- user_id: gu.user_id
5002
+ user_id: gu.user_id,
5003
+ participant: gu.participant
5003
5004
  });
5004
5005
  });
5005
5006
  return Promise.resolve(result);
package/dist/socket.d.ts CHANGED
@@ -262,6 +262,7 @@ export interface ChannelUpdatedEvent {
262
262
  channel_id: string;
263
263
  channel_label: string;
264
264
  channel_type: number;
265
+ status: number;
265
266
  }
266
267
  export interface ChannelCreatedEvent {
267
268
  clan_id: string;
@@ -271,6 +272,7 @@ export interface ChannelCreatedEvent {
271
272
  channel_id: string;
272
273
  channel_label: string;
273
274
  channel_type: number;
275
+ status: number;
274
276
  }
275
277
  export interface ChannelDeletedEvent {
276
278
  clan_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.7.29",
3
+ "version": "2.7.31",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },
package/socket.ts CHANGED
@@ -367,6 +367,8 @@ export interface ChannelUpdatedEvent {
367
367
  channel_label: string;
368
368
  // channel type
369
369
  channel_type: number;
370
+ // status
371
+ status: number;
370
372
  }
371
373
 
372
374
  export interface ChannelCreatedEvent {
@@ -384,6 +386,8 @@ export interface ChannelCreatedEvent {
384
386
  channel_label: string;
385
387
  // channel type
386
388
  channel_type: number;
389
+ // status
390
+ status: number;
387
391
  }
388
392
 
389
393
  export interface ChannelDeletedEvent {