@hyperlane-xyz/cli 31.2.0 → 31.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
package/bundle/index.js CHANGED
@@ -403761,7 +403761,7 @@ async function __wbg_init(module_or_path, memory) {
403761
403761
  return __wbg_finalize_init(instance, module, thread_stack_size);
403762
403762
  }
403763
403763
 
403764
- const module$1 = __nccwpck_require__.ab + "aleo_wasm.wasm";
403764
+ const module$1 = __nccwpck_require__.ab + "aleo_wasm1.wasm";
403765
403765
 
403766
403766
  await __wbg_init({ module_or_path: pathToFileURL(module$1).href });
403767
403767
 
@@ -403772,7 +403772,7 @@ async function initThreadPool(threads) {
403772
403772
 
403773
403773
  console.info(`Spawning ${threads} threads`);
403774
403774
 
403775
- await initThreadPool$1(__nccwpck_require__.ab + "worker2.js", threads);
403775
+ await initThreadPool$1(__nccwpck_require__.ab + "worker3.js", threads);
403776
403776
  }
403777
403777
 
403778
403778
 
@@ -417892,7 +417892,7 @@ async function __wbg_init(module_or_path, memory) {
417892
417892
  return __wbg_finalize_init(instance, module, thread_stack_size);
417893
417893
  }
417894
417894
 
417895
- const module$1 = __nccwpck_require__.ab + "aleo_wasm1.wasm";
417895
+ const module$1 = __nccwpck_require__.ab + "aleo_wasm.wasm";
417896
417896
 
417897
417897
  await __wbg_init({ module_or_path: pathToFileURL(module$1).href });
417898
417898
 
@@ -417903,7 +417903,7 @@ async function initThreadPool(threads) {
417903
417903
 
417904
417904
  console.info(`Spawning ${threads} threads`);
417905
417905
 
417906
- await initThreadPool$1(__nccwpck_require__.ab + "worker3.js", threads);
417906
+ await initThreadPool$1(__nccwpck_require__.ab + "worker2.js", threads);
417907
417907
  }
417908
417908
 
417909
417909
 
@@ -558954,7 +558954,6 @@ __nccwpck_require__.d(__webpack_exports__, {
558954
558954
  YO: () => (/* binding */ arrayType),
558955
558955
  o: () => (/* binding */ bigIntType),
558956
558956
  zM: () => (/* binding */ booleanType),
558957
- au: () => (/* binding */ coerce),
558958
558957
  gM: () => (/* binding */ discriminatedUnionType),
558959
558958
  k5: () => (/* binding */ enumType),
558960
558959
  RZ: () => (/* binding */ lazyType),
@@ -558968,7 +558967,7 @@ __nccwpck_require__.d(__webpack_exports__, {
558968
558967
  KC: () => (/* binding */ unionType)
558969
558968
  });
558970
558969
 
558971
- // UNUSED EXPORTS: BRAND, Schema, ZodAny, ZodArray, ZodBigInt, ZodBoolean, ZodBranded, ZodCatch, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodEffects, ZodEnum, ZodFirstPartyTypeKind, ZodFunction, ZodIntersection, ZodLazy, ZodLiteral, ZodMap, ZodNaN, ZodNativeEnum, ZodNever, ZodNull, ZodNullable, ZodNumber, ZodObject, ZodOptional, ZodPipeline, ZodPromise, ZodReadonly, ZodRecord, ZodSchema, ZodSet, ZodString, ZodSymbol, ZodTransformer, ZodTuple, ZodType, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, custom, date, datetimeRegex, effect, function, instanceof, intersection, late, map, nan, never, null, nullable, oboolean, onumber, optional, ostring, pipeline, promise, set, strictObject, symbol, transformer, tuple, undefined, unknown, void
558970
+ // UNUSED EXPORTS: BRAND, Schema, ZodAny, ZodArray, ZodBigInt, ZodBoolean, ZodBranded, ZodCatch, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodEffects, ZodEnum, ZodFirstPartyTypeKind, ZodFunction, ZodIntersection, ZodLazy, ZodLiteral, ZodMap, ZodNaN, ZodNativeEnum, ZodNever, ZodNull, ZodNullable, ZodNumber, ZodObject, ZodOptional, ZodPipeline, ZodPromise, ZodReadonly, ZodRecord, ZodSchema, ZodSet, ZodString, ZodSymbol, ZodTransformer, ZodTuple, ZodType, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, coerce, custom, date, datetimeRegex, effect, function, instanceof, intersection, late, map, nan, never, null, nullable, oboolean, onumber, optional, ostring, pipeline, promise, set, strictObject, symbol, transformer, tuple, undefined, unknown, void
558972
558971
 
558973
558972
  // EXTERNAL MODULE: ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/ZodError.js
558974
558973
  var ZodError = __nccwpck_require__(23630);
@@ -694435,7 +694434,7 @@ __webpack_async_result__();
694435
694434
  /* harmony export */ __nccwpck_require__.d(__webpack_exports__, {
694436
694435
  /* harmony export */ x: () => (/* binding */ VERSION)
694437
694436
  /* harmony export */ });
694438
- const VERSION = '31.2.0';
694437
+ const VERSION = '31.2.1';
694439
694438
  //# sourceMappingURL=version.js.map
694440
694439
 
694441
694440
  /***/ }),
@@ -814315,6 +814314,28 @@ const contractVersionMatchesDependency = (version) => {
814315
814314
  return (0,compare_versions__WEBPACK_IMPORTED_MODULE_2__.compareVersions)(version, _hyperlane_xyz_core__WEBPACK_IMPORTED_MODULE_0__/* .CONTRACTS_PACKAGE_VERSION */ .IXv) === 0;
814316
814315
  };
814317
814316
  const VERSION_ERROR_MESSAGE = `Contract version must match the @hyperlane-xyz/core dependency version (${_hyperlane_xyz_core__WEBPACK_IMPORTED_MODULE_0__/* .CONTRACTS_PACKAGE_VERSION */ .IXv})`;
814317
+ /**
814318
+ * Coerces bigint or string to bigint with positivity check.
814319
+ * Needed because bigints are serialised as strings in JSON/YAML
814320
+ * and must be converted back on parse. Uses .refine() instead of
814321
+ * .positive() to avoid bigint values in zod-to-json-schema output.
814322
+ */
814323
+ const PositiveBigIntFromString = zod__WEBPACK_IMPORTED_MODULE_3__/* .union */ .KC([
814324
+ zod__WEBPACK_IMPORTED_MODULE_3__/* .bigint */ .o(),
814325
+ zod__WEBPACK_IMPORTED_MODULE_3__/* .string */ .Yj()
814326
+ .refine((s) => {
814327
+ try {
814328
+ BigInt(s);
814329
+ return true;
814330
+ }
814331
+ catch {
814332
+ return false;
814333
+ }
814334
+ }, { message: 'Must be a bigint-compatible string' })
814335
+ .transform((s) => BigInt(s)),
814336
+ ])
814337
+ .pipe(zod__WEBPACK_IMPORTED_MODULE_3__/* .bigint */ .o())
814338
+ .refine((n) => n > 0n, { message: 'Must be positive' });
814318
814339
  const TokenMetadataSchema = zod__WEBPACK_IMPORTED_MODULE_3__/* .object */ .Ik({
814319
814340
  name: zod__WEBPACK_IMPORTED_MODULE_3__/* .string */ .Yj(),
814320
814341
  symbol: zod__WEBPACK_IMPORTED_MODULE_3__/* .string */ .Yj(),
@@ -814326,8 +814347,8 @@ const TokenMetadataSchema = zod__WEBPACK_IMPORTED_MODULE_3__/* .object */ .Ik({
814326
814347
  denominator: zod__WEBPACK_IMPORTED_MODULE_3__/* .number */ .ai().int().gt(0),
814327
814348
  }),
814328
814349
  zod__WEBPACK_IMPORTED_MODULE_3__/* .object */ .Ik({
814329
- numerator: zod__WEBPACK_IMPORTED_MODULE_3__/* .coerce */ .au.bigint().positive(),
814330
- denominator: zod__WEBPACK_IMPORTED_MODULE_3__/* .coerce */ .au.bigint().positive(),
814350
+ numerator: PositiveBigIntFromString,
814351
+ denominator: PositiveBigIntFromString,
814331
814352
  }),
814332
814353
  ])
814333
814354
  .optional(),
@@ -907203,7 +907224,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"_format":"hh-sol-artifact-1","contra
907203
907224
  /***/ 99468:
907204
907225
  /***/ ((module) => {
907205
907226
 
907206
- module.exports = {"rE":"31.2.0"};
907227
+ module.exports = {"rE":"31.2.1"};
907207
907228
 
907208
907229
  /***/ })
907209
907230
 
package/bundle/worker2.js CHANGED
@@ -388,8 +388,8 @@ function __wasm_bindgen_func_elem_7844(arg0, arg1, arg2) {
388
388
  wasm.__wasm_bindgen_func_elem_7844(arg0, arg1, addHeapObject(arg2));
389
389
  }
390
390
 
391
- function __wasm_bindgen_func_elem_6792(arg0, arg1, arg2, arg3) {
392
- wasm.__wasm_bindgen_func_elem_6792(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
391
+ function __wasm_bindgen_func_elem_6796(arg0, arg1, arg2, arg3) {
392
+ wasm.__wasm_bindgen_func_elem_6796(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
393
393
  }
394
394
 
395
395
  const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
@@ -13677,7 +13677,7 @@ function __wbg_get_imports(memory) {
13677
13677
  const a = state0.a;
13678
13678
  state0.a = 0;
13679
13679
  try {
13680
- return __wasm_bindgen_func_elem_6792(a, state0.b, arg0, arg1);
13680
+ return __wasm_bindgen_func_elem_6796(a, state0.b, arg0, arg1);
13681
13681
  } finally {
13682
13682
  state0.a = a;
13683
13683
  }
@@ -13950,6 +13950,11 @@ function __wbg_get_imports(memory) {
13950
13950
  const ret = Atomics.waitAsync(getObject(arg0), arg1 >>> 0, arg2);
13951
13951
  return addHeapObject(ret);
13952
13952
  };
13953
+ imports.wbg.__wbindgen_cast_07555e2579ff3863 = function(arg0, arg1) {
13954
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 418, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 419, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
13955
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7843, __wasm_bindgen_func_elem_7844);
13956
+ return addHeapObject(ret);
13957
+ };
13953
13958
  imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
13954
13959
  // Cast intrinsic for `Ref(String) -> Externref`.
13955
13960
  const ret = getStringFromWasm0(arg0, arg1);
@@ -13960,16 +13965,16 @@ function __wbg_get_imports(memory) {
13960
13965
  const ret = (BigInt.asUintN(64, arg0) | (arg1 << BigInt(64)));
13961
13966
  return addHeapObject(ret);
13962
13967
  };
13963
- imports.wbg.__wbindgen_cast_3e8b1a28e9899889 = function(arg0, arg1) {
13964
- // Cast intrinsic for `Closure(Closure { dtor_idx: 416, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 417, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
13965
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7843, __wasm_bindgen_func_elem_7844);
13966
- return addHeapObject(ret);
13967
- };
13968
13968
  imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
13969
13969
  // Cast intrinsic for `U64 -> Externref`.
13970
13970
  const ret = BigInt.asUintN(64, arg0);
13971
13971
  return addHeapObject(ret);
13972
13972
  };
13973
+ imports.wbg.__wbindgen_cast_72bd42f236eeae61 = function(arg0, arg1) {
13974
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 418, function: Function { arguments: [Externref], shim_idx: 419, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
13975
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7843, __wasm_bindgen_func_elem_7844);
13976
+ return addHeapObject(ret);
13977
+ };
13973
13978
  imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
13974
13979
  // Cast intrinsic for `I64 -> Externref`.
13975
13980
  const ret = arg0;
@@ -13990,11 +13995,6 @@ function __wbg_get_imports(memory) {
13990
13995
  const ret = (BigInt.asUintN(64, arg0) | (BigInt.asUintN(64, arg1) << BigInt(64)));
13991
13996
  return addHeapObject(ret);
13992
13997
  };
13993
- imports.wbg.__wbindgen_cast_f45fc07d50d9127c = function(arg0, arg1) {
13994
- // Cast intrinsic for `Closure(Closure { dtor_idx: 416, function: Function { arguments: [Externref], shim_idx: 417, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
13995
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7843, __wasm_bindgen_func_elem_7844);
13996
- return addHeapObject(ret);
13997
- };
13998
13998
  imports.wbg.__wbindgen_link_b9f45ffe079ef2c1 = function(arg0) {
13999
13999
  const val = `onmessage = function (ev) {
14000
14000
  let [ia, index, value] = ev.data;
package/bundle/worker3.js CHANGED
@@ -388,8 +388,8 @@ function __wasm_bindgen_func_elem_7844(arg0, arg1, arg2) {
388
388
  wasm.__wasm_bindgen_func_elem_7844(arg0, arg1, addHeapObject(arg2));
389
389
  }
390
390
 
391
- function __wasm_bindgen_func_elem_6796(arg0, arg1, arg2, arg3) {
392
- wasm.__wasm_bindgen_func_elem_6796(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
391
+ function __wasm_bindgen_func_elem_6792(arg0, arg1, arg2, arg3) {
392
+ wasm.__wasm_bindgen_func_elem_6792(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
393
393
  }
394
394
 
395
395
  const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
@@ -13677,7 +13677,7 @@ function __wbg_get_imports(memory) {
13677
13677
  const a = state0.a;
13678
13678
  state0.a = 0;
13679
13679
  try {
13680
- return __wasm_bindgen_func_elem_6796(a, state0.b, arg0, arg1);
13680
+ return __wasm_bindgen_func_elem_6792(a, state0.b, arg0, arg1);
13681
13681
  } finally {
13682
13682
  state0.a = a;
13683
13683
  }
@@ -13950,11 +13950,6 @@ function __wbg_get_imports(memory) {
13950
13950
  const ret = Atomics.waitAsync(getObject(arg0), arg1 >>> 0, arg2);
13951
13951
  return addHeapObject(ret);
13952
13952
  };
13953
- imports.wbg.__wbindgen_cast_07555e2579ff3863 = function(arg0, arg1) {
13954
- // Cast intrinsic for `Closure(Closure { dtor_idx: 418, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 419, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
13955
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7843, __wasm_bindgen_func_elem_7844);
13956
- return addHeapObject(ret);
13957
- };
13958
13953
  imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
13959
13954
  // Cast intrinsic for `Ref(String) -> Externref`.
13960
13955
  const ret = getStringFromWasm0(arg0, arg1);
@@ -13965,16 +13960,16 @@ function __wbg_get_imports(memory) {
13965
13960
  const ret = (BigInt.asUintN(64, arg0) | (arg1 << BigInt(64)));
13966
13961
  return addHeapObject(ret);
13967
13962
  };
13963
+ imports.wbg.__wbindgen_cast_3e8b1a28e9899889 = function(arg0, arg1) {
13964
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 416, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 417, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
13965
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7843, __wasm_bindgen_func_elem_7844);
13966
+ return addHeapObject(ret);
13967
+ };
13968
13968
  imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
13969
13969
  // Cast intrinsic for `U64 -> Externref`.
13970
13970
  const ret = BigInt.asUintN(64, arg0);
13971
13971
  return addHeapObject(ret);
13972
13972
  };
13973
- imports.wbg.__wbindgen_cast_72bd42f236eeae61 = function(arg0, arg1) {
13974
- // Cast intrinsic for `Closure(Closure { dtor_idx: 418, function: Function { arguments: [Externref], shim_idx: 419, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
13975
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7843, __wasm_bindgen_func_elem_7844);
13976
- return addHeapObject(ret);
13977
- };
13978
13973
  imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
13979
13974
  // Cast intrinsic for `I64 -> Externref`.
13980
13975
  const ret = arg0;
@@ -13995,6 +13990,11 @@ function __wbg_get_imports(memory) {
13995
13990
  const ret = (BigInt.asUintN(64, arg0) | (BigInt.asUintN(64, arg1) << BigInt(64)));
13996
13991
  return addHeapObject(ret);
13997
13992
  };
13993
+ imports.wbg.__wbindgen_cast_f45fc07d50d9127c = function(arg0, arg1) {
13994
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 416, function: Function { arguments: [Externref], shim_idx: 417, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
13995
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7843, __wasm_bindgen_func_elem_7844);
13996
+ return addHeapObject(ret);
13997
+ };
13998
13998
  imports.wbg.__wbindgen_link_b9f45ffe079ef2c1 = function(arg0) {
13999
13999
  const val = `onmessage = function (ev) {
14000
14000
  let [ia, index, value] = ev.data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperlane-xyz/cli",
3
- "version": "31.2.0",
3
+ "version": "31.2.1",
4
4
  "description": "A command-line utility for common Hyperlane operations",
5
5
  "keywords": [
6
6
  "CLI",
@@ -72,21 +72,21 @@
72
72
  "zod": "^3.21.2",
73
73
  "zod-validation-error": "^3.3.0",
74
74
  "zx": "^8.1.4",
75
- "@hyperlane-xyz/aleo-sdk": "31.2.0",
76
- "@hyperlane-xyz/cosmos-sdk": "31.2.0",
77
- "@hyperlane-xyz/deploy-sdk": "4.3.3",
78
- "@hyperlane-xyz/http-registry-server": "31.2.0",
75
+ "@hyperlane-xyz/aleo-sdk": "31.2.1",
79
76
  "@hyperlane-xyz/core": "11.3.1",
80
- "@hyperlane-xyz/provider-sdk": "4.3.3",
81
- "@hyperlane-xyz/radix-sdk": "31.2.0",
82
- "@hyperlane-xyz/rebalancer": "27.2.8",
83
- "@hyperlane-xyz/sdk": "31.2.0",
84
- "@hyperlane-xyz/relayer": "1.1.21",
85
- "@hyperlane-xyz/sealevel-sdk": "31.2.0",
86
- "@hyperlane-xyz/starknet-sdk": "27.2.9",
87
- "@hyperlane-xyz/tron-sdk": "22.1.13",
88
- "@hyperlane-xyz/utils": "31.2.0",
89
- "@hyperlane-xyz/tsconfig": "^31.2.0"
77
+ "@hyperlane-xyz/cosmos-sdk": "31.2.1",
78
+ "@hyperlane-xyz/deploy-sdk": "4.3.4",
79
+ "@hyperlane-xyz/http-registry-server": "31.2.1",
80
+ "@hyperlane-xyz/provider-sdk": "4.3.4",
81
+ "@hyperlane-xyz/rebalancer": "27.2.9",
82
+ "@hyperlane-xyz/radix-sdk": "31.2.1",
83
+ "@hyperlane-xyz/relayer": "1.1.22",
84
+ "@hyperlane-xyz/sealevel-sdk": "31.2.1",
85
+ "@hyperlane-xyz/starknet-sdk": "27.2.10",
86
+ "@hyperlane-xyz/sdk": "31.2.1",
87
+ "@hyperlane-xyz/tron-sdk": "22.1.14",
88
+ "@hyperlane-xyz/tsconfig": "^31.2.1",
89
+ "@hyperlane-xyz/utils": "31.2.1"
90
90
  },
91
91
  "engines": {
92
92
  "node": ">=16"