@nexusts/metrics 0.7.6 → 0.7.7

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.
@@ -18,7 +18,7 @@ export declare class MetricsController {
18
18
  * @example
19
19
  * app.get("/metrics", MetricsController.handler(svc));
20
20
  */
21
- static handler(service: MetricsService): (c: Context) => any;
21
+ static handler(service: MetricsService): (c: Context) => Response & import("hono").TypedResponse<string, 200, "body">;
22
22
  /** Mount the controller on the given Hono app at `path`. */
23
23
  static mount(app: {
24
24
  get: (path: string, ...handlers: unknown[]) => unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexusts/metrics",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "description": "Prometheus / OpenMetrics counters and gauges",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -26,6 +26,6 @@
26
26
  ],
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
- "@nexusts/core": "^0.7.6"
29
+ "@nexusts/core": "^0.7.7"
30
30
  }
31
31
  }