@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 @@
|
|
|
1
|
+
module.exports = require("@typeberry/jam-host-calls");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/jam-host-calls";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/jam-host-calls";
|
package/json-parser.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/json-parser");
|
package/json-parser.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/json-parser";
|
package/json-parser.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/json-parser";
|
package/logger.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/logger");
|
package/logger.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/logger";
|
package/logger.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/logger";
|
package/mmr.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/mmr");
|
package/mmr.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/mmr";
|
package/mmr.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/mmr";
|
package/numbers.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/numbers");
|
package/numbers.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/numbers";
|
package/numbers.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/numbers";
|
package/ordering.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/ordering");
|
package/ordering.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/ordering";
|
package/ordering.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/ordering";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typeberry/lib",
|
|
3
|
-
"version": "0.5.1-
|
|
3
|
+
"version": "0.5.1-a175c9e",
|
|
4
4
|
"main": "index.cjs",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"author": "Fluffy Labs",
|
|
@@ -11,6 +11,161 @@
|
|
|
11
11
|
"types": "./index.d.ts",
|
|
12
12
|
"import": "./index.mjs",
|
|
13
13
|
"require": "./index.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./block": {
|
|
16
|
+
"types": "./block.d.ts",
|
|
17
|
+
"import": "./block.mjs",
|
|
18
|
+
"require": "./block.cjs"
|
|
19
|
+
},
|
|
20
|
+
"./block-json": {
|
|
21
|
+
"types": "./block-json.d.ts",
|
|
22
|
+
"import": "./block-json.mjs",
|
|
23
|
+
"require": "./block-json.cjs"
|
|
24
|
+
},
|
|
25
|
+
"./bytes": {
|
|
26
|
+
"types": "./bytes.d.ts",
|
|
27
|
+
"import": "./bytes.mjs",
|
|
28
|
+
"require": "./bytes.cjs"
|
|
29
|
+
},
|
|
30
|
+
"./codec": {
|
|
31
|
+
"types": "./codec.d.ts",
|
|
32
|
+
"import": "./codec.mjs",
|
|
33
|
+
"require": "./codec.cjs"
|
|
34
|
+
},
|
|
35
|
+
"./collections": {
|
|
36
|
+
"types": "./collections.d.ts",
|
|
37
|
+
"import": "./collections.mjs",
|
|
38
|
+
"require": "./collections.cjs"
|
|
39
|
+
},
|
|
40
|
+
"./config": {
|
|
41
|
+
"types": "./config.d.ts",
|
|
42
|
+
"import": "./config.mjs",
|
|
43
|
+
"require": "./config.cjs"
|
|
44
|
+
},
|
|
45
|
+
"./config-node": {
|
|
46
|
+
"types": "./config-node.d.ts",
|
|
47
|
+
"import": "./config-node.mjs",
|
|
48
|
+
"require": "./config-node.cjs"
|
|
49
|
+
},
|
|
50
|
+
"./crypto": {
|
|
51
|
+
"types": "./crypto.d.ts",
|
|
52
|
+
"import": "./crypto.mjs",
|
|
53
|
+
"require": "./crypto.cjs"
|
|
54
|
+
},
|
|
55
|
+
"./database": {
|
|
56
|
+
"types": "./database.d.ts",
|
|
57
|
+
"import": "./database.mjs",
|
|
58
|
+
"require": "./database.cjs"
|
|
59
|
+
},
|
|
60
|
+
"./erasure-coding": {
|
|
61
|
+
"types": "./erasure-coding.d.ts",
|
|
62
|
+
"import": "./erasure-coding.mjs",
|
|
63
|
+
"require": "./erasure-coding.cjs"
|
|
64
|
+
},
|
|
65
|
+
"./fuzz-proto": {
|
|
66
|
+
"types": "./fuzz-proto.d.ts",
|
|
67
|
+
"import": "./fuzz-proto.mjs",
|
|
68
|
+
"require": "./fuzz-proto.cjs"
|
|
69
|
+
},
|
|
70
|
+
"./hash": {
|
|
71
|
+
"types": "./hash.d.ts",
|
|
72
|
+
"import": "./hash.mjs",
|
|
73
|
+
"require": "./hash.cjs"
|
|
74
|
+
},
|
|
75
|
+
"./importer": {
|
|
76
|
+
"types": "./importer.d.ts",
|
|
77
|
+
"import": "./importer.mjs",
|
|
78
|
+
"require": "./importer.cjs"
|
|
79
|
+
},
|
|
80
|
+
"./jam-host-calls": {
|
|
81
|
+
"types": "./jam-host-calls.d.ts",
|
|
82
|
+
"import": "./jam-host-calls.mjs",
|
|
83
|
+
"require": "./jam-host-calls.cjs"
|
|
84
|
+
},
|
|
85
|
+
"./json-parser": {
|
|
86
|
+
"types": "./json-parser.d.ts",
|
|
87
|
+
"import": "./json-parser.mjs",
|
|
88
|
+
"require": "./json-parser.cjs"
|
|
89
|
+
},
|
|
90
|
+
"./logger": {
|
|
91
|
+
"types": "./logger.d.ts",
|
|
92
|
+
"import": "./logger.mjs",
|
|
93
|
+
"require": "./logger.cjs"
|
|
94
|
+
},
|
|
95
|
+
"./mmr": {
|
|
96
|
+
"types": "./mmr.d.ts",
|
|
97
|
+
"import": "./mmr.mjs",
|
|
98
|
+
"require": "./mmr.cjs"
|
|
99
|
+
},
|
|
100
|
+
"./numbers": {
|
|
101
|
+
"types": "./numbers.d.ts",
|
|
102
|
+
"import": "./numbers.mjs",
|
|
103
|
+
"require": "./numbers.cjs"
|
|
104
|
+
},
|
|
105
|
+
"./ordering": {
|
|
106
|
+
"types": "./ordering.d.ts",
|
|
107
|
+
"import": "./ordering.mjs",
|
|
108
|
+
"require": "./ordering.cjs"
|
|
109
|
+
},
|
|
110
|
+
"./pvm-host-calls": {
|
|
111
|
+
"types": "./pvm-host-calls.d.ts",
|
|
112
|
+
"import": "./pvm-host-calls.mjs",
|
|
113
|
+
"require": "./pvm-host-calls.cjs"
|
|
114
|
+
},
|
|
115
|
+
"./pvm-interface": {
|
|
116
|
+
"types": "./pvm-interface.d.ts",
|
|
117
|
+
"import": "./pvm-interface.mjs",
|
|
118
|
+
"require": "./pvm-interface.cjs"
|
|
119
|
+
},
|
|
120
|
+
"./pvm-interpreter": {
|
|
121
|
+
"types": "./pvm-interpreter.d.ts",
|
|
122
|
+
"import": "./pvm-interpreter.mjs",
|
|
123
|
+
"require": "./pvm-interpreter.cjs"
|
|
124
|
+
},
|
|
125
|
+
"./shuffling": {
|
|
126
|
+
"types": "./shuffling.d.ts",
|
|
127
|
+
"import": "./shuffling.mjs",
|
|
128
|
+
"require": "./shuffling.cjs"
|
|
129
|
+
},
|
|
130
|
+
"./state": {
|
|
131
|
+
"types": "./state.d.ts",
|
|
132
|
+
"import": "./state.mjs",
|
|
133
|
+
"require": "./state.cjs"
|
|
134
|
+
},
|
|
135
|
+
"./state-json": {
|
|
136
|
+
"types": "./state-json.d.ts",
|
|
137
|
+
"import": "./state-json.mjs",
|
|
138
|
+
"require": "./state-json.cjs"
|
|
139
|
+
},
|
|
140
|
+
"./state-merkleization": {
|
|
141
|
+
"types": "./state-merkleization.d.ts",
|
|
142
|
+
"import": "./state-merkleization.mjs",
|
|
143
|
+
"require": "./state-merkleization.cjs"
|
|
144
|
+
},
|
|
145
|
+
"./state-vectors": {
|
|
146
|
+
"types": "./state-vectors.d.ts",
|
|
147
|
+
"import": "./state-vectors.mjs",
|
|
148
|
+
"require": "./state-vectors.cjs"
|
|
149
|
+
},
|
|
150
|
+
"./transition": {
|
|
151
|
+
"types": "./transition.d.ts",
|
|
152
|
+
"import": "./transition.mjs",
|
|
153
|
+
"require": "./transition.cjs"
|
|
154
|
+
},
|
|
155
|
+
"./trie": {
|
|
156
|
+
"types": "./trie.d.ts",
|
|
157
|
+
"import": "./trie.mjs",
|
|
158
|
+
"require": "./trie.cjs"
|
|
159
|
+
},
|
|
160
|
+
"./utils": {
|
|
161
|
+
"types": "./utils.d.ts",
|
|
162
|
+
"import": "./utils.mjs",
|
|
163
|
+
"require": "./utils.cjs"
|
|
164
|
+
},
|
|
165
|
+
"./workers-api": {
|
|
166
|
+
"types": "./workers-api.d.ts",
|
|
167
|
+
"import": "./workers-api.mjs",
|
|
168
|
+
"require": "./workers-api.cjs"
|
|
14
169
|
}
|
|
15
170
|
}
|
|
16
171
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/pvm-host-calls");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/pvm-host-calls";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/pvm-host-calls";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/pvm-interface");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/pvm-interface";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/pvm-interface";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/pvm-interpreter");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/pvm-interpreter";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/pvm-interpreter";
|
package/shuffling.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/shuffling");
|
package/shuffling.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/shuffling";
|
package/shuffling.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/shuffling";
|
package/state-json.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/state-json");
|
package/state-json.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/state-json";
|
package/state-json.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/state-json";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/state-merkleization");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/state-merkleization";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/state-merkleization";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/state-vectors");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/state-vectors";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/state-vectors";
|
package/state.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/state");
|
package/state.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/state";
|
package/state.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/state";
|
package/transition.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/transition");
|
package/transition.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/transition";
|
package/transition.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/transition";
|
package/trie.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/trie");
|
package/trie.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/trie";
|
package/trie.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/trie";
|
package/utils.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/utils");
|
package/utils.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/utils";
|
package/utils.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/utils";
|
package/workers-api.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("@typeberry/workers-api");
|
package/workers-api.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/workers-api";
|
package/workers-api.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@typeberry/workers-api";
|