@onyx-p/imlib-web 1.4.5 → 1.4.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/index.esm.js +4 -1
- package/index.umd.js +4 -1
- package/package.json +1 -1
- package/types/model/iReceivedConversation.d.ts +8 -0
    
        package/index.esm.js
    CHANGED
    
    | @@ -19173,12 +19173,16 @@ const transBriefDialog2IReceivedConversation = dialog => { | |
| 19173 19173 | 
             
              if (!conversation) {
         | 
| 19174 19174 | 
             
                return;
         | 
| 19175 19175 | 
             
              }
         | 
| 19176 | 
            +
              dialog.dialogTitle;
         | 
| 19177 | 
            +
              dialog.smallAvatarUrl;
         | 
| 19176 19178 | 
             
              const conversationObj = {
         | 
| 19177 19179 | 
             
                ...conversation,
         | 
| 19178 19180 | 
             
                unreadMessageCount: 0,
         | 
| 19179 19181 | 
             
                notificationStatus: dialog.muteFlag ? NotificationStatus.OPEN : NotificationStatus.CLOSE,
         | 
| 19180 19182 | 
             
                notificationLevel: dialog.muteFlag ? NotificationLevel.NOT_MESSAGE_NOTIFICATION : NotificationLevel.ALL_MESSAGE,
         | 
| 19181 19183 | 
             
                isTop: !!dialog.stickyFlag,
         | 
| 19184 | 
            +
                dialogTitle: dialog.dialogTitle,
         | 
| 19185 | 
            +
                smallAvatarUrl: dialog.smallAvatarUrl,
         | 
| 19182 19186 | 
             
                lastUnreadTime: '0'
         | 
| 19183 19187 | 
             
              };
         | 
| 19184 19188 | 
             
              return conversationObj;
         | 
| @@ -28323,7 +28327,6 @@ const getConversationList = async options => { | |
| 28323 28327 | 
             
                code,
         | 
| 28324 28328 | 
             
                data
         | 
| 28325 28329 | 
             
              } = await imClient.getConversationList(options?.count ?? 20, null, options?.startTime ?? 0, options?.order ?? 0);
         | 
| 28326 | 
            -
              debugger;
         | 
| 28327 28330 | 
             
              if (code !== ErrorCode.SUCCESS) {
         | 
| 28328 28331 | 
             
                logger.warn('get conversation list fail ->' + code + ':' + ErrorDesc(code));
         | 
| 28329 28332 | 
             
              }
         | 
    
        package/index.umd.js
    CHANGED
    
    | @@ -19179,12 +19179,16 @@ | |
| 19179 19179 | 
             
                if (!conversation) {
         | 
| 19180 19180 | 
             
                  return;
         | 
| 19181 19181 | 
             
                }
         | 
| 19182 | 
            +
                dialog.dialogTitle;
         | 
| 19183 | 
            +
                dialog.smallAvatarUrl;
         | 
| 19182 19184 | 
             
                const conversationObj = {
         | 
| 19183 19185 | 
             
                  ...conversation,
         | 
| 19184 19186 | 
             
                  unreadMessageCount: 0,
         | 
| 19185 19187 | 
             
                  notificationStatus: dialog.muteFlag ? exports.NotificationStatus.OPEN : exports.NotificationStatus.CLOSE,
         | 
| 19186 19188 | 
             
                  notificationLevel: dialog.muteFlag ? exports.NotificationLevel.NOT_MESSAGE_NOTIFICATION : exports.NotificationLevel.ALL_MESSAGE,
         | 
| 19187 19189 | 
             
                  isTop: !!dialog.stickyFlag,
         | 
| 19190 | 
            +
                  dialogTitle: dialog.dialogTitle,
         | 
| 19191 | 
            +
                  smallAvatarUrl: dialog.smallAvatarUrl,
         | 
| 19188 19192 | 
             
                  lastUnreadTime: '0'
         | 
| 19189 19193 | 
             
                };
         | 
| 19190 19194 | 
             
                return conversationObj;
         | 
| @@ -28329,7 +28333,6 @@ | |
| 28329 28333 | 
             
                  code,
         | 
| 28330 28334 | 
             
                  data
         | 
| 28331 28335 | 
             
                } = await imClient.getConversationList(options?.count ?? 20, null, options?.startTime ?? 0, options?.order ?? 0);
         | 
| 28332 | 
            -
                debugger;
         | 
| 28333 28336 | 
             
                if (code !== exports.ErrorCode.SUCCESS) {
         | 
| 28334 28337 | 
             
                  logger.warn('get conversation list fail ->' + code + ':' + ErrorDesc(code));
         | 
| 28335 28338 | 
             
                }
         | 
    
        package/package.json
    CHANGED