mezon-js 2.12.9 → 2.12.11

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
@@ -359,7 +359,7 @@ export interface ApiAccount {
359
359
  //The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's email was verified.
360
360
  verify_time?: string;
361
361
  //The user's wallet data.
362
- wallet?: string;
362
+ wallet?: number;
363
363
  }
364
364
 
365
365
  /** Send a app token to the server. Used with authenticate/link/unlink. */
package/dist/api.gen.d.ts CHANGED
@@ -205,7 +205,7 @@ export interface ApiAccount {
205
205
  splash_screen?: string;
206
206
  user?: ApiUser;
207
207
  verify_time?: string;
208
- wallet?: string;
208
+ wallet?: number;
209
209
  }
210
210
  /** Send a app token to the server. Used with authenticate/link/unlink. */
211
211
  export interface ApiAccountApp {
package/dist/socket.d.ts CHANGED
@@ -139,6 +139,7 @@ export interface UserChannelRemovedEvent {
139
139
  user_ids: string[];
140
140
  channel_type: number;
141
141
  clan_id: string;
142
+ badge_counts: number[];
142
143
  }
143
144
  export interface UserClanRemovedEvent {
144
145
  clan_id: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.12.9",
4
+ "version": "2.12.11",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
package/socket.ts CHANGED
@@ -204,6 +204,8 @@ export interface UserChannelRemovedEvent {
204
204
  channel_type: number;
205
205
  // the clan id
206
206
  clan_id: string;
207
+ // badge_count
208
+ badge_counts: number[];
207
209
  }
208
210
 
209
211
  export interface UserClanRemovedEvent {