@typeberry/lib 0.8.2-db0d6dc → 0.8.3-43d8627

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typeberry/lib",
3
- "version": "0.8.2-db0d6dc",
3
+ "version": "0.8.3-43d8627",
4
4
  "description": "Typeberry Library",
5
5
  "main": "./bin/lib/index.js",
6
6
  "types": "./bin/lib/index.d.ts",
@@ -267,7 +267,7 @@
267
267
  "@fluffylabs/anan-as": "^1.4.0",
268
268
  "@noble/ed25519": "2.2.3",
269
269
  "hash-wasm": "4.12.0",
270
- "@typeberry/native": "0.3.0-462f2ab",
270
+ "@typeberry/native": "0.3.0-5dae93e",
271
271
  "eventemitter3": "^5.0.1",
272
272
  "@opentelemetry/api": "1.9.0"
273
273
  },
@@ -115,7 +115,7 @@ export function measure(id) {
115
115
  }
116
116
  const BYTES_IN_MB = 1024 * 1024;
117
117
  const toMb = (bytes) => (bytes / BYTES_IN_MB).toFixed(1);
118
- const signedMb = (bytes) => `${bytes >= 0 ? "+" : "-"}${toMb(bytes)}`;
118
+ const signedMb = (bytes) => `${bytes >= 0 ? "+" : ""}${toMb(bytes)}`;
119
119
  /** Raw process memory usage, or `null` in environments without `process` (e.g. browser). */
120
120
  function rawMemoryUsage() {
121
121
  if (isBrowser() || typeof process.memoryUsage !== "function") {