diff --git a/package-lock.json b/package-lock.json index b1ff476..d2231d1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "@libp2p/kad-dht": "^12.0.10", "@libp2p/mplex": "^10.0.17", "@libp2p/peer-id": "^4.0.8", - "@libp2p/prometheus-metrics": "^3.0.17", + "@libp2p/prometheus-metrics": "^4.1.3", "@libp2p/tcp": "^9.0.17", "@libp2p/tls": "^1.0.3", "@libp2p/webrtc": "^4.0.23", @@ -4324,17 +4324,30 @@ } }, "node_modules/@libp2p/prometheus-metrics": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@libp2p/prometheus-metrics/-/prometheus-metrics-3.1.1.tgz", - "integrity": "sha512-PjXd7bjnX1WW6rMO/fIrh8F1IDIpuBNU3gpKA4/2KwgR/BuEiisX2PJYAYIbmdARPEzmZuRCKRsfPNRPZWpb6A==", + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@libp2p/prometheus-metrics/-/prometheus-metrics-4.1.3.tgz", + "integrity": "sha512-oTAyllIYoqmII55/QaaTCt3Ns0VBPTIg0kasiwy9TjZ+pOyl7R+1fxNxoY5c/qEkKZa0ssVJrU+PlyyOhwXauQ==", "dependencies": { - "@libp2p/interface": "^1.6.0", + "@libp2p/interface": "^2.1.2", "it-foreach": "^2.1.0", "it-stream-types": "^2.0.1", "prom-client": "^15.1.2", "uint8arraylist": "^2.4.8" } }, + "node_modules/@libp2p/prometheus-metrics/node_modules/@libp2p/interface": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-2.1.2.tgz", + "integrity": "sha512-uD4NapC+1qGX7RmgC1aehQm3pMs1MpO1DwuhUlAo1M6CyNxfs1Ha9jhg2T+G4u4CAJM6wffZTyPGnKnrR+M8Fw==", + "dependencies": { + "@multiformats/multiaddr": "^12.2.3", + "it-pushable": "^3.2.3", + "it-stream-types": "^2.0.1", + "multiformats": "^13.1.0", + "progress-events": "^1.0.0", + "uint8arraylist": "^2.4.8" + } + }, "node_modules/@libp2p/record": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/@libp2p/record/-/record-4.0.3.tgz", diff --git a/package.json b/package.json index 39e2b7b..362f658 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "@libp2p/kad-dht": "^12.0.10", "@libp2p/mplex": "^10.0.17", "@libp2p/peer-id": "^4.0.8", - "@libp2p/prometheus-metrics": "^3.0.17", + "@libp2p/prometheus-metrics": "^4.1.3", "@libp2p/tcp": "^9.0.17", "@libp2p/tls": "^1.0.3", "@libp2p/webrtc": "^4.0.23",