@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.
- package/benchmarks/bytes/bytes-to-number.d.ts +6 -0
- package/benchmarks/bytes/compare.d.ts +6 -0
- package/benchmarks/bytes/hex-from.d.ts +1 -0
- package/benchmarks/bytes/hex-to.d.ts +1 -0
- package/benchmarks/codec/bigint.compare.d.ts +1 -0
- package/benchmarks/codec/bigint.decode.d.ts +1 -0
- package/benchmarks/codec/decoding.d.ts +1 -0
- package/benchmarks/codec/encoding.d.ts +1 -0
- package/benchmarks/codec/view_vs_collection.d.ts +1 -0
- package/benchmarks/codec/view_vs_object.d.ts +1 -0
- package/benchmarks/collections/hash-dict-vs-blob-dict_delete.d.ts +1 -0
- package/benchmarks/collections/hash-dict-vs-blob-dict_get.d.ts +1 -0
- package/benchmarks/collections/hash-dict-vs-blob-dict_set.d.ts +1 -0
- package/benchmarks/collections/map-set.d.ts +1 -0
- package/benchmarks/collections/map_vs_sorted.d.ts +1 -0
- package/benchmarks/crypto/ed25519.d.ts +1 -0
- package/benchmarks/hash/blake2b.d.ts +1 -0
- package/benchmarks/hash/index.d.ts +1 -0
- package/benchmarks/logger/index.d.ts +1 -0
- package/benchmarks/math/add_one_overflow.d.ts +1 -0
- package/benchmarks/math/count-bits-u32.d.ts +1 -0
- package/benchmarks/math/count-bits-u64.d.ts +2 -0
- package/benchmarks/math/mul_overflow.d.ts +1 -0
- package/benchmarks/math/switch.d.ts +1 -0
- package/block-json.cjs +1 -0
- package/block-json.d.ts +1 -0
- package/block-json.mjs +1 -0
- package/block.cjs +1 -0
- package/block.d.ts +1 -0
- package/block.mjs +1 -0
- package/bytes.cjs +1 -0
- package/bytes.d.ts +1 -0
- package/bytes.mjs +1 -0
- package/codec.cjs +1 -0
- package/codec.d.ts +1 -0
- package/codec.mjs +1 -0
- package/collections.cjs +1 -0
- package/collections.d.ts +1 -0
- package/collections.mjs +1 -0
- package/config-node.cjs +1 -0
- package/config-node.d.ts +1 -0
- package/config-node.mjs +1 -0
- package/config.cjs +1 -0
- package/config.d.ts +1 -0
- package/config.mjs +1 -0
- package/crypto.cjs +1 -0
- package/crypto.d.ts +1 -0
- package/crypto.mjs +1 -0
- package/database.cjs +1 -0
- package/database.d.ts +1 -0
- package/database.mjs +1 -0
- package/erasure-coding.cjs +1 -0
- package/erasure-coding.d.ts +1 -0
- package/erasure-coding.mjs +1 -0
- package/fuzz-proto.cjs +1 -0
- package/fuzz-proto.d.ts +1 -0
- package/fuzz-proto.mjs +1 -0
- package/hash.cjs +1 -0
- package/hash.d.ts +1 -0
- package/hash.mjs +1 -0
- package/importer.cjs +1 -0
- package/importer.d.ts +1 -0
- package/importer.mjs +1 -0
- package/index.cjs +391 -26763
- package/index.d.ts +1439 -1201
- package/index.mjs +312 -26732
- package/jam-host-calls.cjs +1 -0
- package/jam-host-calls.d.ts +1 -0
- package/jam-host-calls.mjs +1 -0
- package/json-parser.cjs +1 -0
- package/json-parser.d.ts +1 -0
- package/json-parser.mjs +1 -0
- package/logger.cjs +1 -0
- package/logger.d.ts +1 -0
- package/logger.mjs +1 -0
- package/mmr.cjs +1 -0
- package/mmr.d.ts +1 -0
- package/mmr.mjs +1 -0
- package/numbers.cjs +1 -0
- package/numbers.d.ts +1 -0
- package/numbers.mjs +1 -0
- package/ordering.cjs +1 -0
- package/ordering.d.ts +1 -0
- package/ordering.mjs +1 -0
- package/package.json +156 -1
- package/pvm-host-calls.cjs +1 -0
- package/pvm-host-calls.d.ts +1 -0
- package/pvm-host-calls.mjs +1 -0
- package/pvm-interface.cjs +1 -0
- package/pvm-interface.d.ts +1 -0
- package/pvm-interface.mjs +1 -0
- package/pvm-interpreter.cjs +1 -0
- package/pvm-interpreter.d.ts +1 -0
- package/pvm-interpreter.mjs +1 -0
- package/shuffling.cjs +1 -0
- package/shuffling.d.ts +1 -0
- package/shuffling.mjs +1 -0
- package/state-json.cjs +1 -0
- package/state-json.d.ts +1 -0
- package/state-json.mjs +1 -0
- package/state-merkleization.cjs +1 -0
- package/state-merkleization.d.ts +1 -0
- package/state-merkleization.mjs +1 -0
- package/state-vectors.cjs +1 -0
- package/state-vectors.d.ts +1 -0
- package/state-vectors.mjs +1 -0
- package/state.cjs +1 -0
- package/state.d.ts +1 -0
- package/state.mjs +1 -0
- package/transition.cjs +1 -0
- package/transition.d.ts +1 -0
- package/transition.mjs +1 -0
- package/trie.cjs +1 -0
- package/trie.d.ts +1 -0
- package/trie.mjs +1 -0
- package/utils.cjs +1 -0
- package/utils.d.ts +1 -0
- package/utils.mjs +1 -0
- package/workers-api.cjs +1 -0
- package/workers-api.d.ts +1 -0
- 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 @@
|
|
|
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 @@
|
|
|
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");
|
package/block-json.d.ts
ADDED
|
@@ -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";
|
package/collections.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/collections");
|
package/collections.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/collections";
|
package/collections.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/collections";
|
package/config-node.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/config-node");
|
package/config-node.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/config-node";
|
package/config-node.mjs
ADDED
|
@@ -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");
|
package/fuzz-proto.d.ts
ADDED
|
@@ -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";
|