@typeberry/jam 0.4.0-fcdfbb1 → 0.4.1-9e565b9

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.
@@ -24042,7 +24042,11 @@ var TestSuite;
24042
24042
  })(TestSuite || (TestSuite = {}));
24043
24043
  const ALL_VERSIONS_IN_ORDER = [GpVersion.V0_6_7, GpVersion.V0_7_0, GpVersion.V0_7_1, GpVersion.V0_7_2];
24044
24044
  const DEFAULT_SUITE = TestSuite.W3F_DAVXY;
24045
- const DEFAULT_VERSION = GpVersion.V0_7_2;
24045
+ /**
24046
+ * Current version is set to track the jam-conformance testing.
24047
+ * Since we are currently at 0.7.1 not 0.7.2, we set our default version accordingly.
24048
+ */
24049
+ const DEFAULT_VERSION = GpVersion.V0_7_1;
24046
24050
  const env = typeof process === "undefined" ? {} : process.env;
24047
24051
  let CURRENT_VERSION = parseCurrentVersion(env.GP_VERSION) ?? DEFAULT_VERSION;
24048
24052
  let CURRENT_SUITE = parseCurrentSuite(env.TEST_SUITE) ?? DEFAULT_SUITE;
@@ -24101,8 +24105,8 @@ class Compatibility {
24101
24105
  /**
24102
24106
  * Allows selecting different values for different Gray Paper versions from one record.
24103
24107
  *
24104
- * @param fallback The default value to return if no value is found for the current.
24105
- * @param record A record mapping versions to values, checking if the version is greater or equal to the current version.
24108
+ * fallback The default value to return if no value is found for the current.
24109
+ * versions A record mapping versions to values, checking if the version is greater or equal to the current version.
24106
24110
  * @returns The value for the current version, or the default value.
24107
24111
  */
24108
24112
  static selectIfGreaterOrEqual({ fallback, versions, }) {
@@ -24265,7 +24269,7 @@ const workspacePathFix = dev_env.NODE_ENV === "development"
24265
24269
 
24266
24270
  ;// CONCATENATED MODULE: ./packages/core/utils/opaque.ts
24267
24271
  /**
24268
- * @fileoverview `Opaque<Type, Token>` constructs a unique type which is a subset of Type with a
24272
+ * `Opaque<Type, Token>` constructs a unique type which is a subset of Type with a
24269
24273
  * specified unique token Token. It means that base type cannot be assigned to unique type by accident.
24270
24274
  * Good examples of opaque types include:
24271
24275
  * - JWTs or other tokens - these are special kinds of string used for authorization purposes.
@@ -33390,7 +33394,6 @@ class LeafNode {
33390
33394
  /**
33391
33395
  * Get the byte length of embedded value.
33392
33396
  *
33393
- * @remark
33394
33397
  * Note in case this node only contains hash this is going to be 0.
33395
33398
  */
33396
33399
  getValueLength() {
@@ -33401,7 +33404,6 @@ class LeafNode {
33401
33404
  /**
33402
33405
  * Returns the embedded value.
33403
33406
  *
33404
- * @remark
33405
33407
  * Note that this is going to be empty for a regular leaf node (i.e. containing a hash).
33406
33408
  */
33407
33409
  getValue() {
@@ -33411,7 +33413,6 @@ class LeafNode {
33411
33413
  /**
33412
33414
  * Returns contained value hash.
33413
33415
  *
33414
- * @remark
33415
33416
  * Note that for embedded value this is going to be full 0-padded 32 bytes.
33416
33417
  */
33417
33418
  getValueHash() {