mezon-js 2.7.13 → 2.7.14

Sign up to get free protection for your applications and to get access to all the features.
package/client.ts CHANGED
@@ -1052,6 +1052,7 @@ export class Client {
1052
1052
  timezone: gu.user!.timezone,
1053
1053
  update_time: gu.user!.update_time,
1054
1054
  username: gu.user!.username,
1055
+ about_me: gu.user?.about_me,
1055
1056
  metadata: gu.user!.metadata ? JSON.parse(gu.user!.metadata!) : undefined
1056
1057
  },
1057
1058
  role_id: gu!.role_id,
@@ -4505,6 +4505,7 @@ var Client = class {
4505
4505
  return Promise.resolve(result);
4506
4506
  }
4507
4507
  response.channel_users.forEach((gu) => {
4508
+ var _a;
4508
4509
  result.channel_users.push({
4509
4510
  user: {
4510
4511
  avatar_url: gu.user.avatar_url,
@@ -4522,6 +4523,7 @@ var Client = class {
4522
4523
  timezone: gu.user.timezone,
4523
4524
  update_time: gu.user.update_time,
4524
4525
  username: gu.user.username,
4526
+ about_me: (_a = gu.user) == null ? void 0 : _a.about_me,
4525
4527
  metadata: gu.user.metadata ? JSON.parse(gu.user.metadata) : void 0
4526
4528
  },
4527
4529
  role_id: gu.role_id,
@@ -4477,6 +4477,7 @@ var Client = class {
4477
4477
  return Promise.resolve(result);
4478
4478
  }
4479
4479
  response.channel_users.forEach((gu) => {
4480
+ var _a;
4480
4481
  result.channel_users.push({
4481
4482
  user: {
4482
4483
  avatar_url: gu.user.avatar_url,
@@ -4494,6 +4495,7 @@ var Client = class {
4494
4495
  timezone: gu.user.timezone,
4495
4496
  update_time: gu.user.update_time,
4496
4497
  username: gu.user.username,
4498
+ about_me: (_a = gu.user) == null ? void 0 : _a.about_me,
4497
4499
  metadata: gu.user.metadata ? JSON.parse(gu.user.metadata) : void 0
4498
4500
  },
4499
4501
  role_id: gu.role_id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.7.13",
3
+ "version": "2.7.14",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },