mezon-js 2.7.63 → 2.7.65

Sign up to get free protection for your applications and to get access to all the features.
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/dist/socket.d.ts CHANGED
@@ -27,6 +27,8 @@ export interface Presence {
27
27
  username: string;
28
28
  /** The node the user is connected to. */
29
29
  node: string;
30
+ /** The status of the user */
31
+ status: string;
30
32
  }
31
33
  /** A response from a channel join operation. */
32
34
  export interface Channel {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.7.63",
3
+ "version": "2.7.65",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },
package/socket.ts CHANGED
@@ -34,6 +34,8 @@ export interface Presence {
34
34
  username: string;
35
35
  /** The node the user is connected to. */
36
36
  node: string;
37
+ /** The status of the user */
38
+ status: string;
37
39
  }
38
40
 
39
41
  /** A response from a channel join operation. */