fix: pass component logger to simple metrics (#6)

--------- Co-authored-by: Daniel N <2color@users.noreply.github.com> Co-authored-by: Alex Potsides <alex@achingbrain.net>

Daniel Norman committed Jun 25, 2025 at 14:03 UTC c8f9544825e76ded96f1201ca18cd312bf31e962
1 file changed +1 -1
packages/libp2p-inspector-metrics/src/index.ts
+1 -1
@@ -200,7 +200,7 @@ class InspectorMetrics implements Metrics, Startable {
200 this.log.error('error sending metrics', err)
201 })
202 }
203 - })({})
203 + })(components)
204 }
205
206 readonly [Symbol.toStringTag] = '@ipshipyard/libp2p-inspector-metrics'