@settlemint/sdk-cli 1.0.8-pr07129497 → 1.0.8-pr0b2c2c9f

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 (3) hide show
  1. package/dist/cli.js +57 -640
  2. package/dist/cli.js.map +5 -11
  3. package/package.json +12 -6
package/dist/cli.js CHANGED
@@ -4169,7 +4169,7 @@ var require_webcrypto = __commonJS((exports) => {
4169
4169
  exports.gcm = /* @__PURE__ */ (() => generate(mode.GCM))();
4170
4170
  });
4171
4171
 
4172
- // ../../node_modules/@noble/curves/node_modules/@noble/hashes/_assert.js
4172
+ // ../../node_modules/@noble/hashes/_assert.js
4173
4173
  var require__assert2 = __commonJS((exports) => {
4174
4174
  Object.defineProperty(exports, "__esModule", { value: true });
4175
4175
  exports.anumber = anumber;
@@ -4211,7 +4211,7 @@ var require__assert2 = __commonJS((exports) => {
4211
4211
  }
4212
4212
  });
4213
4213
 
4214
- // ../../node_modules/@noble/curves/node_modules/@noble/hashes/cryptoNode.js
4214
+ // ../../node_modules/@noble/hashes/cryptoNode.js
4215
4215
  var require_cryptoNode2 = __commonJS((exports) => {
4216
4216
  Object.defineProperty(exports, "__esModule", { value: true });
4217
4217
  exports.crypto = undefined;
@@ -4219,7 +4219,7 @@ var require_cryptoNode2 = __commonJS((exports) => {
4219
4219
  exports.crypto = nc && typeof nc === "object" && "webcrypto" in nc ? nc.webcrypto : nc && typeof nc === "object" && ("randomBytes" in nc) ? nc : undefined;
4220
4220
  });
4221
4221
 
4222
- // ../../node_modules/@noble/curves/node_modules/@noble/hashes/utils.js
4222
+ // ../../node_modules/@noble/hashes/utils.js
4223
4223
  var require_utils4 = __commonJS((exports) => {
4224
4224
  /*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
4225
4225
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -4399,7 +4399,7 @@ var require_utils4 = __commonJS((exports) => {
4399
4399
  }
4400
4400
  });
4401
4401
 
4402
- // ../../node_modules/@noble/curves/node_modules/@noble/hashes/_md.js
4402
+ // ../../node_modules/@noble/hashes/_md.js
4403
4403
  var require__md = __commonJS((exports) => {
4404
4404
  Object.defineProperty(exports, "__esModule", { value: true });
4405
4405
  exports.HashMD = undefined;
@@ -4516,7 +4516,7 @@ var require__md = __commonJS((exports) => {
4516
4516
  exports.HashMD = HashMD;
4517
4517
  });
4518
4518
 
4519
- // ../../node_modules/@noble/curves/node_modules/@noble/hashes/_u64.js
4519
+ // ../../node_modules/@noble/hashes/_u64.js
4520
4520
  var require__u64 = __commonJS((exports) => {
4521
4521
  Object.defineProperty(exports, "__esModule", { value: true });
4522
4522
  exports.add5L = exports.add5H = exports.add4H = exports.add4L = exports.add3H = exports.add3L = exports.rotlBL = exports.rotlBH = exports.rotlSL = exports.rotlSH = exports.rotr32L = exports.rotr32H = exports.rotrBL = exports.rotrBH = exports.rotrSL = exports.rotrSH = exports.shrSL = exports.shrSH = exports.toBig = undefined;
@@ -4608,7 +4608,7 @@ var require__u64 = __commonJS((exports) => {
4608
4608
  exports.default = u64;
4609
4609
  });
4610
4610
 
4611
- // ../../node_modules/@noble/curves/node_modules/@noble/hashes/sha512.js
4611
+ // ../../node_modules/@noble/hashes/sha512.js
4612
4612
  var require_sha512 = __commonJS((exports) => {
4613
4613
  Object.defineProperty(exports, "__esModule", { value: true });
4614
4614
  exports.sha384 = exports.sha512_256 = exports.sha512_224 = exports.sha512 = exports.SHA384 = exports.SHA512_256 = exports.SHA512_224 = exports.SHA512 = undefined;
@@ -6738,7 +6738,7 @@ var require_ed25519 = __commonJS((exports) => {
6738
6738
  exports.hash_to_ristretto255 = exports.hashToRistretto255;
6739
6739
  });
6740
6740
 
6741
- // ../../node_modules/@noble/curves/node_modules/@noble/hashes/sha256.js
6741
+ // ../../node_modules/@noble/hashes/sha256.js
6742
6742
  var require_sha256 = __commonJS((exports) => {
6743
6743
  Object.defineProperty(exports, "__esModule", { value: true });
6744
6744
  exports.sha224 = exports.sha256 = exports.SHA256 = undefined;
@@ -6911,7 +6911,7 @@ var require_sha256 = __commonJS((exports) => {
6911
6911
  exports.sha224 = (0, utils_js_1.wrapConstructor)(() => new SHA224);
6912
6912
  });
6913
6913
 
6914
- // ../../node_modules/@noble/curves/node_modules/@noble/hashes/hmac.js
6914
+ // ../../node_modules/@noble/hashes/hmac.js
6915
6915
  var require_hmac = __commonJS((exports) => {
6916
6916
  Object.defineProperty(exports, "__esModule", { value: true });
6917
6917
  exports.hmac = exports.HMAC = undefined;
@@ -8240,319 +8240,15 @@ var require_elliptic = __commonJS((exports) => {
8240
8240
  };
8241
8241
  });
8242
8242
 
8243
- // ../../node_modules/eciesjs/node_modules/@noble/hashes/_assert.js
8244
- var require__assert3 = __commonJS((exports) => {
8245
- Object.defineProperty(exports, "__esModule", { value: true });
8246
- exports.anumber = anumber;
8247
- exports.abytes = abytes;
8248
- exports.ahash = ahash;
8249
- exports.aexists = aexists;
8250
- exports.aoutput = aoutput;
8251
- function anumber(n) {
8252
- if (!Number.isSafeInteger(n) || n < 0)
8253
- throw new Error("positive integer expected, got " + n);
8254
- }
8255
- function isBytes(a) {
8256
- return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
8257
- }
8258
- function abytes(b, ...lengths) {
8259
- if (!isBytes(b))
8260
- throw new Error("Uint8Array expected");
8261
- if (lengths.length > 0 && !lengths.includes(b.length))
8262
- throw new Error("Uint8Array expected of length " + lengths + ", got length=" + b.length);
8263
- }
8264
- function ahash(h) {
8265
- if (typeof h !== "function" || typeof h.create !== "function")
8266
- throw new Error("Hash should be wrapped by utils.wrapConstructor");
8267
- anumber(h.outputLen);
8268
- anumber(h.blockLen);
8269
- }
8270
- function aexists(instance, checkFinished = true) {
8271
- if (instance.destroyed)
8272
- throw new Error("Hash instance has been destroyed");
8273
- if (checkFinished && instance.finished)
8274
- throw new Error("Hash#digest() has already been called");
8275
- }
8276
- function aoutput(out, instance) {
8277
- abytes(out);
8278
- const min = instance.outputLen;
8279
- if (out.length < min) {
8280
- throw new Error("digestInto() expects output buffer of length at least " + min);
8281
- }
8282
- }
8283
- });
8284
-
8285
- // ../../node_modules/eciesjs/node_modules/@noble/hashes/cryptoNode.js
8286
- var require_cryptoNode3 = __commonJS((exports) => {
8287
- Object.defineProperty(exports, "__esModule", { value: true });
8288
- exports.crypto = undefined;
8289
- var nc = __require("node:crypto");
8290
- exports.crypto = nc && typeof nc === "object" && "webcrypto" in nc ? nc.webcrypto : nc && typeof nc === "object" && ("randomBytes" in nc) ? nc : undefined;
8291
- });
8292
-
8293
- // ../../node_modules/eciesjs/node_modules/@noble/hashes/utils.js
8294
- var require_utils6 = __commonJS((exports) => {
8295
- /*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
8296
- Object.defineProperty(exports, "__esModule", { value: true });
8297
- exports.Hash = exports.nextTick = exports.byteSwapIfBE = exports.isLE = undefined;
8298
- exports.isBytes = isBytes;
8299
- exports.u8 = u8;
8300
- exports.u32 = u32;
8301
- exports.createView = createView;
8302
- exports.rotr = rotr;
8303
- exports.rotl = rotl;
8304
- exports.byteSwap = byteSwap;
8305
- exports.byteSwap32 = byteSwap32;
8306
- exports.bytesToHex = bytesToHex;
8307
- exports.hexToBytes = hexToBytes;
8308
- exports.asyncLoop = asyncLoop;
8309
- exports.utf8ToBytes = utf8ToBytes;
8310
- exports.toBytes = toBytes;
8311
- exports.concatBytes = concatBytes;
8312
- exports.checkOpts = checkOpts;
8313
- exports.wrapConstructor = wrapConstructor;
8314
- exports.wrapConstructorWithOpts = wrapConstructorWithOpts;
8315
- exports.wrapXOFConstructorWithOpts = wrapXOFConstructorWithOpts;
8316
- exports.randomBytes = randomBytes;
8317
- var crypto_1 = require_cryptoNode3();
8318
- var _assert_js_1 = require__assert3();
8319
- function isBytes(a) {
8320
- return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
8321
- }
8322
- function u8(arr) {
8323
- return new Uint8Array(arr.buffer, arr.byteOffset, arr.byteLength);
8324
- }
8325
- function u32(arr) {
8326
- return new Uint32Array(arr.buffer, arr.byteOffset, Math.floor(arr.byteLength / 4));
8327
- }
8328
- function createView(arr) {
8329
- return new DataView(arr.buffer, arr.byteOffset, arr.byteLength);
8330
- }
8331
- function rotr(word, shift) {
8332
- return word << 32 - shift | word >>> shift;
8333
- }
8334
- function rotl(word, shift) {
8335
- return word << shift | word >>> 32 - shift >>> 0;
8336
- }
8337
- exports.isLE = (() => new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68)();
8338
- function byteSwap(word) {
8339
- return word << 24 & 4278190080 | word << 8 & 16711680 | word >>> 8 & 65280 | word >>> 24 & 255;
8340
- }
8341
- exports.byteSwapIfBE = exports.isLE ? (n) => n : (n) => byteSwap(n);
8342
- function byteSwap32(arr) {
8343
- for (let i = 0;i < arr.length; i++) {
8344
- arr[i] = byteSwap(arr[i]);
8345
- }
8346
- }
8347
- var hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0"));
8348
- function bytesToHex(bytes) {
8349
- (0, _assert_js_1.abytes)(bytes);
8350
- let hex = "";
8351
- for (let i = 0;i < bytes.length; i++) {
8352
- hex += hexes[bytes[i]];
8353
- }
8354
- return hex;
8355
- }
8356
- var asciis = { _0: 48, _9: 57, A: 65, F: 70, a: 97, f: 102 };
8357
- function asciiToBase16(ch) {
8358
- if (ch >= asciis._0 && ch <= asciis._9)
8359
- return ch - asciis._0;
8360
- if (ch >= asciis.A && ch <= asciis.F)
8361
- return ch - (asciis.A - 10);
8362
- if (ch >= asciis.a && ch <= asciis.f)
8363
- return ch - (asciis.a - 10);
8364
- return;
8365
- }
8366
- function hexToBytes(hex) {
8367
- if (typeof hex !== "string")
8368
- throw new Error("hex string expected, got " + typeof hex);
8369
- const hl = hex.length;
8370
- const al = hl / 2;
8371
- if (hl % 2)
8372
- throw new Error("hex string expected, got unpadded hex of length " + hl);
8373
- const array = new Uint8Array(al);
8374
- for (let ai = 0, hi = 0;ai < al; ai++, hi += 2) {
8375
- const n1 = asciiToBase16(hex.charCodeAt(hi));
8376
- const n2 = asciiToBase16(hex.charCodeAt(hi + 1));
8377
- if (n1 === undefined || n2 === undefined) {
8378
- const char = hex[hi] + hex[hi + 1];
8379
- throw new Error('hex string expected, got non-hex character "' + char + '" at index ' + hi);
8380
- }
8381
- array[ai] = n1 * 16 + n2;
8382
- }
8383
- return array;
8384
- }
8385
- var nextTick = async () => {
8386
- };
8387
- exports.nextTick = nextTick;
8388
- async function asyncLoop(iters, tick, cb) {
8389
- let ts = Date.now();
8390
- for (let i = 0;i < iters; i++) {
8391
- cb(i);
8392
- const diff = Date.now() - ts;
8393
- if (diff >= 0 && diff < tick)
8394
- continue;
8395
- await (0, exports.nextTick)();
8396
- ts += diff;
8397
- }
8398
- }
8399
- function utf8ToBytes(str) {
8400
- if (typeof str !== "string")
8401
- throw new Error("utf8ToBytes expected string, got " + typeof str);
8402
- return new Uint8Array(new TextEncoder().encode(str));
8403
- }
8404
- function toBytes(data) {
8405
- if (typeof data === "string")
8406
- data = utf8ToBytes(data);
8407
- (0, _assert_js_1.abytes)(data);
8408
- return data;
8409
- }
8410
- function concatBytes(...arrays) {
8411
- let sum = 0;
8412
- for (let i = 0;i < arrays.length; i++) {
8413
- const a = arrays[i];
8414
- (0, _assert_js_1.abytes)(a);
8415
- sum += a.length;
8416
- }
8417
- const res = new Uint8Array(sum);
8418
- for (let i = 0, pad = 0;i < arrays.length; i++) {
8419
- const a = arrays[i];
8420
- res.set(a, pad);
8421
- pad += a.length;
8422
- }
8423
- return res;
8424
- }
8425
-
8426
- class Hash {
8427
- clone() {
8428
- return this._cloneInto();
8429
- }
8430
- }
8431
- exports.Hash = Hash;
8432
- function checkOpts(defaults, opts) {
8433
- if (opts !== undefined && {}.toString.call(opts) !== "[object Object]")
8434
- throw new Error("Options should be object or undefined");
8435
- const merged = Object.assign(defaults, opts);
8436
- return merged;
8437
- }
8438
- function wrapConstructor(hashCons) {
8439
- const hashC = (msg) => hashCons().update(toBytes(msg)).digest();
8440
- const tmp = hashCons();
8441
- hashC.outputLen = tmp.outputLen;
8442
- hashC.blockLen = tmp.blockLen;
8443
- hashC.create = () => hashCons();
8444
- return hashC;
8445
- }
8446
- function wrapConstructorWithOpts(hashCons) {
8447
- const hashC = (msg, opts) => hashCons(opts).update(toBytes(msg)).digest();
8448
- const tmp = hashCons({});
8449
- hashC.outputLen = tmp.outputLen;
8450
- hashC.blockLen = tmp.blockLen;
8451
- hashC.create = (opts) => hashCons(opts);
8452
- return hashC;
8453
- }
8454
- function wrapXOFConstructorWithOpts(hashCons) {
8455
- const hashC = (msg, opts) => hashCons(opts).update(toBytes(msg)).digest();
8456
- const tmp = hashCons({});
8457
- hashC.outputLen = tmp.outputLen;
8458
- hashC.blockLen = tmp.blockLen;
8459
- hashC.create = (opts) => hashCons(opts);
8460
- return hashC;
8461
- }
8462
- function randomBytes(bytesLength = 32) {
8463
- if (crypto_1.crypto && typeof crypto_1.crypto.getRandomValues === "function") {
8464
- return crypto_1.crypto.getRandomValues(new Uint8Array(bytesLength));
8465
- }
8466
- if (crypto_1.crypto && typeof crypto_1.crypto.randomBytes === "function") {
8467
- return crypto_1.crypto.randomBytes(bytesLength);
8468
- }
8469
- throw new Error("crypto.getRandomValues must be defined");
8470
- }
8471
- });
8472
-
8473
- // ../../node_modules/eciesjs/node_modules/@noble/hashes/hmac.js
8474
- var require_hmac2 = __commonJS((exports) => {
8475
- Object.defineProperty(exports, "__esModule", { value: true });
8476
- exports.hmac = exports.HMAC = undefined;
8477
- var _assert_js_1 = require__assert3();
8478
- var utils_js_1 = require_utils6();
8479
-
8480
- class HMAC extends utils_js_1.Hash {
8481
- constructor(hash, _key) {
8482
- super();
8483
- this.finished = false;
8484
- this.destroyed = false;
8485
- (0, _assert_js_1.ahash)(hash);
8486
- const key = (0, utils_js_1.toBytes)(_key);
8487
- this.iHash = hash.create();
8488
- if (typeof this.iHash.update !== "function")
8489
- throw new Error("Expected instance of class which extends utils.Hash");
8490
- this.blockLen = this.iHash.blockLen;
8491
- this.outputLen = this.iHash.outputLen;
8492
- const blockLen = this.blockLen;
8493
- const pad = new Uint8Array(blockLen);
8494
- pad.set(key.length > blockLen ? hash.create().update(key).digest() : key);
8495
- for (let i = 0;i < pad.length; i++)
8496
- pad[i] ^= 54;
8497
- this.iHash.update(pad);
8498
- this.oHash = hash.create();
8499
- for (let i = 0;i < pad.length; i++)
8500
- pad[i] ^= 54 ^ 92;
8501
- this.oHash.update(pad);
8502
- pad.fill(0);
8503
- }
8504
- update(buf) {
8505
- (0, _assert_js_1.aexists)(this);
8506
- this.iHash.update(buf);
8507
- return this;
8508
- }
8509
- digestInto(out) {
8510
- (0, _assert_js_1.aexists)(this);
8511
- (0, _assert_js_1.abytes)(out, this.outputLen);
8512
- this.finished = true;
8513
- this.iHash.digestInto(out);
8514
- this.oHash.update(out);
8515
- this.oHash.digestInto(out);
8516
- this.destroy();
8517
- }
8518
- digest() {
8519
- const out = new Uint8Array(this.oHash.outputLen);
8520
- this.digestInto(out);
8521
- return out;
8522
- }
8523
- _cloneInto(to) {
8524
- to || (to = Object.create(Object.getPrototypeOf(this), {}));
8525
- const { oHash, iHash, finished, destroyed, blockLen, outputLen } = this;
8526
- to = to;
8527
- to.finished = finished;
8528
- to.destroyed = destroyed;
8529
- to.blockLen = blockLen;
8530
- to.outputLen = outputLen;
8531
- to.oHash = oHash._cloneInto(to.oHash);
8532
- to.iHash = iHash._cloneInto(to.iHash);
8533
- return to;
8534
- }
8535
- destroy() {
8536
- this.destroyed = true;
8537
- this.oHash.destroy();
8538
- this.iHash.destroy();
8539
- }
8540
- }
8541
- exports.HMAC = HMAC;
8542
- var hmac = (hash, key, message) => new HMAC(hash, key).update(message).digest();
8543
- exports.hmac = hmac;
8544
- exports.hmac.create = (hash, key) => new HMAC(hash, key);
8545
- });
8546
-
8547
- // ../../node_modules/eciesjs/node_modules/@noble/hashes/hkdf.js
8243
+ // ../../node_modules/@noble/hashes/hkdf.js
8548
8244
  var require_hkdf = __commonJS((exports) => {
8549
8245
  Object.defineProperty(exports, "__esModule", { value: true });
8550
8246
  exports.hkdf = undefined;
8551
8247
  exports.extract = extract;
8552
8248
  exports.expand = expand;
8553
- var _assert_js_1 = require__assert3();
8554
- var hmac_js_1 = require_hmac2();
8555
- var utils_js_1 = require_utils6();
8249
+ var _assert_js_1 = require__assert2();
8250
+ var hmac_js_1 = require_hmac();
8251
+ var utils_js_1 = require_utils4();
8556
8252
  function extract(hash, ikm, salt) {
8557
8253
  (0, _assert_js_1.ahash)(hash);
8558
8254
  if (salt === undefined)
@@ -8589,303 +8285,13 @@ var require_hkdf = __commonJS((exports) => {
8589
8285
  exports.hkdf = hkdf;
8590
8286
  });
8591
8287
 
8592
- // ../../node_modules/eciesjs/node_modules/@noble/hashes/_md.js
8593
- var require__md2 = __commonJS((exports) => {
8594
- Object.defineProperty(exports, "__esModule", { value: true });
8595
- exports.HashMD = undefined;
8596
- exports.setBigUint64 = setBigUint64;
8597
- exports.Chi = Chi;
8598
- exports.Maj = Maj;
8599
- var _assert_js_1 = require__assert3();
8600
- var utils_js_1 = require_utils6();
8601
- function setBigUint64(view, byteOffset, value, isLE) {
8602
- if (typeof view.setBigUint64 === "function")
8603
- return view.setBigUint64(byteOffset, value, isLE);
8604
- const _32n = BigInt(32);
8605
- const _u32_max = BigInt(4294967295);
8606
- const wh = Number(value >> _32n & _u32_max);
8607
- const wl = Number(value & _u32_max);
8608
- const h = isLE ? 4 : 0;
8609
- const l = isLE ? 0 : 4;
8610
- view.setUint32(byteOffset + h, wh, isLE);
8611
- view.setUint32(byteOffset + l, wl, isLE);
8612
- }
8613
- function Chi(a, b, c) {
8614
- return a & b ^ ~a & c;
8615
- }
8616
- function Maj(a, b, c) {
8617
- return a & b ^ a & c ^ b & c;
8618
- }
8619
-
8620
- class HashMD extends utils_js_1.Hash {
8621
- constructor(blockLen, outputLen, padOffset, isLE) {
8622
- super();
8623
- this.blockLen = blockLen;
8624
- this.outputLen = outputLen;
8625
- this.padOffset = padOffset;
8626
- this.isLE = isLE;
8627
- this.finished = false;
8628
- this.length = 0;
8629
- this.pos = 0;
8630
- this.destroyed = false;
8631
- this.buffer = new Uint8Array(blockLen);
8632
- this.view = (0, utils_js_1.createView)(this.buffer);
8633
- }
8634
- update(data) {
8635
- (0, _assert_js_1.aexists)(this);
8636
- const { view, buffer, blockLen } = this;
8637
- data = (0, utils_js_1.toBytes)(data);
8638
- const len = data.length;
8639
- for (let pos = 0;pos < len; ) {
8640
- const take = Math.min(blockLen - this.pos, len - pos);
8641
- if (take === blockLen) {
8642
- const dataView = (0, utils_js_1.createView)(data);
8643
- for (;blockLen <= len - pos; pos += blockLen)
8644
- this.process(dataView, pos);
8645
- continue;
8646
- }
8647
- buffer.set(data.subarray(pos, pos + take), this.pos);
8648
- this.pos += take;
8649
- pos += take;
8650
- if (this.pos === blockLen) {
8651
- this.process(view, 0);
8652
- this.pos = 0;
8653
- }
8654
- }
8655
- this.length += data.length;
8656
- this.roundClean();
8657
- return this;
8658
- }
8659
- digestInto(out) {
8660
- (0, _assert_js_1.aexists)(this);
8661
- (0, _assert_js_1.aoutput)(out, this);
8662
- this.finished = true;
8663
- const { buffer, view, blockLen, isLE } = this;
8664
- let { pos } = this;
8665
- buffer[pos++] = 128;
8666
- this.buffer.subarray(pos).fill(0);
8667
- if (this.padOffset > blockLen - pos) {
8668
- this.process(view, 0);
8669
- pos = 0;
8670
- }
8671
- for (let i = pos;i < blockLen; i++)
8672
- buffer[i] = 0;
8673
- setBigUint64(view, blockLen - 8, BigInt(this.length * 8), isLE);
8674
- this.process(view, 0);
8675
- const oview = (0, utils_js_1.createView)(out);
8676
- const len = this.outputLen;
8677
- if (len % 4)
8678
- throw new Error("_sha2: outputLen should be aligned to 32bit");
8679
- const outLen = len / 4;
8680
- const state = this.get();
8681
- if (outLen > state.length)
8682
- throw new Error("_sha2: outputLen bigger than state");
8683
- for (let i = 0;i < outLen; i++)
8684
- oview.setUint32(4 * i, state[i], isLE);
8685
- }
8686
- digest() {
8687
- const { buffer, outputLen } = this;
8688
- this.digestInto(buffer);
8689
- const res = buffer.slice(0, outputLen);
8690
- this.destroy();
8691
- return res;
8692
- }
8693
- _cloneInto(to) {
8694
- to || (to = new this.constructor);
8695
- to.set(...this.get());
8696
- const { blockLen, buffer, length, finished, destroyed, pos } = this;
8697
- to.length = length;
8698
- to.pos = pos;
8699
- to.finished = finished;
8700
- to.destroyed = destroyed;
8701
- if (length % blockLen)
8702
- to.buffer.set(buffer);
8703
- return to;
8704
- }
8705
- }
8706
- exports.HashMD = HashMD;
8707
- });
8708
-
8709
- // ../../node_modules/eciesjs/node_modules/@noble/hashes/sha256.js
8710
- var require_sha2562 = __commonJS((exports) => {
8711
- Object.defineProperty(exports, "__esModule", { value: true });
8712
- exports.sha224 = exports.sha256 = exports.SHA256 = undefined;
8713
- var _md_js_1 = require__md2();
8714
- var utils_js_1 = require_utils6();
8715
- var SHA256_K = /* @__PURE__ */ new Uint32Array([
8716
- 1116352408,
8717
- 1899447441,
8718
- 3049323471,
8719
- 3921009573,
8720
- 961987163,
8721
- 1508970993,
8722
- 2453635748,
8723
- 2870763221,
8724
- 3624381080,
8725
- 310598401,
8726
- 607225278,
8727
- 1426881987,
8728
- 1925078388,
8729
- 2162078206,
8730
- 2614888103,
8731
- 3248222580,
8732
- 3835390401,
8733
- 4022224774,
8734
- 264347078,
8735
- 604807628,
8736
- 770255983,
8737
- 1249150122,
8738
- 1555081692,
8739
- 1996064986,
8740
- 2554220882,
8741
- 2821834349,
8742
- 2952996808,
8743
- 3210313671,
8744
- 3336571891,
8745
- 3584528711,
8746
- 113926993,
8747
- 338241895,
8748
- 666307205,
8749
- 773529912,
8750
- 1294757372,
8751
- 1396182291,
8752
- 1695183700,
8753
- 1986661051,
8754
- 2177026350,
8755
- 2456956037,
8756
- 2730485921,
8757
- 2820302411,
8758
- 3259730800,
8759
- 3345764771,
8760
- 3516065817,
8761
- 3600352804,
8762
- 4094571909,
8763
- 275423344,
8764
- 430227734,
8765
- 506948616,
8766
- 659060556,
8767
- 883997877,
8768
- 958139571,
8769
- 1322822218,
8770
- 1537002063,
8771
- 1747873779,
8772
- 1955562222,
8773
- 2024104815,
8774
- 2227730452,
8775
- 2361852424,
8776
- 2428436474,
8777
- 2756734187,
8778
- 3204031479,
8779
- 3329325298
8780
- ]);
8781
- var SHA256_IV = /* @__PURE__ */ new Uint32Array([
8782
- 1779033703,
8783
- 3144134277,
8784
- 1013904242,
8785
- 2773480762,
8786
- 1359893119,
8787
- 2600822924,
8788
- 528734635,
8789
- 1541459225
8790
- ]);
8791
- var SHA256_W = /* @__PURE__ */ new Uint32Array(64);
8792
-
8793
- class SHA256 extends _md_js_1.HashMD {
8794
- constructor() {
8795
- super(64, 32, 8, false);
8796
- this.A = SHA256_IV[0] | 0;
8797
- this.B = SHA256_IV[1] | 0;
8798
- this.C = SHA256_IV[2] | 0;
8799
- this.D = SHA256_IV[3] | 0;
8800
- this.E = SHA256_IV[4] | 0;
8801
- this.F = SHA256_IV[5] | 0;
8802
- this.G = SHA256_IV[6] | 0;
8803
- this.H = SHA256_IV[7] | 0;
8804
- }
8805
- get() {
8806
- const { A, B, C, D, E, F, G, H } = this;
8807
- return [A, B, C, D, E, F, G, H];
8808
- }
8809
- set(A, B, C, D, E, F, G, H) {
8810
- this.A = A | 0;
8811
- this.B = B | 0;
8812
- this.C = C | 0;
8813
- this.D = D | 0;
8814
- this.E = E | 0;
8815
- this.F = F | 0;
8816
- this.G = G | 0;
8817
- this.H = H | 0;
8818
- }
8819
- process(view, offset) {
8820
- for (let i = 0;i < 16; i++, offset += 4)
8821
- SHA256_W[i] = view.getUint32(offset, false);
8822
- for (let i = 16;i < 64; i++) {
8823
- const W15 = SHA256_W[i - 15];
8824
- const W2 = SHA256_W[i - 2];
8825
- const s0 = (0, utils_js_1.rotr)(W15, 7) ^ (0, utils_js_1.rotr)(W15, 18) ^ W15 >>> 3;
8826
- const s1 = (0, utils_js_1.rotr)(W2, 17) ^ (0, utils_js_1.rotr)(W2, 19) ^ W2 >>> 10;
8827
- SHA256_W[i] = s1 + SHA256_W[i - 7] + s0 + SHA256_W[i - 16] | 0;
8828
- }
8829
- let { A, B, C, D, E, F, G, H } = this;
8830
- for (let i = 0;i < 64; i++) {
8831
- const sigma1 = (0, utils_js_1.rotr)(E, 6) ^ (0, utils_js_1.rotr)(E, 11) ^ (0, utils_js_1.rotr)(E, 25);
8832
- const T1 = H + sigma1 + (0, _md_js_1.Chi)(E, F, G) + SHA256_K[i] + SHA256_W[i] | 0;
8833
- const sigma0 = (0, utils_js_1.rotr)(A, 2) ^ (0, utils_js_1.rotr)(A, 13) ^ (0, utils_js_1.rotr)(A, 22);
8834
- const T2 = sigma0 + (0, _md_js_1.Maj)(A, B, C) | 0;
8835
- H = G;
8836
- G = F;
8837
- F = E;
8838
- E = D + T1 | 0;
8839
- D = C;
8840
- C = B;
8841
- B = A;
8842
- A = T1 + T2 | 0;
8843
- }
8844
- A = A + this.A | 0;
8845
- B = B + this.B | 0;
8846
- C = C + this.C | 0;
8847
- D = D + this.D | 0;
8848
- E = E + this.E | 0;
8849
- F = F + this.F | 0;
8850
- G = G + this.G | 0;
8851
- H = H + this.H | 0;
8852
- this.set(A, B, C, D, E, F, G, H);
8853
- }
8854
- roundClean() {
8855
- SHA256_W.fill(0);
8856
- }
8857
- destroy() {
8858
- this.set(0, 0, 0, 0, 0, 0, 0, 0);
8859
- this.buffer.fill(0);
8860
- }
8861
- }
8862
- exports.SHA256 = SHA256;
8863
-
8864
- class SHA224 extends SHA256 {
8865
- constructor() {
8866
- super();
8867
- this.A = 3238371032 | 0;
8868
- this.B = 914150663 | 0;
8869
- this.C = 812702999 | 0;
8870
- this.D = 4144912697 | 0;
8871
- this.E = 4290775857 | 0;
8872
- this.F = 1750603025 | 0;
8873
- this.G = 1694076839 | 0;
8874
- this.H = 3204075428 | 0;
8875
- this.outputLen = 28;
8876
- }
8877
- }
8878
- exports.sha256 = (0, utils_js_1.wrapConstructor)(() => new SHA256);
8879
- exports.sha224 = (0, utils_js_1.wrapConstructor)(() => new SHA224);
8880
- });
8881
-
8882
8288
  // ../../node_modules/eciesjs/dist/utils/hash.js
8883
8289
  var require_hash = __commonJS((exports) => {
8884
8290
  Object.defineProperty(exports, "__esModule", { value: true });
8885
8291
  exports.getSharedKey = exports.deriveKey = undefined;
8886
8292
  var utils_1 = require_utils3();
8887
8293
  var hkdf_1 = require_hkdf();
8888
- var sha256_1 = require_sha2562();
8294
+ var sha256_1 = require_sha256();
8889
8295
  var deriveKey = function(master, salt, info) {
8890
8296
  return (0, hkdf_1.hkdf)(sha256_1.sha256, master, salt, info, 32);
8891
8297
  };
@@ -9133,7 +8539,7 @@ var require_symmetric = __commonJS((exports) => {
9133
8539
  });
9134
8540
 
9135
8541
  // ../../node_modules/eciesjs/dist/utils/index.js
9136
- var require_utils7 = __commonJS((exports) => {
8542
+ var require_utils6 = __commonJS((exports) => {
9137
8543
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
9138
8544
  if (k2 === undefined)
9139
8545
  k2 = k;
@@ -9166,7 +8572,7 @@ var require_PublicKey = __commonJS((exports) => {
9166
8572
  Object.defineProperty(exports, "__esModule", { value: true });
9167
8573
  exports.PublicKey = undefined;
9168
8574
  var utils_1 = require_utils3();
9169
- var utils_2 = require_utils7();
8575
+ var utils_2 = require_utils6();
9170
8576
  var PublicKey = function() {
9171
8577
  function PublicKey2(data) {
9172
8578
  var compressed = (0, utils_2.convertPublicKeyFormat)(data, true);
@@ -9231,7 +8637,7 @@ var require_PrivateKey = __commonJS((exports) => {
9231
8637
  Object.defineProperty(exports, "__esModule", { value: true });
9232
8638
  exports.PrivateKey = undefined;
9233
8639
  var utils_1 = require_utils3();
9234
- var utils_2 = require_utils7();
8640
+ var utils_2 = require_utils6();
9235
8641
  var PublicKey_1 = require_PublicKey();
9236
8642
  var PrivateKey = function() {
9237
8643
  function PrivateKey2(secret) {
@@ -9302,7 +8708,7 @@ var require_dist4 = __commonJS((exports) => {
9302
8708
  var utils_1 = require_utils3();
9303
8709
  var config_1 = require_config();
9304
8710
  var keys_1 = require_keys();
9305
- var utils_2 = require_utils7();
8711
+ var utils_2 = require_utils6();
9306
8712
  function encrypt(receiverRawPK, data) {
9307
8713
  return Buffer.from(_encrypt(receiverRawPK, data));
9308
8714
  }
@@ -207292,7 +206698,7 @@ function githubAnnotation(e9, t7, r6) {
207292
206698
  }
207293
206699
  }
207294
206700
  function initTTY(e9 = {}) {
207295
- var t7 = process.env.TERM !== "dumb" && false;
206701
+ var t7 = process.env.TERM !== "dumb" && !process.env.CI && !e9.disableTTY;
207296
206702
  var r6 = null;
207297
206703
  var i6 = process.stdout;
207298
206704
  if (Me) {
@@ -207304,7 +206710,7 @@ function initTTY(e9 = {}) {
207304
206710
  t7 = i6.isTTY;
207305
206711
  }
207306
206712
  var n6 = process.argv.includes("--color");
207307
- var a5 = "FORCE_COLOR" in process.env || !process.env.NO_COLOR && false;
206713
+ var a5 = "FORCE_COLOR" in process.env || !process.env.NO_COLOR && !process.env.CI;
207308
206714
  _setColor(t7 && a5 || n6 || Me);
207309
206715
  var s7 = pipe(function fromReadStream(e10) {
207310
206716
  return make2((t8) => {
@@ -209071,7 +208477,7 @@ Could not find "${i7}"`);
209071
208477
  cwd: t7
209072
208478
  });
209073
208479
  }(function getPkgManager() {
209074
- var e10 = "bun/1.1.45 npm/? node/v22.6.0 linux x64";
208480
+ var e10 = process.env.npm_config_user_agent || "";
209075
208481
  if (e10.startsWith("yarn")) {
209076
208482
  return "yarn";
209077
208483
  }
@@ -209194,7 +208600,7 @@ var import_graphql4, import_typescript5, __dirname = "/home/runner/work/sdk/sdk/
209194
208600
  t7 = e9[r6](t7);
209195
208601
  }
209196
208602
  return t7;
209197
- }, we = false, Se, be, Be, xe, $e, Ae = "\x1B[", Oe, stripAnsi = (e9) => e9.replace(Oe, ""), CLIError, ke, Te, Ie, Ne, Pe, Me = true, toCommandValue = (e9) => typeof e9 == "string" || e9 == null ? e9 ? "" + e9 : "" : JSON.stringify(e9), escapeData = (e9) => toCommandValue(e9).replace(/%/g, "%25").replace(/\r/g, "%0D").replace(/\n/g, "%0A"), escapeProperty = (e9) => toCommandValue(e9).replace(/%/g, "%25").replace(/\r/g, "%0D").replace(/\n/g, "%0A").replace(/:/g, "%3A").replace(/,/g, "%2C"), directoryExists = async (e9) => {
208603
+ }, we = false, Se, be, Be, xe, $e, Ae = "\x1B[", Oe, stripAnsi = (e9) => e9.replace(Oe, ""), CLIError, ke, Te, Ie, Ne, Pe, Me, toCommandValue = (e9) => typeof e9 == "string" || e9 == null ? e9 ? "" + e9 : "" : JSON.stringify(e9), escapeData = (e9) => toCommandValue(e9).replace(/%/g, "%25").replace(/\r/g, "%0D").replace(/\n/g, "%0A"), escapeProperty = (e9) => toCommandValue(e9).replace(/%/g, "%25").replace(/\r/g, "%0D").replace(/\n/g, "%0A").replace(/:/g, "%3A").replace(/,/g, "%2C"), directoryExists = async (e9) => {
209198
208604
  try {
209199
208605
  var t7 = await d4.stat(e9);
209200
208606
  if (t7.isDirectory()) {
@@ -209952,9 +209358,10 @@ var import_graphql4, import_typescript5, __dirname = "/home/runner/work/sdk/sdk/
209952
209358
  var r6 = import_typescript5.default.parseJsonText(e9, t7);
209953
209359
  return import_typescript5.default.convertToObject(r6, []);
209954
209360
  }, isVSCodeInstalled = async () => {
209955
- if (false) {
209361
+ if (!process.env.HOME) {
209362
+ return false;
209956
209363
  }
209957
- var t7 = e8.resolve("/home/runner", ".vscode");
209364
+ var t7 = e8.resolve(process.env.HOME, ".vscode");
209958
209365
  return !!await stat6(t7, gt.Directory);
209959
209366
  }, loadSuggestedExtensionsList = async (t7) => {
209960
209367
  var r6 = process.cwd();
@@ -209983,9 +209390,10 @@ var import_graphql4, import_typescript5, __dirname = "/home/runner/work/sdk/sdk/
209983
209390
  return [];
209984
209391
  }
209985
209392
  }, loadExtensionsList = async () => {
209986
- if (false) {
209393
+ if (!process.env.HOME) {
209394
+ return [];
209987
209395
  }
209988
- var t7 = e8.resolve("/home/runner", ".vscode");
209396
+ var t7 = e8.resolve(process.env.HOME, ".vscode");
209989
209397
  var r6 = e8.resolve(t7, "extensions", "extensions.json");
209990
209398
  if (!await stat6(r6)) {
209991
209399
  return [];
@@ -210006,9 +209414,12 @@ var import_graphql4, import_typescript5, __dirname = "/home/runner/work/sdk/sdk/
210006
209414
  return e9.identifier.id && typeof e9.identifier.id == "string" ? `${e9.identifier.id}`.toLowerCase() : null;
210007
209415
  }).filter((e9) => !!e9);
210008
209416
  }, delay = (e9 = 700) => {
210009
- if ("true") {
209417
+ if (process.env.CI) {
210010
209418
  return Promise.resolve();
210011
209419
  } else {
209420
+ return new Promise((t7) => {
209421
+ setTimeout(t7, e9);
209422
+ });
210012
209423
  }
210013
209424
  }, mt, DoctorCommand, Ct = "\x1B[", yt, Ft, Et, wt, St, bt, create = function() {
210014
209425
  return {
@@ -210302,7 +209713,7 @@ ${Bt.cyan(Yt)}
210302
209713
  code: "ENOENT"
210303
209714
  }), getPathInfo = (e9, t7) => {
210304
209715
  var r6 = t7.colon || or;
210305
- var i6 = e9.match(/\//) || nr && e9.match(/\\/) ? [""] : [...nr ? [process.cwd()] : [], ...(t7.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.cBVeaWdEKN:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin").split(r6)];
209716
+ var i6 = e9.match(/\//) || nr && e9.match(/\\/) ? [""] : [...nr ? [process.cwd()] : [], ...(t7.path || process.env.PATH || "").split(r6)];
210306
209717
  var n6 = nr ? t7.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
210307
209718
  var a5 = nr ? n6.split(r6) : [""];
210308
209719
  if (nr) {
@@ -211624,6 +211035,7 @@ ${whileRunning(e9)}`;
211624
211035
  }({});
211625
211036
  Ne = ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"];
211626
211037
  Pe = ["◐", "◓", "◑", "◒"];
211038
+ Me = !!process.env.GITHUB_ACTIONS;
211627
211039
  GenerateOutputCommand = class GenerateOutputCommand extends Command2 {
211628
211040
  static paths = [["generate-output"], ["generate", "output"]];
211629
211041
  forceTSFormat = Boolean$1("--force-ts-format", false, {
@@ -213439,7 +212851,7 @@ ${whileRunning(e9)}`;
213439
212851
  };
213440
212852
  ni = Object.assign(async function _main() {
213441
212853
  var e9 = new Cli({
213442
- binaryVersion: "1.0.8-pr07129497",
212854
+ binaryVersion: process.env.npm_package_version || "0.0.0",
213443
212855
  binaryLabel: "gql.tada CLI",
213444
212856
  binaryName: "gql.tada"
213445
212857
  });
@@ -221029,7 +220441,7 @@ var require_lib4 = __commonJS((exports, module) => {
221029
220441
  var rRel = new RegExp(`^\\.${rSlash.source}`);
221030
220442
  var getNotFoundError2 = (cmd2) => Object.assign(new Error(`not found: ${cmd2}`), { code: "ENOENT" });
221031
220443
  var getPathInfo2 = (cmd2, {
221032
- path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.cBVeaWdEKN:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
220444
+ path: optPath = process.env.PATH,
221033
220445
  pathExt: optPathExt = process.env.PATHEXT,
221034
220446
  delimiter: optDelimiter = delimiter
221035
220447
  }) => {
@@ -221233,7 +220645,7 @@ var require_lib5 = __commonJS((exports, module) => {
221233
220645
  let pathToInitial;
221234
220646
  try {
221235
220647
  pathToInitial = which.sync(initialCmd, {
221236
- path: options.env && findInObject(options.env, "PATH") || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.cBVeaWdEKN:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
220648
+ path: options.env && findInObject(options.env, "PATH") || process.env.PATH,
221237
220649
  pathext: options.env && findInObject(options.env, "PATHEXT") || process.env.PATHEXT
221238
220650
  }).toLowerCase();
221239
220651
  } catch (err) {
@@ -221950,7 +221362,7 @@ var require_lib6 = __commonJS((exports, module) => {
221950
221362
  var rRel = new RegExp(`^\\.${rSlash.source}`);
221951
221363
  var getNotFoundError2 = (cmd2) => Object.assign(new Error(`not found: ${cmd2}`), { code: "ENOENT" });
221952
221364
  var getPathInfo2 = (cmd2, {
221953
- path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.cBVeaWdEKN:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
221365
+ path: optPath = process.env.PATH,
221954
221366
  pathExt: optPathExt = process.env.PATHEXT,
221955
221367
  delimiter: optDelimiter = delimiter
221956
221368
  }) => {
@@ -223532,7 +222944,7 @@ var require_revs = __commonJS((exports, module) => {
223532
222944
  });
223533
222945
 
223534
222946
  // ../../node_modules/@npmcli/git/lib/utils.js
223535
- var require_utils8 = __commonJS((exports) => {
222947
+ var require_utils7 = __commonJS((exports) => {
223536
222948
  var isWindows = (opts) => (opts.fakePlatform || process.platform) === "win32";
223537
222949
  exports.isWindows = isWindows;
223538
222950
  });
@@ -224466,7 +223878,7 @@ var require_clone = __commonJS((exports, module) => {
224466
223878
  var path5 = __require("path");
224467
223879
  var getRevs = require_revs();
224468
223880
  var spawn3 = require_spawn();
224469
- var { isWindows } = require_utils8();
223881
+ var { isWindows } = require_utils7();
224470
223882
  var pickManifest = require_lib10();
224471
223883
  var fs3 = __require("fs/promises");
224472
223884
  module.exports = (repo, ref = "HEAD", target = null, opts = {}) => getRevs(repo, opts).then((revs) => clone(repo, revs, ref, resolveRef(revs, ref, opts), target || defaultTarget(repo, opts.cwd), opts));
@@ -231055,7 +230467,7 @@ var require_write_entry = __commonJS((exports, module) => {
231055
230467
  this.path = normPath(p6);
231056
230468
  this.portable = !!opt2.portable;
231057
230469
  this.myuid = process.getuid && process.getuid() || 0;
231058
- this.myuser = "runner";
230470
+ this.myuser = process.env.USER || "";
231059
230471
  this.maxReadSize = opt2.maxReadSize || maxReadSize;
231060
230472
  this.linkCache = opt2.linkCache || new Map;
231061
230473
  this.statCache = opt2.statCache || new Map;
@@ -235497,7 +234909,7 @@ var require_which2 = __commonJS((exports, module) => {
235497
234909
  const colon = opt2.colon || COLON;
235498
234910
  const pathEnv = cmd2.match(/\//) || isWindows2 && cmd2.match(/\\/) ? [""] : [
235499
234911
  ...isWindows2 ? [process.cwd()] : [],
235500
- ...(opt2.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.cBVeaWdEKN:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin").split(colon)
234912
+ ...(opt2.path || process.env.PATH || "").split(colon)
235501
234913
  ];
235502
234914
  const pathExtExe = isWindows2 ? opt2.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
235503
234915
  const pathExt = isWindows2 ? pathExtExe.split(colon) : [""];
@@ -247013,7 +246425,7 @@ ${j3.toString(16)}\r
247013
246425
  constructor({ disableColors: B4 } = {}) {
247014
246426
  this.transform = new A5({ transform(f6, l3, Q4) {
247015
246427
  Q4(null, f6);
247016
- } }), this.logger = new p6({ stdout: this.transform, inspectOptions: { colors: !B4 && false } });
246428
+ } }), this.logger = new p6({ stdout: this.transform, inspectOptions: { colors: !B4 && !process.env.CI } });
247017
246429
  }
247018
246430
  format(B4) {
247019
246431
  const f6 = B4.map(({ method: l3, path: Q4, data: { statusCode: u6 }, persist: n6, times: r6, timesInvoked: o8, origin: a7 }) => ({ Method: l3, Origin: a7, Path: Q4, "Status code": u6, Persistent: n6 ? c3 : E6, Invocations: o8, Remaining: n6 ? 1 / 0 : r6 - o8 }));
@@ -269646,7 +269058,7 @@ function table(title, data) {
269646
269058
  var package_default = {
269647
269059
  name: "@settlemint/sdk-cli",
269648
269060
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
269649
- version: "1.0.8-pr07129497",
269061
+ version: "1.0.8-pr0b2c2c9f",
269650
269062
  type: "module",
269651
269063
  private: false,
269652
269064
  license: "FSL-1.1-MIT",
@@ -269686,12 +269098,11 @@ var package_default = {
269686
269098
  prepack: "cp ../../LICENSE ."
269687
269099
  },
269688
269100
  dependencies: {
269689
- hardhat: "2.22.18",
269690
269101
  tinyexec: "0.3.2"
269691
269102
  },
269692
269103
  devDependencies: {
269693
269104
  "@types/semver": "7.5.8",
269694
- "@types/node": "22.10.7",
269105
+ "@types/node": "22.10.8",
269695
269106
  "is-in-ci": "1.0.0",
269696
269107
  semver: "7.6.3",
269697
269108
  slugify: "1.6.6",
@@ -269701,13 +269112,20 @@ var package_default = {
269701
269112
  "@inquirer/input": "4.1.3",
269702
269113
  "@inquirer/password": "4.0.6",
269703
269114
  "@inquirer/select": "4.0.6",
269704
- "@settlemint/sdk-js": "1.0.8-pr07129497",
269705
- "@settlemint/sdk-utils": "1.0.8-pr07129497",
269115
+ "@settlemint/sdk-js": "1.0.8-pr0b2c2c9f",
269116
+ "@settlemint/sdk-utils": "1.0.8-pr0b2c2c9f",
269706
269117
  "get-tsconfig": "4.10.0",
269707
269118
  giget: "1.2.3",
269708
269119
  yaml: "2.7.0"
269709
269120
  },
269710
- peerDependencies: {},
269121
+ peerDependencies: {
269122
+ hardhat: "2.22.18"
269123
+ },
269124
+ peerDependenciesMeta: {
269125
+ hardhat: {
269126
+ optional: true
269127
+ }
269128
+ },
269711
269129
  engines: {
269712
269130
  node: ">=20"
269713
269131
  },
@@ -273007,7 +272425,7 @@ async function applicationAccessTokenPrompt(env2, application, settlemint, accep
273007
272425
  if (create2) {
273008
272426
  const name2 = await esm_default4({
273009
272427
  message: "How would you like to name this application access token?",
273010
- default: `SettleMint CLI (${Date.now()}${` ${"runner"}`})`,
272428
+ default: `SettleMint CLI (${Date.now()}${process.env.USER ? ` ${process.env.USER}` : ""})`,
273011
272429
  required: true,
273012
272430
  validate(value4) {
273013
272431
  try {
@@ -278618,8 +278036,7 @@ async function applicationsSpinner(settlemint, workspaceUniqueName) {
278618
278036
 
278619
278037
  // src/utils/get-platform-url.ts
278620
278038
  function getClusterServicePlatformUrl(instance, application, service, serviceType) {
278621
- const applicationUrl = getApplicationUrl(instance, application);
278622
- return new URL(`${getWorkspaceUrlPath(application.workspace)}${getApplicationUrlPath(application)}/${getUrlPathForService(service, serviceType)}`, applicationUrl).toString();
278039
+ return new URL(`${getWorkspaceUrlPath(application.workspace)}${getApplicationUrlPath(application)}/${getUrlPathForService(service, serviceType)}`, instance).toString();
278623
278040
  }
278624
278041
  function getWorkspaceUrl(instance, workspace) {
278625
278042
  return new URL(getWorkspaceUrlPath(workspace), instance).toString();
@@ -279980,4 +279397,4 @@ async function sdkCliCommand(argv = process.argv) {
279980
279397
  // src/cli.ts
279981
279398
  sdkCliCommand();
279982
279399
 
279983
- //# debugId=4A8D7ACCCA5E9BA264756E2164756E21
279400
+ //# debugId=FD387D840C9DFD6C64756E2164756E21