mezon-js 2.13.16 → 2.13.18

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
@@ -664,6 +664,11 @@ export interface BlockFriend {
664
664
  }
665
665
  export interface UnblockFriend {
666
666
  user_id: string;
667
+ username: string;
668
+ avatar: string;
669
+ display_name: string;
670
+ status: string;
671
+ user_status: string;
667
672
  }
668
673
  export interface AddUserEmojiUsageEvent {
669
674
  emoji_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.13.16",
3
+ "version": "2.13.18",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },
package/socket.ts CHANGED
@@ -1027,6 +1027,16 @@ export interface BlockFriend {
1027
1027
  export interface UnblockFriend {
1028
1028
  //
1029
1029
  user_id: string;
1030
+ //
1031
+ username: string;
1032
+ //
1033
+ avatar: string;
1034
+ //
1035
+ display_name: string;
1036
+ //
1037
+ status: string;
1038
+ //
1039
+ user_status: string;
1030
1040
  }
1031
1041
 
1032
1042
  export interface AddUserEmojiUsageEvent {
@@ -1987,7 +1997,7 @@ export class DefaultSocket implements Socket {
1987
1997
  } else if (message.block_friend) {
1988
1998
  this.onblockfriend(<BlockFriend>message.block_friend);
1989
1999
  } else if (message.un_block_friend) {
1990
- this.onunblockfriend(<BlockFriend>message.un_block_friend);
2000
+ this.onunblockfriend(<UnblockFriend>message.un_block_friend);
1991
2001
  } else if (message.add_friend) {
1992
2002
  this.onaddfriend(<AddFriend>message.add_friend);
1993
2003
  } else if (message.remove_friend) {