@hyperlane-xyz/cli 31.1.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.
- package/bundle/aleo_wasm.wasm +0 -0
- package/bundle/aleo_wasm1.wasm +0 -0
- package/bundle/index.js +105 -35
- package/bundle/worker2.js +13 -13
- package/bundle/worker3.js +13 -13
- package/package.json +15 -15
package/bundle/aleo_wasm.wasm
CHANGED
|
Binary file
|
package/bundle/aleo_wasm1.wasm
CHANGED
|
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 + "
|
|
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 + "
|
|
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 + "
|
|
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 + "
|
|
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.1
|
|
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:
|
|
814330
|
-
denominator:
|
|
814350
|
+
numerator: PositiveBigIntFromString,
|
|
814351
|
+
denominator: PositiveBigIntFromString,
|
|
814331
814352
|
}),
|
|
814332
814353
|
])
|
|
814333
814354
|
.optional(),
|
|
@@ -815780,12 +815801,13 @@ async function contractHasString(provider, address, searchFor) {
|
|
|
815780
815801
|
|
|
815781
815802
|
/* harmony export */ __nccwpck_require__.d(__webpack_exports__, {
|
|
815782
815803
|
/* harmony export */ EM: () => (/* binding */ normalizeScale),
|
|
815804
|
+
/* harmony export */ TI: () => (/* binding */ messageAmountFromLocal),
|
|
815783
815805
|
/* harmony export */ gm: () => (/* binding */ scalesEqual),
|
|
815784
815806
|
/* harmony export */ k: () => (/* binding */ verifyScale)
|
|
815785
815807
|
/* harmony export */ });
|
|
815786
|
-
/* unused harmony
|
|
815787
|
-
/* harmony import */ var _hyperlane_xyz_utils__WEBPACK_IMPORTED_MODULE_0__ = __nccwpck_require__(
|
|
815788
|
-
/* harmony import */ var _hyperlane_xyz_utils__WEBPACK_IMPORTED_MODULE_1__ = __nccwpck_require__(
|
|
815808
|
+
/* unused harmony exports DEFAULT_SCALE, localAmountFromMessage, minLocalAmountForMessage, alignLocalAmountToMessage */
|
|
815809
|
+
/* harmony import */ var _hyperlane_xyz_utils__WEBPACK_IMPORTED_MODULE_0__ = __nccwpck_require__(21387);
|
|
815810
|
+
/* harmony import */ var _hyperlane_xyz_utils__WEBPACK_IMPORTED_MODULE_1__ = __nccwpck_require__(73938);
|
|
815789
815811
|
|
|
815790
815812
|
const DEFAULT_SCALE = {
|
|
815791
815813
|
numerator: 1n,
|
|
@@ -815805,6 +815827,48 @@ function normalizeScale(scale) {
|
|
|
815805
815827
|
denominator: BigInt(scale.denominator),
|
|
815806
815828
|
};
|
|
815807
815829
|
}
|
|
815830
|
+
function assertValidScale(scale) {
|
|
815831
|
+
(0,_hyperlane_xyz_utils__WEBPACK_IMPORTED_MODULE_0__/* .assert */ .v)(scale.numerator > 0n && scale.denominator > 0n, `Scale must be positive, got ${scale.numerator}/${scale.denominator}`);
|
|
815832
|
+
}
|
|
815833
|
+
function ceilDiv(numerator, denominator) {
|
|
815834
|
+
assert(denominator > 0n, 'Denominator must be positive');
|
|
815835
|
+
assert(numerator >= 0n, 'Numerator must be non-negative');
|
|
815836
|
+
if (numerator === 0n)
|
|
815837
|
+
return 0n;
|
|
815838
|
+
return (numerator + denominator - 1n) / denominator;
|
|
815839
|
+
}
|
|
815840
|
+
function messageAmountFromLocal(localAmount, scale) {
|
|
815841
|
+
(0,_hyperlane_xyz_utils__WEBPACK_IMPORTED_MODULE_0__/* .assert */ .v)(localAmount >= 0n, 'Local amount must be non-negative');
|
|
815842
|
+
const normalized = normalizeScale(scale);
|
|
815843
|
+
assertValidScale(normalized);
|
|
815844
|
+
return (localAmount * normalized.numerator) / normalized.denominator;
|
|
815845
|
+
}
|
|
815846
|
+
function localAmountFromMessage(messageAmount, scale) {
|
|
815847
|
+
assert(messageAmount >= 0n, 'Message amount must be non-negative');
|
|
815848
|
+
const normalized = normalizeScale(scale);
|
|
815849
|
+
assertValidScale(normalized);
|
|
815850
|
+
return (messageAmount * normalized.denominator) / normalized.numerator;
|
|
815851
|
+
}
|
|
815852
|
+
function minLocalAmountForMessage(messageAmount, scale) {
|
|
815853
|
+
assert(messageAmount >= 0n, 'Message amount must be non-negative');
|
|
815854
|
+
const normalized = normalizeScale(scale);
|
|
815855
|
+
assertValidScale(normalized);
|
|
815856
|
+
return ceilDiv(messageAmount * normalized.denominator, normalized.numerator);
|
|
815857
|
+
}
|
|
815858
|
+
function alignLocalAmountToMessage(localAmount, scale) {
|
|
815859
|
+
assert(localAmount >= 0n, 'Local amount must be non-negative');
|
|
815860
|
+
const messageAmount = messageAmountFromLocal(localAmount, scale);
|
|
815861
|
+
if (messageAmount === 0n) {
|
|
815862
|
+
return {
|
|
815863
|
+
localAmount: 0n,
|
|
815864
|
+
messageAmount: 0n,
|
|
815865
|
+
};
|
|
815866
|
+
}
|
|
815867
|
+
return {
|
|
815868
|
+
localAmount: minLocalAmountForMessage(messageAmount, scale),
|
|
815869
|
+
messageAmount,
|
|
815870
|
+
};
|
|
815871
|
+
}
|
|
815808
815872
|
/**
|
|
815809
815873
|
* Compares two scale values for equality without precision loss.
|
|
815810
815874
|
* Accepts any scale variant (number, {number,number}, {bigint,bigint}, undefined).
|
|
@@ -815835,8 +815899,8 @@ function verifyScale(configMap) {
|
|
|
815835
815899
|
const chainDecimalConfigPairs = configMap instanceof Map
|
|
815836
815900
|
? Object.fromEntries(configMap.entries())
|
|
815837
815901
|
: configMap;
|
|
815838
|
-
const entries = Object.entries((0,
|
|
815839
|
-
(0,
|
|
815902
|
+
const entries = Object.entries((0,_hyperlane_xyz_utils__WEBPACK_IMPORTED_MODULE_1__/* .objMap */ .Yp)(chainDecimalConfigPairs, (chain, config) => {
|
|
815903
|
+
(0,_hyperlane_xyz_utils__WEBPACK_IMPORTED_MODULE_0__/* .assert */ .v)(config.decimals != null, `Decimals must be defined for token config on chain ${chain}`);
|
|
815840
815904
|
return { decimals: config.decimals, scale: config.scale };
|
|
815841
815905
|
}));
|
|
815842
815906
|
if (entries.length <= 1)
|
|
@@ -816575,6 +816639,7 @@ __nccwpck_require__.a(__webpack_module__, async (__webpack_handle_async_dependen
|
|
|
816575
816639
|
/* harmony import */ var _quoted_calls_builder_js__WEBPACK_IMPORTED_MODULE_15__ = __nccwpck_require__(33257);
|
|
816576
816640
|
/* harmony import */ var _quoted_calls_codec_js__WEBPACK_IMPORTED_MODULE_16__ = __nccwpck_require__(14372);
|
|
816577
816641
|
/* harmony import */ var _quoted_calls_types_js__WEBPACK_IMPORTED_MODULE_17__ = __nccwpck_require__(35835);
|
|
816642
|
+
/* harmony import */ var _utils_decimals_js__WEBPACK_IMPORTED_MODULE_19__ = __nccwpck_require__(27043);
|
|
816578
816643
|
/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_2__ = __nccwpck_require__(95778);
|
|
816579
816644
|
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_token_Token_js__WEBPACK_IMPORTED_MODULE_3__]);
|
|
816580
816645
|
_token_Token_js__WEBPACK_IMPORTED_MODULE_3__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];
|
|
@@ -816593,6 +816658,7 @@ _token_Token_js__WEBPACK_IMPORTED_MODULE_3__ = (__webpack_async_dependencies__.t
|
|
|
816593
816658
|
|
|
816594
816659
|
|
|
816595
816660
|
|
|
816661
|
+
|
|
816596
816662
|
class WarpCore {
|
|
816597
816663
|
multiProvider;
|
|
816598
816664
|
tokens;
|
|
@@ -817366,22 +817432,24 @@ class WarpCore {
|
|
|
817366
817432
|
return true;
|
|
817367
817433
|
}
|
|
817368
817434
|
const destinationBalance = await this.getTokenCollateral(resolvedDestinationToken);
|
|
817369
|
-
|
|
817370
|
-
//
|
|
817371
|
-
|
|
817372
|
-
|
|
817373
|
-
|
|
817374
|
-
|
|
817375
|
-
|
|
817376
|
-
|
|
817377
|
-
|
|
817378
|
-
|
|
817379
|
-
|
|
817380
|
-
|
|
817381
|
-
|
|
817382
|
-
|
|
817383
|
-
}
|
|
817384
|
-
const
|
|
817435
|
+
// Legacy fallback: when both scales are undefined but decimals differ,
|
|
817436
|
+
// we can't use message-space comparison because messageAmountFromLocal
|
|
817437
|
+
// with identity scale would compare raw local units across different
|
|
817438
|
+
// decimal spaces. Fall back to decimal conversion instead.
|
|
817439
|
+
// Well-configured routes should have scale set — verifyScale() catches
|
|
817440
|
+
// this at deploy time. Misconfigured routes that reach the message-space
|
|
817441
|
+
// path below may produce incorrect results.
|
|
817442
|
+
if (originToken.decimals !== resolvedDestinationToken.decimals &&
|
|
817443
|
+
originToken.scale === undefined &&
|
|
817444
|
+
resolvedDestinationToken.scale === undefined) {
|
|
817445
|
+
const destinationBalanceInOriginDecimals = BigInt((0,_hyperlane_xyz_utils__WEBPACK_IMPORTED_MODULE_18__/* .convertDecimalsToIntegerString */ .In)(resolvedDestinationToken.decimals, originToken.decimals, destinationBalance.toString()));
|
|
817446
|
+
const isSufficient = destinationBalanceInOriginDecimals >= amount;
|
|
817447
|
+
this.logger.debug(`${originTokenAmount.token.symbol} to ${destination} has ${isSufficient ? 'sufficient' : 'INSUFFICIENT'} collateral`);
|
|
817448
|
+
return isSufficient;
|
|
817449
|
+
}
|
|
817450
|
+
const requiredMessageAmount = (0,_utils_decimals_js__WEBPACK_IMPORTED_MODULE_19__/* .messageAmountFromLocal */ .TI)(amount, originToken.scale);
|
|
817451
|
+
const availableMessageAmount = (0,_utils_decimals_js__WEBPACK_IMPORTED_MODULE_19__/* .messageAmountFromLocal */ .TI)(destinationBalance, resolvedDestinationToken.scale);
|
|
817452
|
+
const isSufficient = availableMessageAmount >= requiredMessageAmount;
|
|
817385
817453
|
this.logger.debug(`${originTokenAmount.token.symbol} to ${destination} has ${isSufficient ? 'sufficient' : 'INSUFFICIENT'} collateral`);
|
|
817386
817454
|
return isSufficient;
|
|
817387
817455
|
}
|
|
@@ -817721,11 +817789,14 @@ var customZodTypes = __nccwpck_require__(47690);
|
|
|
817721
817789
|
var TokenConnection = __nccwpck_require__(29842);
|
|
817722
817790
|
// EXTERNAL MODULE: ../sdk/dist/token/TokenStandard.js
|
|
817723
817791
|
var TokenStandard = __nccwpck_require__(4879);
|
|
817792
|
+
// EXTERNAL MODULE: ../sdk/dist/token/types.js
|
|
817793
|
+
var token_types = __nccwpck_require__(38466);
|
|
817724
817794
|
;// CONCATENATED MODULE: ../sdk/dist/token/ITokenMetadata.js
|
|
817725
817795
|
|
|
817726
817796
|
|
|
817727
817797
|
|
|
817728
817798
|
|
|
817799
|
+
|
|
817729
817800
|
const TokenConfigSchema = types/* object */.Ik({
|
|
817730
817801
|
chainName: customZodTypes/* ZChainName */.Vm.describe('The name of the chain, must correspond to a chain in the multiProvider chainMetadata'),
|
|
817731
817802
|
standard: types/* nativeEnum */.fc(TokenStandard/* TokenStandard */.ph)
|
|
@@ -817753,7 +817824,7 @@ const TokenConfigSchema = types/* object */.Ik({
|
|
|
817753
817824
|
coinGeckoId: types/* string */.Yj()
|
|
817754
817825
|
.optional()
|
|
817755
817826
|
.describe('The CoinGecko id of the token, used for price lookups'),
|
|
817756
|
-
scale:
|
|
817827
|
+
scale: token_types/* TokenMetadataSchema */.ox.shape.scale.describe('The scaling factor of the token'),
|
|
817757
817828
|
warpRouteId: types/* string */.Yj()
|
|
817758
817829
|
.min(1)
|
|
817759
817830
|
.optional()
|
|
@@ -903348,10 +903419,9 @@ function hexToRadixCustomPrefix(hex, module, prefix, length = 32) {
|
|
|
903348
903419
|
/* harmony export */ Zp: () => (/* binding */ addBufferToGasLimit),
|
|
903349
903420
|
/* harmony export */ fq: () => (/* binding */ toWei),
|
|
903350
903421
|
/* harmony export */ kX: () => (/* binding */ fromWei),
|
|
903351
|
-
/* harmony export */ kl: () => (/* binding */ convertDecimals)
|
|
903352
|
-
/* harmony export */ lx: () => (/* binding */ convertToScaledAmount)
|
|
903422
|
+
/* harmony export */ kl: () => (/* binding */ convertDecimals)
|
|
903353
903423
|
/* harmony export */ });
|
|
903354
|
-
/* unused harmony exports fromWeiRounded, tryParseAmount, eqAmountApproximate */
|
|
903424
|
+
/* unused harmony exports fromWeiRounded, tryParseAmount, eqAmountApproximate, convertToScaledAmount */
|
|
903355
903425
|
/* harmony import */ var _ethersproject_units__WEBPACK_IMPORTED_MODULE_1__ = __nccwpck_require__(48312);
|
|
903356
903426
|
/* harmony import */ var bignumber_js__WEBPACK_IMPORTED_MODULE_0__ = __nccwpck_require__(62033);
|
|
903357
903427
|
|
|
@@ -907154,7 +907224,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"_format":"hh-sol-artifact-1","contra
|
|
|
907154
907224
|
/***/ 99468:
|
|
907155
907225
|
/***/ ((module) => {
|
|
907156
907226
|
|
|
907157
|
-
module.exports = {"rE":"31.1
|
|
907227
|
+
module.exports = {"rE":"31.2.1"};
|
|
907158
907228
|
|
|
907159
907229
|
/***/ })
|
|
907160
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
|
|
392
|
-
wasm.
|
|
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
|
|
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
|
|
392
|
-
wasm.
|
|
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
|
|
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.1
|
|
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.1",
|
|
75
76
|
"@hyperlane-xyz/core": "11.3.1",
|
|
76
|
-
"@hyperlane-xyz/
|
|
77
|
-
"@hyperlane-xyz/
|
|
78
|
-
"@hyperlane-xyz/
|
|
79
|
-
"@hyperlane-xyz/
|
|
80
|
-
"@hyperlane-xyz/
|
|
81
|
-
"@hyperlane-xyz/
|
|
82
|
-
"@hyperlane-xyz/
|
|
83
|
-
"@hyperlane-xyz/sealevel-sdk": "31.1
|
|
84
|
-
"@hyperlane-xyz/
|
|
85
|
-
"@hyperlane-xyz/
|
|
86
|
-
"@hyperlane-xyz/
|
|
87
|
-
"@hyperlane-xyz/tsconfig": "^31.1
|
|
88
|
-
"@hyperlane-xyz/
|
|
89
|
-
"@hyperlane-xyz/starknet-sdk": "27.2.8"
|
|
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"
|