mezon-js 2.13.17 → 2.13.19

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/client.ts CHANGED
@@ -1369,8 +1369,8 @@ export class Client {
1369
1369
  return this.apiClient
1370
1370
  .listChannelAttachment(
1371
1371
  session.token,
1372
- clanId,
1373
1372
  channelId,
1373
+ clanId,
1374
1374
  fileType,
1375
1375
  limit,
1376
1376
  state,
@@ -8951,8 +8951,8 @@ var Client = class {
8951
8951
  }
8952
8952
  return this.apiClient.listChannelAttachment(
8953
8953
  session.token,
8954
- clanId,
8955
8954
  channelId,
8955
+ clanId,
8956
8956
  fileType,
8957
8957
  limit,
8958
8958
  state,
@@ -8917,8 +8917,8 @@ var Client = class {
8917
8917
  }
8918
8918
  return this.apiClient.listChannelAttachment(
8919
8919
  session.token,
8920
- clanId,
8921
8920
  channelId,
8921
+ clanId,
8922
8922
  fileType,
8923
8923
  limit,
8924
8924
  state,
package/dist/socket.d.ts CHANGED
@@ -409,6 +409,7 @@ export interface ChannelUpdatedEvent {
409
409
  count_mess_unread: number;
410
410
  role_ids?: Array<string>;
411
411
  user_ids?: Array<string>;
412
+ channel_avatar: string;
412
413
  }
413
414
  export interface DeleteAccountEvent {
414
415
  user_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.13.17",
3
+ "version": "2.13.19",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },
package/socket.ts CHANGED
@@ -639,10 +639,12 @@ export interface ChannelUpdatedEvent {
639
639
  active: number;
640
640
  //
641
641
  count_mess_unread: number;
642
- //
642
+ //
643
643
  role_ids?: Array<string>;
644
- //The users to add.
644
+ // The users to add.
645
645
  user_ids?: Array<string>;
646
+ // channel avatar
647
+ channel_avatar: string;
646
648
  }
647
649
 
648
650
  export interface DeleteAccountEvent {