mezon-js 2.7.4 → 2.7.5

Sign up to get free protection for your applications and to get access to all the features.
package/api.gen.ts CHANGED
@@ -9,7 +9,7 @@ export interface ChannelUserListChannelUser {
9
9
  //
10
10
  id?: string;
11
11
  //Their relationship to the role.
12
- role_id?: string;
12
+ role_id?: Array<string>;
13
13
  //
14
14
  thread_id?: string;
15
15
  //User.
package/dist/api.gen.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /** A single user-role pair. */
2
2
  export interface ChannelUserListChannelUser {
3
3
  id?: string;
4
- role_id?: string;
4
+ role_id?: Array<string>;
5
5
  thread_id?: string;
6
6
  user?: ApiUser;
7
7
  }
package/dist/socket.d.ts CHANGED
@@ -268,6 +268,7 @@ export interface ChannelCreatedEvent {
268
268
  clan_id: string;
269
269
  category_id: string;
270
270
  creator_id: string;
271
+ parrent_id: string;
271
272
  channel_id: string;
272
273
  channel_label: string;
273
274
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.7.4",
3
+ "version": "2.7.5",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },
package/socket.ts CHANGED
@@ -372,6 +372,8 @@ export interface ChannelCreatedEvent {
372
372
  category_id: string;
373
373
  // creator
374
374
  creator_id: string;
375
+ // parrent_id
376
+ parrent_id: string;
375
377
  // channel id
376
378
  channel_id: string;
377
379
  // channel label