@midwayjs/process-agent 3.0.0-alpha.43 → 3.0.0-beta.4

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 ADDED
@@ -0,0 +1,35 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ # [3.0.0-beta.4](https://github.com/midwayjs/midway/compare/v3.0.0-beta.3...v3.0.0-beta.4) (2021-11-24)
7
+
8
+ **Note:** Version bump only for package @midwayjs/process-agent
9
+
10
+
11
+
12
+
13
+
14
+ # [3.0.0-beta.3](https://github.com/midwayjs/midway/compare/v3.0.0-beta.2...v3.0.0-beta.3) (2021-11-18)
15
+
16
+ **Note:** Version bump only for package @midwayjs/process-agent
17
+
18
+
19
+
20
+
21
+
22
+ # [3.0.0-beta.2](https://github.com/midwayjs/midway/compare/v3.0.0-beta.1...v3.0.0-beta.2) (2021-11-16)
23
+
24
+ **Note:** Version bump only for package @midwayjs/process-agent
25
+
26
+
27
+
28
+
29
+
30
+ # [3.0.0-beta.1](https://github.com/midwayjs/midway/compare/v2.12.4...v3.0.0-beta.1) (2021-11-14)
31
+
32
+
33
+ ### Features
34
+
35
+ * add a process agent component ([#1278](https://github.com/midwayjs/midway/issues/1278)) ([e630fb1](https://github.com/midwayjs/midway/commit/e630fb143ba14eed64436612e9a86afc0d46b42d))
@@ -1,4 +1,4 @@
1
- export declare class AutoConfiguration {
1
+ export declare class ProcessAgentConfiguration {
2
2
  http_server: any;
3
3
  app: any;
4
4
  onReady(): Promise<void>;
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.AutoConfiguration = void 0;
12
+ exports.ProcessAgentConfiguration = void 0;
13
13
  const decorator_1 = require("@midwayjs/decorator");
14
14
  const utils_1 = require("./utils/utils");
15
15
  const os = require("os");
@@ -17,7 +17,7 @@ const path = require("path");
17
17
  const fs = require("fs");
18
18
  const http = require("http");
19
19
  const qs = require("querystring");
20
- let AutoConfiguration = class AutoConfiguration {
20
+ let ProcessAgentConfiguration = class ProcessAgentConfiguration {
21
21
  async onReady() {
22
22
  const modules = (0, decorator_1.listModule)('primary:primary');
23
23
  const handlers = {};
@@ -66,11 +66,11 @@ let AutoConfiguration = class AutoConfiguration {
66
66
  __decorate([
67
67
  (0, decorator_1.App)(),
68
68
  __metadata("design:type", Object)
69
- ], AutoConfiguration.prototype, "app", void 0);
70
- AutoConfiguration = __decorate([
69
+ ], ProcessAgentConfiguration.prototype, "app", void 0);
70
+ ProcessAgentConfiguration = __decorate([
71
71
  (0, decorator_1.Configuration)({
72
72
  namespace: 'process-agent',
73
73
  })
74
- ], AutoConfiguration);
75
- exports.AutoConfiguration = AutoConfiguration;
74
+ ], ProcessAgentConfiguration);
75
+ exports.ProcessAgentConfiguration = ProcessAgentConfiguration;
76
76
  //# sourceMappingURL=configuration.js.map
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { AutoConfiguration as Configuration } from './configuration';
1
+ export { ProcessAgentConfiguration as Configuration } from './configuration';
2
2
  export { RunInPrimary } from './decorator/primary';
3
3
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RunInPrimary = exports.Configuration = void 0;
4
4
  var configuration_1 = require("./configuration");
5
- Object.defineProperty(exports, "Configuration", { enumerable: true, get: function () { return configuration_1.AutoConfiguration; } });
5
+ Object.defineProperty(exports, "Configuration", { enumerable: true, get: function () { return configuration_1.ProcessAgentConfiguration; } });
6
6
  var primary_1 = require("./decorator/primary");
7
7
  Object.defineProperty(exports, "RunInPrimary", { enumerable: true, get: function () { return primary_1.RunInPrimary; } });
8
8
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/process-agent",
3
- "version": "3.0.0-alpha.43+8b8075f0",
3
+ "version": "3.0.0-beta.4",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -21,17 +21,17 @@
21
21
  "dist/**/*.d.ts"
22
22
  ],
23
23
  "engines": {
24
- "node": ">= 12.0.0"
24
+ "node": ">=12"
25
25
  },
26
26
  "license": "MIT",
27
27
  "devDependencies": {
28
- "@midwayjs/core": "^2.12.9",
29
- "@midwayjs/decorator": "^3.0.0-alpha.43+8b8075f0",
30
- "@midwayjs/koa": "^3.0.0-alpha.43+8b8075f0",
31
- "@midwayjs/mock": "^3.0.0-alpha.43+8b8075f0"
28
+ "@midwayjs/core": "^3.0.0-beta.4",
29
+ "@midwayjs/decorator": "^3.0.0-beta.4",
30
+ "@midwayjs/koa": "^3.0.0-beta.4",
31
+ "@midwayjs/mock": "^3.0.0-beta.4"
32
32
  },
33
33
  "dependencies": {
34
34
  "request": "^2.88.2"
35
35
  },
36
- "gitHead": "8b8075f0d40c5de19bb9026f0950e738ca512c7e"
36
+ "gitHead": "02e2144e302f807770b512b0d89da3145b1cbf2e"
37
37
  }