@aztec/p2p 1.0.0-staging.3 → 1.0.0-staging.5

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.
@@ -133,7 +133,7 @@ export class P2PInstrumentation {
133
133
  ]){
134
134
  for (const topicName of Object.values(TopicType)){
135
135
  const histogram = histograms.get(topicName);
136
- if (!histogram) {
136
+ if (!histogram || histogram.count === 0) {
137
137
  continue;
138
138
  }
139
139
  res.observe(metrics.avg, histogram.mean, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/p2p",
3
- "version": "1.0.0-staging.3",
3
+ "version": "1.0.0-staging.5",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dest/index.js",
@@ -67,17 +67,17 @@
67
67
  ]
68
68
  },
69
69
  "dependencies": {
70
- "@aztec/constants": "1.0.0-staging.3",
71
- "@aztec/epoch-cache": "1.0.0-staging.3",
72
- "@aztec/ethereum": "1.0.0-staging.3",
73
- "@aztec/foundation": "1.0.0-staging.3",
74
- "@aztec/kv-store": "1.0.0-staging.3",
75
- "@aztec/noir-contracts.js": "1.0.0-staging.3",
76
- "@aztec/noir-protocol-circuits-types": "1.0.0-staging.3",
77
- "@aztec/protocol-contracts": "1.0.0-staging.3",
78
- "@aztec/simulator": "1.0.0-staging.3",
79
- "@aztec/stdlib": "1.0.0-staging.3",
80
- "@aztec/telemetry-client": "1.0.0-staging.3",
70
+ "@aztec/constants": "1.0.0-staging.5",
71
+ "@aztec/epoch-cache": "1.0.0-staging.5",
72
+ "@aztec/ethereum": "1.0.0-staging.5",
73
+ "@aztec/foundation": "1.0.0-staging.5",
74
+ "@aztec/kv-store": "1.0.0-staging.5",
75
+ "@aztec/noir-contracts.js": "1.0.0-staging.5",
76
+ "@aztec/noir-protocol-circuits-types": "1.0.0-staging.5",
77
+ "@aztec/protocol-contracts": "1.0.0-staging.5",
78
+ "@aztec/simulator": "1.0.0-staging.5",
79
+ "@aztec/stdlib": "1.0.0-staging.5",
80
+ "@aztec/telemetry-client": "1.0.0-staging.5",
81
81
  "@chainsafe/discv5": "9.0.0",
82
82
  "@chainsafe/enr": "3.0.0",
83
83
  "@chainsafe/libp2p-gossipsub": "13.0.0",
@@ -107,7 +107,7 @@
107
107
  "xxhash-wasm": "^1.1.0"
108
108
  },
109
109
  "devDependencies": {
110
- "@aztec/archiver": "1.0.0-staging.3",
110
+ "@aztec/archiver": "1.0.0-staging.5",
111
111
  "@jest/globals": "^30.0.0",
112
112
  "@types/jest": "^30.0.0",
113
113
  "@types/node": "^22.15.17",
@@ -143,7 +143,7 @@ export class P2PInstrumentation {
143
143
  ] as const) {
144
144
  for (const topicName of Object.values(TopicType)) {
145
145
  const histogram = histograms.get(topicName);
146
- if (!histogram) {
146
+ if (!histogram || histogram.count === 0) {
147
147
  continue;
148
148
  }
149
149