badmfck-api-server 1.6.4 → 1.6.6

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.
@@ -47,7 +47,7 @@ async function Initializer(services) {
47
47
  exports.Initializer = Initializer;
48
48
  class APIService extends BaseService_1.BaseService {
49
49
  static nextLogID = 0;
50
- version = "1.6.2";
50
+ version = "1.6.6";
51
51
  options;
52
52
  monitor;
53
53
  monitorIndexFile;
@@ -150,6 +150,7 @@ class APIService extends BaseService_1.BaseService {
150
150
  params: req.params,
151
151
  headers: req.headers,
152
152
  endpoint: ep,
153
+ query: req.query
153
154
  };
154
155
  let result;
155
156
  try {
@@ -15,6 +15,7 @@ export interface HTTPRequestVO {
15
15
  raw: any;
16
16
  method: string;
17
17
  data: any;
18
+ query: any;
18
19
  params: {
19
20
  [key: string]: string;
20
21
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "badmfck-api-server",
3
- "version": "1.6.4",
3
+ "version": "1.6.6",
4
4
  "description": "Simple API http server based on express",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",