mezon-js 2.8.1 → 2.8.2

Sign up to get free protection for your applications and to get access to all the features.
package/api.gen.ts CHANGED
@@ -23,7 +23,7 @@ export interface ChannelUserListChannelUser {
23
23
  /** A single user-role pair. */
24
24
  export interface ClanUserListClanUser {
25
25
  //from the `nick_name` field in the `clan_desc_profile` table.
26
- nick_name?: string;
26
+ clan_nick?: string;
27
27
  //Their relationship to the role.
28
28
  role_id?: string;
29
29
  //User.
package/client.ts CHANGED
@@ -1243,7 +1243,8 @@ export class Client {
1243
1243
  username: gu.user!.username,
1244
1244
  metadata: gu.user!.metadata ? JSON.parse(gu.user!.metadata!) : undefined
1245
1245
  },
1246
- role_id: gu!.role_id
1246
+ role_id: gu!.role_id,
1247
+ clan_nick: gu!.clan_nick
1247
1248
  })
1248
1249
  });
1249
1250
  return Promise.resolve(result);
package/dist/api.gen.d.ts CHANGED
@@ -9,7 +9,7 @@ export interface ChannelUserListChannelUser {
9
9
  }
10
10
  /** A single user-role pair. */
11
11
  export interface ClanUserListClanUser {
12
- nick_name?: string;
12
+ clan_nick?: string;
13
13
  role_id?: string;
14
14
  user?: ApiUser;
15
15
  }
@@ -5868,7 +5868,8 @@ var Client = class {
5868
5868
  username: gu.user.username,
5869
5869
  metadata: gu.user.metadata ? JSON.parse(gu.user.metadata) : void 0
5870
5870
  },
5871
- role_id: gu.role_id
5871
+ role_id: gu.role_id,
5872
+ clan_nick: gu.clan_nick
5872
5873
  });
5873
5874
  });
5874
5875
  return Promise.resolve(result);
@@ -5839,7 +5839,8 @@ var Client = class {
5839
5839
  username: gu.user.username,
5840
5840
  metadata: gu.user.metadata ? JSON.parse(gu.user.metadata) : void 0
5841
5841
  },
5842
- role_id: gu.role_id
5842
+ role_id: gu.role_id,
5843
+ clan_nick: gu.clan_nick
5843
5844
  });
5844
5845
  });
5845
5846
  return Promise.resolve(result);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.8.1",
3
+ "version": "2.8.2",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },