@lightninglabs/lnc-core
Advanced tools
Comparing version 0.2.2-alpha to 0.2.3-alpha
@@ -5,2 +5,3 @@ export { default as LndApi } from './lnd'; | ||
export { default as FaradayApi } from './faraday'; | ||
export { default as LitApi } from './lit'; | ||
//# sourceMappingURL=index.d.ts.map |
export * from './types/proto'; | ||
export { camelKeysToSnake, isObject, snakeKeysToCamel } from './util/objects'; | ||
export { LndApi, LoopApi, PoolApi, FaradayApi } from './api'; | ||
export { LndApi, LoopApi, PoolApi, FaradayApi, LitApi } from './api'; | ||
export { subscriptionMethods } from './types/proto/schema'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,1 +0,1 @@ | ||
!function(E,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["@lightninglabs/lnc-core"]=e():E["@lightninglabs/lnc-core"]=e()}(self,(function(){return(()=>{"use strict";var E={877:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(644);e.default=function(E,e){this.faradayServer=E(N.serviceNames.frdrpc.FaradayServer,e)}},382:function(E,e,_){var N=this&&this.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(e,"__esModule",{value:!0}),e.FaradayApi=e.PoolApi=e.LoopApi=e.LndApi=void 0;var O=_(152);Object.defineProperty(e,"LndApi",{enumerable:!0,get:function(){return N(O).default}});var t=_(343);Object.defineProperty(e,"LoopApi",{enumerable:!0,get:function(){return N(t).default}});var T=_(146);Object.defineProperty(e,"PoolApi",{enumerable:!0,get:function(){return N(T).default}});var r=_(877);Object.defineProperty(e,"FaradayApi",{enumerable:!0,get:function(){return N(r).default}})},152:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(644);e.default=function(E,e){this.autopilot=E(N.serviceNames.autopilotrpc.Autopilot,e),this.chainNotifier=E(N.serviceNames.chainrpc.ChainNotifier,e),this.invoices=E(N.serviceNames.invoicesrpc.Invoices,e),this.lightning=E(N.serviceNames.lnrpc.Lightning,e),this.router=E(N.serviceNames.routerrpc.Router,e),this.signer=E(N.serviceNames.signrpc.Signer,e),this.walletKit=E(N.serviceNames.walletrpc.WalletKit,e),this.walletUnlocker=E(N.serviceNames.lnrpc.WalletUnlocker,e),this.watchtower=E(N.serviceNames.watchtowerrpc.Watchtower,e),this.watchtowerClient=E(N.serviceNames.wtclientrpc.WatchtowerClient,e)}},343:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(644);e.default=function(E,e){this.swapClient=E(N.serviceNames.looprpc.SwapClient,e),this.debug=E(N.serviceNames.looprpc.Debug,e)}},146:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(644);e.default=function(E,e){this.trader=E(N.serviceNames.poolrpc.Trader,e),this.channelAuctioneer=E(N.serviceNames.poolrpc.ChannelAuctioneer,e),this.hashmail=E(N.serviceNames.poolrpc.HashMail,e)}},713:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),O=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),e.subscriptionMethods=e.FaradayApi=e.PoolApi=e.LoopApi=e.LndApi=e.snakeKeysToCamel=e.isObject=e.camelKeysToSnake=void 0,O(_(894),e);var t=_(848);Object.defineProperty(e,"camelKeysToSnake",{enumerable:!0,get:function(){return t.camelKeysToSnake}}),Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return t.isObject}}),Object.defineProperty(e,"snakeKeysToCamel",{enumerable:!0,get:function(){return t.snakeKeysToCamel}});var T=_(382);Object.defineProperty(e,"LndApi",{enumerable:!0,get:function(){return T.LndApi}}),Object.defineProperty(e,"LoopApi",{enumerable:!0,get:function(){return T.LoopApi}}),Object.defineProperty(e,"PoolApi",{enumerable:!0,get:function(){return T.PoolApi}}),Object.defineProperty(e,"FaradayApi",{enumerable:!0,get:function(){return T.FaradayApi}});var r=_(644);Object.defineProperty(e,"subscriptionMethods",{enumerable:!0,get:function(){return r.subscriptionMethods}})},273:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),O=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),O(_(726),e)},71:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),O=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),O(_(374),e)},76:(E,e)=>{var _,N,O,t;Object.defineProperty(e,"__esModule",{value:!0}),e.CloseRecommendationRequest_Metric=e.EntryType=e.FiatBackend=e.Granularity=void 0,(t=e.Granularity||(e.Granularity={})).UNKNOWN_GRANULARITY="UNKNOWN_GRANULARITY",t.MINUTE="MINUTE",t.FIVE_MINUTES="FIVE_MINUTES",t.FIFTEEN_MINUTES="FIFTEEN_MINUTES",t.THIRTY_MINUTES="THIRTY_MINUTES",t.HOUR="HOUR",t.SIX_HOURS="SIX_HOURS",t.TWELVE_HOURS="TWELVE_HOURS",t.DAY="DAY",t.UNRECOGNIZED="UNRECOGNIZED",(O=e.FiatBackend||(e.FiatBackend={})).UNKNOWN_FIATBACKEND="UNKNOWN_FIATBACKEND",O.COINCAP="COINCAP",O.COINDESK="COINDESK",O.CUSTOM="CUSTOM",O.COINGECKO="COINGECKO",O.UNRECOGNIZED="UNRECOGNIZED",(N=e.EntryType||(e.EntryType={})).UNKNOWN="UNKNOWN",N.LOCAL_CHANNEL_OPEN="LOCAL_CHANNEL_OPEN",N.REMOTE_CHANNEL_OPEN="REMOTE_CHANNEL_OPEN",N.CHANNEL_OPEN_FEE="CHANNEL_OPEN_FEE",N.CHANNEL_CLOSE="CHANNEL_CLOSE",N.RECEIPT="RECEIPT",N.PAYMENT="PAYMENT",N.FEE="FEE",N.CIRCULAR_RECEIPT="CIRCULAR_RECEIPT",N.FORWARD="FORWARD",N.FORWARD_FEE="FORWARD_FEE",N.CIRCULAR_PAYMENT="CIRCULAR_PAYMENT",N.CIRCULAR_FEE="CIRCULAR_FEE",N.SWEEP="SWEEP",N.SWEEP_FEE="SWEEP_FEE",N.CHANNEL_CLOSE_FEE="CHANNEL_CLOSE_FEE",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.CloseRecommendationRequest_Metric||(e.CloseRecommendationRequest_Metric={})).UNKNOWN="UNKNOWN",_.UPTIME="UPTIME",_.REVENUE="REVENUE",_.INCOMING_VOLUME="INCOMING_VOLUME",_.OUTGOING_VOLUME="OUTGOING_VOLUME",_.TOTAL_VOLUME="TOTAL_VOLUME",_.UNRECOGNIZED="UNRECOGNIZED"},915:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),O=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),O(_(76),e)},894:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),O=this&&this.__setModuleDefault||(Object.create?function(E,e){Object.defineProperty(E,"default",{enumerable:!0,value:e})}:function(E,e){E.default=e}),t=this&&this.__importStar||function(E){if(E&&E.__esModule)return E;var e={};if(null!=E)for(var _ in E)"default"!==_&&Object.prototype.hasOwnProperty.call(E,_)&&N(e,E,_);return O(e,E),e};Object.defineProperty(e,"__esModule",{value:!0}),e.poolrpc=e.looprpc=e.wtclientrpc=e.watchtowerrpc=e.walletrpc=e.signrpc=e.routerrpc=e.lnrpc=e.invoicesrpc=e.chainrpc=e.autopilotrpc=e.frdrpc=void 0;var T=t(_(915));e.frdrpc=T;var r=t(_(273));e.autopilotrpc=r;var R=t(_(71));e.chainrpc=R;var I=t(_(312));e.invoicesrpc=I;var n=t(_(452));e.lnrpc=n;var A=t(_(226));e.routerrpc=A;var C=t(_(207));e.signrpc=C;var o=t(_(367));e.walletrpc=o;var i=t(_(412));e.watchtowerrpc=i;var S=t(_(946));e.wtclientrpc=S;var a=t(_(11));e.looprpc=a;var c=t(_(377));e.poolrpc=c},312:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),O=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),O(_(212),e)},726:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},374:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},212:(E,e)=>{var _;Object.defineProperty(e,"__esModule",{value:!0}),e.LookupModifier=void 0,(_=e.LookupModifier||(e.LookupModifier={})).DEFAULT="DEFAULT",_.HTLC_SET_ONLY="HTLC_SET_ONLY",_.HTLC_SET_BLANK="HTLC_SET_BLANK",_.UNRECOGNIZED="UNRECOGNIZED"},21:(E,e)=>{var _,N,O,t,T,r,R,I,n,A,C,o,i,S,a,c,U,D,P,L;Object.defineProperty(e,"__esModule",{value:!0}),e.Failure_FailureCode=e.HTLCAttempt_HTLCStatus=e.Payment_PaymentStatus=e.Invoice_InvoiceState=e.ChannelEventUpdate_UpdateType=e.PendingChannelsResponse_ForceClosedChannel_AnchorState=e.PeerEvent_EventType=e.Peer_SyncType=e.ChannelCloseSummary_ClosureType=e.UpdateFailure=e.FeatureBit=e.PaymentFailureReason=e.InvoiceHTLCState=e.NodeMetricType=e.ResolutionOutcome=e.ResolutionType=e.Initiator=e.CommitmentType=e.AddressType=e.OutputScriptType=void 0,(L=e.OutputScriptType||(e.OutputScriptType={})).SCRIPT_TYPE_PUBKEY_HASH="SCRIPT_TYPE_PUBKEY_HASH",L.SCRIPT_TYPE_SCRIPT_HASH="SCRIPT_TYPE_SCRIPT_HASH",L.SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH="SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH",L.SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH="SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH",L.SCRIPT_TYPE_PUBKEY="SCRIPT_TYPE_PUBKEY",L.SCRIPT_TYPE_MULTISIG="SCRIPT_TYPE_MULTISIG",L.SCRIPT_TYPE_NULLDATA="SCRIPT_TYPE_NULLDATA",L.SCRIPT_TYPE_NON_STANDARD="SCRIPT_TYPE_NON_STANDARD",L.SCRIPT_TYPE_WITNESS_UNKNOWN="SCRIPT_TYPE_WITNESS_UNKNOWN",L.SCRIPT_TYPE_WITNESS_V1_TAPROOT="SCRIPT_TYPE_WITNESS_V1_TAPROOT",L.UNRECOGNIZED="UNRECOGNIZED",(P=e.AddressType||(e.AddressType={})).WITNESS_PUBKEY_HASH="WITNESS_PUBKEY_HASH",P.NESTED_PUBKEY_HASH="NESTED_PUBKEY_HASH",P.UNUSED_WITNESS_PUBKEY_HASH="UNUSED_WITNESS_PUBKEY_HASH",P.UNUSED_NESTED_PUBKEY_HASH="UNUSED_NESTED_PUBKEY_HASH",P.TAPROOT_PUBKEY="TAPROOT_PUBKEY",P.UNUSED_TAPROOT_PUBKEY="UNUSED_TAPROOT_PUBKEY",P.UNRECOGNIZED="UNRECOGNIZED",(D=e.CommitmentType||(e.CommitmentType={})).UNKNOWN_COMMITMENT_TYPE="UNKNOWN_COMMITMENT_TYPE",D.LEGACY="LEGACY",D.STATIC_REMOTE_KEY="STATIC_REMOTE_KEY",D.ANCHORS="ANCHORS",D.SCRIPT_ENFORCED_LEASE="SCRIPT_ENFORCED_LEASE",D.UNRECOGNIZED="UNRECOGNIZED",(U=e.Initiator||(e.Initiator={})).INITIATOR_UNKNOWN="INITIATOR_UNKNOWN",U.INITIATOR_LOCAL="INITIATOR_LOCAL",U.INITIATOR_REMOTE="INITIATOR_REMOTE",U.INITIATOR_BOTH="INITIATOR_BOTH",U.UNRECOGNIZED="UNRECOGNIZED",(c=e.ResolutionType||(e.ResolutionType={})).TYPE_UNKNOWN="TYPE_UNKNOWN",c.ANCHOR="ANCHOR",c.INCOMING_HTLC="INCOMING_HTLC",c.OUTGOING_HTLC="OUTGOING_HTLC",c.COMMIT="COMMIT",c.UNRECOGNIZED="UNRECOGNIZED",(a=e.ResolutionOutcome||(e.ResolutionOutcome={})).OUTCOME_UNKNOWN="OUTCOME_UNKNOWN",a.CLAIMED="CLAIMED",a.UNCLAIMED="UNCLAIMED",a.ABANDONED="ABANDONED",a.FIRST_STAGE="FIRST_STAGE",a.TIMEOUT="TIMEOUT",a.UNRECOGNIZED="UNRECOGNIZED",(S=e.NodeMetricType||(e.NodeMetricType={})).UNKNOWN="UNKNOWN",S.BETWEENNESS_CENTRALITY="BETWEENNESS_CENTRALITY",S.UNRECOGNIZED="UNRECOGNIZED",(i=e.InvoiceHTLCState||(e.InvoiceHTLCState={})).ACCEPTED="ACCEPTED",i.SETTLED="SETTLED",i.CANCELED="CANCELED",i.UNRECOGNIZED="UNRECOGNIZED",(o=e.PaymentFailureReason||(e.PaymentFailureReason={})).FAILURE_REASON_NONE="FAILURE_REASON_NONE",o.FAILURE_REASON_TIMEOUT="FAILURE_REASON_TIMEOUT",o.FAILURE_REASON_NO_ROUTE="FAILURE_REASON_NO_ROUTE",o.FAILURE_REASON_ERROR="FAILURE_REASON_ERROR",o.FAILURE_REASON_INCORRECT_PAYMENT_DETAILS="FAILURE_REASON_INCORRECT_PAYMENT_DETAILS",o.FAILURE_REASON_INSUFFICIENT_BALANCE="FAILURE_REASON_INSUFFICIENT_BALANCE",o.UNRECOGNIZED="UNRECOGNIZED",(C=e.FeatureBit||(e.FeatureBit={})).DATALOSS_PROTECT_REQ="DATALOSS_PROTECT_REQ",C.DATALOSS_PROTECT_OPT="DATALOSS_PROTECT_OPT",C.INITIAL_ROUING_SYNC="INITIAL_ROUING_SYNC",C.UPFRONT_SHUTDOWN_SCRIPT_REQ="UPFRONT_SHUTDOWN_SCRIPT_REQ",C.UPFRONT_SHUTDOWN_SCRIPT_OPT="UPFRONT_SHUTDOWN_SCRIPT_OPT",C.GOSSIP_QUERIES_REQ="GOSSIP_QUERIES_REQ",C.GOSSIP_QUERIES_OPT="GOSSIP_QUERIES_OPT",C.TLV_ONION_REQ="TLV_ONION_REQ",C.TLV_ONION_OPT="TLV_ONION_OPT",C.EXT_GOSSIP_QUERIES_REQ="EXT_GOSSIP_QUERIES_REQ",C.EXT_GOSSIP_QUERIES_OPT="EXT_GOSSIP_QUERIES_OPT",C.STATIC_REMOTE_KEY_REQ="STATIC_REMOTE_KEY_REQ",C.STATIC_REMOTE_KEY_OPT="STATIC_REMOTE_KEY_OPT",C.PAYMENT_ADDR_REQ="PAYMENT_ADDR_REQ",C.PAYMENT_ADDR_OPT="PAYMENT_ADDR_OPT",C.MPP_REQ="MPP_REQ",C.MPP_OPT="MPP_OPT",C.WUMBO_CHANNELS_REQ="WUMBO_CHANNELS_REQ",C.WUMBO_CHANNELS_OPT="WUMBO_CHANNELS_OPT",C.ANCHORS_REQ="ANCHORS_REQ",C.ANCHORS_OPT="ANCHORS_OPT",C.ANCHORS_ZERO_FEE_HTLC_REQ="ANCHORS_ZERO_FEE_HTLC_REQ",C.ANCHORS_ZERO_FEE_HTLC_OPT="ANCHORS_ZERO_FEE_HTLC_OPT",C.AMP_REQ="AMP_REQ",C.AMP_OPT="AMP_OPT",C.UNRECOGNIZED="UNRECOGNIZED",(A=e.UpdateFailure||(e.UpdateFailure={})).UPDATE_FAILURE_UNKNOWN="UPDATE_FAILURE_UNKNOWN",A.UPDATE_FAILURE_PENDING="UPDATE_FAILURE_PENDING",A.UPDATE_FAILURE_NOT_FOUND="UPDATE_FAILURE_NOT_FOUND",A.UPDATE_FAILURE_INTERNAL_ERR="UPDATE_FAILURE_INTERNAL_ERR",A.UPDATE_FAILURE_INVALID_PARAMETER="UPDATE_FAILURE_INVALID_PARAMETER",A.UNRECOGNIZED="UNRECOGNIZED",(n=e.ChannelCloseSummary_ClosureType||(e.ChannelCloseSummary_ClosureType={})).COOPERATIVE_CLOSE="COOPERATIVE_CLOSE",n.LOCAL_FORCE_CLOSE="LOCAL_FORCE_CLOSE",n.REMOTE_FORCE_CLOSE="REMOTE_FORCE_CLOSE",n.BREACH_CLOSE="BREACH_CLOSE",n.FUNDING_CANCELED="FUNDING_CANCELED",n.ABANDONED="ABANDONED",n.UNRECOGNIZED="UNRECOGNIZED",(I=e.Peer_SyncType||(e.Peer_SyncType={})).UNKNOWN_SYNC="UNKNOWN_SYNC",I.ACTIVE_SYNC="ACTIVE_SYNC",I.PASSIVE_SYNC="PASSIVE_SYNC",I.PINNED_SYNC="PINNED_SYNC",I.UNRECOGNIZED="UNRECOGNIZED",(R=e.PeerEvent_EventType||(e.PeerEvent_EventType={})).PEER_ONLINE="PEER_ONLINE",R.PEER_OFFLINE="PEER_OFFLINE",R.UNRECOGNIZED="UNRECOGNIZED",(r=e.PendingChannelsResponse_ForceClosedChannel_AnchorState||(e.PendingChannelsResponse_ForceClosedChannel_AnchorState={})).LIMBO="LIMBO",r.RECOVERED="RECOVERED",r.LOST="LOST",r.UNRECOGNIZED="UNRECOGNIZED",(T=e.ChannelEventUpdate_UpdateType||(e.ChannelEventUpdate_UpdateType={})).OPEN_CHANNEL="OPEN_CHANNEL",T.CLOSED_CHANNEL="CLOSED_CHANNEL",T.ACTIVE_CHANNEL="ACTIVE_CHANNEL",T.INACTIVE_CHANNEL="INACTIVE_CHANNEL",T.PENDING_OPEN_CHANNEL="PENDING_OPEN_CHANNEL",T.FULLY_RESOLVED_CHANNEL="FULLY_RESOLVED_CHANNEL",T.UNRECOGNIZED="UNRECOGNIZED",(t=e.Invoice_InvoiceState||(e.Invoice_InvoiceState={})).OPEN="OPEN",t.SETTLED="SETTLED",t.CANCELED="CANCELED",t.ACCEPTED="ACCEPTED",t.UNRECOGNIZED="UNRECOGNIZED",(O=e.Payment_PaymentStatus||(e.Payment_PaymentStatus={})).UNKNOWN="UNKNOWN",O.IN_FLIGHT="IN_FLIGHT",O.SUCCEEDED="SUCCEEDED",O.FAILED="FAILED",O.UNRECOGNIZED="UNRECOGNIZED",(N=e.HTLCAttempt_HTLCStatus||(e.HTLCAttempt_HTLCStatus={})).IN_FLIGHT="IN_FLIGHT",N.SUCCEEDED="SUCCEEDED",N.FAILED="FAILED",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.Failure_FailureCode||(e.Failure_FailureCode={})).RESERVED="RESERVED",_.INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS",_.INCORRECT_PAYMENT_AMOUNT="INCORRECT_PAYMENT_AMOUNT",_.FINAL_INCORRECT_CLTV_EXPIRY="FINAL_INCORRECT_CLTV_EXPIRY",_.FINAL_INCORRECT_HTLC_AMOUNT="FINAL_INCORRECT_HTLC_AMOUNT",_.FINAL_EXPIRY_TOO_SOON="FINAL_EXPIRY_TOO_SOON",_.INVALID_REALM="INVALID_REALM",_.EXPIRY_TOO_SOON="EXPIRY_TOO_SOON",_.INVALID_ONION_VERSION="INVALID_ONION_VERSION",_.INVALID_ONION_HMAC="INVALID_ONION_HMAC",_.INVALID_ONION_KEY="INVALID_ONION_KEY",_.AMOUNT_BELOW_MINIMUM="AMOUNT_BELOW_MINIMUM",_.FEE_INSUFFICIENT="FEE_INSUFFICIENT",_.INCORRECT_CLTV_EXPIRY="INCORRECT_CLTV_EXPIRY",_.CHANNEL_DISABLED="CHANNEL_DISABLED",_.TEMPORARY_CHANNEL_FAILURE="TEMPORARY_CHANNEL_FAILURE",_.REQUIRED_NODE_FEATURE_MISSING="REQUIRED_NODE_FEATURE_MISSING",_.REQUIRED_CHANNEL_FEATURE_MISSING="REQUIRED_CHANNEL_FEATURE_MISSING",_.UNKNOWN_NEXT_PEER="UNKNOWN_NEXT_PEER",_.TEMPORARY_NODE_FAILURE="TEMPORARY_NODE_FAILURE",_.PERMANENT_NODE_FAILURE="PERMANENT_NODE_FAILURE",_.PERMANENT_CHANNEL_FAILURE="PERMANENT_CHANNEL_FAILURE",_.EXPIRY_TOO_FAR="EXPIRY_TOO_FAR",_.MPP_TIMEOUT="MPP_TIMEOUT",_.INVALID_ONION_PAYLOAD="INVALID_ONION_PAYLOAD",_.INTERNAL_FAILURE="INTERNAL_FAILURE",_.UNKNOWN_FAILURE="UNKNOWN_FAILURE",_.UNREADABLE_FAILURE="UNREADABLE_FAILURE",_.UNRECOGNIZED="UNRECOGNIZED"},288:(E,e)=>{var _,N,O,t,T;Object.defineProperty(e,"__esModule",{value:!0}),e.HtlcEvent_EventType=e.ChanStatusAction=e.ResolveHoldForwardAction=e.PaymentState=e.FailureDetail=void 0,(T=e.FailureDetail||(e.FailureDetail={})).UNKNOWN="UNKNOWN",T.NO_DETAIL="NO_DETAIL",T.ONION_DECODE="ONION_DECODE",T.LINK_NOT_ELIGIBLE="LINK_NOT_ELIGIBLE",T.ON_CHAIN_TIMEOUT="ON_CHAIN_TIMEOUT",T.HTLC_EXCEEDS_MAX="HTLC_EXCEEDS_MAX",T.INSUFFICIENT_BALANCE="INSUFFICIENT_BALANCE",T.INCOMPLETE_FORWARD="INCOMPLETE_FORWARD",T.HTLC_ADD_FAILED="HTLC_ADD_FAILED",T.FORWARDS_DISABLED="FORWARDS_DISABLED",T.INVOICE_CANCELED="INVOICE_CANCELED",T.INVOICE_UNDERPAID="INVOICE_UNDERPAID",T.INVOICE_EXPIRY_TOO_SOON="INVOICE_EXPIRY_TOO_SOON",T.INVOICE_NOT_OPEN="INVOICE_NOT_OPEN",T.MPP_INVOICE_TIMEOUT="MPP_INVOICE_TIMEOUT",T.ADDRESS_MISMATCH="ADDRESS_MISMATCH",T.SET_TOTAL_MISMATCH="SET_TOTAL_MISMATCH",T.SET_TOTAL_TOO_LOW="SET_TOTAL_TOO_LOW",T.SET_OVERPAID="SET_OVERPAID",T.UNKNOWN_INVOICE="UNKNOWN_INVOICE",T.INVALID_KEYSEND="INVALID_KEYSEND",T.MPP_IN_PROGRESS="MPP_IN_PROGRESS",T.CIRCULAR_ROUTE="CIRCULAR_ROUTE",T.UNRECOGNIZED="UNRECOGNIZED",(t=e.PaymentState||(e.PaymentState={})).IN_FLIGHT="IN_FLIGHT",t.SUCCEEDED="SUCCEEDED",t.FAILED_TIMEOUT="FAILED_TIMEOUT",t.FAILED_NO_ROUTE="FAILED_NO_ROUTE",t.FAILED_ERROR="FAILED_ERROR",t.FAILED_INCORRECT_PAYMENT_DETAILS="FAILED_INCORRECT_PAYMENT_DETAILS",t.FAILED_INSUFFICIENT_BALANCE="FAILED_INSUFFICIENT_BALANCE",t.UNRECOGNIZED="UNRECOGNIZED",(O=e.ResolveHoldForwardAction||(e.ResolveHoldForwardAction={})).SETTLE="SETTLE",O.FAIL="FAIL",O.RESUME="RESUME",O.UNRECOGNIZED="UNRECOGNIZED",(N=e.ChanStatusAction||(e.ChanStatusAction={})).ENABLE="ENABLE",N.DISABLE="DISABLE",N.AUTO="AUTO",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.HtlcEvent_EventType||(e.HtlcEvent_EventType={})).UNKNOWN="UNKNOWN",_.SEND="SEND",_.RECEIVE="RECEIVE",_.FORWARD="FORWARD",_.UNRECOGNIZED="UNRECOGNIZED"},885:(E,e)=>{var _;Object.defineProperty(e,"__esModule",{value:!0}),e.SignMethod=void 0,(_=e.SignMethod||(e.SignMethod={})).SIGN_METHOD_WITNESS_V0="SIGN_METHOD_WITNESS_V0",_.SIGN_METHOD_TAPROOT_KEY_SPEND_BIP0086="SIGN_METHOD_TAPROOT_KEY_SPEND_BIP0086",_.SIGN_METHOD_TAPROOT_KEY_SPEND="SIGN_METHOD_TAPROOT_KEY_SPEND",_.SIGN_METHOD_TAPROOT_SCRIPT_SPEND="SIGN_METHOD_TAPROOT_SCRIPT_SPEND",_.UNRECOGNIZED="UNRECOGNIZED"},213:(E,e)=>{var _,N;Object.defineProperty(e,"__esModule",{value:!0}),e.WitnessType=e.AddressType=void 0,(N=e.AddressType||(e.AddressType={})).UNKNOWN="UNKNOWN",N.WITNESS_PUBKEY_HASH="WITNESS_PUBKEY_HASH",N.NESTED_WITNESS_PUBKEY_HASH="NESTED_WITNESS_PUBKEY_HASH",N.HYBRID_NESTED_WITNESS_PUBKEY_HASH="HYBRID_NESTED_WITNESS_PUBKEY_HASH",N.TAPROOT_PUBKEY="TAPROOT_PUBKEY",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.WitnessType||(e.WitnessType={})).UNKNOWN_WITNESS="UNKNOWN_WITNESS",_.COMMITMENT_TIME_LOCK="COMMITMENT_TIME_LOCK",_.COMMITMENT_NO_DELAY="COMMITMENT_NO_DELAY",_.COMMITMENT_REVOKE="COMMITMENT_REVOKE",_.HTLC_OFFERED_REVOKE="HTLC_OFFERED_REVOKE",_.HTLC_ACCEPTED_REVOKE="HTLC_ACCEPTED_REVOKE",_.HTLC_OFFERED_TIMEOUT_SECOND_LEVEL="HTLC_OFFERED_TIMEOUT_SECOND_LEVEL",_.HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL="HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL",_.HTLC_OFFERED_REMOTE_TIMEOUT="HTLC_OFFERED_REMOTE_TIMEOUT",_.HTLC_ACCEPTED_REMOTE_SUCCESS="HTLC_ACCEPTED_REMOTE_SUCCESS",_.HTLC_SECOND_LEVEL_REVOKE="HTLC_SECOND_LEVEL_REVOKE",_.WITNESS_KEY_HASH="WITNESS_KEY_HASH",_.NESTED_WITNESS_KEY_HASH="NESTED_WITNESS_KEY_HASH",_.COMMITMENT_ANCHOR="COMMITMENT_ANCHOR",_.UNRECOGNIZED="UNRECOGNIZED"},939:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},482:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},921:(E,e)=>{var _;Object.defineProperty(e,"__esModule",{value:!0}),e.PolicyType=void 0,(_=e.PolicyType||(e.PolicyType={})).LEGACY="LEGACY",_.ANCHOR="ANCHOR",_.UNRECOGNIZED="UNRECOGNIZED"},452:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),O=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),O(_(21),e),O(_(939),e)},598:(E,e)=>{var _,N,O,t,T;Object.defineProperty(e,"__esModule",{value:!0}),e.AutoReason=e.LiquidityRuleType=e.FailureReason=e.SwapState=e.SwapType=void 0,(T=e.SwapType||(e.SwapType={})).LOOP_OUT="LOOP_OUT",T.LOOP_IN="LOOP_IN",T.UNRECOGNIZED="UNRECOGNIZED",(t=e.SwapState||(e.SwapState={})).INITIATED="INITIATED",t.PREIMAGE_REVEALED="PREIMAGE_REVEALED",t.HTLC_PUBLISHED="HTLC_PUBLISHED",t.SUCCESS="SUCCESS",t.FAILED="FAILED",t.INVOICE_SETTLED="INVOICE_SETTLED",t.UNRECOGNIZED="UNRECOGNIZED",(O=e.FailureReason||(e.FailureReason={})).FAILURE_REASON_NONE="FAILURE_REASON_NONE",O.FAILURE_REASON_OFFCHAIN="FAILURE_REASON_OFFCHAIN",O.FAILURE_REASON_TIMEOUT="FAILURE_REASON_TIMEOUT",O.FAILURE_REASON_SWEEP_TIMEOUT="FAILURE_REASON_SWEEP_TIMEOUT",O.FAILURE_REASON_INSUFFICIENT_VALUE="FAILURE_REASON_INSUFFICIENT_VALUE",O.FAILURE_REASON_TEMPORARY="FAILURE_REASON_TEMPORARY",O.FAILURE_REASON_INCORRECT_AMOUNT="FAILURE_REASON_INCORRECT_AMOUNT",O.UNRECOGNIZED="UNRECOGNIZED",(N=e.LiquidityRuleType||(e.LiquidityRuleType={})).UNKNOWN="UNKNOWN",N.THRESHOLD="THRESHOLD",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.AutoReason||(e.AutoReason={})).AUTO_REASON_UNKNOWN="AUTO_REASON_UNKNOWN",_.AUTO_REASON_BUDGET_NOT_STARTED="AUTO_REASON_BUDGET_NOT_STARTED",_.AUTO_REASON_SWEEP_FEES="AUTO_REASON_SWEEP_FEES",_.AUTO_REASON_BUDGET_ELAPSED="AUTO_REASON_BUDGET_ELAPSED",_.AUTO_REASON_IN_FLIGHT="AUTO_REASON_IN_FLIGHT",_.AUTO_REASON_SWAP_FEE="AUTO_REASON_SWAP_FEE",_.AUTO_REASON_MINER_FEE="AUTO_REASON_MINER_FEE",_.AUTO_REASON_PREPAY="AUTO_REASON_PREPAY",_.AUTO_REASON_FAILURE_BACKOFF="AUTO_REASON_FAILURE_BACKOFF",_.AUTO_REASON_LOOP_OUT="AUTO_REASON_LOOP_OUT",_.AUTO_REASON_LOOP_IN="AUTO_REASON_LOOP_IN",_.AUTO_REASON_LIQUIDITY_OK="AUTO_REASON_LIQUIDITY_OK",_.AUTO_REASON_BUDGET_INSUFFICIENT="AUTO_REASON_BUDGET_INSUFFICIENT",_.AUTO_REASON_FEE_INSUFFICIENT="AUTO_REASON_FEE_INSUFFICIENT",_.UNRECOGNIZED="UNRECOGNIZED"},283:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},11:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),O=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),O(_(598),e),O(_(283),e)},927:(E,e)=>{var _,N,O,t,T,r,R,I,n,A,C,o,i,S;Object.defineProperty(e,"__esModule",{value:!0}),e.InvalidOrder_FailReason=e.AccountDiff_AccountState=e.SubscribeError_Error=e.OrderReject_OrderRejectReason=e.OrderMatchReject_RejectReason=e.DurationBucketState=e.OrderState=e.ChannelConfirmationConstraints=e.ChannelAnnouncementConstraints=e.NodeTier=e.AuctionType=e.OrderChannelType=e.AuctionAccountState=e.ChannelType=void 0,(S=e.ChannelType||(e.ChannelType={})).TWEAKLESS="TWEAKLESS",S.ANCHORS="ANCHORS",S.SCRIPT_ENFORCED_LEASE="SCRIPT_ENFORCED_LEASE",S.UNRECOGNIZED="UNRECOGNIZED",(i=e.AuctionAccountState||(e.AuctionAccountState={})).STATE_PENDING_OPEN="STATE_PENDING_OPEN",i.STATE_OPEN="STATE_OPEN",i.STATE_EXPIRED="STATE_EXPIRED",i.STATE_PENDING_UPDATE="STATE_PENDING_UPDATE",i.STATE_CLOSED="STATE_CLOSED",i.STATE_PENDING_BATCH="STATE_PENDING_BATCH",i.STATE_EXPIRED_PENDING_UPDATE="STATE_EXPIRED_PENDING_UPDATE",i.UNRECOGNIZED="UNRECOGNIZED",(o=e.OrderChannelType||(e.OrderChannelType={})).ORDER_CHANNEL_TYPE_UNKNOWN="ORDER_CHANNEL_TYPE_UNKNOWN",o.ORDER_CHANNEL_TYPE_PEER_DEPENDENT="ORDER_CHANNEL_TYPE_PEER_DEPENDENT",o.ORDER_CHANNEL_TYPE_SCRIPT_ENFORCED="ORDER_CHANNEL_TYPE_SCRIPT_ENFORCED",o.UNRECOGNIZED="UNRECOGNIZED",(C=e.AuctionType||(e.AuctionType={})).AUCTION_TYPE_BTC_INBOUND_LIQUIDITY="AUCTION_TYPE_BTC_INBOUND_LIQUIDITY",C.AUCTION_TYPE_BTC_OUTBOUND_LIQUIDITY="AUCTION_TYPE_BTC_OUTBOUND_LIQUIDITY",C.UNRECOGNIZED="UNRECOGNIZED",(A=e.NodeTier||(e.NodeTier={})).TIER_DEFAULT="TIER_DEFAULT",A.TIER_0="TIER_0",A.TIER_1="TIER_1",A.UNRECOGNIZED="UNRECOGNIZED",(n=e.ChannelAnnouncementConstraints||(e.ChannelAnnouncementConstraints={})).ANNOUNCEMENT_NO_PREFERENCE="ANNOUNCEMENT_NO_PREFERENCE",n.ONLY_ANNOUNCED="ONLY_ANNOUNCED",n.ONLY_UNANNOUNCED="ONLY_UNANNOUNCED",n.UNRECOGNIZED="UNRECOGNIZED",(I=e.ChannelConfirmationConstraints||(e.ChannelConfirmationConstraints={})).CONFIRMATION_NO_PREFERENCE="CONFIRMATION_NO_PREFERENCE",I.ONLY_CONFIRMED="ONLY_CONFIRMED",I.ONLY_ZEROCONF="ONLY_ZEROCONF",I.UNRECOGNIZED="UNRECOGNIZED",(R=e.OrderState||(e.OrderState={})).ORDER_SUBMITTED="ORDER_SUBMITTED",R.ORDER_CLEARED="ORDER_CLEARED",R.ORDER_PARTIALLY_FILLED="ORDER_PARTIALLY_FILLED",R.ORDER_EXECUTED="ORDER_EXECUTED",R.ORDER_CANCELED="ORDER_CANCELED",R.ORDER_EXPIRED="ORDER_EXPIRED",R.ORDER_FAILED="ORDER_FAILED",R.UNRECOGNIZED="UNRECOGNIZED",(r=e.DurationBucketState||(e.DurationBucketState={})).NO_MARKET="NO_MARKET",r.MARKET_CLOSED="MARKET_CLOSED",r.ACCEPTING_ORDERS="ACCEPTING_ORDERS",r.MARKET_OPEN="MARKET_OPEN",r.UNRECOGNIZED="UNRECOGNIZED",(T=e.OrderMatchReject_RejectReason||(e.OrderMatchReject_RejectReason={})).UNKNOWN="UNKNOWN",T.SERVER_MISBEHAVIOR="SERVER_MISBEHAVIOR",T.BATCH_VERSION_MISMATCH="BATCH_VERSION_MISMATCH",T.PARTIAL_REJECT="PARTIAL_REJECT",T.UNRECOGNIZED="UNRECOGNIZED",(t=e.OrderReject_OrderRejectReason||(e.OrderReject_OrderRejectReason={})).DUPLICATE_PEER="DUPLICATE_PEER",t.CHANNEL_FUNDING_FAILED="CHANNEL_FUNDING_FAILED",t.UNRECOGNIZED="UNRECOGNIZED",(O=e.SubscribeError_Error||(e.SubscribeError_Error={})).UNKNOWN="UNKNOWN",O.SERVER_SHUTDOWN="SERVER_SHUTDOWN",O.ACCOUNT_DOES_NOT_EXIST="ACCOUNT_DOES_NOT_EXIST",O.INCOMPLETE_ACCOUNT_RESERVATION="INCOMPLETE_ACCOUNT_RESERVATION",O.UNRECOGNIZED="UNRECOGNIZED",(N=e.AccountDiff_AccountState||(e.AccountDiff_AccountState={})).OUTPUT_RECREATED="OUTPUT_RECREATED",N.OUTPUT_DUST_EXTENDED_OFFCHAIN="OUTPUT_DUST_EXTENDED_OFFCHAIN",N.OUTPUT_DUST_ADDED_TO_FEES="OUTPUT_DUST_ADDED_TO_FEES",N.OUTPUT_FULLY_SPENT="OUTPUT_FULLY_SPENT",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.InvalidOrder_FailReason||(e.InvalidOrder_FailReason={})).INVALID_AMT="INVALID_AMT",_.UNRECOGNIZED="UNRECOGNIZED"},961:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},456:(E,e)=>{var _,N,O,t;Object.defineProperty(e,"__esModule",{value:!0}),e.MatchRejectReason=e.MatchState=e.AccountState=e.AccountVersion=void 0,(t=e.AccountVersion||(e.AccountVersion={})).ACCOUNT_VERSION_LND_DEPENDENT="ACCOUNT_VERSION_LND_DEPENDENT",t.ACCOUNT_VERSION_LEGACY="ACCOUNT_VERSION_LEGACY",t.ACCOUNT_VERSION_TAPROOT="ACCOUNT_VERSION_TAPROOT",t.UNRECOGNIZED="UNRECOGNIZED",(O=e.AccountState||(e.AccountState={})).PENDING_OPEN="PENDING_OPEN",O.PENDING_UPDATE="PENDING_UPDATE",O.OPEN="OPEN",O.EXPIRED="EXPIRED",O.PENDING_CLOSED="PENDING_CLOSED",O.CLOSED="CLOSED",O.RECOVERY_FAILED="RECOVERY_FAILED",O.PENDING_BATCH="PENDING_BATCH",O.UNRECOGNIZED="UNRECOGNIZED",(N=e.MatchState||(e.MatchState={})).PREPARE="PREPARE",N.ACCEPTED="ACCEPTED",N.REJECTED="REJECTED",N.SIGNED="SIGNED",N.FINALIZED="FINALIZED",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.MatchRejectReason||(e.MatchRejectReason={})).NONE="NONE",_.SERVER_MISBEHAVIOR="SERVER_MISBEHAVIOR",_.BATCH_VERSION_MISMATCH="BATCH_VERSION_MISMATCH",_.PARTIAL_REJECT_COLLATERAL="PARTIAL_REJECT_COLLATERAL",_.PARTIAL_REJECT_DUPLICATE_PEER="PARTIAL_REJECT_DUPLICATE_PEER",_.PARTIAL_REJECT_CHANNEL_FUNDING_FAILED="PARTIAL_REJECT_CHANNEL_FUNDING_FAILED",_.UNRECOGNIZED="UNRECOGNIZED"},377:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),O=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),O(_(927),e),O(_(961),e),O(_(456),e)},226:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),O=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),O(_(288),e)},644:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.subscriptionMethods=e.serviceNames=void 0,e.serviceNames={frdrpc:{FaradayServer:"frdrpc.FaradayServer"},autopilotrpc:{Autopilot:"autopilotrpc.Autopilot"},chainrpc:{ChainNotifier:"chainrpc.ChainNotifier"},invoicesrpc:{Invoices:"invoicesrpc.Invoices"},lnrpc:{Lightning:"lnrpc.Lightning",WalletUnlocker:"lnrpc.WalletUnlocker"},routerrpc:{Router:"routerrpc.Router"},signrpc:{Signer:"signrpc.Signer"},walletrpc:{WalletKit:"walletrpc.WalletKit"},watchtowerrpc:{Watchtower:"watchtowerrpc.Watchtower"},wtclientrpc:{WatchtowerClient:"wtclientrpc.WatchtowerClient"},looprpc:{SwapClient:"looprpc.SwapClient",Debug:"looprpc.Debug"},poolrpc:{ChannelAuctioneer:"poolrpc.ChannelAuctioneer",HashMail:"poolrpc.HashMail",Trader:"poolrpc.Trader"}},e.subscriptionMethods=["chainrpc.ChainNotifier.RegisterConfirmationsNtfn","chainrpc.ChainNotifier.RegisterSpendNtfn","chainrpc.ChainNotifier.RegisterBlockEpochNtfn","invoicesrpc.Invoices.SubscribeSingleInvoice","lnrpc.Lightning.SubscribeTransactions","lnrpc.Lightning.SubscribePeerEvents","lnrpc.Lightning.SubscribeChannelEvents","lnrpc.Lightning.OpenChannel","lnrpc.Lightning.ChannelAcceptor","lnrpc.Lightning.CloseChannel","lnrpc.Lightning.SendPayment","lnrpc.Lightning.SendToRoute","lnrpc.Lightning.SubscribeInvoices","lnrpc.Lightning.SubscribeChannelGraph","lnrpc.Lightning.SubscribeChannelBackups","lnrpc.Lightning.RegisterRPCMiddleware","lnrpc.Lightning.SubscribeCustomMessages","routerrpc.Router.SendPaymentV2","routerrpc.Router.TrackPaymentV2","routerrpc.Router.SubscribeHtlcEvents","routerrpc.Router.SendPayment","routerrpc.Router.TrackPayment","routerrpc.Router.HtlcInterceptor","looprpc.SwapClient.Monitor","poolrpc.ChannelAuctioneer.SubscribeBatchAuction","poolrpc.ChannelAuctioneer.SubscribeSidecar","poolrpc.HashMail.RecvStream"]},207:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),O=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),O(_(885),e)},367:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),O=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),O(_(213),e)},412:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),O=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),O(_(482),e)},946:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),O=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),O(_(921),e)},848:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.camelKeysToSnake=e.snakeKeysToCamel=e.isObject=void 0;var _=function(E){return Array.isArray(E)};e.isObject=function(E){return E===Object(E)&&!_(E)&&"function"!=typeof E},e.snakeKeysToCamel=function(E){if((0,e.isObject)(E)){var N={};return Object.keys(E).forEach((function(_){var O;N[(O=_,O.replace(/([-_][a-z])/gi,(function(E){return E.toUpperCase().replace("-","").replace("_","")})))]=(0,e.snakeKeysToCamel)(E[_])})),N}return _(E)?E.map((function(E){return(0,e.snakeKeysToCamel)(E)})):E},e.camelKeysToSnake=function(E){if((0,e.isObject)(E)){var N={};return Object.keys(E).forEach((function(_){var O;N[(O=_,O.replace(/[A-Z]/g,(function(E){return"_".concat(E.toLowerCase())})))]=(0,e.camelKeysToSnake)(E[_])})),N}return _(E)?E.map((function(E){return(0,e.camelKeysToSnake)(E)})):E}}},e={};return function _(N){var O=e[N];if(void 0!==O)return O.exports;var t=e[N]={exports:{}};return E[N].call(t.exports,t,t.exports,_),t.exports}(713)})()})); | ||
!function(E,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["@lightninglabs/lnc-core"]=e():E["@lightninglabs/lnc-core"]=e()}(this,(function(){return(()=>{"use strict";var E={877:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(644);e.default=function(E,e){this.faradayServer=E(N.serviceNames.frdrpc.FaradayServer,e)}},382:function(E,e,_){var N=this&&this.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(e,"__esModule",{value:!0}),e.LitApi=e.FaradayApi=e.PoolApi=e.LoopApi=e.LndApi=void 0;var t=_(152);Object.defineProperty(e,"LndApi",{enumerable:!0,get:function(){return N(t).default}});var O=_(343);Object.defineProperty(e,"LoopApi",{enumerable:!0,get:function(){return N(O).default}});var T=_(146);Object.defineProperty(e,"PoolApi",{enumerable:!0,get:function(){return N(T).default}});var r=_(877);Object.defineProperty(e,"FaradayApi",{enumerable:!0,get:function(){return N(r).default}});var n=_(929);Object.defineProperty(e,"LitApi",{enumerable:!0,get:function(){return N(n).default}})},929:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(644);e.default=function(E,e){this.autopilot=E(N.serviceNames.litrpc.Autopilot,e),this.firewall=E(N.serviceNames.litrpc.Firewall,e),this.sessions=E(N.serviceNames.litrpc.Sessions,e)}},152:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(644);e.default=function(E,e){this.autopilot=E(N.serviceNames.autopilotrpc.Autopilot,e),this.chainNotifier=E(N.serviceNames.chainrpc.ChainNotifier,e),this.invoices=E(N.serviceNames.invoicesrpc.Invoices,e),this.lightning=E(N.serviceNames.lnrpc.Lightning,e),this.router=E(N.serviceNames.routerrpc.Router,e),this.signer=E(N.serviceNames.signrpc.Signer,e),this.walletKit=E(N.serviceNames.walletrpc.WalletKit,e),this.walletUnlocker=E(N.serviceNames.lnrpc.WalletUnlocker,e),this.watchtower=E(N.serviceNames.watchtowerrpc.Watchtower,e),this.watchtowerClient=E(N.serviceNames.wtclientrpc.WatchtowerClient,e)}},343:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(644);e.default=function(E,e){this.swapClient=E(N.serviceNames.looprpc.SwapClient,e),this.debug=E(N.serviceNames.looprpc.Debug,e)}},146:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(644);e.default=function(E,e){this.trader=E(N.serviceNames.poolrpc.Trader,e),this.channelAuctioneer=E(N.serviceNames.poolrpc.ChannelAuctioneer,e),this.hashmail=E(N.serviceNames.poolrpc.HashMail,e)}},713:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),e.subscriptionMethods=e.LitApi=e.FaradayApi=e.PoolApi=e.LoopApi=e.LndApi=e.snakeKeysToCamel=e.isObject=e.camelKeysToSnake=void 0,t(_(894),e);var O=_(848);Object.defineProperty(e,"camelKeysToSnake",{enumerable:!0,get:function(){return O.camelKeysToSnake}}),Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return O.isObject}}),Object.defineProperty(e,"snakeKeysToCamel",{enumerable:!0,get:function(){return O.snakeKeysToCamel}});var T=_(382);Object.defineProperty(e,"LndApi",{enumerable:!0,get:function(){return T.LndApi}}),Object.defineProperty(e,"LoopApi",{enumerable:!0,get:function(){return T.LoopApi}}),Object.defineProperty(e,"PoolApi",{enumerable:!0,get:function(){return T.PoolApi}}),Object.defineProperty(e,"FaradayApi",{enumerable:!0,get:function(){return T.FaradayApi}}),Object.defineProperty(e,"LitApi",{enumerable:!0,get:function(){return T.LitApi}});var r=_(644);Object.defineProperty(e,"subscriptionMethods",{enumerable:!0,get:function(){return r.subscriptionMethods}})},273:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(726),e)},71:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(374),e)},76:(E,e)=>{var _,N,t,O;Object.defineProperty(e,"__esModule",{value:!0}),e.CloseRecommendationRequest_Metric=e.EntryType=e.FiatBackend=e.Granularity=void 0,(O=e.Granularity||(e.Granularity={})).UNKNOWN_GRANULARITY="UNKNOWN_GRANULARITY",O.MINUTE="MINUTE",O.FIVE_MINUTES="FIVE_MINUTES",O.FIFTEEN_MINUTES="FIFTEEN_MINUTES",O.THIRTY_MINUTES="THIRTY_MINUTES",O.HOUR="HOUR",O.SIX_HOURS="SIX_HOURS",O.TWELVE_HOURS="TWELVE_HOURS",O.DAY="DAY",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.FiatBackend||(e.FiatBackend={})).UNKNOWN_FIATBACKEND="UNKNOWN_FIATBACKEND",t.COINCAP="COINCAP",t.COINDESK="COINDESK",t.CUSTOM="CUSTOM",t.COINGECKO="COINGECKO",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.EntryType||(e.EntryType={})).UNKNOWN="UNKNOWN",N.LOCAL_CHANNEL_OPEN="LOCAL_CHANNEL_OPEN",N.REMOTE_CHANNEL_OPEN="REMOTE_CHANNEL_OPEN",N.CHANNEL_OPEN_FEE="CHANNEL_OPEN_FEE",N.CHANNEL_CLOSE="CHANNEL_CLOSE",N.RECEIPT="RECEIPT",N.PAYMENT="PAYMENT",N.FEE="FEE",N.CIRCULAR_RECEIPT="CIRCULAR_RECEIPT",N.FORWARD="FORWARD",N.FORWARD_FEE="FORWARD_FEE",N.CIRCULAR_PAYMENT="CIRCULAR_PAYMENT",N.CIRCULAR_FEE="CIRCULAR_FEE",N.SWEEP="SWEEP",N.SWEEP_FEE="SWEEP_FEE",N.CHANNEL_CLOSE_FEE="CHANNEL_CLOSE_FEE",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.CloseRecommendationRequest_Metric||(e.CloseRecommendationRequest_Metric={})).UNKNOWN="UNKNOWN",_.UPTIME="UPTIME",_.REVENUE="REVENUE",_.INCOMING_VOLUME="INCOMING_VOLUME",_.OUTGOING_VOLUME="OUTGOING_VOLUME",_.TOTAL_VOLUME="TOTAL_VOLUME",_.UNRECOGNIZED="UNRECOGNIZED"},915:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(76),e)},894:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__setModuleDefault||(Object.create?function(E,e){Object.defineProperty(E,"default",{enumerable:!0,value:e})}:function(E,e){E.default=e}),O=this&&this.__importStar||function(E){if(E&&E.__esModule)return E;var e={};if(null!=E)for(var _ in E)"default"!==_&&Object.prototype.hasOwnProperty.call(E,_)&&N(e,E,_);return t(e,E),e};Object.defineProperty(e,"__esModule",{value:!0}),e.poolrpc=e.looprpc=e.wtclientrpc=e.watchtowerrpc=e.walletrpc=e.signrpc=e.routerrpc=e.lnrpc=e.invoicesrpc=e.chainrpc=e.autopilotrpc=e.litrpc=e.frdrpc=void 0;var T=O(_(915));e.frdrpc=T;var r=O(_(903));e.litrpc=r;var n=O(_(273));e.autopilotrpc=n;var R=O(_(71));e.chainrpc=R;var I=O(_(312));e.invoicesrpc=I;var A=O(_(452));e.lnrpc=A;var i=O(_(226));e.routerrpc=i;var C=O(_(207));e.signrpc=C;var o=O(_(367));e.walletrpc=o;var S=O(_(412));e.watchtowerrpc=S;var a=O(_(946));e.wtclientrpc=a;var c=O(_(11));e.looprpc=c;var U=O(_(377));e.poolrpc=U},312:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(212),e)},481:(E,e)=>{var _;Object.defineProperty(e,"__esModule",{value:!0}),e.ActionState=void 0,(_=e.ActionState||(e.ActionState={})).STATE_UNKNOWN="STATE_UNKNOWN",_.STATE_PENDING="STATE_PENDING",_.STATE_DONE="STATE_DONE",_.STATE_ERROR="STATE_ERROR",_.UNRECOGNIZED="UNRECOGNIZED"},166:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},199:(E,e)=>{var _,N;Object.defineProperty(e,"__esModule",{value:!0}),e.SessionState=e.SessionType=void 0,(N=e.SessionType||(e.SessionType={})).TYPE_MACAROON_READONLY="TYPE_MACAROON_READONLY",N.TYPE_MACAROON_ADMIN="TYPE_MACAROON_ADMIN",N.TYPE_MACAROON_CUSTOM="TYPE_MACAROON_CUSTOM",N.TYPE_UI_PASSWORD="TYPE_UI_PASSWORD",N.TYPE_AUTOPILOT="TYPE_AUTOPILOT",N.TYPE_MACAROON_ACCOUNT="TYPE_MACAROON_ACCOUNT",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.SessionState||(e.SessionState={})).STATE_CREATED="STATE_CREATED",_.STATE_IN_USE="STATE_IN_USE",_.STATE_REVOKED="STATE_REVOKED",_.STATE_EXPIRED="STATE_EXPIRED",_.UNRECOGNIZED="UNRECOGNIZED"},903:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(481),e),t(_(166),e),t(_(199),e)},726:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},374:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},212:(E,e)=>{var _;Object.defineProperty(e,"__esModule",{value:!0}),e.LookupModifier=void 0,(_=e.LookupModifier||(e.LookupModifier={})).DEFAULT="DEFAULT",_.HTLC_SET_ONLY="HTLC_SET_ONLY",_.HTLC_SET_BLANK="HTLC_SET_BLANK",_.UNRECOGNIZED="UNRECOGNIZED"},21:(E,e)=>{var _,N,t,O,T,r,n,R,I,A,i,C,o,S,a,c,U,D,P,L;Object.defineProperty(e,"__esModule",{value:!0}),e.Failure_FailureCode=e.HTLCAttempt_HTLCStatus=e.Payment_PaymentStatus=e.Invoice_InvoiceState=e.ChannelEventUpdate_UpdateType=e.PendingChannelsResponse_ForceClosedChannel_AnchorState=e.PeerEvent_EventType=e.Peer_SyncType=e.ChannelCloseSummary_ClosureType=e.UpdateFailure=e.FeatureBit=e.PaymentFailureReason=e.InvoiceHTLCState=e.NodeMetricType=e.ResolutionOutcome=e.ResolutionType=e.Initiator=e.CommitmentType=e.AddressType=e.OutputScriptType=void 0,(L=e.OutputScriptType||(e.OutputScriptType={})).SCRIPT_TYPE_PUBKEY_HASH="SCRIPT_TYPE_PUBKEY_HASH",L.SCRIPT_TYPE_SCRIPT_HASH="SCRIPT_TYPE_SCRIPT_HASH",L.SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH="SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH",L.SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH="SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH",L.SCRIPT_TYPE_PUBKEY="SCRIPT_TYPE_PUBKEY",L.SCRIPT_TYPE_MULTISIG="SCRIPT_TYPE_MULTISIG",L.SCRIPT_TYPE_NULLDATA="SCRIPT_TYPE_NULLDATA",L.SCRIPT_TYPE_NON_STANDARD="SCRIPT_TYPE_NON_STANDARD",L.SCRIPT_TYPE_WITNESS_UNKNOWN="SCRIPT_TYPE_WITNESS_UNKNOWN",L.SCRIPT_TYPE_WITNESS_V1_TAPROOT="SCRIPT_TYPE_WITNESS_V1_TAPROOT",L.UNRECOGNIZED="UNRECOGNIZED",(P=e.AddressType||(e.AddressType={})).WITNESS_PUBKEY_HASH="WITNESS_PUBKEY_HASH",P.NESTED_PUBKEY_HASH="NESTED_PUBKEY_HASH",P.UNUSED_WITNESS_PUBKEY_HASH="UNUSED_WITNESS_PUBKEY_HASH",P.UNUSED_NESTED_PUBKEY_HASH="UNUSED_NESTED_PUBKEY_HASH",P.TAPROOT_PUBKEY="TAPROOT_PUBKEY",P.UNUSED_TAPROOT_PUBKEY="UNUSED_TAPROOT_PUBKEY",P.UNRECOGNIZED="UNRECOGNIZED",(D=e.CommitmentType||(e.CommitmentType={})).UNKNOWN_COMMITMENT_TYPE="UNKNOWN_COMMITMENT_TYPE",D.LEGACY="LEGACY",D.STATIC_REMOTE_KEY="STATIC_REMOTE_KEY",D.ANCHORS="ANCHORS",D.SCRIPT_ENFORCED_LEASE="SCRIPT_ENFORCED_LEASE",D.UNRECOGNIZED="UNRECOGNIZED",(U=e.Initiator||(e.Initiator={})).INITIATOR_UNKNOWN="INITIATOR_UNKNOWN",U.INITIATOR_LOCAL="INITIATOR_LOCAL",U.INITIATOR_REMOTE="INITIATOR_REMOTE",U.INITIATOR_BOTH="INITIATOR_BOTH",U.UNRECOGNIZED="UNRECOGNIZED",(c=e.ResolutionType||(e.ResolutionType={})).TYPE_UNKNOWN="TYPE_UNKNOWN",c.ANCHOR="ANCHOR",c.INCOMING_HTLC="INCOMING_HTLC",c.OUTGOING_HTLC="OUTGOING_HTLC",c.COMMIT="COMMIT",c.UNRECOGNIZED="UNRECOGNIZED",(a=e.ResolutionOutcome||(e.ResolutionOutcome={})).OUTCOME_UNKNOWN="OUTCOME_UNKNOWN",a.CLAIMED="CLAIMED",a.UNCLAIMED="UNCLAIMED",a.ABANDONED="ABANDONED",a.FIRST_STAGE="FIRST_STAGE",a.TIMEOUT="TIMEOUT",a.UNRECOGNIZED="UNRECOGNIZED",(S=e.NodeMetricType||(e.NodeMetricType={})).UNKNOWN="UNKNOWN",S.BETWEENNESS_CENTRALITY="BETWEENNESS_CENTRALITY",S.UNRECOGNIZED="UNRECOGNIZED",(o=e.InvoiceHTLCState||(e.InvoiceHTLCState={})).ACCEPTED="ACCEPTED",o.SETTLED="SETTLED",o.CANCELED="CANCELED",o.UNRECOGNIZED="UNRECOGNIZED",(C=e.PaymentFailureReason||(e.PaymentFailureReason={})).FAILURE_REASON_NONE="FAILURE_REASON_NONE",C.FAILURE_REASON_TIMEOUT="FAILURE_REASON_TIMEOUT",C.FAILURE_REASON_NO_ROUTE="FAILURE_REASON_NO_ROUTE",C.FAILURE_REASON_ERROR="FAILURE_REASON_ERROR",C.FAILURE_REASON_INCORRECT_PAYMENT_DETAILS="FAILURE_REASON_INCORRECT_PAYMENT_DETAILS",C.FAILURE_REASON_INSUFFICIENT_BALANCE="FAILURE_REASON_INSUFFICIENT_BALANCE",C.UNRECOGNIZED="UNRECOGNIZED",(i=e.FeatureBit||(e.FeatureBit={})).DATALOSS_PROTECT_REQ="DATALOSS_PROTECT_REQ",i.DATALOSS_PROTECT_OPT="DATALOSS_PROTECT_OPT",i.INITIAL_ROUING_SYNC="INITIAL_ROUING_SYNC",i.UPFRONT_SHUTDOWN_SCRIPT_REQ="UPFRONT_SHUTDOWN_SCRIPT_REQ",i.UPFRONT_SHUTDOWN_SCRIPT_OPT="UPFRONT_SHUTDOWN_SCRIPT_OPT",i.GOSSIP_QUERIES_REQ="GOSSIP_QUERIES_REQ",i.GOSSIP_QUERIES_OPT="GOSSIP_QUERIES_OPT",i.TLV_ONION_REQ="TLV_ONION_REQ",i.TLV_ONION_OPT="TLV_ONION_OPT",i.EXT_GOSSIP_QUERIES_REQ="EXT_GOSSIP_QUERIES_REQ",i.EXT_GOSSIP_QUERIES_OPT="EXT_GOSSIP_QUERIES_OPT",i.STATIC_REMOTE_KEY_REQ="STATIC_REMOTE_KEY_REQ",i.STATIC_REMOTE_KEY_OPT="STATIC_REMOTE_KEY_OPT",i.PAYMENT_ADDR_REQ="PAYMENT_ADDR_REQ",i.PAYMENT_ADDR_OPT="PAYMENT_ADDR_OPT",i.MPP_REQ="MPP_REQ",i.MPP_OPT="MPP_OPT",i.WUMBO_CHANNELS_REQ="WUMBO_CHANNELS_REQ",i.WUMBO_CHANNELS_OPT="WUMBO_CHANNELS_OPT",i.ANCHORS_REQ="ANCHORS_REQ",i.ANCHORS_OPT="ANCHORS_OPT",i.ANCHORS_ZERO_FEE_HTLC_REQ="ANCHORS_ZERO_FEE_HTLC_REQ",i.ANCHORS_ZERO_FEE_HTLC_OPT="ANCHORS_ZERO_FEE_HTLC_OPT",i.AMP_REQ="AMP_REQ",i.AMP_OPT="AMP_OPT",i.UNRECOGNIZED="UNRECOGNIZED",(A=e.UpdateFailure||(e.UpdateFailure={})).UPDATE_FAILURE_UNKNOWN="UPDATE_FAILURE_UNKNOWN",A.UPDATE_FAILURE_PENDING="UPDATE_FAILURE_PENDING",A.UPDATE_FAILURE_NOT_FOUND="UPDATE_FAILURE_NOT_FOUND",A.UPDATE_FAILURE_INTERNAL_ERR="UPDATE_FAILURE_INTERNAL_ERR",A.UPDATE_FAILURE_INVALID_PARAMETER="UPDATE_FAILURE_INVALID_PARAMETER",A.UNRECOGNIZED="UNRECOGNIZED",(I=e.ChannelCloseSummary_ClosureType||(e.ChannelCloseSummary_ClosureType={})).COOPERATIVE_CLOSE="COOPERATIVE_CLOSE",I.LOCAL_FORCE_CLOSE="LOCAL_FORCE_CLOSE",I.REMOTE_FORCE_CLOSE="REMOTE_FORCE_CLOSE",I.BREACH_CLOSE="BREACH_CLOSE",I.FUNDING_CANCELED="FUNDING_CANCELED",I.ABANDONED="ABANDONED",I.UNRECOGNIZED="UNRECOGNIZED",(R=e.Peer_SyncType||(e.Peer_SyncType={})).UNKNOWN_SYNC="UNKNOWN_SYNC",R.ACTIVE_SYNC="ACTIVE_SYNC",R.PASSIVE_SYNC="PASSIVE_SYNC",R.PINNED_SYNC="PINNED_SYNC",R.UNRECOGNIZED="UNRECOGNIZED",(n=e.PeerEvent_EventType||(e.PeerEvent_EventType={})).PEER_ONLINE="PEER_ONLINE",n.PEER_OFFLINE="PEER_OFFLINE",n.UNRECOGNIZED="UNRECOGNIZED",(r=e.PendingChannelsResponse_ForceClosedChannel_AnchorState||(e.PendingChannelsResponse_ForceClosedChannel_AnchorState={})).LIMBO="LIMBO",r.RECOVERED="RECOVERED",r.LOST="LOST",r.UNRECOGNIZED="UNRECOGNIZED",(T=e.ChannelEventUpdate_UpdateType||(e.ChannelEventUpdate_UpdateType={})).OPEN_CHANNEL="OPEN_CHANNEL",T.CLOSED_CHANNEL="CLOSED_CHANNEL",T.ACTIVE_CHANNEL="ACTIVE_CHANNEL",T.INACTIVE_CHANNEL="INACTIVE_CHANNEL",T.PENDING_OPEN_CHANNEL="PENDING_OPEN_CHANNEL",T.FULLY_RESOLVED_CHANNEL="FULLY_RESOLVED_CHANNEL",T.UNRECOGNIZED="UNRECOGNIZED",(O=e.Invoice_InvoiceState||(e.Invoice_InvoiceState={})).OPEN="OPEN",O.SETTLED="SETTLED",O.CANCELED="CANCELED",O.ACCEPTED="ACCEPTED",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.Payment_PaymentStatus||(e.Payment_PaymentStatus={})).UNKNOWN="UNKNOWN",t.IN_FLIGHT="IN_FLIGHT",t.SUCCEEDED="SUCCEEDED",t.FAILED="FAILED",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.HTLCAttempt_HTLCStatus||(e.HTLCAttempt_HTLCStatus={})).IN_FLIGHT="IN_FLIGHT",N.SUCCEEDED="SUCCEEDED",N.FAILED="FAILED",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.Failure_FailureCode||(e.Failure_FailureCode={})).RESERVED="RESERVED",_.INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS",_.INCORRECT_PAYMENT_AMOUNT="INCORRECT_PAYMENT_AMOUNT",_.FINAL_INCORRECT_CLTV_EXPIRY="FINAL_INCORRECT_CLTV_EXPIRY",_.FINAL_INCORRECT_HTLC_AMOUNT="FINAL_INCORRECT_HTLC_AMOUNT",_.FINAL_EXPIRY_TOO_SOON="FINAL_EXPIRY_TOO_SOON",_.INVALID_REALM="INVALID_REALM",_.EXPIRY_TOO_SOON="EXPIRY_TOO_SOON",_.INVALID_ONION_VERSION="INVALID_ONION_VERSION",_.INVALID_ONION_HMAC="INVALID_ONION_HMAC",_.INVALID_ONION_KEY="INVALID_ONION_KEY",_.AMOUNT_BELOW_MINIMUM="AMOUNT_BELOW_MINIMUM",_.FEE_INSUFFICIENT="FEE_INSUFFICIENT",_.INCORRECT_CLTV_EXPIRY="INCORRECT_CLTV_EXPIRY",_.CHANNEL_DISABLED="CHANNEL_DISABLED",_.TEMPORARY_CHANNEL_FAILURE="TEMPORARY_CHANNEL_FAILURE",_.REQUIRED_NODE_FEATURE_MISSING="REQUIRED_NODE_FEATURE_MISSING",_.REQUIRED_CHANNEL_FEATURE_MISSING="REQUIRED_CHANNEL_FEATURE_MISSING",_.UNKNOWN_NEXT_PEER="UNKNOWN_NEXT_PEER",_.TEMPORARY_NODE_FAILURE="TEMPORARY_NODE_FAILURE",_.PERMANENT_NODE_FAILURE="PERMANENT_NODE_FAILURE",_.PERMANENT_CHANNEL_FAILURE="PERMANENT_CHANNEL_FAILURE",_.EXPIRY_TOO_FAR="EXPIRY_TOO_FAR",_.MPP_TIMEOUT="MPP_TIMEOUT",_.INVALID_ONION_PAYLOAD="INVALID_ONION_PAYLOAD",_.INTERNAL_FAILURE="INTERNAL_FAILURE",_.UNKNOWN_FAILURE="UNKNOWN_FAILURE",_.UNREADABLE_FAILURE="UNREADABLE_FAILURE",_.UNRECOGNIZED="UNRECOGNIZED"},288:(E,e)=>{var _,N,t,O,T;Object.defineProperty(e,"__esModule",{value:!0}),e.HtlcEvent_EventType=e.ChanStatusAction=e.ResolveHoldForwardAction=e.PaymentState=e.FailureDetail=void 0,(T=e.FailureDetail||(e.FailureDetail={})).UNKNOWN="UNKNOWN",T.NO_DETAIL="NO_DETAIL",T.ONION_DECODE="ONION_DECODE",T.LINK_NOT_ELIGIBLE="LINK_NOT_ELIGIBLE",T.ON_CHAIN_TIMEOUT="ON_CHAIN_TIMEOUT",T.HTLC_EXCEEDS_MAX="HTLC_EXCEEDS_MAX",T.INSUFFICIENT_BALANCE="INSUFFICIENT_BALANCE",T.INCOMPLETE_FORWARD="INCOMPLETE_FORWARD",T.HTLC_ADD_FAILED="HTLC_ADD_FAILED",T.FORWARDS_DISABLED="FORWARDS_DISABLED",T.INVOICE_CANCELED="INVOICE_CANCELED",T.INVOICE_UNDERPAID="INVOICE_UNDERPAID",T.INVOICE_EXPIRY_TOO_SOON="INVOICE_EXPIRY_TOO_SOON",T.INVOICE_NOT_OPEN="INVOICE_NOT_OPEN",T.MPP_INVOICE_TIMEOUT="MPP_INVOICE_TIMEOUT",T.ADDRESS_MISMATCH="ADDRESS_MISMATCH",T.SET_TOTAL_MISMATCH="SET_TOTAL_MISMATCH",T.SET_TOTAL_TOO_LOW="SET_TOTAL_TOO_LOW",T.SET_OVERPAID="SET_OVERPAID",T.UNKNOWN_INVOICE="UNKNOWN_INVOICE",T.INVALID_KEYSEND="INVALID_KEYSEND",T.MPP_IN_PROGRESS="MPP_IN_PROGRESS",T.CIRCULAR_ROUTE="CIRCULAR_ROUTE",T.UNRECOGNIZED="UNRECOGNIZED",(O=e.PaymentState||(e.PaymentState={})).IN_FLIGHT="IN_FLIGHT",O.SUCCEEDED="SUCCEEDED",O.FAILED_TIMEOUT="FAILED_TIMEOUT",O.FAILED_NO_ROUTE="FAILED_NO_ROUTE",O.FAILED_ERROR="FAILED_ERROR",O.FAILED_INCORRECT_PAYMENT_DETAILS="FAILED_INCORRECT_PAYMENT_DETAILS",O.FAILED_INSUFFICIENT_BALANCE="FAILED_INSUFFICIENT_BALANCE",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.ResolveHoldForwardAction||(e.ResolveHoldForwardAction={})).SETTLE="SETTLE",t.FAIL="FAIL",t.RESUME="RESUME",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.ChanStatusAction||(e.ChanStatusAction={})).ENABLE="ENABLE",N.DISABLE="DISABLE",N.AUTO="AUTO",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.HtlcEvent_EventType||(e.HtlcEvent_EventType={})).UNKNOWN="UNKNOWN",_.SEND="SEND",_.RECEIVE="RECEIVE",_.FORWARD="FORWARD",_.UNRECOGNIZED="UNRECOGNIZED"},885:(E,e)=>{var _;Object.defineProperty(e,"__esModule",{value:!0}),e.SignMethod=void 0,(_=e.SignMethod||(e.SignMethod={})).SIGN_METHOD_WITNESS_V0="SIGN_METHOD_WITNESS_V0",_.SIGN_METHOD_TAPROOT_KEY_SPEND_BIP0086="SIGN_METHOD_TAPROOT_KEY_SPEND_BIP0086",_.SIGN_METHOD_TAPROOT_KEY_SPEND="SIGN_METHOD_TAPROOT_KEY_SPEND",_.SIGN_METHOD_TAPROOT_SCRIPT_SPEND="SIGN_METHOD_TAPROOT_SCRIPT_SPEND",_.UNRECOGNIZED="UNRECOGNIZED"},213:(E,e)=>{var _,N;Object.defineProperty(e,"__esModule",{value:!0}),e.WitnessType=e.AddressType=void 0,(N=e.AddressType||(e.AddressType={})).UNKNOWN="UNKNOWN",N.WITNESS_PUBKEY_HASH="WITNESS_PUBKEY_HASH",N.NESTED_WITNESS_PUBKEY_HASH="NESTED_WITNESS_PUBKEY_HASH",N.HYBRID_NESTED_WITNESS_PUBKEY_HASH="HYBRID_NESTED_WITNESS_PUBKEY_HASH",N.TAPROOT_PUBKEY="TAPROOT_PUBKEY",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.WitnessType||(e.WitnessType={})).UNKNOWN_WITNESS="UNKNOWN_WITNESS",_.COMMITMENT_TIME_LOCK="COMMITMENT_TIME_LOCK",_.COMMITMENT_NO_DELAY="COMMITMENT_NO_DELAY",_.COMMITMENT_REVOKE="COMMITMENT_REVOKE",_.HTLC_OFFERED_REVOKE="HTLC_OFFERED_REVOKE",_.HTLC_ACCEPTED_REVOKE="HTLC_ACCEPTED_REVOKE",_.HTLC_OFFERED_TIMEOUT_SECOND_LEVEL="HTLC_OFFERED_TIMEOUT_SECOND_LEVEL",_.HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL="HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL",_.HTLC_OFFERED_REMOTE_TIMEOUT="HTLC_OFFERED_REMOTE_TIMEOUT",_.HTLC_ACCEPTED_REMOTE_SUCCESS="HTLC_ACCEPTED_REMOTE_SUCCESS",_.HTLC_SECOND_LEVEL_REVOKE="HTLC_SECOND_LEVEL_REVOKE",_.WITNESS_KEY_HASH="WITNESS_KEY_HASH",_.NESTED_WITNESS_KEY_HASH="NESTED_WITNESS_KEY_HASH",_.COMMITMENT_ANCHOR="COMMITMENT_ANCHOR",_.UNRECOGNIZED="UNRECOGNIZED"},939:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},482:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},921:(E,e)=>{var _;Object.defineProperty(e,"__esModule",{value:!0}),e.PolicyType=void 0,(_=e.PolicyType||(e.PolicyType={})).LEGACY="LEGACY",_.ANCHOR="ANCHOR",_.UNRECOGNIZED="UNRECOGNIZED"},452:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(21),e),t(_(939),e)},598:(E,e)=>{var _,N,t,O,T;Object.defineProperty(e,"__esModule",{value:!0}),e.AutoReason=e.LiquidityRuleType=e.FailureReason=e.SwapState=e.SwapType=void 0,(T=e.SwapType||(e.SwapType={})).LOOP_OUT="LOOP_OUT",T.LOOP_IN="LOOP_IN",T.UNRECOGNIZED="UNRECOGNIZED",(O=e.SwapState||(e.SwapState={})).INITIATED="INITIATED",O.PREIMAGE_REVEALED="PREIMAGE_REVEALED",O.HTLC_PUBLISHED="HTLC_PUBLISHED",O.SUCCESS="SUCCESS",O.FAILED="FAILED",O.INVOICE_SETTLED="INVOICE_SETTLED",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.FailureReason||(e.FailureReason={})).FAILURE_REASON_NONE="FAILURE_REASON_NONE",t.FAILURE_REASON_OFFCHAIN="FAILURE_REASON_OFFCHAIN",t.FAILURE_REASON_TIMEOUT="FAILURE_REASON_TIMEOUT",t.FAILURE_REASON_SWEEP_TIMEOUT="FAILURE_REASON_SWEEP_TIMEOUT",t.FAILURE_REASON_INSUFFICIENT_VALUE="FAILURE_REASON_INSUFFICIENT_VALUE",t.FAILURE_REASON_TEMPORARY="FAILURE_REASON_TEMPORARY",t.FAILURE_REASON_INCORRECT_AMOUNT="FAILURE_REASON_INCORRECT_AMOUNT",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.LiquidityRuleType||(e.LiquidityRuleType={})).UNKNOWN="UNKNOWN",N.THRESHOLD="THRESHOLD",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.AutoReason||(e.AutoReason={})).AUTO_REASON_UNKNOWN="AUTO_REASON_UNKNOWN",_.AUTO_REASON_BUDGET_NOT_STARTED="AUTO_REASON_BUDGET_NOT_STARTED",_.AUTO_REASON_SWEEP_FEES="AUTO_REASON_SWEEP_FEES",_.AUTO_REASON_BUDGET_ELAPSED="AUTO_REASON_BUDGET_ELAPSED",_.AUTO_REASON_IN_FLIGHT="AUTO_REASON_IN_FLIGHT",_.AUTO_REASON_SWAP_FEE="AUTO_REASON_SWAP_FEE",_.AUTO_REASON_MINER_FEE="AUTO_REASON_MINER_FEE",_.AUTO_REASON_PREPAY="AUTO_REASON_PREPAY",_.AUTO_REASON_FAILURE_BACKOFF="AUTO_REASON_FAILURE_BACKOFF",_.AUTO_REASON_LOOP_OUT="AUTO_REASON_LOOP_OUT",_.AUTO_REASON_LOOP_IN="AUTO_REASON_LOOP_IN",_.AUTO_REASON_LIQUIDITY_OK="AUTO_REASON_LIQUIDITY_OK",_.AUTO_REASON_BUDGET_INSUFFICIENT="AUTO_REASON_BUDGET_INSUFFICIENT",_.AUTO_REASON_FEE_INSUFFICIENT="AUTO_REASON_FEE_INSUFFICIENT",_.UNRECOGNIZED="UNRECOGNIZED"},283:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},11:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(598),e),t(_(283),e)},927:(E,e)=>{var _,N,t,O,T,r,n,R,I,A,i,C,o,S;Object.defineProperty(e,"__esModule",{value:!0}),e.InvalidOrder_FailReason=e.AccountDiff_AccountState=e.SubscribeError_Error=e.OrderReject_OrderRejectReason=e.OrderMatchReject_RejectReason=e.DurationBucketState=e.OrderState=e.ChannelConfirmationConstraints=e.ChannelAnnouncementConstraints=e.NodeTier=e.AuctionType=e.OrderChannelType=e.AuctionAccountState=e.ChannelType=void 0,(S=e.ChannelType||(e.ChannelType={})).TWEAKLESS="TWEAKLESS",S.ANCHORS="ANCHORS",S.SCRIPT_ENFORCED_LEASE="SCRIPT_ENFORCED_LEASE",S.UNRECOGNIZED="UNRECOGNIZED",(o=e.AuctionAccountState||(e.AuctionAccountState={})).STATE_PENDING_OPEN="STATE_PENDING_OPEN",o.STATE_OPEN="STATE_OPEN",o.STATE_EXPIRED="STATE_EXPIRED",o.STATE_PENDING_UPDATE="STATE_PENDING_UPDATE",o.STATE_CLOSED="STATE_CLOSED",o.STATE_PENDING_BATCH="STATE_PENDING_BATCH",o.STATE_EXPIRED_PENDING_UPDATE="STATE_EXPIRED_PENDING_UPDATE",o.UNRECOGNIZED="UNRECOGNIZED",(C=e.OrderChannelType||(e.OrderChannelType={})).ORDER_CHANNEL_TYPE_UNKNOWN="ORDER_CHANNEL_TYPE_UNKNOWN",C.ORDER_CHANNEL_TYPE_PEER_DEPENDENT="ORDER_CHANNEL_TYPE_PEER_DEPENDENT",C.ORDER_CHANNEL_TYPE_SCRIPT_ENFORCED="ORDER_CHANNEL_TYPE_SCRIPT_ENFORCED",C.UNRECOGNIZED="UNRECOGNIZED",(i=e.AuctionType||(e.AuctionType={})).AUCTION_TYPE_BTC_INBOUND_LIQUIDITY="AUCTION_TYPE_BTC_INBOUND_LIQUIDITY",i.AUCTION_TYPE_BTC_OUTBOUND_LIQUIDITY="AUCTION_TYPE_BTC_OUTBOUND_LIQUIDITY",i.UNRECOGNIZED="UNRECOGNIZED",(A=e.NodeTier||(e.NodeTier={})).TIER_DEFAULT="TIER_DEFAULT",A.TIER_0="TIER_0",A.TIER_1="TIER_1",A.UNRECOGNIZED="UNRECOGNIZED",(I=e.ChannelAnnouncementConstraints||(e.ChannelAnnouncementConstraints={})).ANNOUNCEMENT_NO_PREFERENCE="ANNOUNCEMENT_NO_PREFERENCE",I.ONLY_ANNOUNCED="ONLY_ANNOUNCED",I.ONLY_UNANNOUNCED="ONLY_UNANNOUNCED",I.UNRECOGNIZED="UNRECOGNIZED",(R=e.ChannelConfirmationConstraints||(e.ChannelConfirmationConstraints={})).CONFIRMATION_NO_PREFERENCE="CONFIRMATION_NO_PREFERENCE",R.ONLY_CONFIRMED="ONLY_CONFIRMED",R.ONLY_ZEROCONF="ONLY_ZEROCONF",R.UNRECOGNIZED="UNRECOGNIZED",(n=e.OrderState||(e.OrderState={})).ORDER_SUBMITTED="ORDER_SUBMITTED",n.ORDER_CLEARED="ORDER_CLEARED",n.ORDER_PARTIALLY_FILLED="ORDER_PARTIALLY_FILLED",n.ORDER_EXECUTED="ORDER_EXECUTED",n.ORDER_CANCELED="ORDER_CANCELED",n.ORDER_EXPIRED="ORDER_EXPIRED",n.ORDER_FAILED="ORDER_FAILED",n.UNRECOGNIZED="UNRECOGNIZED",(r=e.DurationBucketState||(e.DurationBucketState={})).NO_MARKET="NO_MARKET",r.MARKET_CLOSED="MARKET_CLOSED",r.ACCEPTING_ORDERS="ACCEPTING_ORDERS",r.MARKET_OPEN="MARKET_OPEN",r.UNRECOGNIZED="UNRECOGNIZED",(T=e.OrderMatchReject_RejectReason||(e.OrderMatchReject_RejectReason={})).UNKNOWN="UNKNOWN",T.SERVER_MISBEHAVIOR="SERVER_MISBEHAVIOR",T.BATCH_VERSION_MISMATCH="BATCH_VERSION_MISMATCH",T.PARTIAL_REJECT="PARTIAL_REJECT",T.UNRECOGNIZED="UNRECOGNIZED",(O=e.OrderReject_OrderRejectReason||(e.OrderReject_OrderRejectReason={})).DUPLICATE_PEER="DUPLICATE_PEER",O.CHANNEL_FUNDING_FAILED="CHANNEL_FUNDING_FAILED",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.SubscribeError_Error||(e.SubscribeError_Error={})).UNKNOWN="UNKNOWN",t.SERVER_SHUTDOWN="SERVER_SHUTDOWN",t.ACCOUNT_DOES_NOT_EXIST="ACCOUNT_DOES_NOT_EXIST",t.INCOMPLETE_ACCOUNT_RESERVATION="INCOMPLETE_ACCOUNT_RESERVATION",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.AccountDiff_AccountState||(e.AccountDiff_AccountState={})).OUTPUT_RECREATED="OUTPUT_RECREATED",N.OUTPUT_DUST_EXTENDED_OFFCHAIN="OUTPUT_DUST_EXTENDED_OFFCHAIN",N.OUTPUT_DUST_ADDED_TO_FEES="OUTPUT_DUST_ADDED_TO_FEES",N.OUTPUT_FULLY_SPENT="OUTPUT_FULLY_SPENT",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.InvalidOrder_FailReason||(e.InvalidOrder_FailReason={})).INVALID_AMT="INVALID_AMT",_.UNRECOGNIZED="UNRECOGNIZED"},961:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},456:(E,e)=>{var _,N,t,O;Object.defineProperty(e,"__esModule",{value:!0}),e.MatchRejectReason=e.MatchState=e.AccountState=e.AccountVersion=void 0,(O=e.AccountVersion||(e.AccountVersion={})).ACCOUNT_VERSION_LND_DEPENDENT="ACCOUNT_VERSION_LND_DEPENDENT",O.ACCOUNT_VERSION_LEGACY="ACCOUNT_VERSION_LEGACY",O.ACCOUNT_VERSION_TAPROOT="ACCOUNT_VERSION_TAPROOT",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.AccountState||(e.AccountState={})).PENDING_OPEN="PENDING_OPEN",t.PENDING_UPDATE="PENDING_UPDATE",t.OPEN="OPEN",t.EXPIRED="EXPIRED",t.PENDING_CLOSED="PENDING_CLOSED",t.CLOSED="CLOSED",t.RECOVERY_FAILED="RECOVERY_FAILED",t.PENDING_BATCH="PENDING_BATCH",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.MatchState||(e.MatchState={})).PREPARE="PREPARE",N.ACCEPTED="ACCEPTED",N.REJECTED="REJECTED",N.SIGNED="SIGNED",N.FINALIZED="FINALIZED",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.MatchRejectReason||(e.MatchRejectReason={})).NONE="NONE",_.SERVER_MISBEHAVIOR="SERVER_MISBEHAVIOR",_.BATCH_VERSION_MISMATCH="BATCH_VERSION_MISMATCH",_.PARTIAL_REJECT_COLLATERAL="PARTIAL_REJECT_COLLATERAL",_.PARTIAL_REJECT_DUPLICATE_PEER="PARTIAL_REJECT_DUPLICATE_PEER",_.PARTIAL_REJECT_CHANNEL_FUNDING_FAILED="PARTIAL_REJECT_CHANNEL_FUNDING_FAILED",_.UNRECOGNIZED="UNRECOGNIZED"},377:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(927),e),t(_(961),e),t(_(456),e)},226:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(288),e)},644:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.subscriptionMethods=e.serviceNames=void 0,e.serviceNames={frdrpc:{FaradayServer:"frdrpc.FaradayServer"},litrpc:{Firewall:"litrpc.Firewall",Autopilot:"litrpc.Autopilot",Sessions:"litrpc.Sessions"},autopilotrpc:{Autopilot:"autopilotrpc.Autopilot"},chainrpc:{ChainNotifier:"chainrpc.ChainNotifier"},invoicesrpc:{Invoices:"invoicesrpc.Invoices"},lnrpc:{Lightning:"lnrpc.Lightning",WalletUnlocker:"lnrpc.WalletUnlocker"},routerrpc:{Router:"routerrpc.Router"},signrpc:{Signer:"signrpc.Signer"},walletrpc:{WalletKit:"walletrpc.WalletKit"},watchtowerrpc:{Watchtower:"watchtowerrpc.Watchtower"},wtclientrpc:{WatchtowerClient:"wtclientrpc.WatchtowerClient"},looprpc:{SwapClient:"looprpc.SwapClient",Debug:"looprpc.Debug"},poolrpc:{ChannelAuctioneer:"poolrpc.ChannelAuctioneer",HashMail:"poolrpc.HashMail",Trader:"poolrpc.Trader"}},e.subscriptionMethods=["chainrpc.ChainNotifier.RegisterConfirmationsNtfn","chainrpc.ChainNotifier.RegisterSpendNtfn","chainrpc.ChainNotifier.RegisterBlockEpochNtfn","invoicesrpc.Invoices.SubscribeSingleInvoice","lnrpc.Lightning.SubscribeTransactions","lnrpc.Lightning.SubscribePeerEvents","lnrpc.Lightning.SubscribeChannelEvents","lnrpc.Lightning.OpenChannel","lnrpc.Lightning.ChannelAcceptor","lnrpc.Lightning.CloseChannel","lnrpc.Lightning.SendPayment","lnrpc.Lightning.SendToRoute","lnrpc.Lightning.SubscribeInvoices","lnrpc.Lightning.SubscribeChannelGraph","lnrpc.Lightning.SubscribeChannelBackups","lnrpc.Lightning.RegisterRPCMiddleware","lnrpc.Lightning.SubscribeCustomMessages","routerrpc.Router.SendPaymentV2","routerrpc.Router.TrackPaymentV2","routerrpc.Router.SubscribeHtlcEvents","routerrpc.Router.SendPayment","routerrpc.Router.TrackPayment","routerrpc.Router.HtlcInterceptor","looprpc.SwapClient.Monitor","poolrpc.ChannelAuctioneer.SubscribeBatchAuction","poolrpc.ChannelAuctioneer.SubscribeSidecar","poolrpc.HashMail.RecvStream"]},207:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(885),e)},367:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(213),e)},412:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(482),e)},946:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(921),e)},848:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.camelKeysToSnake=e.snakeKeysToCamel=e.isObject=void 0;var _=function(E){return Array.isArray(E)};e.isObject=function(E){return E===Object(E)&&!_(E)&&"function"!=typeof E},e.snakeKeysToCamel=function(E){if((0,e.isObject)(E)){var N={};return Object.keys(E).forEach((function(_){var t;N[(t=_,t.replace(/([-_][a-z])/gi,(function(E){return E.toUpperCase().replace("-","").replace("_","")})))]=(0,e.snakeKeysToCamel)(E[_])})),N}return _(E)?E.map((function(E){return(0,e.snakeKeysToCamel)(E)})):E},e.camelKeysToSnake=function(E){if((0,e.isObject)(E)){var N={};return Object.keys(E).forEach((function(_){var t;N[(t=_,t.replace(/[A-Z]/g,(function(E){return"_".concat(E.toLowerCase())})))]=(0,e.camelKeysToSnake)(E[_])})),N}return _(E)?E.map((function(E){return(0,e.camelKeysToSnake)(E)})):E}}},e={};return function _(N){var t=e[N];if(void 0!==t)return t.exports;var O=e[N]={exports:{}};return E[N].call(O.exports,O,O.exports,_),O.exports}(713)})()})); |
import * as frdrpc from './frdrpc'; | ||
import * as litrpc from './litrpc'; | ||
import * as autopilotrpc from './autopilotrpc'; | ||
@@ -13,3 +14,3 @@ import * as chainrpc from './chainrpc'; | ||
import * as poolrpc from './poolrpc'; | ||
export { frdrpc, autopilotrpc, chainrpc, invoicesrpc, lnrpc, routerrpc, signrpc, walletrpc, watchtowerrpc, wtclientrpc, looprpc, poolrpc }; | ||
export { frdrpc, litrpc, autopilotrpc, chainrpc, invoicesrpc, lnrpc, routerrpc, signrpc, walletrpc, watchtowerrpc, wtclientrpc, looprpc, poolrpc }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -5,2 +5,7 @@ export declare const serviceNames: { | ||
}; | ||
litrpc: { | ||
Firewall: string; | ||
Autopilot: string; | ||
Sessions: string; | ||
}; | ||
autopilotrpc: { | ||
@@ -7,0 +12,0 @@ Autopilot: string; |
{ | ||
"name": "@lightninglabs/lnc-core", | ||
"version": "0.2.2-alpha", | ||
"version": "0.2.3-alpha", | ||
"description": "Type definitions and utilities for Lightning Node Connect", | ||
@@ -12,2 +12,3 @@ "main": "./dist/index.js", | ||
"faraday_release_tag": "v0.2.9-alpha", | ||
"lit_release_tag": "v0.8.6-alpha", | ||
"protoc_version": "21.9" | ||
@@ -18,4 +19,4 @@ }, | ||
"dev": "webpack --watch --stats-error-details", | ||
"update-protos": "sh scripts/update_protos.sh ${npm_package_config_lnd_release_tag} ${npm_package_config_loop_release_tag} ${npm_package_config_pool_release_tag} ${npm_package_config_faraday_release_tag}", | ||
"generate": "sh scripts/generate_types.sh ${npm_package_config_lnd_release_tag} ${npm_package_config_loop_release_tag} ${npm_package_config_pool_release_tag} ${npm_package_config_faraday_release_tag} ${npm_package_config_protoc_version}", | ||
"update-protos": "sh scripts/update_protos.sh ${npm_package_config_lnd_release_tag} ${npm_package_config_loop_release_tag} ${npm_package_config_pool_release_tag} ${npm_package_config_faraday_release_tag} ${npm_package_config_lit_release_tag}", | ||
"generate": "sh scripts/generate_types.sh ${npm_package_config_lnd_release_tag} ${npm_package_config_loop_release_tag} ${npm_package_config_pool_release_tag} ${npm_package_config_faraday_release_tag} ${npm_package_config_lit_release_tag} ${npm_package_config_protoc_version}", | ||
"prettier": "prettier --check '**/*.ts*'", | ||
@@ -22,0 +23,0 @@ "prettier-write": "prettier --check --write '**/*.ts*'", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
646965
89
11308