mezon-js 2.9.43 → 2.9.45
Sign up to get free protection for your applications and to get access to all the features.
- package/api.gen.ts +6 -0
- package/client.ts +1 -0
- package/dist/api.gen.d.ts +3 -0
- package/dist/mezon-js.cjs.js +2 -0
- package/dist/mezon-js.esm.mjs +2 -0
- package/dist/socket.d.ts +2 -0
- package/package.json +1 -1
- package/socket.ts +2 -0
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;
|
package/dist/mezon-js.cjs.js
CHANGED
@@ -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,
|
package/dist/mezon-js.esm.mjs
CHANGED
@@ -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
package/package.json
CHANGED