@typeberry/lib 0.5.1-52ed6dc → 0.5.1-a175c9e

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.
Files changed (121) hide show
  1. package/benchmarks/bytes/bytes-to-number.d.ts +6 -0
  2. package/benchmarks/bytes/compare.d.ts +6 -0
  3. package/benchmarks/bytes/hex-from.d.ts +1 -0
  4. package/benchmarks/bytes/hex-to.d.ts +1 -0
  5. package/benchmarks/codec/bigint.compare.d.ts +1 -0
  6. package/benchmarks/codec/bigint.decode.d.ts +1 -0
  7. package/benchmarks/codec/decoding.d.ts +1 -0
  8. package/benchmarks/codec/encoding.d.ts +1 -0
  9. package/benchmarks/codec/view_vs_collection.d.ts +1 -0
  10. package/benchmarks/codec/view_vs_object.d.ts +1 -0
  11. package/benchmarks/collections/hash-dict-vs-blob-dict_delete.d.ts +1 -0
  12. package/benchmarks/collections/hash-dict-vs-blob-dict_get.d.ts +1 -0
  13. package/benchmarks/collections/hash-dict-vs-blob-dict_set.d.ts +1 -0
  14. package/benchmarks/collections/map-set.d.ts +1 -0
  15. package/benchmarks/collections/map_vs_sorted.d.ts +1 -0
  16. package/benchmarks/crypto/ed25519.d.ts +1 -0
  17. package/benchmarks/hash/blake2b.d.ts +1 -0
  18. package/benchmarks/hash/index.d.ts +1 -0
  19. package/benchmarks/logger/index.d.ts +1 -0
  20. package/benchmarks/math/add_one_overflow.d.ts +1 -0
  21. package/benchmarks/math/count-bits-u32.d.ts +1 -0
  22. package/benchmarks/math/count-bits-u64.d.ts +2 -0
  23. package/benchmarks/math/mul_overflow.d.ts +1 -0
  24. package/benchmarks/math/switch.d.ts +1 -0
  25. package/block-json.cjs +1 -0
  26. package/block-json.d.ts +1 -0
  27. package/block-json.mjs +1 -0
  28. package/block.cjs +1 -0
  29. package/block.d.ts +1 -0
  30. package/block.mjs +1 -0
  31. package/bytes.cjs +1 -0
  32. package/bytes.d.ts +1 -0
  33. package/bytes.mjs +1 -0
  34. package/codec.cjs +1 -0
  35. package/codec.d.ts +1 -0
  36. package/codec.mjs +1 -0
  37. package/collections.cjs +1 -0
  38. package/collections.d.ts +1 -0
  39. package/collections.mjs +1 -0
  40. package/config-node.cjs +1 -0
  41. package/config-node.d.ts +1 -0
  42. package/config-node.mjs +1 -0
  43. package/config.cjs +1 -0
  44. package/config.d.ts +1 -0
  45. package/config.mjs +1 -0
  46. package/crypto.cjs +1 -0
  47. package/crypto.d.ts +1 -0
  48. package/crypto.mjs +1 -0
  49. package/database.cjs +1 -0
  50. package/database.d.ts +1 -0
  51. package/database.mjs +1 -0
  52. package/erasure-coding.cjs +1 -0
  53. package/erasure-coding.d.ts +1 -0
  54. package/erasure-coding.mjs +1 -0
  55. package/fuzz-proto.cjs +1 -0
  56. package/fuzz-proto.d.ts +1 -0
  57. package/fuzz-proto.mjs +1 -0
  58. package/hash.cjs +1 -0
  59. package/hash.d.ts +1 -0
  60. package/hash.mjs +1 -0
  61. package/importer.cjs +1 -0
  62. package/importer.d.ts +1 -0
  63. package/importer.mjs +1 -0
  64. package/index.cjs +391 -26763
  65. package/index.d.ts +1439 -1201
  66. package/index.mjs +312 -26732
  67. package/jam-host-calls.cjs +1 -0
  68. package/jam-host-calls.d.ts +1 -0
  69. package/jam-host-calls.mjs +1 -0
  70. package/json-parser.cjs +1 -0
  71. package/json-parser.d.ts +1 -0
  72. package/json-parser.mjs +1 -0
  73. package/logger.cjs +1 -0
  74. package/logger.d.ts +1 -0
  75. package/logger.mjs +1 -0
  76. package/mmr.cjs +1 -0
  77. package/mmr.d.ts +1 -0
  78. package/mmr.mjs +1 -0
  79. package/numbers.cjs +1 -0
  80. package/numbers.d.ts +1 -0
  81. package/numbers.mjs +1 -0
  82. package/ordering.cjs +1 -0
  83. package/ordering.d.ts +1 -0
  84. package/ordering.mjs +1 -0
  85. package/package.json +156 -1
  86. package/pvm-host-calls.cjs +1 -0
  87. package/pvm-host-calls.d.ts +1 -0
  88. package/pvm-host-calls.mjs +1 -0
  89. package/pvm-interface.cjs +1 -0
  90. package/pvm-interface.d.ts +1 -0
  91. package/pvm-interface.mjs +1 -0
  92. package/pvm-interpreter.cjs +1 -0
  93. package/pvm-interpreter.d.ts +1 -0
  94. package/pvm-interpreter.mjs +1 -0
  95. package/shuffling.cjs +1 -0
  96. package/shuffling.d.ts +1 -0
  97. package/shuffling.mjs +1 -0
  98. package/state-json.cjs +1 -0
  99. package/state-json.d.ts +1 -0
  100. package/state-json.mjs +1 -0
  101. package/state-merkleization.cjs +1 -0
  102. package/state-merkleization.d.ts +1 -0
  103. package/state-merkleization.mjs +1 -0
  104. package/state-vectors.cjs +1 -0
  105. package/state-vectors.d.ts +1 -0
  106. package/state-vectors.mjs +1 -0
  107. package/state.cjs +1 -0
  108. package/state.d.ts +1 -0
  109. package/state.mjs +1 -0
  110. package/transition.cjs +1 -0
  111. package/transition.d.ts +1 -0
  112. package/transition.mjs +1 -0
  113. package/trie.cjs +1 -0
  114. package/trie.d.ts +1 -0
  115. package/trie.mjs +1 -0
  116. package/utils.cjs +1 -0
  117. package/utils.d.ts +1 -0
  118. package/utils.mjs +1 -0
  119. package/workers-api.cjs +1 -0
  120. package/workers-api.d.ts +1 -0
  121. package/workers-api.mjs +1 -0
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Comparing conversion 6 bytes into U48 number using two functions:
3
+ * - ugly one that converts 4 bytes into U32 firstly using bit operations and then 2 bytes using math operations
4
+ * - a bit prettier one that convers all bytes using math operations
5
+ */
6
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Comparing Uint32 at a time MIGHT BE slightly faster in some
3
+ * edge cases only if the data view is created eagerly!
4
+ * and not worth the gains.
5
+ */
6
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<PromiseSettledResult<import("benny/lib/internal/common-types").Summary>[]>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<PromiseSettledResult<import("benny/lib/internal/common-types").Summary>[]>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<PromiseSettledResult<import("benny/lib/internal/common-types").Summary>[]>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1,2 @@
1
+ export declare function countBits64(val: bigint): number;
2
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
@@ -0,0 +1 @@
1
+ export default function run(): Promise<import("benny/lib/internal/common-types").Summary>;
package/block-json.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require("@typeberry/block-json");
@@ -0,0 +1 @@
1
+ export * from "@typeberry/block-json";
package/block-json.mjs ADDED
@@ -0,0 +1 @@
1
+ export * from "@typeberry/block-json";
package/block.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require("@typeberry/block");
package/block.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@typeberry/block";
package/block.mjs ADDED
@@ -0,0 +1 @@
1
+ export * from "@typeberry/block";
package/bytes.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require("@typeberry/bytes");
package/bytes.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@typeberry/bytes";
package/bytes.mjs ADDED
@@ -0,0 +1 @@
1
+ export * from "@typeberry/bytes";
package/codec.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require("@typeberry/codec");
package/codec.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@typeberry/codec";
package/codec.mjs ADDED
@@ -0,0 +1 @@
1
+ export * from "@typeberry/codec";
@@ -0,0 +1 @@
1
+ module.exports = require("@typeberry/collections");
@@ -0,0 +1 @@
1
+ export * from "@typeberry/collections";
@@ -0,0 +1 @@
1
+ export * from "@typeberry/collections";
@@ -0,0 +1 @@
1
+ module.exports = require("@typeberry/config-node");
@@ -0,0 +1 @@
1
+ export * from "@typeberry/config-node";
@@ -0,0 +1 @@
1
+ export * from "@typeberry/config-node";
package/config.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require("@typeberry/config");
package/config.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@typeberry/config";
package/config.mjs ADDED
@@ -0,0 +1 @@
1
+ export * from "@typeberry/config";
package/crypto.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require("@typeberry/crypto");
package/crypto.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@typeberry/crypto";
package/crypto.mjs ADDED
@@ -0,0 +1 @@
1
+ export * from "@typeberry/crypto";
package/database.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require("@typeberry/database");
package/database.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@typeberry/database";
package/database.mjs ADDED
@@ -0,0 +1 @@
1
+ export * from "@typeberry/database";
@@ -0,0 +1 @@
1
+ module.exports = require("@typeberry/erasure-coding");
@@ -0,0 +1 @@
1
+ export * from "@typeberry/erasure-coding";
@@ -0,0 +1 @@
1
+ export * from "@typeberry/erasure-coding";
package/fuzz-proto.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require("@typeberry/fuzz-proto");
@@ -0,0 +1 @@
1
+ export * from "@typeberry/fuzz-proto";
package/fuzz-proto.mjs ADDED
@@ -0,0 +1 @@
1
+ export * from "@typeberry/fuzz-proto";
package/hash.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require("@typeberry/hash");
package/hash.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@typeberry/hash";
package/hash.mjs ADDED
@@ -0,0 +1 @@
1
+ export * from "@typeberry/hash";
package/importer.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require("@typeberry/importer");
package/importer.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@typeberry/importer";
package/importer.mjs ADDED
@@ -0,0 +1 @@
1
+ export * from "@typeberry/importer";