@hile/core 1.0.14 → 1.0.16

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/SKILL.md +1 -1
  2. package/package.json +2 -3
package/SKILL.md CHANGED
@@ -36,7 +36,7 @@ type ServiceCutDownHandler = (fn: ServiceCutDownFunction) => void;
36
36
  type ServiceFunction<R> = (shutdown: ServiceCutDownHandler) => R | Promise<R>;
37
37
 
38
38
  // 内部服务标识(Symbol,不可外部构造)
39
- const sericeFlag: unique symbol;
39
+ const sericeFlag = Symbol('service');
40
40
 
41
41
  // 服务注册信息:由 defineService/register 返回,作为 loadService/resolve 的入参
42
42
  interface ServiceRegisterProps<R> {
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "@hile/core",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "description": "Hile core - lightweight async service container",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
8
7
  "scripts": {
9
8
  "build": "tsc -b",
10
9
  "dev": "tsc -b --watch",
@@ -24,5 +23,5 @@
24
23
  "@types/node": "^25.3.1",
25
24
  "vitest": "^4.0.18"
26
25
  },
27
- "gitHead": "c71a9452cf379f28c6d02e6b3603b90bc4891680"
26
+ "gitHead": "a6eab4e7803f0df7d4bca9a0bdeca76692dbc883"
28
27
  }