mezon-js 2.11.5 → 2.11.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/socket.d.ts CHANGED
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { ApiChannelDescription, ApiChannelMessageHeader, ApiCreateEventRequest, ApiGiveCoffeeEvent, ApiMessageAttachment, ApiMessageMention, ApiMessageReaction, ApiMessageRef, ApiNotificationUserChannel, ApiPermissionUpdate, ApiRole, ApiRpc, ApiTokenSentEvent, ApiUserActivity, ApiWebhook } from "./api.gen";
16
+ import { ApiChannelDescription, ApiChannelMessage, ApiChannelMessageHeader, ApiCreateEventRequest, ApiGiveCoffeeEvent, ApiMessageAttachment, ApiMessageMention, ApiMessageReaction, ApiMessageRef, ApiNotificationUserChannel, ApiPermissionUpdate, ApiRole, ApiRpc, ApiTokenSentEvent, ApiUserActivity, ApiWebhook } from "./api.gen";
17
17
  import { Session } from "./session";
18
18
  import { ChannelMessage } from "./client";
19
19
  import { WebSocketAdapter } from "./web_socket_adapter";
@@ -687,6 +687,9 @@ export interface SdTopicEvent {
687
687
  clan_id: string;
688
688
  channel_id: string;
689
689
  message_id: string;
690
+ user_id: string;
691
+ last_sent_message?: ApiChannelMessageHeader;
692
+ message?: ApiChannelMessage;
690
693
  }
691
694
  export interface UserStatusEvent {
692
695
  user_id: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.11.5",
4
+ "version": "2.11.6",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
package/socket.ts CHANGED
@@ -16,6 +16,7 @@
16
16
 
17
17
  import {
18
18
  ApiChannelDescription,
19
+ ApiChannelMessage,
19
20
  ApiChannelMessageHeader,
20
21
  ApiCreateEventRequest,
21
22
  ApiGiveCoffeeEvent,
@@ -968,6 +969,9 @@ export interface SdTopicEvent {
968
969
  clan_id: string;
969
970
  channel_id: string;
970
971
  message_id: string;
972
+ user_id: string;
973
+ last_sent_message?: ApiChannelMessageHeader;
974
+ message?: ApiChannelMessage;
971
975
  }
972
976
 
973
977
  export interface UserStatusEvent {