@aomex/async-trace 3.15.0 → 3.17.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/CHANGELOG.md +24 -0
- package/dist/index.d.ts +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.17.0](https://github.com/aomex/aomex/compare/v3.16.0...v3.17.0) (2025-03-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aomex/async-trace
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.16.0](https://github.com/aomex/aomex/compare/v3.15.1...v3.16.0) (2025-03-09)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aomex/async-trace
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [3.15.1](https://github.com/aomex/aomex/compare/v3.15.0...v3.15.1) (2025-02-09)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aomex/async-trace
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [3.15.0](https://github.com/aomex/aomex/compare/v3.14.2...v3.15.0) (2025-02-09)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @aomex/async-trace
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AsyncLocalStorage } from 'node:async_hooks';
|
|
2
|
-
import * as
|
|
2
|
+
import * as _aomex_common_middleware from '@aomex/common-middleware';
|
|
3
3
|
|
|
4
4
|
interface AsyncTraceRecord {
|
|
5
5
|
/**
|
|
@@ -65,7 +65,7 @@ interface AsyncTraceMiddlewareProps {
|
|
|
65
65
|
/**
|
|
66
66
|
* 追踪中间件从开始到结束的总链路
|
|
67
67
|
*/
|
|
68
|
-
declare const traceMiddleware: (label: string, callback?: (record: AsyncTraceRecord, ctx: any) => any) =>
|
|
68
|
+
declare const traceMiddleware: (label: string, callback?: (record: AsyncTraceRecord, ctx: any) => any) => _aomex_common_middleware.MixinMiddleware<AsyncTraceMiddlewareProps>;
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* 追踪类的方法或静态方法的链路
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aomex/async-trace",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.17.0",
|
|
4
4
|
"description": "异步逻辑链路追踪",
|
|
5
5
|
"repository": "git@github.com:aomex/aomex.git",
|
|
6
6
|
"homepage": "https://aomex.js.org",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"@aomex/common": "^3.0.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@aomex/common": "^3.
|
|
36
|
-
"@aomex/
|
|
37
|
-
"@aomex/
|
|
35
|
+
"@aomex/common": "^3.17.0",
|
|
36
|
+
"@aomex/web": "^3.17.0",
|
|
37
|
+
"@aomex/console": "^3.17.0"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {}
|
|
40
40
|
}
|