@aalis/api-hooks 0.2.0 → 0.3.0
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/README.md +1 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -16,12 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
## 运行中换提供者的已知现状
|
|
18
18
|
|
|
19
|
-
以更高优先级上线第二个钩子提供者,或在 WebUI 设置「系统」的服务偏好里切换 hooks
|
|
20
|
-
|
|
21
|
-
- 换人那一刻正在执行的链会跳过已移到新提供者的中间件。被跳过的若是截停者,默认动作照样执行。
|
|
22
|
-
- 胜者在容器里同步换人,各插件的登记要逐个重挂到新提供者上。重挂完成前新发起的链,只能看到已经搬过来的中间件。
|
|
23
|
-
|
|
24
|
-
两种情形都只发生在运行中换提供者的那一刻。第一方部署只有 `@aalis/plugin-hooks` 一个提供者,不会遇到。
|
|
19
|
+
以更高优先级上线第二个钩子提供者,或在 WebUI 设置「系统」的服务偏好里切换 hooks 时,换人那一刻正在执行的链会跳过已移到新提供者的中间件。被跳过的若是截停者,默认动作照样执行。第一方部署只有 `@aalis/plugin-hooks` 一个提供者,不会遇到。
|
|
25
20
|
|
|
26
21
|
## 安装
|
|
27
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aalis/api-hooks",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/node": "^22.0.0",
|
|
23
23
|
"typescript": "^5.7.0",
|
|
24
|
-
"@aalis/core": "0.
|
|
24
|
+
"@aalis/core": "0.21.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@aalis/core": ">=0.
|
|
27
|
+
"@aalis/core": ">=0.21.0 <1.0.0"
|
|
28
28
|
},
|
|
29
29
|
"keywords": [
|
|
30
30
|
"aalis",
|