@onyx-p/imlib-web 2.5.0 → 2.5.1

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 CHANGED
@@ -29138,9 +29138,9 @@ async function send(message, sentArgs) {
29138
29138
  };
29139
29139
  if (isDef(message.content.mentionedInfo)) {
29140
29140
  const mentionedInfo = message.content.mentionedInfo;
29141
- if (mentionedInfo.userIdList?.length) {
29142
- groupParams.at = mentionedInfo.userIdList.map(e => Long.fromString(e.uin));
29143
- const mentionedDetail = JSON.stringify(mentionedInfo.userIdList);
29141
+ if (mentionedInfo.userList?.length) {
29142
+ groupParams.at = mentionedInfo.userList.map(e => Long.fromString(e.uin));
29143
+ const mentionedDetail = JSON.stringify(mentionedInfo.userList);
29144
29144
  groupParams.msgPreContent = mentionedDetail;
29145
29145
  }
29146
29146
  }
package/index.umd.js CHANGED
@@ -29144,9 +29144,9 @@
29144
29144
  };
29145
29145
  if (isDef(message.content.mentionedInfo)) {
29146
29146
  const mentionedInfo = message.content.mentionedInfo;
29147
- if (mentionedInfo.userIdList?.length) {
29148
- groupParams.at = mentionedInfo.userIdList.map(e => Long.fromString(e.uin));
29149
- const mentionedDetail = JSON.stringify(mentionedInfo.userIdList);
29147
+ if (mentionedInfo.userList?.length) {
29148
+ groupParams.at = mentionedInfo.userList.map(e => Long.fromString(e.uin));
29149
+ const mentionedDetail = JSON.stringify(mentionedInfo.userList);
29150
29150
  groupParams.msgPreContent = mentionedDetail;
29151
29151
  }
29152
29152
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onyx-p/imlib-web",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "main": "index.umd.js",
5
5
  "module": "index.esm.js",
6
6
  "types": "types/index.d.ts",
@@ -2,7 +2,7 @@
2
2
  * 群组内的消息包含的 @ 数据
3
3
  */
4
4
  export default interface MentionedInfo {
5
- userIdList?: {
5
+ userList?: {
6
6
  uin: string;
7
7
  nickname: string;
8
8
  }[] | undefined;