@agent-wechat/wechat 0.8.5 → 0.9.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/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -6272,7 +6272,7 @@ async function processUnreadChat(client, chat, lastSeenId, account, cfg, log, sk
|
|
|
6272
6272
|
const core = getWeChatRuntime();
|
|
6273
6273
|
const liveAccount = resolveWeChatAccount(cfg, account.accountId) ?? account;
|
|
6274
6274
|
const chatId = chat.username ?? chat.id;
|
|
6275
|
-
const storeAllowFrom = await core.channel.pairing.readAllowFromStore("wechat", process.env
|
|
6275
|
+
const storeAllowFrom = await core.channel.pairing.readAllowFromStore({ channel: "wechat", accountId: liveAccount.accountId, env: process.env }).catch(() => []);
|
|
6276
6276
|
const policy = resolveWeChatPolicyContext({
|
|
6277
6277
|
account: liveAccount,
|
|
6278
6278
|
cfg,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-wechat/wechat",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"devDependencies": {
|
|
10
10
|
"@types/node": "^22",
|
|
11
11
|
"esbuild": "^0.25.0",
|
|
12
|
-
"openclaw": "
|
|
12
|
+
"openclaw": ">=2026.3.2 <2027.0.0",
|
|
13
13
|
"typescript": "^5.4.5",
|
|
14
14
|
"@agent-wechat/shared": "0.1.0"
|
|
15
15
|
},
|