mezon-js 2.11.43 → 2.11.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 +2 -0
- package/dist/api.gen.d.ts +1 -0
- package/dist/socket.d.ts +5 -0
- package/package.json +1 -1
- package/socket.ts +9 -0
package/api.gen.ts
CHANGED
package/dist/api.gen.d.ts
CHANGED
package/dist/socket.d.ts
CHANGED
@@ -98,6 +98,7 @@ interface ChannelLeave {
|
|
98
98
|
export interface AddClanUserEvent {
|
99
99
|
clan_id: string;
|
100
100
|
user: UserProfileRedis;
|
101
|
+
invitor: string;
|
101
102
|
}
|
102
103
|
export interface UserProfileRedis {
|
103
104
|
/** User IDs to follow. */
|
@@ -118,6 +119,10 @@ export interface UserProfileRedis {
|
|
118
119
|
online: boolean;
|
119
120
|
/** clans */
|
120
121
|
joined_clans: number[];
|
122
|
+
pubkey: string;
|
123
|
+
mezon_id: string;
|
124
|
+
app_url: string;
|
125
|
+
is_bot: boolean;
|
121
126
|
}
|
122
127
|
/** UserChannelAddedEvent */
|
123
128
|
export interface UserChannelAddedEvent {
|
package/package.json
CHANGED
package/socket.ts
CHANGED
@@ -145,6 +145,7 @@ export interface AddClanUserEvent {
|
|
145
145
|
clan_id: string;
|
146
146
|
// the user
|
147
147
|
user: UserProfileRedis;
|
148
|
+
invitor: string;
|
148
149
|
}
|
149
150
|
|
150
151
|
export interface UserProfileRedis {
|
@@ -166,6 +167,14 @@ export interface UserProfileRedis {
|
|
166
167
|
online: boolean;
|
167
168
|
/** clans */
|
168
169
|
joined_clans: number[];
|
170
|
+
// public key
|
171
|
+
pubkey: string;
|
172
|
+
// mezon id
|
173
|
+
mezon_id: string;
|
174
|
+
// app url
|
175
|
+
app_url: string;
|
176
|
+
// is bot
|
177
|
+
is_bot: boolean;
|
169
178
|
}
|
170
179
|
|
171
180
|
/** UserChannelAddedEvent */
|