k2-im 0.1.34 → 0.1.36
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/browser.js +1 -1
- package/dist/chat-kit-pinia.d.ts +3 -1
- package/dist/chat-kit-pinia.js +1 -1
- package/dist/chat-kit-vue.d.ts +3 -1
- package/dist/chat-kit-vue.js +1 -1
- package/dist/chat-kit.d.ts +3 -1
- package/dist/chat-kit.js +1 -1
- package/dist/{chunk-IEFK5A7T.js → chunk-4CH72T6I.js} +2 -2
- package/dist/{chunk-4HJR3NAM.js → chunk-4WMIGRG4.js} +1 -1
- package/dist/chunk-ANHUDX3C.js +2 -0
- package/dist/chunk-NB6MXFCH.js +2 -0
- package/dist/{chunk-QK3UXZKZ.js → chunk-R3FWUQK4.js} +1 -1
- package/dist/{chunk-YEXLMW5J.js → chunk-SWQXHZDF.js} +1 -1
- package/dist/{chunk-QDQNYCIH.js → chunk-UKL2AULH.js} +1 -1
- package/dist/i18n.d.ts +2 -0
- package/dist/i18n.js +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -1
- package/dist/sdk.d.ts +3 -1
- package/dist/sdk.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-PJ2PW42T.js +0 -2
- package/dist/chunk-WQBCUQ6Q.js +0 -2
package/dist/browser.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Ta as canCopyImageToClipboard,Ua as copyImageToClipboard,B as createLazyBrowserApiProtocolClient}from'./chunk-
|
|
1
|
+
export{Ta as canCopyImageToClipboard,Ua as copyImageToClipboard,B as createLazyBrowserApiProtocolClient}from'./chunk-4CH72T6I.js';import'./chunk-ANHUDX3C.js';import'./chunk-WOT6VMZA.js';
|
package/dist/chat-kit-pinia.d.ts
CHANGED
|
@@ -755,6 +755,8 @@ interface ImMessage {
|
|
|
755
755
|
serverTime?: number;
|
|
756
756
|
/** P0 默认 'unread'。 */
|
|
757
757
|
receipt: MessageReceipt;
|
|
758
|
+
/** 离线单聊服务端标记当前账号已在其它端读过;仅用于本地未读投影,不改变对端回执 receipt。 */
|
|
759
|
+
readBySelf?: boolean;
|
|
758
760
|
encryption: ImMessageEncryption;
|
|
759
761
|
/** 群消息 @ 提及(仅群 @ 消息有;解析自 MESGrpChat 明文字段 + extend)。展示走 resolveMentionSegments。 */
|
|
760
762
|
mention?: ImMessageMention;
|
|
@@ -3089,7 +3091,7 @@ interface ImMessageViewBody extends Omit<ImMessageBody, 'image' | 'video' | 'voi
|
|
|
3089
3091
|
* `sortKey`、原始协议 `raw`、包含 history cursor 的 `extensions` 以及媒体 key。定位和下载必须继续
|
|
3090
3092
|
* 通过绑定精确 `ConversationRef` 的 SDK handle/capability 完成,UI 不得从 DTO 恢复内部字段。
|
|
3091
3093
|
*/
|
|
3092
|
-
type ImMessageView = Readonly<Omit<ImMessage, 'sortKey' | 'raw' | 'extensions' | 'body' | 'reactions'> & {
|
|
3094
|
+
type ImMessageView = Readonly<Omit<ImMessage, 'sortKey' | 'raw' | 'extensions' | 'body' | 'reactions' | 'readBySelf'> & {
|
|
3093
3095
|
body: ImMessageViewBody;
|
|
3094
3096
|
reactions?: ImMessageReactions;
|
|
3095
3097
|
}>;
|