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 +2 -0
- package/client.ts +2 -1
- package/dist/api.gen.d.ts +1 -0
- package/dist/mezon-js.cjs.js +2 -1
- package/dist/mezon-js.esm.mjs +2 -1
- package/dist/socket.d.ts +2 -0
- package/package.json +1 -1
- package/socket.ts +4 -0
package/api.gen.ts
CHANGED
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
package/dist/mezon-js.cjs.js
CHANGED
|
@@ -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);
|
package/dist/mezon-js.esm.mjs
CHANGED
|
@@ -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
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 {
|