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.
- package/dist/mezon-js.cjs.js +2 -2
- package/dist/mezon-js.esm.mjs +2 -2
- package/dist/socket.d.ts +1 -1
- package/package.json +1 -1
- package/socket.ts +2 -2
package/dist/mezon-js.cjs.js
CHANGED
@@ -5223,9 +5223,9 @@ var _DefaultSocket = class _DefaultSocket {
|
|
5223
5223
|
return response.notification_clan_setting_event;
|
5224
5224
|
});
|
5225
5225
|
}
|
5226
|
-
getNotificationReactMessage(
|
5226
|
+
getNotificationReactMessage(channel_id) {
|
5227
5227
|
return __async(this, null, function* () {
|
5228
|
-
const response = yield this.send({ notifi_react_message_event: {
|
5228
|
+
const response = yield this.send({ notifi_react_message_event: { channel_id } });
|
5229
5229
|
return response.notifi_react_message_event;
|
5230
5230
|
});
|
5231
5231
|
}
|
package/dist/mezon-js.esm.mjs
CHANGED
@@ -5194,9 +5194,9 @@ var _DefaultSocket = class _DefaultSocket {
|
|
5194
5194
|
return response.notification_clan_setting_event;
|
5195
5195
|
});
|
5196
5196
|
}
|
5197
|
-
getNotificationReactMessage(
|
5197
|
+
getNotificationReactMessage(channel_id) {
|
5198
5198
|
return __async(this, null, function* () {
|
5199
|
-
const response = yield this.send({ notifi_react_message_event: {
|
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(
|
719
|
+
getNotificationReactMessage(channel_id: string): Promise<NotifiReactMessageEvent>;
|
720
720
|
private pingPong;
|
721
721
|
}
|
722
722
|
export {};
|
package/package.json
CHANGED
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(
|
1532
|
-
const response = await this.send({notifi_react_message_event: {
|
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
|
|