mezon-js 2.10.49 → 2.10.51

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
@@ -2306,6 +2306,8 @@ export interface ApiUpdateAccountRequest {
2306
2306
  location?: string;
2307
2307
  //
2308
2308
  logo?: string;
2309
+ //
2310
+ public_key?: string;
2309
2311
  //
2310
2312
  splash_screen?: string;
2311
2313
  //The timezone set by the user.
package/client.ts CHANGED
@@ -1650,6 +1650,8 @@ export class Client {
1650
1650
  uploader: at.uploader,
1651
1651
  url: at.url,
1652
1652
  create_time: at.create_time,
1653
+ width: at.width,
1654
+ height: at.height,
1653
1655
  });
1654
1656
  });
1655
1657
  return Promise.resolve(result);
package/dist/api.gen.d.ts CHANGED
@@ -1337,6 +1337,7 @@ export interface ApiUpdateAccountRequest {
1337
1337
  lang_tag?: string;
1338
1338
  location?: string;
1339
1339
  logo?: string;
1340
+ public_key?: string;
1340
1341
  splash_screen?: string;
1341
1342
  timezone?: string;
1342
1343
  username?: string;
@@ -8783,7 +8783,9 @@ var Client = class {
8783
8783
  id: at.id,
8784
8784
  uploader: at.uploader,
8785
8785
  url: at.url,
8786
- create_time: at.create_time
8786
+ create_time: at.create_time,
8787
+ width: at.width,
8788
+ height: at.height
8787
8789
  });
8788
8790
  });
8789
8791
  return Promise.resolve(result);
@@ -8749,7 +8749,9 @@ var Client = class {
8749
8749
  id: at.id,
8750
8750
  uploader: at.uploader,
8751
8751
  url: at.url,
8752
- create_time: at.create_time
8752
+ create_time: at.create_time,
8753
+ width: at.width,
8754
+ height: at.height
8753
8755
  });
8754
8756
  });
8755
8757
  return Promise.resolve(result);
package/dist/socket.d.ts CHANGED
@@ -129,6 +129,7 @@ export interface LastPinMessageEvent {
129
129
  /** operation */
130
130
  operation: number;
131
131
  is_public: boolean;
132
+ clan_id: string;
132
133
  }
133
134
  export interface UnmuteEvent {
134
135
  channel_id: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.10.49",
4
+ "version": "2.10.51",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
package/socket.ts CHANGED
@@ -187,6 +187,8 @@ export interface LastPinMessageEvent {
187
187
  operation: number;
188
188
  // Is public
189
189
  is_public: boolean;
190
+ // clan Id
191
+ clan_id: string;
190
192
  }
191
193
 
192
194
  export interface UnmuteEvent {