mezon-js 2.12.64 → 2.12.66

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 CHANGED
@@ -180,6 +180,8 @@ export interface MezonUpdateClanDescBody {
180
180
  description?: string;
181
181
  // about
182
182
  about?: string;
183
+ // short url for community
184
+ short_url?: string;
183
185
  }
184
186
 
185
187
  /** */
package/dist/api.gen.d.ts CHANGED
@@ -103,6 +103,7 @@ export interface MezonUpdateClanDescBody {
103
103
  community_banner?: string;
104
104
  description?: string;
105
105
  about?: string;
106
+ short_url?: string;
106
107
  }
107
108
  /** */
108
109
  export interface MezonUpdateClanDescProfileBody {
@@ -7258,7 +7258,7 @@ var _DefaultSocket = class _DefaultSocket {
7258
7258
  } else if (message.block_friend) {
7259
7259
  this.onblockfriend(message.block_friend);
7260
7260
  } else if (message.un_block_friend) {
7261
- this.onunblockfriend(message.block_friend);
7261
+ this.onunblockfriend(message.un_block_friend);
7262
7262
  } else if (message.remove_friend) {
7263
7263
  this.onremovefriend(message.remove_friend);
7264
7264
  } else if (message.user_clan_removed_event) {
@@ -7224,7 +7224,7 @@ var _DefaultSocket = class _DefaultSocket {
7224
7224
  } else if (message.block_friend) {
7225
7225
  this.onblockfriend(message.block_friend);
7226
7226
  } else if (message.un_block_friend) {
7227
- this.onunblockfriend(message.block_friend);
7227
+ this.onunblockfriend(message.un_block_friend);
7228
7228
  } else if (message.remove_friend) {
7229
7229
  this.onremovefriend(message.remove_friend);
7230
7230
  } else if (message.user_clan_removed_event) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.12.64",
3
+ "version": "2.12.66",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },
package/socket.ts CHANGED
@@ -1945,7 +1945,7 @@ export class DefaultSocket implements Socket {
1945
1945
  } else if (message.block_friend) {
1946
1946
  this.onblockfriend(<BlockFriend>message.block_friend);
1947
1947
  } else if (message.un_block_friend) {
1948
- this.onunblockfriend(<BlockFriend>message.block_friend);
1948
+ this.onunblockfriend(<BlockFriend>message.un_block_friend);
1949
1949
  } else if (message.remove_friend) {
1950
1950
  this.onremovefriend(<RemoveFriend>message.remove_friend);
1951
1951
  } else if (message.user_clan_removed_event) {