node-karin 1.8.10 → 1.8.11

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # 更新日志
2
2
 
3
+ ## [1.8.11](https://github.com/KarinJS/Karin/compare/core-v1.8.10...core-v1.8.11) (2025-05-08)
4
+
5
+
6
+ ### 🐛 Bug Fixes
7
+
8
+ * 修复群消息下会话条件判断错误问题 ([#411](https://github.com/KarinJS/Karin/issues/411)) ([49d3b49](https://github.com/KarinJS/Karin/commit/49d3b498d8a5ae6d0f9f71b9b794ddbc148c3629))
9
+
3
10
  ## [1.8.10](https://github.com/KarinJS/Karin/compare/core-v1.8.9...core-v1.8.10) (2025-05-08)
4
11
 
5
12
 
package/dist/index.mjs CHANGED
@@ -3219,7 +3219,7 @@ var init_tools = __esm({
3219
3219
  return {};
3220
3220
  };
3221
3221
  getCacheCfg = (cache12, count3, keys) => {
3222
- if (cache12[keys[0]]) {
3222
+ if (keys[0] in cache12) {
3223
3223
  if (!count3[keys[0]]) {
3224
3224
  count3[keys[0]] = { start: 0, count: 0 };
3225
3225
  }
@@ -3227,12 +3227,12 @@ var init_tools = __esm({
3227
3227
  return cache12[keys[0]];
3228
3228
  }
3229
3229
  for (const index6 in keys) {
3230
- if (cache12[keys[index6]]) {
3230
+ if (keys[index6] in cache12) {
3231
3231
  if (index6 === "0") {
3232
3232
  count3[keys[index6]] = { start: 0, count: 1 };
3233
3233
  } else {
3234
- count3[keys["0"]] = { start: 0, count: 1 };
3235
- cache12[keys["0"]] = cache12[keys[index6]];
3234
+ count3[keys[0]] = { start: 0, count: 1 };
3235
+ cache12[keys[0]] = cache12[keys[index6]];
3236
3236
  }
3237
3237
  return cache12[keys[index6]];
3238
3238
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-karin",
3
- "version": "1.8.10",
3
+ "version": "1.8.11",
4
4
  "description": "Lightweight, efficient, concise, and stable robot framework.",
5
5
  "keywords": [
6
6
  "node",