@typeberry/jam 0.3.1 → 0.4.0-203a18d

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.
@@ -30913,7 +30913,7 @@ function parseBootnode(v) {
30913
30913
  if (name === "" || ip === "" || port === "") {
30914
30914
  throw new Error(`Invalid bootnode format, expected: <name>@<ip>:<port>, got: "${v}"`);
30915
30915
  }
30916
- const portNumber = Number.parseInt(port);
30916
+ const portNumber = Number.parseInt(port, 10);
30917
30917
  if (!isU16(portNumber)) {
30918
30918
  throw new Error(`Invalid port number: "${port}"`);
30919
30919
  }
@@ -31344,7 +31344,7 @@ const DEFAULT_CONFIG = "default";
31344
31344
  const NODE_DEFAULTS = {
31345
31345
  name: isBrowser() ? "browser" : external_node_os_default().hostname(),
31346
31346
  config: [DEFAULT_CONFIG],
31347
- pvm: PvmBackend.BuiltIn,
31347
+ pvm: PvmBackend.Ananas,
31348
31348
  };
31349
31349
  /** Chain spec chooser. */
31350
31350
  var KnownChainSpec;