@midwayjs/core 3.5.1 → 3.5.3
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IMethodAspect } from '@midwayjs/decorator';
|
|
1
|
+
import { AspectMetadata, IMethodAspect } from '@midwayjs/decorator';
|
|
2
2
|
import { IMidwayContainer } from '../interface';
|
|
3
3
|
export declare class MidwayAspectService {
|
|
4
4
|
readonly applicationContext: IMidwayContainer;
|
|
@@ -7,7 +7,7 @@ export declare class MidwayAspectService {
|
|
|
7
7
|
* load aspect method for container
|
|
8
8
|
*/
|
|
9
9
|
loadAspect(): Promise<void>;
|
|
10
|
-
|
|
10
|
+
addAspect(aspectIns: IMethodAspect, aspectData: AspectMetadata): Promise<void>;
|
|
11
11
|
/**
|
|
12
12
|
* intercept class method in prototype
|
|
13
13
|
* @param Clz class you want to intercept
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/core",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.3",
|
|
4
4
|
"description": "midway core",
|
|
5
5
|
"main": "dist/index",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=12"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "32356484664846984f6d3d65a3a75dea015e8dcc"
|
|
50
50
|
}
|