mezon-js 2.13.16 → 2.13.17

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/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.17",
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) {