k2-im 0.1.23 → 0.1.25

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 CHANGED
@@ -1 +1 @@
1
- export{A as createLazyBrowserApiProtocolClient}from'./chunk-MO2EU56Q.js';import'./chunk-W5SQGPRQ.js';import'./chunk-WOT6VMZA.js';
1
+ export{A as createLazyBrowserApiProtocolClient}from'./chunk-GMVR64GN.js';import'./chunk-LX7YEO5G.js';import'./chunk-WOT6VMZA.js';
@@ -613,12 +613,12 @@ interface ImMessage {
613
613
  body: ImMessageBody;
614
614
  /** P0 统一毫秒 number(本地创建时间,乐观渲染用)。 */
615
615
  createdAt: number;
616
- /** P0 SDK 内部稳定排序键(见 §6.3),宿主只用于排序、不解析语义。 */
616
+ /** SDK 内部排序键;有效服务端时间优先,ACK 后可以更新。宿主不解析它,消息身份始终使用 id。 */
617
617
  sortKey: string;
618
618
  status: MessageSendStatus;
619
619
  /** 失败原因(status==='failed' 时)。 */
620
620
  failure?: ImMessageFailure;
621
- /** P0 服务端回传时间(归一为 number)。 */
621
+ /** 服务端回传的 epoch 毫秒时间;有效时用于正式排序与展示,createdAt 仍保留创建记录。 */
622
622
  serverTime?: number;
623
623
  /** P0 默认 'unread'。 */
624
624
  receipt: MessageReceipt;
@@ -5408,7 +5408,7 @@ interface ConversationSearchPage<TType extends ProductHandleConversationType = P
5408
5408
  /**
5409
5409
  * 产品消息搜索结果;只暴露稳定定位身份和搜索面板所需的展示字段。
5410
5410
  *
5411
- * @remarks `senderId` 与 `createdAt` 来自已归一化领域消息;结果不携带完整消息、sortKey 或 history cursor。
5411
+ * @remarks `createdAt` 是搜索面板展示时间,与线程一致优先使用服务端时间;结果不携带 sortKey 或 history cursor。
5412
5412
  */
5413
5413
  interface ProductMessageSearchResult<TContent extends MessageContentType = MessageContentType> {
5414
5414
  ref: ConversationRef<ProductHandleConversationType>;