@conduitplatform/grpc-sdk 0.16.2 → 0.16.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.
@@ -11,7 +11,7 @@ export declare class ConduitModule<T extends CompatServiceDefinition> {
11
11
  protected channel?: Channel;
12
12
  protected protoPath?: string;
13
13
  protected type?: T;
14
- protected readonly healthCheckEmitter: EventEmitter;
14
+ protected readonly healthCheckEmitter: EventEmitter<[never]>;
15
15
  constructor(_clientName: string, _serviceName: string, _serviceUrl: string, _grpcToken?: string | undefined);
16
16
  private _client?;
17
17
  get client(): Client<T> | undefined;
@@ -20,7 +20,7 @@ export declare class ConduitModule<T extends CompatServiceDefinition> {
20
20
  private _moduleClient?;
21
21
  get moduleClient(): Client<typeof ConduitModuleDefinition> | undefined;
22
22
  get active(): boolean;
23
- get healthCheckWatcher(): EventEmitter;
23
+ get healthCheckWatcher(): EventEmitter<[never]>;
24
24
  initializeClient(type: T): Client<T>;
25
25
  openConnection(): void;
26
26
  closeConnection(): void;
@@ -29,6 +29,6 @@ export declare class Config extends ConduitModule<typeof ConfigDefinition> {
29
29
  }>;
30
30
  registerModule(name: string, url: string, healthStatus: Omit<HealthCheckStatus, HealthCheckStatus.SERVICE_UNKNOWN>): Promise<boolean>;
31
31
  moduleHealthProbe(name: string, url: string): void;
32
- getModuleWatcher(): EventEmitter;
32
+ getModuleWatcher(): EventEmitter<[never]>;
33
33
  watchModules(): Promise<void>;
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduitplatform/grpc-sdk",
3
- "version": "0.16.2",
3
+ "version": "0.16.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "engines": {
@@ -21,7 +21,7 @@
21
21
  "@sesamecare-oss/redlock": "^1.2.0",
22
22
  "abort-controller-x": "^0.4.1",
23
23
  "convict": "^6.2.4",
24
- "express": "^4.18.2",
24
+ "express": "^4.19.2",
25
25
  "fast-jwt": "^3.3.2",
26
26
  "fs-extra": "^11.2.0",
27
27
  "ioredis": "^5.3.2",
@@ -30,7 +30,7 @@
30
30
  "nice-grpc-client-middleware-retry": "^3",
31
31
  "prom-client": "^15.1.0",
32
32
  "protobufjs": "^7.2.6",
33
- "winston": "^3.8.2",
33
+ "winston": "^3.12.0",
34
34
  "winston-loki": "^6.0.8"
35
35
  },
36
36
  "directories": {
@@ -51,7 +51,7 @@
51
51
  "@types/fs-extra": "^11.0.4",
52
52
  "@types/google-protobuf": "^3.15.12",
53
53
  "@types/lodash-es": "^4.17.12",
54
- "@types/node": "20.11.13",
54
+ "@types/node": "20.11.24",
55
55
  "copyfiles": "^2.4.1",
56
56
  "rimraf": "^5.0.5",
57
57
  "ts-proto": "^1.167.1",