alemonjs 2.1.0-alpha.41 → 2.1.0-alpha.42

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.
Files changed (2) hide show
  1. package/lib/adapter.js +2 -0
  2. package/package.json +1 -1
package/lib/adapter.js CHANGED
@@ -71,6 +71,8 @@ function startAdapterWithFallback() {
71
71
  ready = true;
72
72
  clearTimeout(timer);
73
73
  logger?.debug?.('平台连接已就绪(子进程 fork 模式)');
74
+ // 发送启动
75
+ child?.send(JSON.stringify({ type: 'start' }));
74
76
  }
75
77
  }
76
78
  catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alemonjs",
3
- "version": "2.1.0-alpha.41",
3
+ "version": "2.1.0-alpha.42",
4
4
  "description": "bot script",
5
5
  "author": "lemonade",
6
6
  "license": "MIT",