mezon-js 2.8.31 → 2.8.32

Sign up to get free protection for your applications and to get access to all the features.
@@ -5223,9 +5223,9 @@ var _DefaultSocket = class _DefaultSocket {
5223
5223
  return response.notification_clan_setting_event;
5224
5224
  });
5225
5225
  }
5226
- getNotificationReactMessage(channel_id_req) {
5226
+ getNotificationReactMessage(channel_id) {
5227
5227
  return __async(this, null, function* () {
5228
- const response = yield this.send({ notifi_react_message_event: { channel_id_req } });
5228
+ const response = yield this.send({ notifi_react_message_event: { channel_id } });
5229
5229
  return response.notifi_react_message_event;
5230
5230
  });
5231
5231
  }
@@ -5194,9 +5194,9 @@ var _DefaultSocket = class _DefaultSocket {
5194
5194
  return response.notification_clan_setting_event;
5195
5195
  });
5196
5196
  }
5197
- getNotificationReactMessage(channel_id_req) {
5197
+ getNotificationReactMessage(channel_id) {
5198
5198
  return __async(this, null, function* () {
5199
- const response = yield this.send({ notifi_react_message_event: { channel_id_req } });
5199
+ const response = yield this.send({ notifi_react_message_event: { channel_id } });
5200
5200
  return response.notifi_react_message_event;
5201
5201
  });
5202
5202
  }
package/dist/socket.d.ts CHANGED
@@ -716,7 +716,7 @@ export declare class DefaultSocket implements Socket {
716
716
  getNotificationChannelSetting(channel_id: string): Promise<NotificationChannelSettingEvent>;
717
717
  getNotificationCategorySetting(category_id: string): Promise<NotificationCategorySettingEvent>;
718
718
  getNotificationClanSetting(clan_id: string): Promise<NotificationClanSettingEvent>;
719
- getNotificationReactMessage(channel_id_req: string): Promise<NotifiReactMessageEvent>;
719
+ getNotificationReactMessage(channel_id: string): Promise<NotifiReactMessageEvent>;
720
720
  private pingPong;
721
721
  }
722
722
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.8.31",
3
+ "version": "2.8.32",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },
package/socket.ts CHANGED
@@ -1528,8 +1528,8 @@ export class DefaultSocket implements Socket {
1528
1528
  return response.notification_clan_setting_event
1529
1529
  }
1530
1530
 
1531
- async getNotificationReactMessage(channel_id_req: string): Promise<NotifiReactMessageEvent> {
1532
- const response = await this.send({notifi_react_message_event: {channel_id_req: channel_id_req}})
1531
+ async getNotificationReactMessage(channel_id: string): Promise<NotifiReactMessageEvent> {
1532
+ const response = await this.send({notifi_react_message_event: {channel_id: channel_id}})
1533
1533
  return response.notifi_react_message_event
1534
1534
  }
1535
1535