node-karin 1.0.1 → 1.0.2

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,16 @@
1
1
  # 更新日志
2
2
 
3
+ ## [1.0.2](https://github.com/KarinJS/Karin/compare/node-karin-v1.0.1...node-karin-v1.0.2) (2025-01-15)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * build types error ([f732ca3](https://github.com/KarinJS/Karin/commit/f732ca38155f08adefed7a9f8d42d373a9fc9cc7))
9
+ * ci ([56b3823](https://github.com/KarinJS/Karin/commit/56b382335d63577078e5aa8572d6238c63caf3e9))
10
+ * tips ([9f67525](https://github.com/KarinJS/Karin/commit/9f67525d592094532a3a29fe1f3de41bc1ec1936))
11
+ * version ([1b15d0b](https://github.com/KarinJS/Karin/commit/1b15d0b6c1583a8abc674b97cd746aac97b918c1))
12
+ * 导出 ([33b0683](https://github.com/KarinJS/Karin/commit/33b06831c3c4e6679edb3353962d88d7e2cb4d9b))
13
+
3
14
  ## [1.0.1](https://github.com/KarinJS/Karin/compare/node-karin-v1.0.0...node-karin-v1.0.1) (2025-01-15)
4
15
 
5
16
 
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { EventEmitter } from 'node:events';
1
2
  import chalk from 'chalk';
2
3
  import { Configuration, Logger as Logger$1 } from 'log4js';
3
4
  import { Level } from 'level';
package/dist/index.js CHANGED
@@ -2897,7 +2897,7 @@ var init_level = __esm({
2897
2897
  import { Level as Level2 } from "level";
2898
2898
  import lodash4 from "lodash";
2899
2899
  import moment from "moment";
2900
- import EventEmitter2 from "node:events";
2900
+ import { EventEmitter as EventEmitter2 } from "node:events";
2901
2901
  var RedisClient;
2902
2902
  var init_mock = __esm({
2903
2903
  "src/core/db/redis/mock.ts"() {
@@ -9479,7 +9479,7 @@ init_bot();
9479
9479
  init_esm_shims();
9480
9480
  init_internal();
9481
9481
  init_bot();
9482
- import { EventEmitter as EventEmitter3 } from "events";
9482
+ import { EventEmitter as EventEmitter3 } from "node:events";
9483
9483
  var Other = class extends EventEmitter3 {
9484
9484
  /** 框架名称 */
9485
9485
  name = "karin";
@@ -12404,6 +12404,7 @@ var createServer2 = async () => {
12404
12404
  listeners.once("online", () => {
12405
12405
  logger.info(`[server] onebot: ${logger.green(`ws://127.0.0.1:${process.env.HTTP_PORT}`)}`);
12406
12406
  logger.info(`[server] onebot: ${logger.green(`ws://127.0.0.1:${process.env.HTTP_PORT}/onebot/v11/ws`)}`);
12407
+ logger.info(`[server] onebot: ${logger.green(`ws://127.0.0.1:${process.env.HTTP_PORT}/puppeteer`)}`);
12407
12408
  });
12408
12409
  };
12409
12410
  var createClient2 = async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-karin",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Lightweight, efficient, concise, and stable robot framework.",
5
5
  "keywords": [
6
6
  "node",
@@ -106,6 +106,10 @@
106
106
  "types": "./dist/cli/index.d.ts",
107
107
  "require": "./dist/cli/index.cjs"
108
108
  },
109
+ "./root": {
110
+ "import": "./dist/root.js",
111
+ "types": "./dist/root.d.ts"
112
+ },
109
113
  "./template": {
110
114
  "import": "./dist/module/art-template.js",
111
115
  "types": "./dist/module/art-template.d.ts",