mezon-js 2.9.43 → 2.9.45

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
@@ -560,6 +560,10 @@ export interface ApiChannelCanvasDetailResponse {
560
560
 
561
561
  /** */
562
562
  export interface ApiChannelCanvasItem {
563
+ //
564
+ content?: string;
565
+ //
566
+ creator_id?: string;
563
567
  //
564
568
  id?: string;
565
569
  //
@@ -2111,6 +2115,8 @@ export interface ApiUser {
2111
2115
  //The id of the user's account.
2112
2116
  id?: string;
2113
2117
  //
2118
+ is_mobile?: boolean;
2119
+ //
2114
2120
  join_time?: string;
2115
2121
  //The language expected to be a tag which follows the BCP-47 spec.
2116
2122
  lang_tag?: string;
package/client.ts CHANGED
@@ -1636,6 +1636,7 @@ export class Client {
1636
1636
  lang_tag: gu.user!.lang_tag,
1637
1637
  location: gu.user!.location,
1638
1638
  online: gu.user!.online,
1639
+ is_mobile: gu.user?.is_mobile,
1639
1640
  steam_id: gu.user!.steam_id,
1640
1641
  timezone: gu.user!.timezone,
1641
1642
  update_time: gu.user!.update_time,
package/dist/api.gen.d.ts CHANGED
@@ -331,6 +331,8 @@ export interface ApiChannelCanvasDetailResponse {
331
331
  }
332
332
  /** */
333
333
  export interface ApiChannelCanvasItem {
334
+ content?: string;
335
+ creator_id?: string;
334
336
  id?: string;
335
337
  is_default?: boolean;
336
338
  title?: string;
@@ -1226,6 +1228,7 @@ export interface ApiUser {
1226
1228
  gamecenter_id?: string;
1227
1229
  google_id?: string;
1228
1230
  id?: string;
1231
+ is_mobile?: boolean;
1229
1232
  join_time?: string;
1230
1233
  lang_tag?: string;
1231
1234
  location?: string;
@@ -7431,6 +7431,7 @@ var Client = class {
7431
7431
  return Promise.resolve(result);
7432
7432
  }
7433
7433
  response.clan_users.forEach((gu) => {
7434
+ var _a;
7434
7435
  result.clan_users.push({
7435
7436
  user: {
7436
7437
  avatar_url: gu.user.avatar_url,
@@ -7444,6 +7445,7 @@ var Client = class {
7444
7445
  lang_tag: gu.user.lang_tag,
7445
7446
  location: gu.user.location,
7446
7447
  online: gu.user.online,
7448
+ is_mobile: (_a = gu.user) == null ? void 0 : _a.is_mobile,
7447
7449
  steam_id: gu.user.steam_id,
7448
7450
  timezone: gu.user.timezone,
7449
7451
  update_time: gu.user.update_time,
@@ -7402,6 +7402,7 @@ var Client = class {
7402
7402
  return Promise.resolve(result);
7403
7403
  }
7404
7404
  response.clan_users.forEach((gu) => {
7405
+ var _a;
7405
7406
  result.clan_users.push({
7406
7407
  user: {
7407
7408
  avatar_url: gu.user.avatar_url,
@@ -7415,6 +7416,7 @@ var Client = class {
7415
7416
  lang_tag: gu.user.lang_tag,
7416
7417
  location: gu.user.location,
7417
7418
  online: gu.user.online,
7419
+ is_mobile: (_a = gu.user) == null ? void 0 : _a.is_mobile,
7418
7420
  steam_id: gu.user.steam_id,
7419
7421
  timezone: gu.user.timezone,
7420
7422
  update_time: gu.user.update_time,
package/dist/socket.d.ts CHANGED
@@ -92,6 +92,8 @@ export interface UserProfileRedis {
92
92
  custom_status: string;
93
93
  /** create time */
94
94
  create_time_second: number;
95
+ /** online */
96
+ online: boolean;
95
97
  }
96
98
  /** UserChannelAddedEvent */
97
99
  export interface UserChannelAddedEvent {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.9.43",
4
+ "version": "2.9.45",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
package/socket.ts CHANGED
@@ -114,6 +114,8 @@ export interface UserProfileRedis {
114
114
  custom_status: string;
115
115
  /** create time */
116
116
  create_time_second: number;
117
+ /** online */
118
+ online: boolean;
117
119
  }
118
120
 
119
121
  /** UserChannelAddedEvent */