@napuketto/loader 0.0.19 → 0.0.20

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.
@@ -1768,6 +1768,9 @@ if (ipcMode) {
1768
1768
  }
1769
1769
  log(`[self-host] 启动 @ ${(/* @__PURE__ */ new Date()).toISOString()} pid=${process.pid} node=${process.version} type=${process.type ?? "(标准 node)"}`);
1770
1770
  log(`[self-host] stub 目录: ${env.NAPUTO_STUB_DIR ?? "(PATH 前置,未记录)"}`);
1771
+ process.on("unhandledRejection", (reason) => {
1772
+ log(`[self-host] ⚠️ unhandledRejection: ${errMsg(reason)}`);
1773
+ });
1771
1774
  const lockDataDir = env.NAPUTO_CFG_DIR;
1772
1775
  if (lockDataDir) {
1773
1776
  if (!acquireInstanceLock(lockDataDir)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@napuketto/loader",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "description": "NapukettoQQ 引导组件:自建宿主(标准 Node + stub QQNT.dll)dlopen wrapper.node 并启动 kernel,不拉起 QQ / 不注入",
5
5
  "type": "module",
6
6
  "files": [