mezon-js 2.7.63 → 2.7.64

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
@@ -1407,10 +1407,10 @@ export interface ApiUsers {
1407
1407
 
1408
1408
  /** A list of users belonging to a channel, along with their role. */
1409
1409
  export interface ApiVoiceChannelUser {
1410
- //
1411
- channel_id?: string;
1412
1410
  //Cursor for the next page of results, if any.
1413
- jid?: string;
1411
+ id?: string;
1412
+ //
1413
+ channel_id?: string;
1414
1414
  //
1415
1415
  participant?: string;
1416
1416
  //User for a channel.
package/client.ts CHANGED
@@ -1094,7 +1094,7 @@ export class Client {
1094
1094
 
1095
1095
  response.voice_channel_users!.forEach(gu => {
1096
1096
  result.voice_channel_users!.push({
1097
- jid: gu.jid,
1097
+ id: gu.id,
1098
1098
  channel_id: gu.channel_id,
1099
1099
  user_id: gu.user_id,
1100
1100
  participant: gu.participant
package/dist/api.gen.d.ts CHANGED
@@ -813,8 +813,8 @@ export interface ApiUsers {
813
813
  }
814
814
  /** A list of users belonging to a channel, along with their role. */
815
815
  export interface ApiVoiceChannelUser {
816
+ id?: string;
816
817
  channel_id?: string;
817
- jid?: string;
818
818
  participant?: string;
819
819
  user_id?: string;
820
820
  }
@@ -5407,7 +5407,7 @@ var Client = class {
5407
5407
  }
5408
5408
  response.voice_channel_users.forEach((gu) => {
5409
5409
  result.voice_channel_users.push({
5410
- jid: gu.jid,
5410
+ id: gu.id,
5411
5411
  channel_id: gu.channel_id,
5412
5412
  user_id: gu.user_id,
5413
5413
  participant: gu.participant
@@ -5378,7 +5378,7 @@ var Client = class {
5378
5378
  }
5379
5379
  response.voice_channel_users.forEach((gu) => {
5380
5380
  result.voice_channel_users.push({
5381
- jid: gu.jid,
5381
+ id: gu.id,
5382
5382
  channel_id: gu.channel_id,
5383
5383
  user_id: gu.user_id,
5384
5384
  participant: gu.participant
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.7.63",
3
+ "version": "2.7.64",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },