@elgora/cli 7.5.0 → 7.5.1

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 (2) hide show
  1. package/dist/cli.js +5 -4
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -532,7 +532,7 @@ var AES_GCM_TAG_BITS = 128;
532
532
  var BASE64URL_RE = /^[A-Za-z0-9_-]+$/;
533
533
  var SOLVER_SUBMISSION_NAME_RE = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
534
534
  var MEDIA_TYPE_RE = /^[a-z0-9][a-z0-9!#$&^_.+-]*\/[a-z0-9][a-z0-9!#$&^_.+-]*$/;
535
- var KEY_ID_RE = /^[A-Za-z0-9][A-Za-z0-9._:-]*$/;
535
+ var KEY_ID_RE = /^[A-Za-z0-9][ -~]*$/;
536
536
  var base64UrlSchema = z3.string().regex(BASE64URL_RE);
537
537
  var lowerAddressSchema = z3.string().refine(isLowercaseHexAddress);
538
538
  var bytes32Schema2 = z3.string().refine(isLowercaseBytes32);
@@ -6907,7 +6907,7 @@ function resolveChainId(selector) {
6907
6907
  }
6908
6908
 
6909
6909
  // src/version.ts
6910
- var CLI_VERSION = true ? "7.5.0" : "0.0.0-dev";
6910
+ var CLI_VERSION = true ? "7.5.1" : "0.0.0-dev";
6911
6911
  var CLI_NODE_ENGINES = true ? ">=24 <25" : ">=24 <25";
6912
6912
 
6913
6913
  // src/node-engines.ts
@@ -7476,8 +7476,9 @@ function parseRosterAddGuardianArgs(argv) {
7476
7476
  if (!KEY_ID_RE.test(name)) {
7477
7477
  throw new Error(
7478
7478
  // A Solver's CLI seals private artifacts against this exact string as
7479
- // the Guardian's key_id, so it can't contain spaces or punctuation the
7480
- // wire format rejects — no display-only rendering happens in between.
7479
+ // the Guardian's key_id, so it must be non-empty, start with an
7480
+ // alphanumeric, and stay within printable ASCII (no control/formatting
7481
+ // characters, no leading whitespace).
7481
7482
  `name must match ${KEY_ID_RE.source} (it becomes this Guardian's private-artifact key_id)`
7482
7483
  );
7483
7484
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elgora/cli",
3
- "version": "7.5.0",
3
+ "version": "7.5.1",
4
4
  "description": "Command-line client for Elgora, a decentralized bounty marketplace for science. Lets Posters, Solvers, and Guardians interact with Elgora's public API and on-chain contracts.",
5
5
  "type": "module",
6
6
  "license": "MIT",