@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/index.js
CHANGED
|
@@ -24373,8 +24373,8 @@ class Compatibility {
|
|
|
24373
24373
|
/**
|
|
24374
24374
|
* Allows selecting different values for different Gray Paper versions from one record.
|
|
24375
24375
|
*
|
|
24376
|
-
*
|
|
24377
|
-
*
|
|
24376
|
+
* fallback The default value to return if no value is found for the current.
|
|
24377
|
+
* versions A record mapping versions to values, checking if the version is greater or equal to the current version.
|
|
24378
24378
|
* @returns The value for the current version, or the default value.
|
|
24379
24379
|
*/
|
|
24380
24380
|
static selectIfGreaterOrEqual({ fallback, versions, }) {
|
|
@@ -24537,7 +24537,7 @@ const workspacePathFix = dev_env.NODE_ENV === "development"
|
|
|
24537
24537
|
|
|
24538
24538
|
;// CONCATENATED MODULE: ./packages/core/utils/opaque.ts
|
|
24539
24539
|
/**
|
|
24540
|
-
*
|
|
24540
|
+
* `Opaque<Type, Token>` constructs a unique type which is a subset of Type with a
|
|
24541
24541
|
* specified unique token Token. It means that base type cannot be assigned to unique type by accident.
|
|
24542
24542
|
* Good examples of opaque types include:
|
|
24543
24543
|
* - JWTs or other tokens - these are special kinds of string used for authorization purposes.
|
|
@@ -35445,7 +35445,6 @@ class LeafNode {
|
|
|
35445
35445
|
/**
|
|
35446
35446
|
* Get the byte length of embedded value.
|
|
35447
35447
|
*
|
|
35448
|
-
* @remark
|
|
35449
35448
|
* Note in case this node only contains hash this is going to be 0.
|
|
35450
35449
|
*/
|
|
35451
35450
|
getValueLength() {
|
|
@@ -35456,7 +35455,6 @@ class LeafNode {
|
|
|
35456
35455
|
/**
|
|
35457
35456
|
* Returns the embedded value.
|
|
35458
35457
|
*
|
|
35459
|
-
* @remark
|
|
35460
35458
|
* Note that this is going to be empty for a regular leaf node (i.e. containing a hash).
|
|
35461
35459
|
*/
|
|
35462
35460
|
getValue() {
|
|
@@ -35466,7 +35464,6 @@ class LeafNode {
|
|
|
35466
35464
|
/**
|
|
35467
35465
|
* Returns contained value hash.
|
|
35468
35466
|
*
|
|
35469
|
-
* @remark
|
|
35470
35467
|
* Note that for embedded value this is going to be full 0-padded 32 bytes.
|
|
35471
35468
|
*/
|
|
35472
35469
|
getValueHash() {
|