@conduitplatform/module-tools 0.16.9 → 0.16.11

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,10 +1,10 @@
1
- import { Express } from 'express';
2
1
  import { Registry } from 'prom-client';
3
2
  export declare class MetricsServer {
4
3
  private readonly moduleName;
5
4
  private readonly instance;
6
5
  private readonly Registry;
7
6
  constructor(moduleName: string, instance: string, registry: Registry);
8
- initialize(): Express;
9
- getHttpPort(): number;
7
+ initialize(): import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>;
8
+ private requestHandler;
9
+ private getHttpPort;
10
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduitplatform/module-tools",
3
- "version": "0.16.9",
3
+ "version": "0.16.11",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",
@@ -30,9 +30,8 @@
30
30
  "dependencies": {
31
31
  "@grpc/grpc-js": "^1.10.9",
32
32
  "@grpc/proto-loader": "^0.7.6",
33
- "abort-controller-x": "^0.4.1",
33
+ "abort-controller-x": "^0.4.3",
34
34
  "convict": "^6.2.4",
35
- "express": "^4.19.2",
36
35
  "fast-jwt": "^3.3.2",
37
36
  "lodash": "^4.17.21",
38
37
  "lodash-es": "^4.17.21",
@@ -60,15 +59,14 @@
60
59
  "@rollup/plugin-replace": "^5.0.7",
61
60
  "@rollup/plugin-typescript": "^11.1.6",
62
61
  "@types/convict": "^6.1.6",
63
- "@types/express": "^4.17.21",
64
62
  "@types/fs-extra": "^11.0.4",
65
63
  "@types/google-protobuf": "^3.15.12",
66
- "@types/lodash": "^4.17.6",
64
+ "@types/lodash": "^4.17.12",
67
65
  "@types/lodash-es": "^4.17.12",
68
66
  "@types/node": "20.11.24",
69
67
  "copyfiles": "^2.4.1",
70
68
  "rimraf": "^5.0.5",
71
- "rollup": "^4.18.0",
69
+ "rollup": "^4.22.4",
72
70
  "ts-node": "^10.9.2",
73
71
  "ts-proto": "^1.167.1",
74
72
  "tslib": "^2.6.3",