@hile/core 1.0.15 → 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.
- package/SKILL.md +1 -1
- package/package.json +2 -2
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
|
|
39
|
+
const sericeFlag = Symbol('service');
|
|
40
40
|
|
|
41
41
|
// 服务注册信息:由 defineService/register 返回,作为 loadService/resolve 的入参
|
|
42
42
|
interface ServiceRegisterProps<R> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hile/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"description": "Hile core - lightweight async service container",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"@types/node": "^25.3.1",
|
|
24
24
|
"vitest": "^4.0.18"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "a6eab4e7803f0df7d4bca9a0bdeca76692dbc883"
|
|
27
27
|
}
|