@midwayjs/decorator 3.4.0-beta.8 → 3.4.1

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.
@@ -17,9 +17,6 @@ export interface InjectionConfigurationOptions {
17
17
  }> | Record<string, any>;
18
18
  namespace?: string;
19
19
  detectorOptions?: Record<string, any>;
20
- /**
21
- * @deprecated
22
- */
23
20
  conflictCheck?: boolean;
24
21
  }
25
22
  export declare function Configuration(options?: InjectionConfigurationOptions): ClassDecorator;
@@ -13,5 +13,4 @@ export declare function GrpcMethod(methodOptions?: {
13
13
  onEnd?: string;
14
14
  }): MethodDecorator;
15
15
  export declare function DubboMethod(methodName?: string): MethodDecorator;
16
- export declare function HSFMethod(methodName?: string): MethodDecorator;
17
16
  //# sourceMappingURL=provider.d.ts.map
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HSFMethod = exports.DubboMethod = exports.GrpcMethod = exports.GrpcStreamTypeEnum = exports.Provider = void 0;
3
+ exports.DubboMethod = exports.GrpcMethod = exports.GrpcStreamTypeEnum = exports.Provider = void 0;
4
4
  const __1 = require("../../");
5
5
  const common_1 = require("../common");
6
6
  function Provider(type, metadata = {}) {
@@ -45,13 +45,4 @@ function DubboMethod(methodName) {
45
45
  };
46
46
  }
47
47
  exports.DubboMethod = DubboMethod;
48
- function HSFMethod(methodName) {
49
- return (target, propertyName, descriptor) => {
50
- (0, __1.attachClassMetadata)(__1.MS_HSF_METHOD_KEY, {
51
- methodName: methodName || propertyName,
52
- }, target);
53
- return descriptor;
54
- };
55
- }
56
- exports.HSFMethod = HSFMethod;
57
48
  //# sourceMappingURL=provider.js.map
@@ -45,8 +45,7 @@ export interface ReflectResult {
45
45
  }
46
46
  export declare enum MSProviderType {
47
47
  DUBBO = "dubbo",
48
- GRPC = "gRPC",
49
- HSF = "hsf"
48
+ GRPC = "gRPC"
50
49
  }
51
50
  export declare enum MSListenerType {
52
51
  RABBITMQ = "rabbitmq",
package/dist/interface.js CHANGED
@@ -17,7 +17,6 @@ var MSProviderType;
17
17
  (function (MSProviderType) {
18
18
  MSProviderType["DUBBO"] = "dubbo";
19
19
  MSProviderType["GRPC"] = "gRPC";
20
- MSProviderType["HSF"] = "hsf";
21
20
  })(MSProviderType = exports.MSProviderType || (exports.MSProviderType = {}));
22
21
  var MSListenerType;
23
22
  (function (MSListenerType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/decorator",
3
- "version": "3.4.0-beta.8",
3
+ "version": "3.4.1",
4
4
  "description": "definition decorator for midway project",
5
5
  "main": "dist/index",
6
6
  "typings": "dist/index.d.ts",
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "9e4ed69eca31022e4dc93ed52ac503fe25ae383e"
39
+ "gitHead": "c7b47267c80f93407537677d8366f68bc6dfc462"
40
40
  }