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 CHANGED
@@ -1538,6 +1538,8 @@ export interface ApiInviteUserRes {
1538
1538
  user_joined?: boolean;
1539
1539
  //
1540
1540
  expiry_time?: string;
1541
+ //
1542
+ clan_logo: string;
1541
1543
  }
1542
1544
 
1543
1545
  /** Add link invite users to. */
package/dist/api.gen.d.ts CHANGED
@@ -880,6 +880,7 @@ export interface ApiInviteUserRes {
880
880
  clan_name?: string;
881
881
  user_joined?: boolean;
882
882
  expiry_time?: string;
883
+ clan_logo: string;
883
884
  }
884
885
  /** Add link invite users to. */
885
886
  export interface ApiLinkInviteUser {
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.11.43",
4
+ "version": "2.11.45",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
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 */