mezon-js 2.13.52 → 2.13.54

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
@@ -1665,16 +1665,18 @@ export interface ApiMessageAttachment {
1665
1665
  width?: number;
1666
1666
  //
1667
1667
  thumbnail?: string;
1668
- /** The channel this message belongs to. */
1668
+ // The channel this message belongs to.
1669
1669
  channel_id?: string;
1670
1670
  // The mode
1671
1671
  mode?: number;
1672
1672
  // The channel label
1673
1673
  channel_label?: string;
1674
- /** The message that user react */
1674
+ // The message that user react
1675
1675
  message_id?: string;
1676
- /** Message sender, usually a user ID. */
1676
+ // Message sender, usually a user ID.
1677
1677
  sender_id?: string;
1678
+ // duration for video in seconds
1679
+ duration?: number;
1678
1680
  }
1679
1681
 
1680
1682
  /** */
package/dist/api.gen.d.ts CHANGED
@@ -947,14 +947,12 @@ export interface ApiMessageAttachment {
947
947
  url?: string;
948
948
  width?: number;
949
949
  thumbnail?: string;
950
- /** The channel this message belongs to. */
951
950
  channel_id?: string;
952
951
  mode?: number;
953
952
  channel_label?: string;
954
- /** The message that user react */
955
953
  message_id?: string;
956
- /** Message sender, usually a user ID. */
957
954
  sender_id?: string;
955
+ duration?: number;
958
956
  }
959
957
  /** */
960
958
  export interface ApiMessageDeleted {
package/dist/socket.d.ts CHANGED
@@ -120,6 +120,7 @@ export interface UserProfileRedis {
120
120
  custom_status: string;
121
121
  /** online */
122
122
  online: boolean;
123
+ create_time_second: number;
123
124
  /** clans */
124
125
  joined_clans: number[];
125
126
  app_url: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.13.52",
3
+ "version": "2.13.54",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },
package/socket.ts CHANGED
@@ -199,6 +199,8 @@ export interface UserProfileRedis {
199
199
  custom_status: string;
200
200
  /** online */
201
201
  online: boolean;
202
+ // create time
203
+ create_time_second: number;
202
204
  /** clans */
203
205
  joined_clans: number[];
204
206
  // app url