mezon-js 2.8.52 → 2.8.53

Sign up to get free protection for your applications and to get access to all the features.
package/api.gen.ts CHANGED
@@ -459,7 +459,7 @@ export interface ApiChannelDescription {
459
459
  //
460
460
  count_mess_unread?: number;
461
461
  //
462
- create_time_ms?: number;
462
+ create_time_seconds?: number;
463
463
  //creator ID.
464
464
  creator_id?: string;
465
465
  //
@@ -481,7 +481,7 @@ export interface ApiChannelDescription {
481
481
  //The channel type.
482
482
  type?: number;
483
483
  //
484
- update_time_ms?: number;
484
+ update_time_seconds?: number;
485
485
  //
486
486
  user_id?: Array<string>;
487
487
  //
@@ -517,7 +517,7 @@ export interface ApiChannelMessage {
517
517
  //The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
518
518
  create_time?: string;
519
519
  //
520
- create_time_ms?: number;
520
+ create_time_seconds?: number;
521
521
  //
522
522
  display_name?: string;
523
523
  //
@@ -535,7 +535,7 @@ export interface ApiChannelMessage {
535
535
  //The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
536
536
  update_time?: string;
537
537
  //
538
- update_time_ms?: number;
538
+ update_time_seconds?: number;
539
539
  //The username of the message sender, if any.
540
540
  username?: string;
541
541
  // channel mode
package/client.ts CHANGED
@@ -186,9 +186,9 @@ export interface ChannelMessage {
186
186
  //
187
187
  display_name?: string;
188
188
  //
189
- create_time_ms?: number;
189
+ create_time_seconds?: number;
190
190
  //
191
- update_time_ms?: number;
191
+ update_time_seconds?: number;
192
192
  //
193
193
  mode?: number;
194
194
  //
@@ -1046,8 +1046,8 @@ export class Client {
1046
1046
  reactions: reactions,
1047
1047
  references: references,
1048
1048
  clan_id: m.clan_id,
1049
- create_time_ms: m.create_time_ms,
1050
- update_time_ms: m.update_time_ms,
1049
+ create_time_seconds: m.create_time_seconds,
1050
+ update_time_seconds: m.update_time_seconds,
1051
1051
  })
1052
1052
  });
1053
1053
  return Promise.resolve(result);
package/dist/api.gen.d.ts CHANGED
@@ -266,7 +266,7 @@ export interface ApiChannelDescription {
266
266
  channel_private?: number;
267
267
  clan_id?: string;
268
268
  count_mess_unread?: number;
269
- create_time_ms?: number;
269
+ create_time_seconds?: number;
270
270
  creator_id?: string;
271
271
  creator_name?: string;
272
272
  last_pin_message?: string;
@@ -277,7 +277,7 @@ export interface ApiChannelDescription {
277
277
  parrent_id?: string;
278
278
  status?: number;
279
279
  type?: number;
280
- update_time_ms?: number;
280
+ update_time_seconds?: number;
281
281
  user_id?: Array<string>;
282
282
  usernames?: string;
283
283
  }
@@ -296,7 +296,7 @@ export interface ApiChannelMessage {
296
296
  code: number;
297
297
  content: string;
298
298
  create_time?: string;
299
- create_time_ms?: number;
299
+ create_time_seconds?: number;
300
300
  display_name?: string;
301
301
  mentions?: string;
302
302
  message_id: string;
@@ -305,7 +305,7 @@ export interface ApiChannelMessage {
305
305
  references?: string;
306
306
  sender_id: string;
307
307
  update_time?: string;
308
- update_time_ms?: number;
308
+ update_time_seconds?: number;
309
309
  username?: string;
310
310
  mode?: number;
311
311
  hideEditted?: boolean;
package/dist/client.d.ts CHANGED
@@ -67,8 +67,8 @@ export interface ChannelMessage {
67
67
  clan_nick?: string;
68
68
  clan_avatar?: string;
69
69
  display_name?: string;
70
- create_time_ms?: number;
71
- update_time_ms?: number;
70
+ create_time_seconds?: number;
71
+ update_time_seconds?: number;
72
72
  mode?: number;
73
73
  message_id?: string;
74
74
  hideEditted?: boolean;
@@ -5724,8 +5724,8 @@ var Client = class {
5724
5724
  reactions,
5725
5725
  references,
5726
5726
  clan_id: m.clan_id,
5727
- create_time_ms: m.create_time_ms,
5728
- update_time_ms: m.update_time_ms
5727
+ create_time_seconds: m.create_time_seconds,
5728
+ update_time_seconds: m.update_time_seconds
5729
5729
  });
5730
5730
  });
5731
5731
  return Promise.resolve(result);
@@ -5695,8 +5695,8 @@ var Client = class {
5695
5695
  reactions,
5696
5696
  references,
5697
5697
  clan_id: m.clan_id,
5698
- create_time_ms: m.create_time_ms,
5699
- update_time_ms: m.update_time_ms
5698
+ create_time_seconds: m.create_time_seconds,
5699
+ update_time_seconds: m.update_time_seconds
5700
5700
  });
5701
5701
  });
5702
5702
  return Promise.resolve(result);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.8.52",
3
+ "version": "2.8.53",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },