node-karin 1.11.0 → 1.11.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/CHANGELOG.md +7 -0
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## [1.11.1](https://github.com/KarinJS/Karin/compare/core-v1.11.0...core-v1.11.1) (2025-10-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### 🐛 Bug Fixes
|
|
7
|
+
|
|
8
|
+
* Change faceId type from number to number | string in setMsgReaction ([#534](https://github.com/KarinJS/Karin/issues/534)) ([5233508](https://github.com/KarinJS/Karin/commit/523350882848ff3bef2313cb0a147d46da45a2e0))
|
|
9
|
+
|
|
3
10
|
## [1.11.0](https://github.com/KarinJS/Karin/compare/core-v1.10.23...core-v1.11.0) (2025-10-02)
|
|
4
11
|
|
|
5
12
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1402,7 +1402,7 @@ interface AdapterType<T = any> {
|
|
|
1402
1402
|
* @param messageId 消息ID
|
|
1403
1403
|
* @param faceId 表情ID
|
|
1404
1404
|
*/
|
|
1405
|
-
setMsgReaction(contact: Contact, messageId: string, faceId: number, isSet: boolean): Promise<void>;
|
|
1405
|
+
setMsgReaction(contact: Contact, messageId: string, faceId: number | string, isSet: boolean): Promise<void>;
|
|
1406
1406
|
/**
|
|
1407
1407
|
* 上传群文件、私聊文件
|
|
1408
1408
|
* @param contact 目标信息
|
|
@@ -3338,7 +3338,7 @@ declare abstract class AdapterBase<T = any> implements AdapterType<T> {
|
|
|
3338
3338
|
* @param _messageId 消息ID
|
|
3339
3339
|
* @param _faceId 表情ID
|
|
3340
3340
|
*/
|
|
3341
|
-
setMsgReaction(_contact: Contact, _messageId: string, _faceId: number, _isSet: boolean): Promise<void>;
|
|
3341
|
+
setMsgReaction(_contact: Contact, _messageId: string, _faceId: number | string, _isSet: boolean): Promise<void>;
|
|
3342
3342
|
/**
|
|
3343
3343
|
* 上传群文件、私聊文件
|
|
3344
3344
|
* @param _contact 目标信息
|
|
@@ -16430,7 +16430,7 @@ declare class AdapterOneBot<T extends OneBotType> extends AdapterBase {
|
|
|
16430
16430
|
* @param faceId 表情ID
|
|
16431
16431
|
* @returns 此接口的返回值不值得信任
|
|
16432
16432
|
*/
|
|
16433
|
-
setMsgReaction(contact: Contact, messageId: string, faceId: number, isSet: boolean): Promise<void>;
|
|
16433
|
+
setMsgReaction(contact: Contact, messageId: string, faceId: number | string, isSet: boolean): Promise<void>;
|
|
16434
16434
|
/**
|
|
16435
16435
|
* 获取版本信息
|
|
16436
16436
|
*/
|