@typeberry/jam 0.4.0-203a18d → 0.4.0-2473e55
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/README.md +5 -0
- package/bootstrap-generator.mjs +3 -3
- package/bootstrap-generator.mjs.map +1 -1
- package/bootstrap-importer.mjs +3 -6
- package/bootstrap-importer.mjs.map +1 -1
- package/bootstrap-network.mjs +3 -6
- package/bootstrap-network.mjs.map +1 -1
- package/index.js +3 -6
- package/index.js.map +1 -1
- package/package.json +1 -1
package/bootstrap-importer.mjs
CHANGED
|
@@ -3609,8 +3609,8 @@ class compatibility_Compatibility {
|
|
|
3609
3609
|
/**
|
|
3610
3610
|
* Allows selecting different values for different Gray Paper versions from one record.
|
|
3611
3611
|
*
|
|
3612
|
-
*
|
|
3613
|
-
*
|
|
3612
|
+
* fallback The default value to return if no value is found for the current.
|
|
3613
|
+
* versions A record mapping versions to values, checking if the version is greater or equal to the current version.
|
|
3614
3614
|
* @returns The value for the current version, or the default value.
|
|
3615
3615
|
*/
|
|
3616
3616
|
static selectIfGreaterOrEqual({ fallback, versions, }) {
|
|
@@ -3773,7 +3773,7 @@ const workspacePathFix = dev_env.NODE_ENV === "development"
|
|
|
3773
3773
|
|
|
3774
3774
|
;// CONCATENATED MODULE: ./packages/core/utils/opaque.ts
|
|
3775
3775
|
/**
|
|
3776
|
-
*
|
|
3776
|
+
* `Opaque<Type, Token>` constructs a unique type which is a subset of Type with a
|
|
3777
3777
|
* specified unique token Token. It means that base type cannot be assigned to unique type by accident.
|
|
3778
3778
|
* Good examples of opaque types include:
|
|
3779
3779
|
* - JWTs or other tokens - these are special kinds of string used for authorization purposes.
|
|
@@ -13210,7 +13210,6 @@ class LeafNode {
|
|
|
13210
13210
|
/**
|
|
13211
13211
|
* Get the byte length of embedded value.
|
|
13212
13212
|
*
|
|
13213
|
-
* @remark
|
|
13214
13213
|
* Note in case this node only contains hash this is going to be 0.
|
|
13215
13214
|
*/
|
|
13216
13215
|
getValueLength() {
|
|
@@ -13221,7 +13220,6 @@ class LeafNode {
|
|
|
13221
13220
|
/**
|
|
13222
13221
|
* Returns the embedded value.
|
|
13223
13222
|
*
|
|
13224
|
-
* @remark
|
|
13225
13223
|
* Note that this is going to be empty for a regular leaf node (i.e. containing a hash).
|
|
13226
13224
|
*/
|
|
13227
13225
|
getValue() {
|
|
@@ -13231,7 +13229,6 @@ class LeafNode {
|
|
|
13231
13229
|
/**
|
|
13232
13230
|
* Returns contained value hash.
|
|
13233
13231
|
*
|
|
13234
|
-
* @remark
|
|
13235
13232
|
* Note that for embedded value this is going to be full 0-padded 32 bytes.
|
|
13236
13233
|
*/
|
|
13237
13234
|
getValueHash() {
|