@gearbox-protocol/deploy-tools 5.69.0 → 5.69.2

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/index.mjs +321 -180
  2. package/package.json +10 -10
package/dist/index.mjs CHANGED
@@ -4480,7 +4480,7 @@ var init_size = __esm({
4480
4480
  var version2;
4481
4481
  var init_version2 = __esm({
4482
4482
  "../../node_modules/viem/_esm/errors/version.js"() {
4483
- version2 = "2.44.4";
4483
+ version2 = "2.45.0";
4484
4484
  }
4485
4485
  });
4486
4486
 
@@ -79638,9 +79638,19 @@ var require_axios = __commonJS({
79638
79638
  var extend2 = (a, b, thisArg, { allOwnKeys } = {}) => {
79639
79639
  forEach(b, (val, key) => {
79640
79640
  if (thisArg && isFunction$1(val)) {
79641
- a[key] = bind(val, thisArg);
79641
+ Object.defineProperty(a, key, {
79642
+ value: bind(val, thisArg),
79643
+ writable: true,
79644
+ enumerable: true,
79645
+ configurable: true
79646
+ });
79642
79647
  } else {
79643
- a[key] = val;
79648
+ Object.defineProperty(a, key, {
79649
+ value: val,
79650
+ writable: true,
79651
+ enumerable: true,
79652
+ configurable: true
79653
+ });
79644
79654
  }
79645
79655
  }, { allOwnKeys });
79646
79656
  return a;
@@ -79651,9 +79661,14 @@ var require_axios = __commonJS({
79651
79661
  }
79652
79662
  return content;
79653
79663
  };
79654
- var inherits = (constructor, superConstructor, props, descriptors2) => {
79655
- constructor.prototype = Object.create(superConstructor.prototype, descriptors2);
79656
- constructor.prototype.constructor = constructor;
79664
+ var inherits = (constructor, superConstructor, props, descriptors) => {
79665
+ constructor.prototype = Object.create(superConstructor.prototype, descriptors);
79666
+ Object.defineProperty(constructor.prototype, "constructor", {
79667
+ value: constructor,
79668
+ writable: true,
79669
+ enumerable: false,
79670
+ configurable: true
79671
+ });
79657
79672
  Object.defineProperty(constructor, "super", {
79658
79673
  value: superConstructor.prototype
79659
79674
  });
@@ -79734,9 +79749,9 @@ var require_axios = __commonJS({
79734
79749
  var hasOwnProperty10 = (({ hasOwnProperty: hasOwnProperty11 }) => (obj, prop) => hasOwnProperty11.call(obj, prop))(Object.prototype);
79735
79750
  var isRegExp = kindOfTest("RegExp");
79736
79751
  var reduceDescriptors = (obj, reducer) => {
79737
- const descriptors2 = Object.getOwnPropertyDescriptors(obj);
79752
+ const descriptors = Object.getOwnPropertyDescriptors(obj);
79738
79753
  const reducedDescriptors = {};
79739
- forEach(descriptors2, (descriptor, name) => {
79754
+ forEach(descriptors, (descriptor, name) => {
79740
79755
  let ret;
79741
79756
  if ((ret = reducer(descriptor, name, obj)) !== false) {
79742
79757
  reducedDescriptors[name] = ret || descriptor;
@@ -79889,25 +79904,38 @@ var require_axios = __commonJS({
79889
79904
  asap,
79890
79905
  isIterable
79891
79906
  };
79892
- function AxiosError(message, code, config2, request, response) {
79893
- Error.call(this);
79894
- if (Error.captureStackTrace) {
79895
- Error.captureStackTrace(this, this.constructor);
79896
- } else {
79897
- this.stack = new Error().stack;
79907
+ var AxiosError = class _AxiosError extends Error {
79908
+ static from(error48, code, config2, request, response, customProps) {
79909
+ const axiosError = new _AxiosError(error48.message, code || error48.code, config2, request, response);
79910
+ axiosError.cause = error48;
79911
+ axiosError.name = error48.name;
79912
+ customProps && Object.assign(axiosError, customProps);
79913
+ return axiosError;
79898
79914
  }
79899
- this.message = message;
79900
- this.name = "AxiosError";
79901
- code && (this.code = code);
79902
- config2 && (this.config = config2);
79903
- request && (this.request = request);
79904
- if (response) {
79905
- this.response = response;
79906
- this.status = response.status ? response.status : null;
79915
+ /**
79916
+ * Create an Error with the specified message, config, error code, request and response.
79917
+ *
79918
+ * @param {string} message The error message.
79919
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
79920
+ * @param {Object} [config] The config.
79921
+ * @param {Object} [request] The request.
79922
+ * @param {Object} [response] The response.
79923
+ *
79924
+ * @returns {Error} The created error.
79925
+ */
79926
+ constructor(message, code, config2, request, response) {
79927
+ super(message);
79928
+ this.name = "AxiosError";
79929
+ this.isAxiosError = true;
79930
+ code && (this.code = code);
79931
+ config2 && (this.config = config2);
79932
+ request && (this.request = request);
79933
+ if (response) {
79934
+ this.response = response;
79935
+ this.status = response.status;
79936
+ }
79907
79937
  }
79908
- }
79909
- utils$1.inherits(AxiosError, Error, {
79910
- toJSON: function toJSON() {
79938
+ toJSON() {
79911
79939
  return {
79912
79940
  // Standard
79913
79941
  message: this.message,
@@ -79926,45 +79954,20 @@ var require_axios = __commonJS({
79926
79954
  status: this.status
79927
79955
  };
79928
79956
  }
79929
- });
79930
- var prototype$1 = AxiosError.prototype;
79931
- var descriptors = {};
79932
- [
79933
- "ERR_BAD_OPTION_VALUE",
79934
- "ERR_BAD_OPTION",
79935
- "ECONNABORTED",
79936
- "ETIMEDOUT",
79937
- "ERR_NETWORK",
79938
- "ERR_FR_TOO_MANY_REDIRECTS",
79939
- "ERR_DEPRECATED",
79940
- "ERR_BAD_RESPONSE",
79941
- "ERR_BAD_REQUEST",
79942
- "ERR_CANCELED",
79943
- "ERR_NOT_SUPPORT",
79944
- "ERR_INVALID_URL"
79945
- // eslint-disable-next-line func-names
79946
- ].forEach((code) => {
79947
- descriptors[code] = { value: code };
79948
- });
79949
- Object.defineProperties(AxiosError, descriptors);
79950
- Object.defineProperty(prototype$1, "isAxiosError", { value: true });
79951
- AxiosError.from = (error48, code, config2, request, response, customProps) => {
79952
- const axiosError = Object.create(prototype$1);
79953
- utils$1.toFlatObject(error48, axiosError, function filter(obj) {
79954
- return obj !== Error.prototype;
79955
- }, (prop) => {
79956
- return prop !== "isAxiosError";
79957
- });
79958
- const msg = error48 && error48.message ? error48.message : "Error";
79959
- const errCode = code == null && error48 ? error48.code : code;
79960
- AxiosError.call(axiosError, msg, errCode, config2, request, response);
79961
- if (error48 && axiosError.cause == null) {
79962
- Object.defineProperty(axiosError, "cause", { value: error48, configurable: true });
79963
- }
79964
- axiosError.name = error48 && error48.name || "Error";
79965
- customProps && Object.assign(axiosError, customProps);
79966
- return axiosError;
79967
79957
  };
79958
+ AxiosError.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE";
79959
+ AxiosError.ERR_BAD_OPTION = "ERR_BAD_OPTION";
79960
+ AxiosError.ECONNABORTED = "ECONNABORTED";
79961
+ AxiosError.ETIMEDOUT = "ETIMEDOUT";
79962
+ AxiosError.ERR_NETWORK = "ERR_NETWORK";
79963
+ AxiosError.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS";
79964
+ AxiosError.ERR_DEPRECATED = "ERR_DEPRECATED";
79965
+ AxiosError.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE";
79966
+ AxiosError.ERR_BAD_REQUEST = "ERR_BAD_REQUEST";
79967
+ AxiosError.ERR_CANCELED = "ERR_CANCELED";
79968
+ AxiosError.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
79969
+ AxiosError.ERR_INVALID_URL = "ERR_INVALID_URL";
79970
+ var AxiosError$1 = AxiosError;
79968
79971
  function isVisitable(thing) {
79969
79972
  return utils$1.isPlainObject(thing) || utils$1.isArray(thing);
79970
79973
  }
@@ -80014,7 +80017,7 @@ var require_axios = __commonJS({
80014
80017
  return value.toString();
80015
80018
  }
80016
80019
  if (!useBlob && utils$1.isBlob(value)) {
80017
- throw new AxiosError("Blob is not supported. Use a Buffer instead.");
80020
+ throw new AxiosError$1("Blob is not supported. Use a Buffer instead.");
80018
80021
  }
80019
80022
  if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
80020
80023
  return useBlob && typeof Blob === "function" ? new Blob([value]) : Buffer.from(value);
@@ -80115,17 +80118,15 @@ var require_axios = __commonJS({
80115
80118
  return url3;
80116
80119
  }
80117
80120
  const _encode2 = options && options.encode || encode7;
80118
- if (utils$1.isFunction(options)) {
80119
- options = {
80120
- serialize: options
80121
- };
80122
- }
80123
- const serializeFn = options && options.serialize;
80121
+ const _options = utils$1.isFunction(options) ? {
80122
+ serialize: options
80123
+ } : options;
80124
+ const serializeFn = _options && _options.serialize;
80124
80125
  let serializedParams;
80125
80126
  if (serializeFn) {
80126
- serializedParams = serializeFn(params, options);
80127
+ serializedParams = serializeFn(params, _options);
80127
80128
  } else {
80128
- serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, options).toString(_encode2);
80129
+ serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, _options).toString(_encode2);
80129
80130
  }
80130
80131
  if (serializedParams) {
80131
80132
  const hashmarkIndex = url3.indexOf("#");
@@ -80145,6 +80146,7 @@ var require_axios = __commonJS({
80145
80146
  *
80146
80147
  * @param {Function} fulfilled The function to handle `then` for a `Promise`
80147
80148
  * @param {Function} rejected The function to handle `reject` for a `Promise`
80149
+ * @param {Object} options The options for the interceptor, synchronous and runWhen
80148
80150
  *
80149
80151
  * @return {Number} An ID used to remove interceptor later
80150
80152
  */
@@ -80386,7 +80388,7 @@ var require_axios = __commonJS({
80386
80388
  } catch (e) {
80387
80389
  if (strictJSONParsing) {
80388
80390
  if (e.name === "SyntaxError") {
80389
- throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
80391
+ throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
80390
80392
  }
80391
80393
  throw e;
80392
80394
  }
@@ -80705,21 +80707,31 @@ var require_axios = __commonJS({
80705
80707
  function isCancel(value) {
80706
80708
  return !!(value && value.__CANCEL__);
80707
80709
  }
80708
- function CanceledError(message, config2, request) {
80709
- AxiosError.call(this, message == null ? "canceled" : message, AxiosError.ERR_CANCELED, config2, request);
80710
- this.name = "CanceledError";
80711
- }
80712
- utils$1.inherits(CanceledError, AxiosError, {
80713
- __CANCEL__: true
80714
- });
80710
+ var CanceledError = class extends AxiosError$1 {
80711
+ /**
80712
+ * A `CanceledError` is an object that is thrown when an operation is canceled.
80713
+ *
80714
+ * @param {string=} message The message.
80715
+ * @param {Object=} config The config.
80716
+ * @param {Object=} request The request.
80717
+ *
80718
+ * @returns {CanceledError} The created error.
80719
+ */
80720
+ constructor(message, config2, request) {
80721
+ super(message == null ? "canceled" : message, AxiosError$1.ERR_CANCELED, config2, request);
80722
+ this.name = "CanceledError";
80723
+ this.__CANCEL__ = true;
80724
+ }
80725
+ };
80726
+ var CanceledError$1 = CanceledError;
80715
80727
  function settle(resolve2, reject, response) {
80716
80728
  const validateStatus = response.config.validateStatus;
80717
80729
  if (!response.status || !validateStatus || validateStatus(response.status)) {
80718
80730
  resolve2(response);
80719
80731
  } else {
80720
- reject(new AxiosError(
80732
+ reject(new AxiosError$1(
80721
80733
  "Request failed with status code " + response.status,
80722
- [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
80734
+ [AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
80723
80735
  response.config,
80724
80736
  response.request,
80725
80737
  response
@@ -80739,7 +80751,7 @@ var require_axios = __commonJS({
80739
80751
  }
80740
80752
  return requestedURL;
80741
80753
  }
80742
- var VERSION = "1.13.2";
80754
+ var VERSION = "1.13.3";
80743
80755
  function parseProtocol(url3) {
80744
80756
  const match2 = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url3);
80745
80757
  return match2 && match2[1] || "";
@@ -80755,7 +80767,7 @@ var require_axios = __commonJS({
80755
80767
  uri = protocol.length ? uri.slice(protocol.length + 1) : uri;
80756
80768
  const match2 = DATA_URL_PATTERN.exec(uri);
80757
80769
  if (!match2) {
80758
- throw new AxiosError("Invalid URL", AxiosError.ERR_INVALID_URL);
80770
+ throw new AxiosError$1("Invalid URL", AxiosError$1.ERR_INVALID_URL);
80759
80771
  }
80760
80772
  const mime = match2[1];
80761
80773
  const isBase64 = match2[2];
@@ -80763,13 +80775,13 @@ var require_axios = __commonJS({
80763
80775
  const buffer2 = Buffer.from(decodeURIComponent(body), isBase64 ? "base64" : "utf8");
80764
80776
  if (asBlob) {
80765
80777
  if (!_Blob) {
80766
- throw new AxiosError("Blob is not supported", AxiosError.ERR_NOT_SUPPORT);
80778
+ throw new AxiosError$1("Blob is not supported", AxiosError$1.ERR_NOT_SUPPORT);
80767
80779
  }
80768
80780
  return new _Blob([buffer2], { type: mime });
80769
80781
  }
80770
80782
  return buffer2;
80771
80783
  }
80772
- throw new AxiosError("Unsupported protocol " + protocol, AxiosError.ERR_NOT_SUPPORT);
80784
+ throw new AxiosError$1("Unsupported protocol " + protocol, AxiosError$1.ERR_NOT_SUPPORT);
80773
80785
  }
80774
80786
  var kInternals = /* @__PURE__ */ Symbol("internals");
80775
80787
  var AxiosTransformStream = class extends stream__default["default"].Transform {
@@ -81261,8 +81273,11 @@ var require_axios = __commonJS({
81261
81273
  proxy.auth = (proxy.username || "") + ":" + (proxy.password || "");
81262
81274
  }
81263
81275
  if (proxy.auth) {
81264
- if (proxy.auth.username || proxy.auth.password) {
81276
+ const validProxyAuth = Boolean(proxy.auth.username || proxy.auth.password);
81277
+ if (validProxyAuth) {
81265
81278
  proxy.auth = (proxy.auth.username || "") + ":" + (proxy.auth.password || "");
81279
+ } else if (typeof proxy.auth === "object") {
81280
+ throw new AxiosError$1("Invalid proxy authorization", AxiosError$1.ERR_BAD_OPTION, { proxy });
81266
81281
  }
81267
81282
  const base643 = Buffer.from(proxy.auth, "utf8").toString("base64");
81268
81283
  options.headers["Proxy-Authorization"] = "Basic " + base643;
@@ -81314,7 +81329,7 @@ var require_axios = __commonJS({
81314
81329
  var buildAddressEntry = (address, family) => resolveFamily(utils$1.isObject(address) ? address : { address, family });
81315
81330
  var http2Transport = {
81316
81331
  request(options, cb) {
81317
- const authority = options.protocol + "//" + options.hostname + ":" + (options.port || 80);
81332
+ const authority = options.protocol + "//" + options.hostname + ":" + (options.port || (options.protocol === "https:" ? 443 : 80));
81318
81333
  const { http2Options, headers } = options;
81319
81334
  const session = http2Sessions.getSession(authority, http2Options);
81320
81335
  const {
@@ -81375,7 +81390,7 @@ var require_axios = __commonJS({
81375
81390
  const abortEmitter = new events.EventEmitter();
81376
81391
  function abort(reason) {
81377
81392
  try {
81378
- abortEmitter.emit("abort", !reason || reason.type ? new CanceledError(null, config2, req) : reason);
81393
+ abortEmitter.emit("abort", !reason || reason.type ? new CanceledError$1(null, config2, req) : reason);
81379
81394
  } catch (err) {
81380
81395
  console.warn("emit error", err);
81381
81396
  }
@@ -81421,9 +81436,9 @@ var require_axios = __commonJS({
81421
81436
  const dataUrl = String(config2.url || fullPath || "");
81422
81437
  const estimated = estimateDataURLDecodedBytes(dataUrl);
81423
81438
  if (estimated > config2.maxContentLength) {
81424
- return reject(new AxiosError(
81439
+ return reject(new AxiosError$1(
81425
81440
  "maxContentLength size of " + config2.maxContentLength + " exceeded",
81426
- AxiosError.ERR_BAD_RESPONSE,
81441
+ AxiosError$1.ERR_BAD_RESPONSE,
81427
81442
  config2
81428
81443
  ));
81429
81444
  }
@@ -81442,7 +81457,7 @@ var require_axios = __commonJS({
81442
81457
  Blob: config2.env && config2.env.Blob
81443
81458
  });
81444
81459
  } catch (err) {
81445
- throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config2);
81460
+ throw AxiosError$1.from(err, AxiosError$1.ERR_BAD_REQUEST, config2);
81446
81461
  }
81447
81462
  if (responseType === "text") {
81448
81463
  convertedData = convertedData.toString(responseEncoding);
@@ -81461,9 +81476,9 @@ var require_axios = __commonJS({
81461
81476
  });
81462
81477
  }
81463
81478
  if (supportedProtocols.indexOf(protocol) === -1) {
81464
- return reject(new AxiosError(
81479
+ return reject(new AxiosError$1(
81465
81480
  "Unsupported protocol " + protocol,
81466
- AxiosError.ERR_BAD_REQUEST,
81481
+ AxiosError$1.ERR_BAD_REQUEST,
81467
81482
  config2
81468
81483
  ));
81469
81484
  }
@@ -81501,17 +81516,17 @@ var require_axios = __commonJS({
81501
81516
  } else if (utils$1.isString(data)) {
81502
81517
  data = Buffer.from(data, "utf-8");
81503
81518
  } else {
81504
- return reject(new AxiosError(
81519
+ return reject(new AxiosError$1(
81505
81520
  "Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",
81506
- AxiosError.ERR_BAD_REQUEST,
81521
+ AxiosError$1.ERR_BAD_REQUEST,
81507
81522
  config2
81508
81523
  ));
81509
81524
  }
81510
81525
  headers.setContentLength(data.length, false);
81511
81526
  if (config2.maxBodyLength > -1 && data.length > config2.maxBodyLength) {
81512
- return reject(new AxiosError(
81527
+ return reject(new AxiosError$1(
81513
81528
  "Request body larger than maxBodyLength limit",
81514
- AxiosError.ERR_BAD_REQUEST,
81529
+ AxiosError$1.ERR_BAD_REQUEST,
81515
81530
  config2
81516
81531
  ));
81517
81532
  }
@@ -81681,9 +81696,9 @@ var require_axios = __commonJS({
81681
81696
  if (config2.maxContentLength > -1 && totalResponseBytes > config2.maxContentLength) {
81682
81697
  rejected = true;
81683
81698
  responseStream.destroy();
81684
- abort(new AxiosError(
81699
+ abort(new AxiosError$1(
81685
81700
  "maxContentLength size of " + config2.maxContentLength + " exceeded",
81686
- AxiosError.ERR_BAD_RESPONSE,
81701
+ AxiosError$1.ERR_BAD_RESPONSE,
81687
81702
  config2,
81688
81703
  lastRequest
81689
81704
  ));
@@ -81693,9 +81708,9 @@ var require_axios = __commonJS({
81693
81708
  if (rejected) {
81694
81709
  return;
81695
81710
  }
81696
- const err = new AxiosError(
81711
+ const err = new AxiosError$1(
81697
81712
  "stream has been aborted",
81698
- AxiosError.ERR_BAD_RESPONSE,
81713
+ AxiosError$1.ERR_BAD_RESPONSE,
81699
81714
  config2,
81700
81715
  lastRequest
81701
81716
  );
@@ -81704,7 +81719,7 @@ var require_axios = __commonJS({
81704
81719
  });
81705
81720
  responseStream.on("error", function handleStreamError(err) {
81706
81721
  if (req.destroyed) return;
81707
- reject(AxiosError.from(err, null, config2, lastRequest));
81722
+ reject(AxiosError$1.from(err, null, config2, lastRequest));
81708
81723
  });
81709
81724
  responseStream.on("end", function handleStreamEnd() {
81710
81725
  try {
@@ -81717,7 +81732,7 @@ var require_axios = __commonJS({
81717
81732
  }
81718
81733
  response.data = responseData;
81719
81734
  } catch (err) {
81720
- return reject(AxiosError.from(err, null, config2, response.request, response));
81735
+ return reject(AxiosError$1.from(err, null, config2, response.request, response));
81721
81736
  }
81722
81737
  settle(resolve2, reject, response);
81723
81738
  });
@@ -81737,7 +81752,7 @@ var require_axios = __commonJS({
81737
81752
  }
81738
81753
  });
81739
81754
  req.on("error", function handleRequestError(err) {
81740
- reject(AxiosError.from(err, null, config2, req));
81755
+ reject(AxiosError$1.from(err, null, config2, req));
81741
81756
  });
81742
81757
  req.on("socket", function handleRequestSocket(socket) {
81743
81758
  socket.setKeepAlive(true, 1e3 * 60);
@@ -81745,9 +81760,9 @@ var require_axios = __commonJS({
81745
81760
  if (config2.timeout) {
81746
81761
  const timeout = parseInt(config2.timeout, 10);
81747
81762
  if (Number.isNaN(timeout)) {
81748
- abort(new AxiosError(
81763
+ abort(new AxiosError$1(
81749
81764
  "error trying to parse `config.timeout` to int",
81750
- AxiosError.ERR_BAD_OPTION_VALUE,
81765
+ AxiosError$1.ERR_BAD_OPTION_VALUE,
81751
81766
  config2,
81752
81767
  req
81753
81768
  ));
@@ -81760,9 +81775,9 @@ var require_axios = __commonJS({
81760
81775
  if (config2.timeoutErrorMessage) {
81761
81776
  timeoutErrorMessage = config2.timeoutErrorMessage;
81762
81777
  }
81763
- abort(new AxiosError(
81778
+ abort(new AxiosError$1(
81764
81779
  timeoutErrorMessage,
81765
- transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
81780
+ transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
81766
81781
  config2,
81767
81782
  req
81768
81783
  ));
@@ -81782,7 +81797,7 @@ var require_axios = __commonJS({
81782
81797
  });
81783
81798
  data.on("close", () => {
81784
81799
  if (!ended && !errored) {
81785
- abort(new CanceledError("Request stream has been aborted", config2, req));
81800
+ abort(new CanceledError$1("Request stream has been aborted", config2, req));
81786
81801
  }
81787
81802
  });
81788
81803
  data.pipe(req);
@@ -82017,12 +82032,12 @@ var require_axios = __commonJS({
82017
82032
  if (!request) {
82018
82033
  return;
82019
82034
  }
82020
- reject(new AxiosError("Request aborted", AxiosError.ECONNABORTED, config2, request));
82035
+ reject(new AxiosError$1("Request aborted", AxiosError$1.ECONNABORTED, config2, request));
82021
82036
  request = null;
82022
82037
  };
82023
82038
  request.onerror = function handleError(event) {
82024
82039
  const msg = event && event.message ? event.message : "Network Error";
82025
- const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config2, request);
82040
+ const err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config2, request);
82026
82041
  err.event = event || null;
82027
82042
  reject(err);
82028
82043
  request = null;
@@ -82033,9 +82048,9 @@ var require_axios = __commonJS({
82033
82048
  if (_config.timeoutErrorMessage) {
82034
82049
  timeoutErrorMessage = _config.timeoutErrorMessage;
82035
82050
  }
82036
- reject(new AxiosError(
82051
+ reject(new AxiosError$1(
82037
82052
  timeoutErrorMessage,
82038
- transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
82053
+ transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
82039
82054
  config2,
82040
82055
  request
82041
82056
  ));
@@ -82067,7 +82082,7 @@ var require_axios = __commonJS({
82067
82082
  if (!request) {
82068
82083
  return;
82069
82084
  }
82070
- reject(!cancel || cancel.type ? new CanceledError(null, config2, request) : cancel);
82085
+ reject(!cancel || cancel.type ? new CanceledError$1(null, config2, request) : cancel);
82071
82086
  request.abort();
82072
82087
  request = null;
82073
82088
  };
@@ -82078,7 +82093,7 @@ var require_axios = __commonJS({
82078
82093
  }
82079
82094
  const protocol = parseProtocol(_config.url);
82080
82095
  if (protocol && platform.protocols.indexOf(protocol) === -1) {
82081
- reject(new AxiosError("Unsupported protocol " + protocol + ":", AxiosError.ERR_BAD_REQUEST, config2));
82096
+ reject(new AxiosError$1("Unsupported protocol " + protocol + ":", AxiosError$1.ERR_BAD_REQUEST, config2));
82082
82097
  return;
82083
82098
  }
82084
82099
  request.send(requestData || null);
@@ -82094,12 +82109,12 @@ var require_axios = __commonJS({
82094
82109
  aborted2 = true;
82095
82110
  unsubscribe();
82096
82111
  const err = reason instanceof Error ? reason : this.reason;
82097
- controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
82112
+ controller.abort(err instanceof AxiosError$1 ? err : new CanceledError$1(err instanceof Error ? err.message : err));
82098
82113
  }
82099
82114
  };
82100
82115
  let timer = timeout && setTimeout(() => {
82101
82116
  timer = null;
82102
- onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
82117
+ onabort(new AxiosError$1(`timeout of ${timeout}ms exceeded`, AxiosError$1.ETIMEDOUT));
82103
82118
  }, timeout);
82104
82119
  const unsubscribe = () => {
82105
82120
  if (signals) {
@@ -82246,7 +82261,7 @@ var require_axios = __commonJS({
82246
82261
  if (method) {
82247
82262
  return method.call(res);
82248
82263
  }
82249
- throw new AxiosError(`Response type '${type2}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config2);
82264
+ throw new AxiosError$1(`Response type '${type2}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config2);
82250
82265
  });
82251
82266
  });
82252
82267
  })();
@@ -82371,13 +82386,13 @@ var require_axios = __commonJS({
82371
82386
  unsubscribe && unsubscribe();
82372
82387
  if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
82373
82388
  throw Object.assign(
82374
- new AxiosError("Network Error", AxiosError.ERR_NETWORK, config2, request),
82389
+ new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, config2, request),
82375
82390
  {
82376
82391
  cause: err.cause || err
82377
82392
  }
82378
82393
  );
82379
82394
  }
82380
- throw AxiosError.from(err, err && err.code, config2, request);
82395
+ throw AxiosError$1.from(err, err && err.code, config2, request);
82381
82396
  }
82382
82397
  };
82383
82398
  };
@@ -82431,7 +82446,7 @@ var require_axios = __commonJS({
82431
82446
  if (!isResolvedHandle(nameOrAdapter)) {
82432
82447
  adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
82433
82448
  if (adapter === void 0) {
82434
- throw new AxiosError(`Unknown adapter '${id}'`);
82449
+ throw new AxiosError$1(`Unknown adapter '${id}'`);
82435
82450
  }
82436
82451
  }
82437
82452
  if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config2)))) {
@@ -82444,7 +82459,7 @@ var require_axios = __commonJS({
82444
82459
  ([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
82445
82460
  );
82446
82461
  let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
82447
- throw new AxiosError(
82462
+ throw new AxiosError$1(
82448
82463
  `There is no suitable adapter to dispatch the request ` + s,
82449
82464
  "ERR_NOT_SUPPORT"
82450
82465
  );
@@ -82468,7 +82483,7 @@ var require_axios = __commonJS({
82468
82483
  config2.cancelToken.throwIfRequested();
82469
82484
  }
82470
82485
  if (config2.signal && config2.signal.aborted) {
82471
- throw new CanceledError(null, config2);
82486
+ throw new CanceledError$1(null, config2);
82472
82487
  }
82473
82488
  }
82474
82489
  function dispatchRequest(config2) {
@@ -82519,9 +82534,9 @@ var require_axios = __commonJS({
82519
82534
  }
82520
82535
  return (value, opt, opts) => {
82521
82536
  if (validator2 === false) {
82522
- throw new AxiosError(
82537
+ throw new AxiosError$1(
82523
82538
  formatMessage(opt, " has been removed" + (version5 ? " in " + version5 : "")),
82524
- AxiosError.ERR_DEPRECATED
82539
+ AxiosError$1.ERR_DEPRECATED
82525
82540
  );
82526
82541
  }
82527
82542
  if (version5 && !deprecatedWarnings[opt]) {
@@ -82544,7 +82559,7 @@ var require_axios = __commonJS({
82544
82559
  };
82545
82560
  function assertOptions(options, schema, allowUnknown) {
82546
82561
  if (typeof options !== "object") {
82547
- throw new AxiosError("options must be an object", AxiosError.ERR_BAD_OPTION_VALUE);
82562
+ throw new AxiosError$1("options must be an object", AxiosError$1.ERR_BAD_OPTION_VALUE);
82548
82563
  }
82549
82564
  const keys2 = Object.keys(options);
82550
82565
  let i = keys2.length;
@@ -82555,12 +82570,12 @@ var require_axios = __commonJS({
82555
82570
  const value = options[opt];
82556
82571
  const result = value === void 0 || validator2(value, opt, options);
82557
82572
  if (result !== true) {
82558
- throw new AxiosError("option " + opt + " must be " + result, AxiosError.ERR_BAD_OPTION_VALUE);
82573
+ throw new AxiosError$1("option " + opt + " must be " + result, AxiosError$1.ERR_BAD_OPTION_VALUE);
82559
82574
  }
82560
82575
  continue;
82561
82576
  }
82562
82577
  if (allowUnknown !== true) {
82563
- throw new AxiosError("Unknown option " + opt, AxiosError.ERR_BAD_OPTION);
82578
+ throw new AxiosError$1("Unknown option " + opt, AxiosError$1.ERR_BAD_OPTION);
82564
82579
  }
82565
82580
  }
82566
82581
  }
@@ -82677,8 +82692,11 @@ var require_axios = __commonJS({
82677
82692
  chain.push(...responseInterceptorChain);
82678
82693
  len = chain.length;
82679
82694
  promise2 = Promise.resolve(config2);
82695
+ let prevResult = config2;
82680
82696
  while (i < len) {
82681
- promise2 = promise2.then(chain[i++], chain[i++]);
82697
+ promise2 = promise2.then(chain[i++]).then((result) => {
82698
+ prevResult = result !== void 0 ? result : prevResult;
82699
+ }).catch(chain[i++]).then(() => prevResult);
82682
82700
  }
82683
82701
  return promise2;
82684
82702
  }
@@ -82702,7 +82720,7 @@ var require_axios = __commonJS({
82702
82720
  i = 0;
82703
82721
  len = responseInterceptorChain.length;
82704
82722
  while (i < len) {
82705
- promise2 = promise2.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);
82723
+ promise2 = promise2.then(responseInterceptorChain[i++]).catch(responseInterceptorChain[i++]);
82706
82724
  }
82707
82725
  return promise2;
82708
82726
  }
@@ -82771,7 +82789,7 @@ var require_axios = __commonJS({
82771
82789
  if (token.reason) {
82772
82790
  return;
82773
82791
  }
82774
- token.reason = new CanceledError(message, config2, request);
82792
+ token.reason = new CanceledError$1(message, config2, request);
82775
82793
  resolvePromise(token.reason);
82776
82794
  });
82777
82795
  }
@@ -82929,12 +82947,12 @@ var require_axios = __commonJS({
82929
82947
  }
82930
82948
  var axios = createInstance(defaults$1);
82931
82949
  axios.Axios = Axios$1;
82932
- axios.CanceledError = CanceledError;
82950
+ axios.CanceledError = CanceledError$1;
82933
82951
  axios.CancelToken = CancelToken$1;
82934
82952
  axios.isCancel = isCancel;
82935
82953
  axios.VERSION = VERSION;
82936
82954
  axios.toFormData = toFormData;
82937
- axios.AxiosError = AxiosError;
82955
+ axios.AxiosError = AxiosError$1;
82938
82956
  axios.Cancel = axios.CanceledError;
82939
82957
  axios.all = function all(promises) {
82940
82958
  return Promise.all(promises);
@@ -85565,13 +85583,14 @@ var require_transport = __commonJS({
85565
85583
  }
85566
85584
  return false;
85567
85585
  }
85568
- function buildStream(filename, workerData, workerOpts, sync) {
85586
+ function buildStream(filename, workerData, workerOpts, sync, name) {
85569
85587
  if (!workerOpts.execArgv && hasPreloadFlags() && __require.main === void 0) {
85570
85588
  workerOpts = {
85571
85589
  ...workerOpts,
85572
85590
  execArgv: []
85573
85591
  };
85574
85592
  }
85593
+ workerOpts = { ...workerOpts, name };
85575
85594
  const stream = new ThreadStream({
85576
85595
  filename,
85577
85596
  workerData,
@@ -85656,7 +85675,8 @@ var require_transport = __commonJS({
85656
85675
  options.dedupe = dedupe;
85657
85676
  }
85658
85677
  options.pinoWillSendConfig = true;
85659
- return buildStream(fixTarget(target), options, worker, sync);
85678
+ const name = targets || pipeline ? "pino.transport" : target;
85679
+ return buildStream(fixTarget(target), options, worker, sync, name);
85660
85680
  function fixTarget(origin) {
85661
85681
  origin = bundlerOverrides[origin] || origin;
85662
85682
  if (isAbsolute(origin) || origin.indexOf("file://") === 0) {
@@ -86233,7 +86253,7 @@ var require_levels = __commonJS({
86233
86253
  var require_meta = __commonJS({
86234
86254
  "../../node_modules/pino/lib/meta.js"(exports2, module2) {
86235
86255
  "use strict";
86236
- module2.exports = { version: "10.2.1" };
86256
+ module2.exports = { version: "10.3.0" };
86237
86257
  }
86238
86258
  });
86239
86259
 
@@ -198790,7 +198810,7 @@ var require_react_production = __commonJS({
198790
198810
  exports2.useTransition = function() {
198791
198811
  return ReactSharedInternals.H.useTransition();
198792
198812
  };
198793
- exports2.version = "19.2.3";
198813
+ exports2.version = "19.2.4";
198794
198814
  }
198795
198815
  });
198796
198816
 
@@ -199760,7 +199780,7 @@ var require_react_development = __commonJS({
199760
199780
  exports2.useTransition = function() {
199761
199781
  return resolveDispatcher().useTransition();
199762
199782
  };
199763
- exports2.version = "19.2.3";
199783
+ exports2.version = "19.2.4";
199764
199784
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
199765
199785
  })();
199766
199786
  }
@@ -199923,7 +199943,7 @@ var require_react_dom_production = __commonJS({
199923
199943
  exports2.useFormStatus = function() {
199924
199944
  return ReactSharedInternals.H.useHostTransitionStatus();
199925
199945
  };
199926
- exports2.version = "19.2.3";
199946
+ exports2.version = "19.2.4";
199927
199947
  }
199928
199948
  });
199929
199949
 
@@ -200165,7 +200185,7 @@ var require_react_dom_development = __commonJS({
200165
200185
  exports2.useFormStatus = function() {
200166
200186
  return resolveDispatcher().useHostTransitionStatus();
200167
200187
  };
200168
- exports2.version = "19.2.3";
200188
+ exports2.version = "19.2.4";
200169
200189
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
200170
200190
  })();
200171
200191
  }
@@ -205131,7 +205151,7 @@ var require_react_dom_server_legacy_node_production = __commonJS({
205131
205151
  'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
205132
205152
  );
205133
205153
  };
205134
- exports2.version = "19.2.3";
205154
+ exports2.version = "19.2.4";
205135
205155
  }
205136
205156
  });
205137
205157
 
@@ -210450,9 +210470,9 @@ var require_react_dom_server_node_production = __commonJS({
210450
210470
  }
210451
210471
  function ensureCorrectIsomorphicReactVersion() {
210452
210472
  var isomorphicReactPackageVersion = React.version;
210453
- if ("19.2.3" !== isomorphicReactPackageVersion)
210473
+ if ("19.2.4" !== isomorphicReactPackageVersion)
210454
210474
  throw Error(
210455
- 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + "\n - react-dom: 19.2.3\nLearn more: https://react.dev/warnings/version-mismatch")
210475
+ 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + "\n - react-dom: 19.2.4\nLearn more: https://react.dev/warnings/version-mismatch")
210456
210476
  );
210457
210477
  }
210458
210478
  ensureCorrectIsomorphicReactVersion();
@@ -210975,7 +210995,7 @@ var require_react_dom_server_node_production = __commonJS({
210975
210995
  }
210976
210996
  };
210977
210997
  };
210978
- exports2.version = "19.2.3";
210998
+ exports2.version = "19.2.4";
210979
210999
  }
210980
211000
  });
210981
211001
 
@@ -218085,7 +218105,7 @@ var require_react_dom_server_legacy_node_development = __commonJS({
218085
218105
  'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
218086
218106
  );
218087
218107
  };
218088
- exports2.version = "19.2.3";
218108
+ exports2.version = "19.2.4";
218089
218109
  })();
218090
218110
  }
218091
218111
  });
@@ -224359,9 +224379,9 @@ var require_react_dom_server_node_development = __commonJS({
224359
224379
  }
224360
224380
  function ensureCorrectIsomorphicReactVersion() {
224361
224381
  var isomorphicReactPackageVersion = React.version;
224362
- if ("19.2.3" !== isomorphicReactPackageVersion)
224382
+ if ("19.2.4" !== isomorphicReactPackageVersion)
224363
224383
  throw Error(
224364
- 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + "\n - react-dom: 19.2.3\nLearn more: https://react.dev/warnings/version-mismatch")
224384
+ 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + "\n - react-dom: 19.2.4\nLearn more: https://react.dev/warnings/version-mismatch")
224365
224385
  );
224366
224386
  }
224367
224387
  function createDrainHandler(destination, request) {
@@ -225974,7 +225994,7 @@ var require_react_dom_server_node_development = __commonJS({
225974
225994
  }
225975
225995
  };
225976
225996
  };
225977
- exports2.version = "19.2.3";
225997
+ exports2.version = "19.2.4";
225978
225998
  })();
225979
225999
  }
225980
226000
  });
@@ -227617,7 +227637,7 @@ async function estimateGas(client, args) {
227617
227637
 
227618
227638
  // ../../node_modules/viem/_esm/actions/public/estimateContractGas.js
227619
227639
  async function estimateContractGas(client, parameters) {
227620
- const { abi: abi5, address, args, functionName, dataSuffix, ...request } = parameters;
227640
+ const { abi: abi5, address, args, functionName, dataSuffix = typeof client.dataSuffix === "string" ? client.dataSuffix : client.dataSuffix?.value, ...request } = parameters;
227621
227641
  const data = encodeFunctionData({
227622
227642
  abi: abi5,
227623
227643
  args,
@@ -227963,7 +227983,7 @@ init_decodeFunctionResult();
227963
227983
  init_encodeFunctionData();
227964
227984
  init_call();
227965
227985
  async function simulateContract(client, parameters) {
227966
- const { abi: abi5, address, args, dataSuffix, functionName, ...callRequest } = parameters;
227986
+ const { abi: abi5, address, args, functionName, dataSuffix = typeof client.dataSuffix === "string" ? client.dataSuffix : client.dataSuffix?.value, ...callRequest } = parameters;
227967
227987
  const account = callRequest.account ? parseAccount(callRequest.account) : client.account;
227968
227988
  const calldata = encodeFunctionData({ abi: abi5, args, functionName });
227969
227989
  try {
@@ -228385,6 +228405,7 @@ function assertCurrentChain({ chain, currentChainId }) {
228385
228405
  }
228386
228406
 
228387
228407
  // ../../node_modules/viem/_esm/actions/wallet/sendTransaction.js
228408
+ init_concat();
228388
228409
  init_extract();
228389
228410
  init_transactionRequest();
228390
228411
  init_lru();
@@ -228401,7 +228422,7 @@ async function sendRawTransaction(client, { serializedTransaction }) {
228401
228422
  // ../../node_modules/viem/_esm/actions/wallet/sendTransaction.js
228402
228423
  var supportsWalletNamespace = new LruMap(128);
228403
228424
  async function sendTransaction(client, parameters) {
228404
- const { account: account_ = client.account, assertChainId = true, chain = client.chain, accessList, authorizationList, blobs, data, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, type: type2, value, ...rest } = parameters;
228425
+ const { account: account_ = client.account, assertChainId = true, chain = client.chain, accessList, authorizationList, blobs, data, dataSuffix = typeof client.dataSuffix === "string" ? client.dataSuffix : client.dataSuffix?.value, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, type: type2, value, ...rest } = parameters;
228405
228426
  if (typeof account_ === "undefined")
228406
228427
  throw new AccountNotFoundError({
228407
228428
  docsPath: "/docs/actions/wallet/sendTransaction"
@@ -228442,7 +228463,7 @@ async function sendTransaction(client, parameters) {
228442
228463
  authorizationList,
228443
228464
  blobs,
228444
228465
  chainId,
228445
- data,
228466
+ data: data ? concat([data, dataSuffix ?? "0x"]) : data,
228446
228467
  gas,
228447
228468
  gasPrice,
228448
228469
  maxFeePerBlobGas,
@@ -228490,7 +228511,7 @@ async function sendTransaction(client, parameters) {
228490
228511
  authorizationList,
228491
228512
  blobs,
228492
228513
  chain,
228493
- data,
228514
+ data: data ? concat([data, dataSuffix ?? "0x"]) : data,
228494
228515
  gas,
228495
228516
  gasPrice,
228496
228517
  maxFeePerBlobGas,
@@ -228541,7 +228562,7 @@ async function writeContract(client, parameters) {
228541
228562
  }
228542
228563
  (function(writeContract2) {
228543
228564
  async function internal(client, actionFn, name, parameters) {
228544
- const { abi: abi5, account: account_ = client.account, address, args, dataSuffix, functionName, ...request } = parameters;
228565
+ const { abi: abi5, account: account_ = client.account, address, args, functionName, ...request } = parameters;
228545
228566
  if (typeof account_ === "undefined")
228546
228567
  throw new AccountNotFoundError({
228547
228568
  docsPath: "/docs/contract/writeContract"
@@ -228554,7 +228575,7 @@ async function writeContract(client, parameters) {
228554
228575
  });
228555
228576
  try {
228556
228577
  return await getAction(client, actionFn, name)({
228557
- data: `${data}${dataSuffix ? dataSuffix.replace("0x", "") : ""}`,
228578
+ data,
228558
228579
  to: address,
228559
228580
  account,
228560
228581
  ...request
@@ -228669,8 +228690,24 @@ var fallbackTransactionErrorMagicIdentifier = numberToHex(0, {
228669
228690
  size: 32
228670
228691
  });
228671
228692
  async function sendCalls(client, parameters) {
228672
- const { account: account_ = client.account, capabilities, chain = client.chain, experimental_fallback, experimental_fallbackDelay = 32, forceAtomic = false, id, version: version5 = "2.0.0" } = parameters;
228693
+ const { account: account_ = client.account, chain = client.chain, experimental_fallback, experimental_fallbackDelay = 32, forceAtomic = false, id, version: version5 = "2.0.0" } = parameters;
228673
228694
  const account = account_ ? parseAccount(account_) : null;
228695
+ let capabilities = parameters.capabilities;
228696
+ if (client.dataSuffix && !parameters.capabilities?.dataSuffix) {
228697
+ if (typeof client.dataSuffix === "string")
228698
+ capabilities = {
228699
+ ...parameters.capabilities,
228700
+ dataSuffix: { value: client.dataSuffix, optional: true }
228701
+ };
228702
+ else
228703
+ capabilities = {
228704
+ ...parameters.capabilities,
228705
+ dataSuffix: {
228706
+ value: client.dataSuffix.value,
228707
+ ...client.dataSuffix.required ? {} : { optional: true }
228708
+ }
228709
+ };
228710
+ }
228674
228711
  const calls = parameters.calls.map((call_) => {
228675
228712
  const call2 = call_;
228676
228713
  const data = call2.abi ? encodeFunctionData({
@@ -228902,7 +228939,7 @@ function uid(length = 11) {
228902
228939
 
228903
228940
  // ../../node_modules/viem/_esm/clients/createClient.js
228904
228941
  function createClient(parameters) {
228905
- const { batch, chain, ccipRead, key = "base", name = "Base Client", type: type2 = "base" } = parameters;
228942
+ const { batch, chain, ccipRead, dataSuffix, key = "base", name = "Base Client", type: type2 = "base" } = parameters;
228906
228943
  const experimental_blockTag = parameters.experimental_blockTag ?? (typeof chain?.experimental_preconfirmationTime === "number" ? "pending" : void 0);
228907
228944
  const blockTime = chain?.blockTime ?? 12e3;
228908
228945
  const defaultPollingInterval = Math.min(Math.max(Math.floor(blockTime / 2), 500), 4e3);
@@ -228921,6 +228958,7 @@ function createClient(parameters) {
228921
228958
  cacheTime,
228922
228959
  ccipRead,
228923
228960
  chain,
228961
+ dataSuffix,
228924
228962
  key,
228925
228963
  name,
228926
228964
  pollingInterval,
@@ -235081,13 +235119,14 @@ async function sendCallsSync(client, parameters) {
235081
235119
  init_parseAccount();
235082
235120
  init_base();
235083
235121
  init_transaction();
235122
+ init_concat();
235084
235123
  init_extract();
235085
235124
  init_transactionRequest();
235086
235125
  init_lru();
235087
235126
  init_assertRequest();
235088
235127
  var supportsWalletNamespace2 = new LruMap(128);
235089
235128
  async function sendTransactionSync(client, parameters) {
235090
- const { account: account_ = client.account, assertChainId = true, chain = client.chain, accessList, authorizationList, blobs, data, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, pollingInterval, throwOnReceiptRevert, type: type2, value, ...rest } = parameters;
235129
+ const { account: account_ = client.account, assertChainId = true, chain = client.chain, accessList, authorizationList, blobs, data, dataSuffix = typeof client.dataSuffix === "string" ? client.dataSuffix : client.dataSuffix?.value, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, pollingInterval, throwOnReceiptRevert, type: type2, value, ...rest } = parameters;
235091
235130
  const timeout = parameters.timeout ?? Math.max((chain?.blockTime ?? 0) * 3, 5e3);
235092
235131
  if (typeof account_ === "undefined")
235093
235132
  throw new AccountNotFoundError({
@@ -235129,7 +235168,7 @@ async function sendTransactionSync(client, parameters) {
235129
235168
  authorizationList,
235130
235169
  blobs,
235131
235170
  chainId,
235132
- data,
235171
+ data: data ? concat([data, dataSuffix ?? "0x"]) : data,
235133
235172
  gas,
235134
235173
  gasPrice,
235135
235174
  maxFeePerBlobGas,
@@ -235188,7 +235227,7 @@ async function sendTransactionSync(client, parameters) {
235188
235227
  authorizationList,
235189
235228
  blobs,
235190
235229
  chain,
235191
- data,
235230
+ data: data ? concat([data, dataSuffix ?? "0x"]) : data,
235192
235231
  gas,
235193
235232
  gasPrice,
235194
235233
  maxFeePerBlobGas,
@@ -235996,6 +236035,7 @@ __export(chains_exports, {
235996
236035
  matchain: () => matchain,
235997
236036
  matchainTestnet: () => matchainTestnet,
235998
236037
  mchVerse: () => mchVerse,
236038
+ megaeth: () => megaeth,
235999
236039
  megaethTestnet: () => megaethTestnet,
236000
236040
  mekong: () => mekong,
236001
236041
  meld: () => meld,
@@ -236109,6 +236149,7 @@ __export(chains_exports, {
236109
236149
  redstone: () => redstone,
236110
236150
  rei: () => rei,
236111
236151
  reyaNetwork: () => reyaNetwork,
236152
+ rise: () => rise,
236112
236153
  riseTestnet: () => riseTestnet,
236113
236154
  rivalz: () => rivalz,
236114
236155
  rollux: () => rollux,
@@ -236182,6 +236223,7 @@ __export(chains_exports, {
236182
236223
  sova: () => sova,
236183
236224
  sovaSepolia: () => sovaSepolia,
236184
236225
  spicy: () => spicy,
236226
+ stable: () => stable,
236185
236227
  stableTestnet: () => stableTestnet,
236186
236228
  statusNetworkSepolia: () => statusSepolia,
236187
236229
  statusSepolia: () => statusSepolia,
@@ -246371,9 +246413,39 @@ var mchVerse = /* @__PURE__ */ defineChain({
246371
246413
  testnet: false
246372
246414
  });
246373
246415
 
246416
+ // ../../node_modules/viem/_esm/chains/definitions/megaeth.js
246417
+ var megaeth = /* @__PURE__ */ defineChain({
246418
+ id: 4326,
246419
+ blockTime: 1e3,
246420
+ name: "MegaETH",
246421
+ nativeCurrency: {
246422
+ name: "Ether",
246423
+ symbol: "ETH",
246424
+ decimals: 18
246425
+ },
246426
+ rpcUrls: {
246427
+ default: {
246428
+ http: ["https://mainnet.megaeth.com/rpc"],
246429
+ webSocket: ["wss://mainnet.megaeth.com/ws"]
246430
+ }
246431
+ },
246432
+ blockExplorers: {
246433
+ default: {
246434
+ name: "Blockscout",
246435
+ url: "https://megaeth.blockscout.com",
246436
+ apiUrl: "https://megaeth.blockscout.com/api"
246437
+ }
246438
+ },
246439
+ contracts: {
246440
+ multicall3: {
246441
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11"
246442
+ }
246443
+ }
246444
+ });
246445
+
246374
246446
  // ../../node_modules/viem/_esm/chains/definitions/megaethTestnet.js
246375
246447
  var megaethTestnet = /* @__PURE__ */ defineChain({
246376
- id: 6342,
246448
+ id: 6343,
246377
246449
  blockTime: 1e3,
246378
246450
  name: "MegaETH Testnet",
246379
246451
  nativeCurrency: {
@@ -246391,6 +246463,11 @@ var megaethTestnet = /* @__PURE__ */ defineChain({
246391
246463
  default: {
246392
246464
  name: "MegaETH Testnet Explorer",
246393
246465
  url: "https://www.megaexplorer.xyz/"
246466
+ },
246467
+ blockscout: {
246468
+ name: "Blockscout",
246469
+ url: "https://megaeth-testnet-v2.blockscout.com",
246470
+ apiUrl: "https://megaeth-testnet-v2.blockscout.com/api"
246394
246471
  }
246395
246472
  },
246396
246473
  contracts: {
@@ -249438,6 +249515,31 @@ var reyaNetwork = /* @__PURE__ */ defineChain({
249438
249515
  testnet: false
249439
249516
  });
249440
249517
 
249518
+ // ../../node_modules/viem/_esm/chains/definitions/rise.js
249519
+ var rise = /* @__PURE__ */ defineChain({
249520
+ id: 4153,
249521
+ name: "RISE",
249522
+ nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
249523
+ rpcUrls: {
249524
+ default: {
249525
+ http: ["https://rpc.risechain.com"],
249526
+ webSocket: ["wss://rpc.risechain.com/ws"]
249527
+ }
249528
+ },
249529
+ blockExplorers: {
249530
+ default: {
249531
+ name: "Blockscout",
249532
+ url: "https://explorer.risechain.com",
249533
+ apiUrl: "https://explorer.risechain.com/api"
249534
+ }
249535
+ },
249536
+ contracts: {
249537
+ multicall3: {
249538
+ address: "0xca11bde05977b3631167028862be2a173976ca11"
249539
+ }
249540
+ }
249541
+ });
249542
+
249441
249543
  // ../../node_modules/viem/_esm/chains/definitions/riseTestnet.js
249442
249544
  var riseTestnet = /* @__PURE__ */ defineChain({
249443
249545
  id: 11155931,
@@ -251389,14 +251491,47 @@ var spicy = /* @__PURE__ */ defineChain({
251389
251491
  testnet: true
251390
251492
  });
251391
251493
 
251494
+ // ../../node_modules/viem/_esm/chains/definitions/stable.js
251495
+ var stable = /* @__PURE__ */ defineChain({
251496
+ id: 988,
251497
+ name: "Stable Mainnet",
251498
+ blockTime: 700,
251499
+ nativeCurrency: {
251500
+ name: "gUSDT",
251501
+ symbol: "gUSDT",
251502
+ decimals: 18
251503
+ },
251504
+ rpcUrls: {
251505
+ default: {
251506
+ http: ["https://rpc.stable.xyz"],
251507
+ webSocket: ["wss://rpc.stable.xyz"]
251508
+ }
251509
+ },
251510
+ blockExplorers: {
251511
+ default: {
251512
+ name: "Stablescan",
251513
+ url: "https://stablescan.xyz",
251514
+ apiUrl: "https://api.etherscan.io/v2/api?chainid=988"
251515
+ }
251516
+ },
251517
+ contracts: {
251518
+ multicall3: {
251519
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
251520
+ blockCreated: 2423647
251521
+ }
251522
+ },
251523
+ testnet: false
251524
+ });
251525
+
251392
251526
  // ../../node_modules/viem/_esm/chains/definitions/stableTestnet.js
251393
251527
  var stableTestnet = /* @__PURE__ */ defineChain({
251394
251528
  id: 2201,
251395
251529
  name: "Stable Testnet",
251530
+ blockTime: 700,
251396
251531
  nativeCurrency: {
251397
- decimals: 18,
251398
- name: "gUSDT",
251399
- symbol: "gUSDT"
251532
+ name: "USDT0",
251533
+ symbol: "USDT0",
251534
+ decimals: 18
251400
251535
  },
251401
251536
  rpcUrls: {
251402
251537
  default: {
@@ -251408,7 +251543,13 @@ var stableTestnet = /* @__PURE__ */ defineChain({
251408
251543
  default: {
251409
251544
  name: "Stablescan",
251410
251545
  url: "https://testnet.stablescan.xyz",
251411
- apiUrl: "https://testnet.stablescan.xyz/api"
251546
+ apiUrl: "https://api.etherscan.io/v2/api?chainid=2201"
251547
+ }
251548
+ },
251549
+ contracts: {
251550
+ multicall3: {
251551
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
251552
+ blockCreated: 22364430
251412
251553
  }
251413
251554
  },
251414
251555
  testnet: true
@@ -258666,7 +258807,7 @@ var Doc = class {
258666
258807
  var version4 = {
258667
258808
  major: 4,
258668
258809
  minor: 3,
258669
- patch: 5
258810
+ patch: 6
258670
258811
  };
258671
258812
 
258672
258813
  // ../../node_modules/zod/v4/core/schemas.js
@@ -259957,7 +260098,7 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
259957
260098
  if (keyResult instanceof Promise) {
259958
260099
  throw new Error("Async schemas not supported in object keys currently");
259959
260100
  }
259960
- const checkNumericKey = typeof key === "string" && number.test(key) && keyResult.issues.length && keyResult.issues.some((iss) => iss.code === "invalid_type" && iss.expected === "number");
260101
+ const checkNumericKey = typeof key === "string" && number.test(key) && keyResult.issues.length;
259961
260102
  if (checkNumericKey) {
259962
260103
  const retryResult = def.keyType._zod.run({ value: Number(key), issues: [] }, ctx);
259963
260104
  if (retryResult instanceof Promise) {
@@ -267505,7 +267646,7 @@ function finalize(ctx, schema) {
267505
267646
  }
267506
267647
  }
267507
267648
  }
267508
- if (refSchema.$ref) {
267649
+ if (refSchema.$ref && refSeen.def) {
267509
267650
  for (const key in schema2) {
267510
267651
  if (key === "$ref" || key === "allOf")
267511
267652
  continue;
@@ -315469,7 +315610,7 @@ function getRenderer(opts) {
315469
315610
  var package_default = {
315470
315611
  name: "@gearbox-protocol/deploy-tools",
315471
315612
  description: "Gearbox deploy tools",
315472
- version: "5.69.0",
315613
+ version: "5.69.2",
315473
315614
  homepage: "https://gearbox.fi",
315474
315615
  keywords: [
315475
315616
  "gearbox"
@@ -315509,29 +315650,29 @@ var package_default = {
315509
315650
  "@gearbox-protocol/deploy-tools-node": "0.0.0",
315510
315651
  "@gearbox-protocol/deploy-tools-shared": "0.0.0",
315511
315652
  "@gearbox-protocol/deploy-tools-types": "0.0.0",
315512
- "@gearbox-protocol/sdk": "12.5.0",
315653
+ "@gearbox-protocol/sdk": "12.6.1",
315513
315654
  "@gearbox-protocol/sdk-gov": "2.34.0-next.114",
315514
315655
  "@types/lodash-es": "^4.17.12",
315515
- "@types/node": "^25.0.9",
315516
- "@types/react": "^19.2.9",
315656
+ "@types/node": "^25.0.10",
315657
+ "@types/react": "^19.2.10",
315517
315658
  "@types/react-dom": "^19.2.3",
315518
315659
  abitype: "^1.2.3",
315519
315660
  chalk: "^5.6.2",
315520
315661
  commander: "^14.0.2",
315521
315662
  "date-fns": "^4.1.0",
315522
315663
  esbuild: "^0.27.2",
315523
- "lodash-es": "^4.17.22",
315664
+ "lodash-es": "^4.17.23",
315524
315665
  "p-retry": "^7.1.1",
315525
- pino: "^10.2.1",
315666
+ pino: "^10.3.0",
315526
315667
  "pino-pretty": "^13.1.3",
315527
315668
  queue: "^7.0.0",
315528
- react: "^19.2.3",
315529
- "react-dom": "^19.2.3",
315669
+ react: "^19.2.4",
315670
+ "react-dom": "^19.2.4",
315530
315671
  table: "^6.9.0",
315531
315672
  tsx: "^4.21.0",
315532
- viem: "^2.44.4",
315673
+ viem: "^2.45.0",
315533
315674
  yaml: "^2.8.2",
315534
- zod: "^4.3.5"
315675
+ zod: "^4.3.6"
315535
315676
  }
315536
315677
  };
315537
315678
 
@@ -315674,7 +315815,7 @@ aes-js/lib.commonjs/aes.js:
315674
315815
  (*! MIT License. Copyright 2015-2022 Richard Moore <me@ricmoo.com>. See LICENSE.txt. *)
315675
315816
 
315676
315817
  axios/dist/node/axios.cjs:
315677
- (*! Axios v1.13.2 Copyright (c) 2025 Matt Zabriskie and contributors *)
315818
+ (*! Axios v1.13.3 Copyright (c) 2026 Matt Zabriskie and contributors *)
315678
315819
 
315679
315820
  js-sha3/src/sha3.js:
315680
315821
  (**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/deploy-tools",
3
3
  "description": "Gearbox deploy tools",
4
- "version": "5.69.0",
4
+ "version": "5.69.2",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"
@@ -41,28 +41,28 @@
41
41
  "@gearbox-protocol/deploy-tools-node": "0.0.0",
42
42
  "@gearbox-protocol/deploy-tools-shared": "0.0.0",
43
43
  "@gearbox-protocol/deploy-tools-types": "0.0.0",
44
- "@gearbox-protocol/sdk": "12.5.0",
44
+ "@gearbox-protocol/sdk": "12.6.1",
45
45
  "@gearbox-protocol/sdk-gov": "2.34.0-next.114",
46
46
  "@types/lodash-es": "^4.17.12",
47
- "@types/node": "^25.0.9",
48
- "@types/react": "^19.2.9",
47
+ "@types/node": "^25.0.10",
48
+ "@types/react": "^19.2.10",
49
49
  "@types/react-dom": "^19.2.3",
50
50
  "abitype": "^1.2.3",
51
51
  "chalk": "^5.6.2",
52
52
  "commander": "^14.0.2",
53
53
  "date-fns": "^4.1.0",
54
54
  "esbuild": "^0.27.2",
55
- "lodash-es": "^4.17.22",
55
+ "lodash-es": "^4.17.23",
56
56
  "p-retry": "^7.1.1",
57
- "pino": "^10.2.1",
57
+ "pino": "^10.3.0",
58
58
  "pino-pretty": "^13.1.3",
59
59
  "queue": "^7.0.0",
60
- "react": "^19.2.3",
61
- "react-dom": "^19.2.3",
60
+ "react": "^19.2.4",
61
+ "react-dom": "^19.2.4",
62
62
  "table": "^6.9.0",
63
63
  "tsx": "^4.21.0",
64
- "viem": "^2.44.4",
64
+ "viem": "^2.45.0",
65
65
  "yaml": "^2.8.2",
66
- "zod": "^4.3.5"
66
+ "zod": "^4.3.6"
67
67
  }
68
68
  }