node-nim 9.5.0-rc.1 → 9.8.0
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/README.md +128 -149
- package/dist/chatroom/chatroom.js +14 -4
- package/dist/chatroom/chatroom.js.map +1 -1
- package/dist/loader.js +15 -7
- package/dist/loader.js.map +1 -1
- package/dist/nim/client.js +5 -5
- package/dist/nim/client.js.map +1 -1
- package/dist/nim/friend.js.map +1 -1
- package/dist/nim/global.js.map +1 -1
- package/dist/nim/msglog.js +24 -0
- package/dist/nim/msglog.js.map +1 -1
- package/dist/nim/nos.js.map +1 -1
- package/dist/nim/online_session.js.map +1 -1
- package/dist/nim/pass_through_proxy.js.map +1 -1
- package/dist/nim/plugin.js.map +1 -1
- package/dist/nim/session.js.map +1 -1
- package/dist/nim/subscribe_event.js.map +1 -1
- package/dist/nim/super_team.js.map +1 -1
- package/dist/nim/sysmsg.js.map +1 -1
- package/dist/nim/talk.js.map +1 -1
- package/dist/nim/talkex.js.map +1 -1
- package/dist/nim/team.js.map +1 -1
- package/dist/nim/tool.js.map +1 -1
- package/dist/nim/user.js.map +1 -1
- package/dist/nim_def/client_def.js +164 -79
- package/dist/nim_def/client_def.js.map +1 -1
- package/dist/nim_def/msglog_def.js +1 -0
- package/dist/nim_def/msglog_def.js.map +1 -1
- package/dist/node-nim.js +97 -1
- package/dist/node-nim.js.map +1 -1
- package/dist/qchat/channel.js +19 -0
- package/dist/qchat/channel.js.map +1 -1
- package/dist/qchat/server.js +57 -0
- package/dist/qchat/server.js.map +1 -1
- package/dist/qchat_def/public_def.js +118 -70
- package/dist/qchat_def/public_def.js.map +1 -1
- package/package.json +64 -64
- package/script/download-sdk.mjs +67 -64
- package/types/chatroom/chatroom.d.ts +24 -23
- package/types/chatroom_def/chatroom_def.d.ts +44 -18
- package/types/nim/client.d.ts +8 -8
- package/types/nim/friend.d.ts +6 -6
- package/types/nim/global.d.ts +6 -6
- package/types/nim/msglog.d.ts +43 -28
- package/types/nim/nos.d.ts +5 -5
- package/types/nim/online_session.d.ts +4 -4
- package/types/nim/pass_through_proxy.d.ts +1 -1
- package/types/nim/plugin.d.ts +2 -2
- package/types/nim/session.d.ts +19 -19
- package/types/nim/subscribe_event.d.ts +5 -5
- package/types/nim/super_team.d.ts +24 -24
- package/types/nim/sysmsg.d.ts +8 -8
- package/types/nim/talk.d.ts +3 -3
- package/types/nim/talkex.d.ts +11 -11
- package/types/nim/team.d.ts +33 -33
- package/types/nim/tool.d.ts +2 -2
- package/types/nim/user.d.ts +8 -8
- package/types/nim_def/client_def.d.ts +95 -92
- package/types/nim_def/data_sync_def.d.ts +1 -1
- package/types/nim_def/friend_def.d.ts +10 -10
- package/types/nim_def/global_def.d.ts +13 -13
- package/types/nim_def/msglog_def.d.ts +54 -45
- package/types/nim_def/nos_def.d.ts +14 -14
- package/types/nim_def/online_session_def.d.ts +9 -9
- package/types/nim_def/pass_through_proxy_def.d.ts +3 -3
- package/types/nim_def/plugin_def.d.ts +4 -4
- package/types/nim_def/session_def.d.ts +36 -36
- package/types/nim_def/subscribe_event_def.d.ts +12 -12
- package/types/nim_def/super_team_def.d.ts +32 -32
- package/types/nim_def/sysmsg_def.d.ts +13 -13
- package/types/nim_def/talk_def.d.ts +12 -11
- package/types/nim_def/talkex_def.d.ts +27 -27
- package/types/nim_def/team_def.d.ts +47 -47
- package/types/nim_def/tool_def.d.ts +4 -4
- package/types/nim_def/user_def.d.ts +14 -14
- package/types/node-nim.d.ts +61 -0
- package/types/qchat/channel.d.ts +7 -1
- package/types/qchat/server.d.ts +19 -1
- package/types/qchat_def/attachment_def.d.ts +4 -4
- package/types/qchat_def/channel_def.d.ts +68 -49
- package/types/qchat_def/instance_def.d.ts +9 -13
- package/types/qchat_def/message_def.d.ts +31 -23
- package/types/qchat_def/public_def.d.ts +35 -71
- package/types/qchat_def/role_def.d.ts +45 -76
- package/types/qchat_def/server_def.d.ts +92 -48
- package/types/qchat_def/system_notification_def.d.ts +9 -9
|
@@ -99,9 +99,9 @@ export interface QChatUpdateSystemNotificationResp {
|
|
|
99
99
|
notification?: QChatSystemNotification;
|
|
100
100
|
}
|
|
101
101
|
/** @interface QChatMarkReadSystemNotificationResp */
|
|
102
|
-
export
|
|
102
|
+
export type QChatMarkReadSystemNotificationResp = QChatBaseResp;
|
|
103
103
|
/** @interface QChatMarkSystemNotificationsReadResp */
|
|
104
|
-
export
|
|
104
|
+
export type QChatMarkSystemNotificationsReadResp = QChatBaseResp;
|
|
105
105
|
/** @interface QChatRecvTypingEventResp */
|
|
106
106
|
export interface QChatRecvTypingEventResp {
|
|
107
107
|
/** 圈组正在输入事件 */
|
|
@@ -115,19 +115,19 @@ export interface QChatSendTypingEventResp {
|
|
|
115
115
|
typing_event?: QChatTypingEvent;
|
|
116
116
|
}
|
|
117
117
|
/** 接收系统消息回调 */
|
|
118
|
-
export
|
|
118
|
+
export type RecvSystemNotificationCallback = (resp: QChatRecvSystemNotificationResp) => void;
|
|
119
119
|
/** 发送系统消息回调 */
|
|
120
|
-
export
|
|
120
|
+
export type SendSystemNotificationCallback = (resp: QChatSendSystemNotificationResp) => void;
|
|
121
121
|
/** 消息更新回调 */
|
|
122
|
-
export
|
|
122
|
+
export type SystemNotificationUpdatedCallback = (resp: QChatSystemNotificationUpdatedResp) => void;
|
|
123
123
|
/** 更新系统通知回调 */
|
|
124
|
-
export
|
|
124
|
+
export type UpdateSystemNotificationCallback = (resp: QChatUpdateSystemNotificationResp) => void;
|
|
125
125
|
/** 标记系统通知消息已读回调函数 */
|
|
126
|
-
export
|
|
126
|
+
export type MarkReadSystemNotificationCallback = (resp: QChatMarkSystemNotificationsReadResp) => void;
|
|
127
127
|
/** 接收圈组正在输入事件回调 */
|
|
128
|
-
export
|
|
128
|
+
export type RecvTypingEventCallback = (resp: QChatRecvTypingEventResp) => void;
|
|
129
129
|
/** 发送圈组正在输入事件回调 */
|
|
130
|
-
export
|
|
130
|
+
export type SendTypingEventCallback = (resp: QChatSendTypingEventResp) => void;
|
|
131
131
|
/** @interface QChatSendSystemNotificationParam */
|
|
132
132
|
export interface QChatSendSystemNotificationParam {
|
|
133
133
|
/** 系统消息体 */
|