@hyperlane-xyz/cli 22.0.0 → 24.0.0
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/{cli-bundle/fcc30c078828fbc5af61.js → bundle/30fb121a258f7502fa97.js} +5 -7
- package/{cli-bundle → bundle}/aleo_wasm.wasm +0 -0
- package/{cli-bundle → bundle}/aleo_wasm1.wasm +0 -0
- package/{cli-bundle → bundle}/index.js +22079 -15382
- package/{cli-bundle/worker3.js → bundle/worker2.js} +18 -18
- package/{cli-bundle/worker2.js → bundle/worker3.js} +10 -10
- package/package.json +18 -17
- /package/{cli-bundle → bundle}/100.index.js +0 -0
- /package/{cli-bundle → bundle}/12.index.js +0 -0
- /package/{cli-bundle → bundle}/213.index.js +0 -0
- /package/{cli-bundle → bundle}/306.index.js +0 -0
- /package/{cli-bundle → bundle}/321.index.js +0 -0
- /package/{cli-bundle → bundle}/445.index.js +0 -0
- /package/{cli-bundle → bundle}/515.index.js +0 -0
- /package/{cli-bundle → bundle}/544.index.js +0 -0
- /package/{cli-bundle → bundle}/660.index.js +0 -0
- /package/{cli-bundle → bundle}/688.index.js +0 -0
- /package/{cli-bundle → bundle}/824.index.js +0 -0
- /package/{cli-bundle → bundle}/95.index.js +0 -0
- /package/{cli-bundle → bundle}/file.js +0 -0
- /package/{cli-bundle → bundle}/package.json +0 -0
- /package/{cli-bundle → bundle}/prebuilds/linux-x64/node.napi.node +0 -0
- /package/{cli-bundle → bundle}/worker-pipeline.js +0 -0
- /package/{cli-bundle → bundle}/worker.js +0 -0
- /package/{cli-bundle → bundle}/worker1.js +0 -0
|
@@ -384,12 +384,12 @@ function getArrayJsValueFromWasm0(ptr, len) {
|
|
|
384
384
|
}
|
|
385
385
|
return result;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
wasm.
|
|
387
|
+
function __wasm_bindgen_func_elem_7844(arg0, arg1, arg2) {
|
|
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"];
|
|
@@ -13655,7 +13655,7 @@ function __wbg_get_imports(memory) {
|
|
|
13655
13655
|
const ret = getObject(arg0).length;
|
|
13656
13656
|
return ret;
|
|
13657
13657
|
};
|
|
13658
|
-
imports.wbg.
|
|
13658
|
+
imports.wbg.__wbg_log_5f792c71a1602d65 = function(arg0, arg1) {
|
|
13659
13659
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
13660
13660
|
};
|
|
13661
13661
|
imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
|
|
@@ -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
|
}
|
|
@@ -13860,7 +13860,7 @@ function __wbg_get_imports(memory) {
|
|
|
13860
13860
|
const ret = Signature.__wrap(arg0);
|
|
13861
13861
|
return addHeapObject(ret);
|
|
13862
13862
|
};
|
|
13863
|
-
imports.wbg.
|
|
13863
|
+
imports.wbg.__wbg_spawnWorker_293a39102d028ae7 = function(arg0, arg1, arg2, arg3) {
|
|
13864
13864
|
const ret = spawnWorker(getObject(arg0), getObject(arg1), getObject(arg2), arg3 >>> 0);
|
|
13865
13865
|
return addHeapObject(ret);
|
|
13866
13866
|
};
|
|
@@ -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_1a9efde13cb124c3 = function(arg0, arg1) {
|
|
13954
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 420, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 421, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
13955
|
-
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7858, __wasm_bindgen_func_elem_7859);
|
|
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,6 +13960,11 @@ 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);
|
|
@@ -13980,11 +13980,6 @@ function __wbg_get_imports(memory) {
|
|
|
13980
13980
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
13981
13981
|
return addHeapObject(ret);
|
|
13982
13982
|
};
|
|
13983
|
-
imports.wbg.__wbindgen_cast_d1bed93805c7dbcd = function(arg0, arg1) {
|
|
13984
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 420, function: Function { arguments: [Externref], shim_idx: 421, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
13985
|
-
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7858, __wasm_bindgen_func_elem_7859);
|
|
13986
|
-
return addHeapObject(ret);
|
|
13987
|
-
};
|
|
13988
13983
|
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
13989
13984
|
// Cast intrinsic for `F64 -> Externref`.
|
|
13990
13985
|
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;
|
|
@@ -14016,7 +14016,7 @@ function __wbg_get_imports(memory) {
|
|
|
14016
14016
|
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
|
|
14017
14017
|
takeObject(arg0);
|
|
14018
14018
|
};
|
|
14019
|
-
imports.wbg.memory = memory || new WebAssembly.Memory({initial:167,maximum:
|
|
14019
|
+
imports.wbg.memory = memory || new WebAssembly.Memory({initial:167,maximum:65536,shared:true});
|
|
14020
14020
|
|
|
14021
14021
|
return imports;
|
|
14022
14022
|
}
|
|
@@ -384,12 +384,12 @@ function getArrayJsValueFromWasm0(ptr, len) {
|
|
|
384
384
|
}
|
|
385
385
|
return result;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
wasm.
|
|
387
|
+
function __wasm_bindgen_func_elem_7844(arg0, arg1, arg2) {
|
|
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"];
|
|
@@ -13655,7 +13655,7 @@ function __wbg_get_imports(memory) {
|
|
|
13655
13655
|
const ret = getObject(arg0).length;
|
|
13656
13656
|
return ret;
|
|
13657
13657
|
};
|
|
13658
|
-
imports.wbg.
|
|
13658
|
+
imports.wbg.__wbg_log_5f792c71a1602d65 = function(arg0, arg1) {
|
|
13659
13659
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
13660
13660
|
};
|
|
13661
13661
|
imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
|
|
@@ -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
|
}
|
|
@@ -13860,7 +13860,7 @@ function __wbg_get_imports(memory) {
|
|
|
13860
13860
|
const ret = Signature.__wrap(arg0);
|
|
13861
13861
|
return addHeapObject(ret);
|
|
13862
13862
|
};
|
|
13863
|
-
imports.wbg.
|
|
13863
|
+
imports.wbg.__wbg_spawnWorker_293a39102d028ae7 = function(arg0, arg1, arg2, arg3) {
|
|
13864
13864
|
const ret = spawnWorker(getObject(arg0), getObject(arg1), getObject(arg2), arg3 >>> 0);
|
|
13865
13865
|
return addHeapObject(ret);
|
|
13866
13866
|
};
|
|
@@ -13952,7 +13952,7 @@ function __wbg_get_imports(memory) {
|
|
|
13952
13952
|
};
|
|
13953
13953
|
imports.wbg.__wbindgen_cast_07555e2579ff3863 = function(arg0, arg1) {
|
|
13954
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.
|
|
13955
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7843, __wasm_bindgen_func_elem_7844);
|
|
13956
13956
|
return addHeapObject(ret);
|
|
13957
13957
|
};
|
|
13958
13958
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
@@ -13972,7 +13972,7 @@ function __wbg_get_imports(memory) {
|
|
|
13972
13972
|
};
|
|
13973
13973
|
imports.wbg.__wbindgen_cast_72bd42f236eeae61 = function(arg0, arg1) {
|
|
13974
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.
|
|
13975
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7843, __wasm_bindgen_func_elem_7844);
|
|
13976
13976
|
return addHeapObject(ret);
|
|
13977
13977
|
};
|
|
13978
13978
|
imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
|
@@ -14016,7 +14016,7 @@ function __wbg_get_imports(memory) {
|
|
|
14016
14016
|
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
|
|
14017
14017
|
takeObject(arg0);
|
|
14018
14018
|
};
|
|
14019
|
-
imports.wbg.memory = memory || new WebAssembly.Memory({initial:167,maximum:
|
|
14019
|
+
imports.wbg.memory = memory || new WebAssembly.Memory({initial:167,maximum:65536,shared:true});
|
|
14020
14020
|
|
|
14021
14021
|
return imports;
|
|
14022
14022
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperlane-xyz/cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "24.0.0",
|
|
4
4
|
"description": "A command-line utility for common Hyperlane operations",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@aws-sdk/client-kms": "^3.577.0",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@ethersproject/abi": "*",
|
|
12
12
|
"@ethersproject/constants": "*",
|
|
13
13
|
"@ethersproject/providers": "*",
|
|
14
|
-
"@hyperlane-xyz/registry": "23.
|
|
14
|
+
"@hyperlane-xyz/registry": "23.12.0",
|
|
15
15
|
"@inquirer/core": "9.0.10",
|
|
16
16
|
"@inquirer/figures": "1.0.5",
|
|
17
17
|
"@inquirer/prompts": "3.3.2",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@types/chai-as-promised": "^8",
|
|
22
22
|
"@types/lodash-es": "^4.17.12",
|
|
23
23
|
"@types/mocha": "^10.0.1",
|
|
24
|
-
"@types/node": "^
|
|
24
|
+
"@types/node": "^24.10.9",
|
|
25
25
|
"@types/sinon": "^17.0.1",
|
|
26
26
|
"@types/yargs": "^17.0.24",
|
|
27
27
|
"@typescript-eslint/eslint-plugin": "^8.1.6",
|
|
@@ -57,20 +57,21 @@
|
|
|
57
57
|
"zod": "^3.21.2",
|
|
58
58
|
"zod-validation-error": "^3.3.0",
|
|
59
59
|
"zx": "^8.1.4",
|
|
60
|
-
"@hyperlane-xyz/aleo-sdk": "
|
|
61
|
-
"@hyperlane-xyz/
|
|
62
|
-
"@hyperlane-xyz/
|
|
60
|
+
"@hyperlane-xyz/aleo-sdk": "24.0.0",
|
|
61
|
+
"@hyperlane-xyz/deploy-sdk": "1.3.0",
|
|
62
|
+
"@hyperlane-xyz/http-registry-server": "24.0.0",
|
|
63
|
+
"@hyperlane-xyz/cosmos-sdk": "24.0.0",
|
|
64
|
+
"@hyperlane-xyz/provider-sdk": "1.3.0",
|
|
65
|
+
"@hyperlane-xyz/radix-sdk": "24.0.0",
|
|
63
66
|
"@hyperlane-xyz/core": "10.1.5",
|
|
64
|
-
"@hyperlane-xyz/
|
|
65
|
-
"@hyperlane-xyz/
|
|
66
|
-
"@hyperlane-xyz/
|
|
67
|
-
"@hyperlane-xyz/
|
|
68
|
-
"@hyperlane-xyz/
|
|
69
|
-
"@hyperlane-xyz/tsconfig": "^22.0.0",
|
|
70
|
-
"@hyperlane-xyz/utils": "22.0.0"
|
|
67
|
+
"@hyperlane-xyz/rebalancer": "1.0.1",
|
|
68
|
+
"@hyperlane-xyz/relayer": "1.0.0",
|
|
69
|
+
"@hyperlane-xyz/sdk": "24.0.0",
|
|
70
|
+
"@hyperlane-xyz/tsconfig": "^24.0.0",
|
|
71
|
+
"@hyperlane-xyz/utils": "24.0.0"
|
|
71
72
|
},
|
|
72
73
|
"files": [
|
|
73
|
-
"./
|
|
74
|
+
"./bundle",
|
|
74
75
|
"./examples",
|
|
75
76
|
"package.json"
|
|
76
77
|
],
|
|
@@ -81,7 +82,7 @@
|
|
|
81
82
|
"node": ">=16"
|
|
82
83
|
},
|
|
83
84
|
"bin": {
|
|
84
|
-
"hyperlane": "./
|
|
85
|
+
"hyperlane": "./bundle/index.js"
|
|
85
86
|
},
|
|
86
87
|
"repository": "https://github.com/hyperlane-xyz/hyperlane-monorepo",
|
|
87
88
|
"license": "Apache-2.0",
|
|
@@ -96,9 +97,9 @@
|
|
|
96
97
|
"scripts": {
|
|
97
98
|
"hyperlane": "node ./dist/cli.js",
|
|
98
99
|
"build": "pnpm version:update && tsc",
|
|
99
|
-
"bundle": "rm -rf ./
|
|
100
|
+
"bundle": "rm -rf ./bundle && ncc build ./dist/cli.js -o bundle && node ../../scripts/ncc.post-bundle.mjs",
|
|
100
101
|
"dev": "pnpm version:update && tsc --watch",
|
|
101
|
-
"clean": "rm -rf ./dist && rm -rf ./
|
|
102
|
+
"clean": "rm -rf ./dist && rm -rf ./bundle",
|
|
102
103
|
"lint": "eslint -c ./eslint.config.mjs",
|
|
103
104
|
"prettier": "prettier --write ./src ./examples",
|
|
104
105
|
"test:ci": "mocha --config .mocharc.json",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|