@hyperlane-xyz/cli 14.4.0 → 16.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/798.index.js +0 -432
- package/cli-bundle/index.js +225602 -199821
- package/cli-bundle/prebuilds/linux-x64/node.napi.node +0 -0
- package/cli-bundle/prebuilds/linux-x64/node.napi1.node +0 -0
- package/examples/cosmosnative/core-config.yaml +20 -0
- package/examples/submit/strategy/file-strategy.yaml +8 -0
- package/examples/submit/strategy/ica-timelock-strategy.yaml +15 -0
- package/examples/submit/strategy/json-rpc-timelock-strategy.yaml +17 -0
- package/examples/submit/transactions/anvil-transactions.yaml +1 -1
- package/package.json +13 -11
package/cli-bundle/798.index.js
CHANGED
|
@@ -86205,108 +86205,6 @@ function getParamBytesForAlg(alg) {
|
|
|
86205
86205
|
module.exports = getParamBytesForAlg;
|
|
86206
86206
|
|
|
86207
86207
|
|
|
86208
|
-
/***/ }),
|
|
86209
|
-
|
|
86210
|
-
/***/ 76173:
|
|
86211
|
-
/***/ ((module) => {
|
|
86212
|
-
|
|
86213
|
-
/*!
|
|
86214
|
-
* ee-first
|
|
86215
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
86216
|
-
* MIT Licensed
|
|
86217
|
-
*/
|
|
86218
|
-
|
|
86219
|
-
|
|
86220
|
-
|
|
86221
|
-
/**
|
|
86222
|
-
* Module exports.
|
|
86223
|
-
* @public
|
|
86224
|
-
*/
|
|
86225
|
-
|
|
86226
|
-
module.exports = first
|
|
86227
|
-
|
|
86228
|
-
/**
|
|
86229
|
-
* Get the first event in a set of event emitters and event pairs.
|
|
86230
|
-
*
|
|
86231
|
-
* @param {array} stuff
|
|
86232
|
-
* @param {function} done
|
|
86233
|
-
* @public
|
|
86234
|
-
*/
|
|
86235
|
-
|
|
86236
|
-
function first(stuff, done) {
|
|
86237
|
-
if (!Array.isArray(stuff))
|
|
86238
|
-
throw new TypeError('arg must be an array of [ee, events...] arrays')
|
|
86239
|
-
|
|
86240
|
-
var cleanups = []
|
|
86241
|
-
|
|
86242
|
-
for (var i = 0; i < stuff.length; i++) {
|
|
86243
|
-
var arr = stuff[i]
|
|
86244
|
-
|
|
86245
|
-
if (!Array.isArray(arr) || arr.length < 2)
|
|
86246
|
-
throw new TypeError('each array member must be [ee, events...]')
|
|
86247
|
-
|
|
86248
|
-
var ee = arr[0]
|
|
86249
|
-
|
|
86250
|
-
for (var j = 1; j < arr.length; j++) {
|
|
86251
|
-
var event = arr[j]
|
|
86252
|
-
var fn = listener(event, callback)
|
|
86253
|
-
|
|
86254
|
-
// listen to the event
|
|
86255
|
-
ee.on(event, fn)
|
|
86256
|
-
// push this listener to the list of cleanups
|
|
86257
|
-
cleanups.push({
|
|
86258
|
-
ee: ee,
|
|
86259
|
-
event: event,
|
|
86260
|
-
fn: fn,
|
|
86261
|
-
})
|
|
86262
|
-
}
|
|
86263
|
-
}
|
|
86264
|
-
|
|
86265
|
-
function callback() {
|
|
86266
|
-
cleanup()
|
|
86267
|
-
done.apply(null, arguments)
|
|
86268
|
-
}
|
|
86269
|
-
|
|
86270
|
-
function cleanup() {
|
|
86271
|
-
var x
|
|
86272
|
-
for (var i = 0; i < cleanups.length; i++) {
|
|
86273
|
-
x = cleanups[i]
|
|
86274
|
-
x.ee.removeListener(x.event, x.fn)
|
|
86275
|
-
}
|
|
86276
|
-
}
|
|
86277
|
-
|
|
86278
|
-
function thunk(fn) {
|
|
86279
|
-
done = fn
|
|
86280
|
-
}
|
|
86281
|
-
|
|
86282
|
-
thunk.cancel = cleanup
|
|
86283
|
-
|
|
86284
|
-
return thunk
|
|
86285
|
-
}
|
|
86286
|
-
|
|
86287
|
-
/**
|
|
86288
|
-
* Create the event listener.
|
|
86289
|
-
* @private
|
|
86290
|
-
*/
|
|
86291
|
-
|
|
86292
|
-
function listener(event, done) {
|
|
86293
|
-
return function onevent(arg1) {
|
|
86294
|
-
var args = new Array(arguments.length)
|
|
86295
|
-
var ee = this
|
|
86296
|
-
var err = event === 'error'
|
|
86297
|
-
? arg1
|
|
86298
|
-
: null
|
|
86299
|
-
|
|
86300
|
-
// copy args to prevent arguments escaping scope
|
|
86301
|
-
for (var i = 0; i < args.length; i++) {
|
|
86302
|
-
args[i] = arguments[i]
|
|
86303
|
-
}
|
|
86304
|
-
|
|
86305
|
-
done(err, ee, event, args)
|
|
86306
|
-
}
|
|
86307
|
-
}
|
|
86308
|
-
|
|
86309
|
-
|
|
86310
86208
|
/***/ }),
|
|
86311
86209
|
|
|
86312
86210
|
/***/ 94183:
|
|
@@ -143645,296 +143543,6 @@ function PassThrough() {
|
|
|
143645
143543
|
}
|
|
143646
143544
|
|
|
143647
143545
|
|
|
143648
|
-
/***/ }),
|
|
143649
|
-
|
|
143650
|
-
/***/ 84878:
|
|
143651
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
143652
|
-
|
|
143653
|
-
/*!
|
|
143654
|
-
* on-finished
|
|
143655
|
-
* Copyright(c) 2013 Jonathan Ong
|
|
143656
|
-
* Copyright(c) 2014 Douglas Christopher Wilson
|
|
143657
|
-
* MIT Licensed
|
|
143658
|
-
*/
|
|
143659
|
-
|
|
143660
|
-
|
|
143661
|
-
|
|
143662
|
-
/**
|
|
143663
|
-
* Module exports.
|
|
143664
|
-
* @public
|
|
143665
|
-
*/
|
|
143666
|
-
|
|
143667
|
-
module.exports = onFinished
|
|
143668
|
-
module.exports.isFinished = isFinished
|
|
143669
|
-
|
|
143670
|
-
/**
|
|
143671
|
-
* Module dependencies.
|
|
143672
|
-
* @private
|
|
143673
|
-
*/
|
|
143674
|
-
|
|
143675
|
-
var asyncHooks = tryRequireAsyncHooks()
|
|
143676
|
-
var first = __webpack_require__(76173)
|
|
143677
|
-
|
|
143678
|
-
/**
|
|
143679
|
-
* Variables.
|
|
143680
|
-
* @private
|
|
143681
|
-
*/
|
|
143682
|
-
|
|
143683
|
-
/* istanbul ignore next */
|
|
143684
|
-
var defer = typeof setImmediate === 'function'
|
|
143685
|
-
? setImmediate
|
|
143686
|
-
: function (fn) { process.nextTick(fn.bind.apply(fn, arguments)) }
|
|
143687
|
-
|
|
143688
|
-
/**
|
|
143689
|
-
* Invoke callback when the response has finished, useful for
|
|
143690
|
-
* cleaning up resources afterwards.
|
|
143691
|
-
*
|
|
143692
|
-
* @param {object} msg
|
|
143693
|
-
* @param {function} listener
|
|
143694
|
-
* @return {object}
|
|
143695
|
-
* @public
|
|
143696
|
-
*/
|
|
143697
|
-
|
|
143698
|
-
function onFinished (msg, listener) {
|
|
143699
|
-
if (isFinished(msg) !== false) {
|
|
143700
|
-
defer(listener, null, msg)
|
|
143701
|
-
return msg
|
|
143702
|
-
}
|
|
143703
|
-
|
|
143704
|
-
// attach the listener to the message
|
|
143705
|
-
attachListener(msg, wrap(listener))
|
|
143706
|
-
|
|
143707
|
-
return msg
|
|
143708
|
-
}
|
|
143709
|
-
|
|
143710
|
-
/**
|
|
143711
|
-
* Determine if message is already finished.
|
|
143712
|
-
*
|
|
143713
|
-
* @param {object} msg
|
|
143714
|
-
* @return {boolean}
|
|
143715
|
-
* @public
|
|
143716
|
-
*/
|
|
143717
|
-
|
|
143718
|
-
function isFinished (msg) {
|
|
143719
|
-
var socket = msg.socket
|
|
143720
|
-
|
|
143721
|
-
if (typeof msg.finished === 'boolean') {
|
|
143722
|
-
// OutgoingMessage
|
|
143723
|
-
return Boolean(msg.finished || (socket && !socket.writable))
|
|
143724
|
-
}
|
|
143725
|
-
|
|
143726
|
-
if (typeof msg.complete === 'boolean') {
|
|
143727
|
-
// IncomingMessage
|
|
143728
|
-
return Boolean(msg.upgrade || !socket || !socket.readable || (msg.complete && !msg.readable))
|
|
143729
|
-
}
|
|
143730
|
-
|
|
143731
|
-
// don't know
|
|
143732
|
-
return undefined
|
|
143733
|
-
}
|
|
143734
|
-
|
|
143735
|
-
/**
|
|
143736
|
-
* Attach a finished listener to the message.
|
|
143737
|
-
*
|
|
143738
|
-
* @param {object} msg
|
|
143739
|
-
* @param {function} callback
|
|
143740
|
-
* @private
|
|
143741
|
-
*/
|
|
143742
|
-
|
|
143743
|
-
function attachFinishedListener (msg, callback) {
|
|
143744
|
-
var eeMsg
|
|
143745
|
-
var eeSocket
|
|
143746
|
-
var finished = false
|
|
143747
|
-
|
|
143748
|
-
function onFinish (error) {
|
|
143749
|
-
eeMsg.cancel()
|
|
143750
|
-
eeSocket.cancel()
|
|
143751
|
-
|
|
143752
|
-
finished = true
|
|
143753
|
-
callback(error)
|
|
143754
|
-
}
|
|
143755
|
-
|
|
143756
|
-
// finished on first message event
|
|
143757
|
-
eeMsg = eeSocket = first([[msg, 'end', 'finish']], onFinish)
|
|
143758
|
-
|
|
143759
|
-
function onSocket (socket) {
|
|
143760
|
-
// remove listener
|
|
143761
|
-
msg.removeListener('socket', onSocket)
|
|
143762
|
-
|
|
143763
|
-
if (finished) return
|
|
143764
|
-
if (eeMsg !== eeSocket) return
|
|
143765
|
-
|
|
143766
|
-
// finished on first socket event
|
|
143767
|
-
eeSocket = first([[socket, 'error', 'close']], onFinish)
|
|
143768
|
-
}
|
|
143769
|
-
|
|
143770
|
-
if (msg.socket) {
|
|
143771
|
-
// socket already assigned
|
|
143772
|
-
onSocket(msg.socket)
|
|
143773
|
-
return
|
|
143774
|
-
}
|
|
143775
|
-
|
|
143776
|
-
// wait for socket to be assigned
|
|
143777
|
-
msg.on('socket', onSocket)
|
|
143778
|
-
|
|
143779
|
-
if (msg.socket === undefined) {
|
|
143780
|
-
// istanbul ignore next: node.js 0.8 patch
|
|
143781
|
-
patchAssignSocket(msg, onSocket)
|
|
143782
|
-
}
|
|
143783
|
-
}
|
|
143784
|
-
|
|
143785
|
-
/**
|
|
143786
|
-
* Attach the listener to the message.
|
|
143787
|
-
*
|
|
143788
|
-
* @param {object} msg
|
|
143789
|
-
* @return {function}
|
|
143790
|
-
* @private
|
|
143791
|
-
*/
|
|
143792
|
-
|
|
143793
|
-
function attachListener (msg, listener) {
|
|
143794
|
-
var attached = msg.__onFinished
|
|
143795
|
-
|
|
143796
|
-
// create a private single listener with queue
|
|
143797
|
-
if (!attached || !attached.queue) {
|
|
143798
|
-
attached = msg.__onFinished = createListener(msg)
|
|
143799
|
-
attachFinishedListener(msg, attached)
|
|
143800
|
-
}
|
|
143801
|
-
|
|
143802
|
-
attached.queue.push(listener)
|
|
143803
|
-
}
|
|
143804
|
-
|
|
143805
|
-
/**
|
|
143806
|
-
* Create listener on message.
|
|
143807
|
-
*
|
|
143808
|
-
* @param {object} msg
|
|
143809
|
-
* @return {function}
|
|
143810
|
-
* @private
|
|
143811
|
-
*/
|
|
143812
|
-
|
|
143813
|
-
function createListener (msg) {
|
|
143814
|
-
function listener (err) {
|
|
143815
|
-
if (msg.__onFinished === listener) msg.__onFinished = null
|
|
143816
|
-
if (!listener.queue) return
|
|
143817
|
-
|
|
143818
|
-
var queue = listener.queue
|
|
143819
|
-
listener.queue = null
|
|
143820
|
-
|
|
143821
|
-
for (var i = 0; i < queue.length; i++) {
|
|
143822
|
-
queue[i](err, msg)
|
|
143823
|
-
}
|
|
143824
|
-
}
|
|
143825
|
-
|
|
143826
|
-
listener.queue = []
|
|
143827
|
-
|
|
143828
|
-
return listener
|
|
143829
|
-
}
|
|
143830
|
-
|
|
143831
|
-
/**
|
|
143832
|
-
* Patch ServerResponse.prototype.assignSocket for node.js 0.8.
|
|
143833
|
-
*
|
|
143834
|
-
* @param {ServerResponse} res
|
|
143835
|
-
* @param {function} callback
|
|
143836
|
-
* @private
|
|
143837
|
-
*/
|
|
143838
|
-
|
|
143839
|
-
// istanbul ignore next: node.js 0.8 patch
|
|
143840
|
-
function patchAssignSocket (res, callback) {
|
|
143841
|
-
var assignSocket = res.assignSocket
|
|
143842
|
-
|
|
143843
|
-
if (typeof assignSocket !== 'function') return
|
|
143844
|
-
|
|
143845
|
-
// res.on('socket', callback) is broken in 0.8
|
|
143846
|
-
res.assignSocket = function _assignSocket (socket) {
|
|
143847
|
-
assignSocket.call(this, socket)
|
|
143848
|
-
callback(socket)
|
|
143849
|
-
}
|
|
143850
|
-
}
|
|
143851
|
-
|
|
143852
|
-
/**
|
|
143853
|
-
* Try to require async_hooks
|
|
143854
|
-
* @private
|
|
143855
|
-
*/
|
|
143856
|
-
|
|
143857
|
-
function tryRequireAsyncHooks () {
|
|
143858
|
-
try {
|
|
143859
|
-
return __webpack_require__(90290)
|
|
143860
|
-
} catch (e) {
|
|
143861
|
-
return {}
|
|
143862
|
-
}
|
|
143863
|
-
}
|
|
143864
|
-
|
|
143865
|
-
/**
|
|
143866
|
-
* Wrap function with async resource, if possible.
|
|
143867
|
-
* AsyncResource.bind static method backported.
|
|
143868
|
-
* @private
|
|
143869
|
-
*/
|
|
143870
|
-
|
|
143871
|
-
function wrap (fn) {
|
|
143872
|
-
var res
|
|
143873
|
-
|
|
143874
|
-
// create anonymous resource
|
|
143875
|
-
if (asyncHooks.AsyncResource) {
|
|
143876
|
-
res = new asyncHooks.AsyncResource(fn.name || 'bound-anonymous-fn')
|
|
143877
|
-
}
|
|
143878
|
-
|
|
143879
|
-
// incompatible node.js
|
|
143880
|
-
if (!res || !res.runInAsyncScope) {
|
|
143881
|
-
return fn
|
|
143882
|
-
}
|
|
143883
|
-
|
|
143884
|
-
// return bound function
|
|
143885
|
-
return res.runInAsyncScope.bind(res, fn, null)
|
|
143886
|
-
}
|
|
143887
|
-
|
|
143888
|
-
|
|
143889
|
-
/***/ }),
|
|
143890
|
-
|
|
143891
|
-
/***/ 62804:
|
|
143892
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
143893
|
-
|
|
143894
|
-
var wrappy = __webpack_require__(27460)
|
|
143895
|
-
module.exports = wrappy(once)
|
|
143896
|
-
module.exports.strict = wrappy(onceStrict)
|
|
143897
|
-
|
|
143898
|
-
once.proto = once(function () {
|
|
143899
|
-
Object.defineProperty(Function.prototype, 'once', {
|
|
143900
|
-
value: function () {
|
|
143901
|
-
return once(this)
|
|
143902
|
-
},
|
|
143903
|
-
configurable: true
|
|
143904
|
-
})
|
|
143905
|
-
|
|
143906
|
-
Object.defineProperty(Function.prototype, 'onceStrict', {
|
|
143907
|
-
value: function () {
|
|
143908
|
-
return onceStrict(this)
|
|
143909
|
-
},
|
|
143910
|
-
configurable: true
|
|
143911
|
-
})
|
|
143912
|
-
})
|
|
143913
|
-
|
|
143914
|
-
function once (fn) {
|
|
143915
|
-
var f = function () {
|
|
143916
|
-
if (f.called) return f.value
|
|
143917
|
-
f.called = true
|
|
143918
|
-
return f.value = fn.apply(this, arguments)
|
|
143919
|
-
}
|
|
143920
|
-
f.called = false
|
|
143921
|
-
return f
|
|
143922
|
-
}
|
|
143923
|
-
|
|
143924
|
-
function onceStrict (fn) {
|
|
143925
|
-
var f = function () {
|
|
143926
|
-
if (f.called)
|
|
143927
|
-
throw new Error(f.onceError)
|
|
143928
|
-
f.called = true
|
|
143929
|
-
return f.value = fn.apply(this, arguments)
|
|
143930
|
-
}
|
|
143931
|
-
var name = fn.name || 'Function wrapped with `once`'
|
|
143932
|
-
f.onceError = name + " shouldn't be called more than once"
|
|
143933
|
-
f.called = false
|
|
143934
|
-
return f
|
|
143935
|
-
}
|
|
143936
|
-
|
|
143937
|
-
|
|
143938
143546
|
/***/ }),
|
|
143939
143547
|
|
|
143940
143548
|
/***/ 57188:
|
|
@@ -165074,46 +164682,6 @@ function dumpException(ex)
|
|
|
165074
164682
|
}
|
|
165075
164683
|
|
|
165076
164684
|
|
|
165077
|
-
/***/ }),
|
|
165078
|
-
|
|
165079
|
-
/***/ 27460:
|
|
165080
|
-
/***/ ((module) => {
|
|
165081
|
-
|
|
165082
|
-
// Returns a wrapper function that returns a wrapped callback
|
|
165083
|
-
// The wrapper function should do some stuff, and return a
|
|
165084
|
-
// presumably different callback function.
|
|
165085
|
-
// This makes sure that own properties are retained, so that
|
|
165086
|
-
// decorations and such are not lost along the way.
|
|
165087
|
-
module.exports = wrappy
|
|
165088
|
-
function wrappy (fn, cb) {
|
|
165089
|
-
if (fn && cb) return wrappy(fn)(cb)
|
|
165090
|
-
|
|
165091
|
-
if (typeof fn !== 'function')
|
|
165092
|
-
throw new TypeError('need wrapper function')
|
|
165093
|
-
|
|
165094
|
-
Object.keys(fn).forEach(function (k) {
|
|
165095
|
-
wrapper[k] = fn[k]
|
|
165096
|
-
})
|
|
165097
|
-
|
|
165098
|
-
return wrapper
|
|
165099
|
-
|
|
165100
|
-
function wrapper() {
|
|
165101
|
-
var args = new Array(arguments.length)
|
|
165102
|
-
for (var i = 0; i < args.length; i++) {
|
|
165103
|
-
args[i] = arguments[i]
|
|
165104
|
-
}
|
|
165105
|
-
var ret = fn.apply(this, args)
|
|
165106
|
-
var cb = args[args.length-1]
|
|
165107
|
-
if (typeof ret === 'function' && ret !== cb) {
|
|
165108
|
-
Object.keys(cb).forEach(function (k) {
|
|
165109
|
-
ret[k] = cb[k]
|
|
165110
|
-
})
|
|
165111
|
-
}
|
|
165112
|
-
return ret
|
|
165113
|
-
}
|
|
165114
|
-
}
|
|
165115
|
-
|
|
165116
|
-
|
|
165117
164685
|
/***/ }),
|
|
165118
164686
|
|
|
165119
164687
|
/***/ 30731:
|