mezon-js 2.8.74 → 2.8.75

Sign up to get free protection for your applications and to get access to all the features.
package/dist/socket.d.ts CHANGED
@@ -84,6 +84,8 @@ export interface UserChannelAddedEvent {
84
84
  clan_id: string;
85
85
  channel_type: number;
86
86
  is_public: boolean;
87
+ parent_id: string;
88
+ is_parent_public: boolean;
87
89
  }
88
90
  export interface AddUsers {
89
91
  user_id: string;
@@ -281,6 +283,8 @@ export interface ChannelCreatedEvent {
281
283
  channel_private: number;
282
284
  channel_type: number;
283
285
  status: number;
286
+ parent_id: string;
287
+ is_parent_public: boolean;
284
288
  }
285
289
  export interface ChannelDeletedEvent {
286
290
  clan_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.8.74",
3
+ "version": "2.8.75",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },
package/socket.ts CHANGED
@@ -111,6 +111,10 @@ export interface UserChannelAddedEvent {
111
111
  channel_type: number;
112
112
  // is public
113
113
  is_public: boolean;
114
+ // parent id
115
+ parent_id: string;
116
+ // parent public
117
+ is_parent_public: boolean;
114
118
  }
115
119
 
116
120
  export interface AddUsers {
@@ -413,6 +417,10 @@ export interface ChannelCreatedEvent {
413
417
  channel_type: number;
414
418
  // status
415
419
  status: number;
420
+ // parent
421
+ parent_id: string;
422
+ // parent public
423
+ is_parent_public: boolean;
416
424
  }
417
425
 
418
426
  export interface ChannelDeletedEvent {