mezon-js 2.8.14 → 2.8.15
Sign up to get free protection for your applications and to get access to all the features.
- package/api.gen.ts +2 -0
- package/client.ts +2 -0
- package/dist/api.gen.d.ts +1 -0
- package/dist/mezon-js.cjs.js +4 -2
- package/dist/mezon-js.esm.mjs +4 -2
- package/package.json +1 -1
package/api.gen.ts
CHANGED
@@ -26,6 +26,8 @@ export interface ChannelUserListChannelUser {
|
|
26
26
|
export interface ClanUserListClanUser {
|
27
27
|
//from the `avatar_url` field in the `clan_desc_profile` table.
|
28
28
|
clan_avatar?: string;
|
29
|
+
//
|
30
|
+
clan_id?: string;
|
29
31
|
//from the `nick_name` field in the `clan_desc_profile` table.
|
30
32
|
clan_nick?: string;
|
31
33
|
//Their relationship to the role.
|
package/client.ts
CHANGED
@@ -1080,6 +1080,7 @@ export class Client {
|
|
1080
1080
|
mentions: m.mentions ? JSON.parse(m.mentions) : [],
|
1081
1081
|
reactions: m.reactions ? JSON.parse(m.reactions) : [],
|
1082
1082
|
references: m.references ? JSON.parse(m.references) : [],
|
1083
|
+
clan_id: m.clan_id
|
1083
1084
|
})
|
1084
1085
|
});
|
1085
1086
|
return Promise.resolve(result);
|
@@ -1158,6 +1159,7 @@ export class Client {
|
|
1158
1159
|
clan_avatar: gu.clan_avatar,
|
1159
1160
|
clan_nick: gu.clan_nick,
|
1160
1161
|
id: gu.id,
|
1162
|
+
clan_id: gu.clan_id
|
1161
1163
|
})
|
1162
1164
|
});
|
1163
1165
|
return Promise.resolve(result);
|
package/dist/api.gen.d.ts
CHANGED
package/dist/mezon-js.cjs.js
CHANGED
@@ -5719,7 +5719,8 @@ var Client = class {
|
|
5719
5719
|
attachments: m.attachments ? JSON.parse(m.attachments) : [],
|
5720
5720
|
mentions: m.mentions ? JSON.parse(m.mentions) : [],
|
5721
5721
|
reactions: m.reactions ? JSON.parse(m.reactions) : [],
|
5722
|
-
references: m.references ? JSON.parse(m.references) : []
|
5722
|
+
references: m.references ? JSON.parse(m.references) : [],
|
5723
|
+
clan_id: m.clan_id
|
5723
5724
|
});
|
5724
5725
|
});
|
5725
5726
|
return Promise.resolve(result);
|
@@ -5792,7 +5793,8 @@ var Client = class {
|
|
5792
5793
|
thread_id: gu.thread_id,
|
5793
5794
|
clan_avatar: gu.clan_avatar,
|
5794
5795
|
clan_nick: gu.clan_nick,
|
5795
|
-
id: gu.id
|
5796
|
+
id: gu.id,
|
5797
|
+
clan_id: gu.clan_id
|
5796
5798
|
});
|
5797
5799
|
});
|
5798
5800
|
return Promise.resolve(result);
|
package/dist/mezon-js.esm.mjs
CHANGED
@@ -5690,7 +5690,8 @@ var Client = class {
|
|
5690
5690
|
attachments: m.attachments ? JSON.parse(m.attachments) : [],
|
5691
5691
|
mentions: m.mentions ? JSON.parse(m.mentions) : [],
|
5692
5692
|
reactions: m.reactions ? JSON.parse(m.reactions) : [],
|
5693
|
-
references: m.references ? JSON.parse(m.references) : []
|
5693
|
+
references: m.references ? JSON.parse(m.references) : [],
|
5694
|
+
clan_id: m.clan_id
|
5694
5695
|
});
|
5695
5696
|
});
|
5696
5697
|
return Promise.resolve(result);
|
@@ -5763,7 +5764,8 @@ var Client = class {
|
|
5763
5764
|
thread_id: gu.thread_id,
|
5764
5765
|
clan_avatar: gu.clan_avatar,
|
5765
5766
|
clan_nick: gu.clan_nick,
|
5766
|
-
id: gu.id
|
5767
|
+
id: gu.id,
|
5768
|
+
clan_id: gu.clan_id
|
5767
5769
|
});
|
5768
5770
|
});
|
5769
5771
|
return Promise.resolve(result);
|