node-karin 1.10.21 → 1.10.23

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,19 @@
1
1
  # 更新日志
2
2
 
3
+ ## [1.10.23](https://github.com/KarinJS/Karin/compare/core-v1.10.22...core-v1.10.23) (2025-09-08)
4
+
5
+
6
+ ### 🐛 Bug Fixes
7
+
8
+ * **core:** 修复环境变量加载时未覆盖现有值的问题 close [#522](https://github.com/KarinJS/Karin/issues/522) ([4566185](https://github.com/KarinJS/Karin/commit/4566185705baa4709f62c23eaf9b10867b7d5c4f))
9
+
10
+ ## [1.10.22](https://github.com/KarinJS/Karin/compare/core-v1.10.21...core-v1.10.22) (2025-09-06)
11
+
12
+
13
+ ### 🐛 Bug Fixes
14
+
15
+ * ci ([c0c7ad2](https://github.com/KarinJS/Karin/commit/c0c7ad2f8ef71863bb3a6672df76c03115385732))
16
+
3
17
  ## [1.10.21](https://github.com/KarinJS/Karin/compare/core-v1.10.20...core-v1.10.21) (2025-09-06)
4
18
 
5
19
 
package/dist/index.d.ts CHANGED
@@ -15820,11 +15820,6 @@ declare abstract class OneBotWsBase extends OneBotCore {
15820
15820
  * @return 返回一个状态函数 请在处理设置socket相关后调用 否则close事件无法触发
15821
15821
  */
15822
15822
  setSocket(socket: WebSocket): () => void;
15823
- /**
15824
- * 判断是否为echo事件
15825
- * @param data - 事件数据
15826
- */
15827
- isEcho(data: OneBotWsEvent): data is Echo;
15828
15823
  /**
15829
15824
  * 初始化WebSocket连接
15830
15825
  */
package/dist/index.mjs CHANGED
@@ -3309,7 +3309,7 @@ var init_dist2 = __esm({
3309
3309
  * @param data - 事件数据
3310
3310
  */
3311
3311
  isEcho(data) {
3312
- return "echo" in data && "status" in data;
3312
+ return "echo" in data;
3313
3313
  }
3314
3314
  /**
3315
3315
  * 将`base64://`转为`base64://...`
@@ -5244,13 +5244,6 @@ var init_dist2 = __esm({
5244
5244
  this._setSocket = false;
5245
5245
  };
5246
5246
  }
5247
- /**
5248
- * 判断是否为echo事件
5249
- * @param data - 事件数据
5250
- */
5251
- isEcho(data) {
5252
- return "echo" in data && "status" in data && "data" in data;
5253
- }
5254
5247
  /**
5255
5248
  * 初始化WebSocket连接
5256
5249
  */
@@ -28133,7 +28126,10 @@ var start2 = async () => {
28133
28126
  return;
28134
28127
  }
28135
28128
  isStart = true;
28136
- dotenv_default.config({ path: `${path4.resolve(process.cwd(), process.env.EBV_FILE)}` });
28129
+ dotenv_default.config({
28130
+ path: `${path4.resolve(process.cwd(), process.env.EBV_FILE)}`,
28131
+ override: true
28132
+ });
28137
28133
  await initConfig2(root_default);
28138
28134
  printStartLog(process.env.KARIN_VERSION);
28139
28135
  await initProcess(+process.env.HTTP_PORT);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-karin",
3
- "version": "1.10.21",
3
+ "version": "1.10.23",
4
4
  "description": "Lightweight, efficient, concise, and stable robot framework.",
5
5
  "keywords": [
6
6
  "node",
@@ -191,5 +191,5 @@
191
191
  "access": "public",
192
192
  "registry": "https://registry.npmjs.org"
193
193
  },
194
- "time": "2025-06-30T19:55:55.123Z"
194
+ "time": "2025-09-06T07:20:30.000Z"
195
195
  }