@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 @@
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";
@@ -0,0 +1 @@
1
+ module.exports = require("@typeberry/json-parser");
@@ -0,0 +1 @@
1
+ export * from "@typeberry/json-parser";
@@ -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-52ed6dc",
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");
@@ -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");
@@ -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";
@@ -0,0 +1 @@
1
+ module.exports = require("@typeberry/workers-api");
@@ -0,0 +1 @@
1
+ export * from "@typeberry/workers-api";
@@ -0,0 +1 @@
1
+ export * from "@typeberry/workers-api";