Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lightninglabs/lnc-core

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightninglabs/lnc-core - npm Package Compare versions

Comparing version 0.2.4-alpha to 0.2.5-alpha

dist/api/tapd.d.ts

1

dist/api/index.d.ts

@@ -5,3 +5,4 @@ export { default as LndApi } from './lnd';

export { default as FaradayApi } from './faraday';
export { default as TaprootAssetsApi } from './tapd';
export { default as LitApi } from './lit';
//# sourceMappingURL=index.d.ts.map

2

dist/index.d.ts
export * from './types/proto';
export { camelKeysToSnake, isObject, snakeKeysToCamel } from './util/objects';
export { LndApi, LoopApi, PoolApi, FaradayApi, LitApi } from './api';
export { LndApi, LoopApi, PoolApi, FaradayApi, LitApi, TaprootAssetsApi } 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()}(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 R=_(929);Object.defineProperty(e,"LitApi",{enumerable:!0,get:function(){return N(R).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 R=O(_(273));e.autopilotrpc=R;var n=O(_(71));e.chainrpc=n;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,R,n,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",(n=e.Peer_SyncType||(e.Peer_SyncType={})).UNKNOWN_SYNC="UNKNOWN_SYNC",n.ACTIVE_SYNC="ACTIVE_SYNC",n.PASSIVE_SYNC="PASSIVE_SYNC",n.PINNED_SYNC="PINNED_SYNC",n.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",(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,r;Object.defineProperty(e,"__esModule",{value:!0}),e.HtlcEvent_EventType=e.MissionControlConfig_ProbabilityModel=e.ChanStatusAction=e.ResolveHoldForwardAction=e.PaymentState=e.FailureDetail=void 0,(r=e.FailureDetail||(e.FailureDetail={})).UNKNOWN="UNKNOWN",r.NO_DETAIL="NO_DETAIL",r.ONION_DECODE="ONION_DECODE",r.LINK_NOT_ELIGIBLE="LINK_NOT_ELIGIBLE",r.ON_CHAIN_TIMEOUT="ON_CHAIN_TIMEOUT",r.HTLC_EXCEEDS_MAX="HTLC_EXCEEDS_MAX",r.INSUFFICIENT_BALANCE="INSUFFICIENT_BALANCE",r.INCOMPLETE_FORWARD="INCOMPLETE_FORWARD",r.HTLC_ADD_FAILED="HTLC_ADD_FAILED",r.FORWARDS_DISABLED="FORWARDS_DISABLED",r.INVOICE_CANCELED="INVOICE_CANCELED",r.INVOICE_UNDERPAID="INVOICE_UNDERPAID",r.INVOICE_EXPIRY_TOO_SOON="INVOICE_EXPIRY_TOO_SOON",r.INVOICE_NOT_OPEN="INVOICE_NOT_OPEN",r.MPP_INVOICE_TIMEOUT="MPP_INVOICE_TIMEOUT",r.ADDRESS_MISMATCH="ADDRESS_MISMATCH",r.SET_TOTAL_MISMATCH="SET_TOTAL_MISMATCH",r.SET_TOTAL_TOO_LOW="SET_TOTAL_TOO_LOW",r.SET_OVERPAID="SET_OVERPAID",r.UNKNOWN_INVOICE="UNKNOWN_INVOICE",r.INVALID_KEYSEND="INVALID_KEYSEND",r.MPP_IN_PROGRESS="MPP_IN_PROGRESS",r.CIRCULAR_ROUTE="CIRCULAR_ROUTE",r.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",(t=e.ChanStatusAction||(e.ChanStatusAction={})).ENABLE="ENABLE",t.DISABLE="DISABLE",t.AUTO="AUTO",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.MissionControlConfig_ProbabilityModel||(e.MissionControlConfig_ProbabilityModel={})).APRIORI="APRIORI",N.BIMODAL="BIMODAL",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.HtlcEvent_EventType||(e.HtlcEvent_EventType={})).UNKNOWN="UNKNOWN",_.SEND="SEND",_.RECEIVE="RECEIVE",_.FORWARD="FORWARD",_.UNRECOGNIZED="UNRECOGNIZED"},885:(E,e)=>{var _,N;Object.defineProperty(e,"__esModule",{value:!0}),e.MuSig2Version=e.SignMethod=void 0,(N=e.SignMethod||(e.SignMethod={})).SIGN_METHOD_WITNESS_V0="SIGN_METHOD_WITNESS_V0",N.SIGN_METHOD_TAPROOT_KEY_SPEND_BIP0086="SIGN_METHOD_TAPROOT_KEY_SPEND_BIP0086",N.SIGN_METHOD_TAPROOT_KEY_SPEND="SIGN_METHOD_TAPROOT_KEY_SPEND",N.SIGN_METHOD_TAPROOT_SCRIPT_SPEND="SIGN_METHOD_TAPROOT_SCRIPT_SPEND",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.MuSig2Version||(e.MuSig2Version={})).MUSIG2_VERSION_UNDEFINED="MUSIG2_VERSION_UNDEFINED",_.MUSIG2_VERSION_V040="MUSIG2_VERSION_V040",_.MUSIG2_VERSION_V100RC2="MUSIG2_VERSION_V100RC2",_.UNRECOGNIZED="UNRECOGNIZED"},213:(E,e)=>{var _,N,t;Object.defineProperty(e,"__esModule",{value:!0}),e.ChangeAddressType=e.WitnessType=e.AddressType=void 0,(t=e.AddressType||(e.AddressType={})).UNKNOWN="UNKNOWN",t.WITNESS_PUBKEY_HASH="WITNESS_PUBKEY_HASH",t.NESTED_WITNESS_PUBKEY_HASH="NESTED_WITNESS_PUBKEY_HASH",t.HYBRID_NESTED_WITNESS_PUBKEY_HASH="HYBRID_NESTED_WITNESS_PUBKEY_HASH",t.TAPROOT_PUBKEY="TAPROOT_PUBKEY",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.WitnessType||(e.WitnessType={})).UNKNOWN_WITNESS="UNKNOWN_WITNESS",N.COMMITMENT_TIME_LOCK="COMMITMENT_TIME_LOCK",N.COMMITMENT_NO_DELAY="COMMITMENT_NO_DELAY",N.COMMITMENT_REVOKE="COMMITMENT_REVOKE",N.HTLC_OFFERED_REVOKE="HTLC_OFFERED_REVOKE",N.HTLC_ACCEPTED_REVOKE="HTLC_ACCEPTED_REVOKE",N.HTLC_OFFERED_TIMEOUT_SECOND_LEVEL="HTLC_OFFERED_TIMEOUT_SECOND_LEVEL",N.HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL="HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL",N.HTLC_OFFERED_REMOTE_TIMEOUT="HTLC_OFFERED_REMOTE_TIMEOUT",N.HTLC_ACCEPTED_REMOTE_SUCCESS="HTLC_ACCEPTED_REMOTE_SUCCESS",N.HTLC_SECOND_LEVEL_REVOKE="HTLC_SECOND_LEVEL_REVOKE",N.WITNESS_KEY_HASH="WITNESS_KEY_HASH",N.NESTED_WITNESS_KEY_HASH="NESTED_WITNESS_KEY_HASH",N.COMMITMENT_ANCHOR="COMMITMENT_ANCHOR",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.ChangeAddressType||(e.ChangeAddressType={})).CHANGE_ADDRESS_TYPE_UNSPECIFIED="CHANGE_ADDRESS_TYPE_UNSPECIFIED",_.CHANGE_ADDRESS_TYPE_P2TR="CHANGE_ADDRESS_TYPE_P2TR",_.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,R,n,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",(n=e.ChannelConfirmationConstraints||(e.ChannelConfirmationConstraints={})).CONFIRMATION_NO_PREFERENCE="CONFIRMATION_NO_PREFERENCE",n.ONLY_CONFIRMED="ONLY_CONFIRMED",n.ONLY_ZEROCONF="ONLY_ZEROCONF",n.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",(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.ACCOUNT_VERSION_TAPROOT_V2="ACCOUNT_VERSION_TAPROOT_V2",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.TrackPayments","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)})()}));
!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={6877:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(1644);e.default=function(E,e){this.faradayServer=E(N.serviceNames.frdrpc.FaradayServer,e)}},7382: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.TaprootAssetsApi=e.FaradayApi=e.PoolApi=e.LoopApi=e.LndApi=void 0;var t=_(3152);Object.defineProperty(e,"LndApi",{enumerable:!0,get:function(){return N(t).default}});var O=_(1343);Object.defineProperty(e,"LoopApi",{enumerable:!0,get:function(){return N(O).default}});var T=_(2146);Object.defineProperty(e,"PoolApi",{enumerable:!0,get:function(){return N(T).default}});var r=_(6877);Object.defineProperty(e,"FaradayApi",{enumerable:!0,get:function(){return N(r).default}});var n=_(3151);Object.defineProperty(e,"TaprootAssetsApi",{enumerable:!0,get:function(){return N(n).default}});var A=_(1929);Object.defineProperty(e,"LitApi",{enumerable:!0,get:function(){return N(A).default}})},1929:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(1644);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)}},3152:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(1644);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)}},1343:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(1644);e.default=function(E,e){this.swapClient=E(N.serviceNames.looprpc.SwapClient,e),this.debug=E(N.serviceNames.looprpc.Debug,e)}},2146:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(1644);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)}},3151:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(1644);e.default=function(E,e){this.taprootAssets=E(N.serviceNames.taprpc.TaprootAssets,e),this.mint=E(N.serviceNames.mintrpc.Mint,e),this.assetWallet=E(N.serviceNames.assetwalletrpc.AssetWallet,e),this.universe=E(N.serviceNames.universerpc.Universe,e)}},8713: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.TaprootAssetsApi=e.LitApi=e.FaradayApi=e.PoolApi=e.LoopApi=e.LndApi=e.snakeKeysToCamel=e.isObject=e.camelKeysToSnake=void 0,t(_(5894),e);var O=_(1848);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=_(7382);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}}),Object.defineProperty(e,"TaprootAssetsApi",{enumerable:!0,get:function(){return T.TaprootAssetsApi}});var r=_(1644);Object.defineProperty(e,"subscriptionMethods",{enumerable:!0,get:function(){return r.subscriptionMethods}})},3241: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(_(9825),e)},5273: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(_(6726),e)},1071: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(_(5374),e)},2076:(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(_(2076),e)},5894: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.universerpc=e.taprpc=e.mintrpc=e.assetwalletrpc=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(_(5903));e.litrpc=r;var n=O(_(5273));e.autopilotrpc=n;var A=O(_(1071));e.chainrpc=A;var R=O(_(5312));e.invoicesrpc=R;var I=O(_(8452));e.lnrpc=I;var C=O(_(1226));e.routerrpc=C;var i=O(_(1207));e.signrpc=i;var o=O(_(9367));e.walletrpc=o;var S=O(_(6412));e.watchtowerrpc=S;var a=O(_(3946));e.wtclientrpc=a;var c=O(_(9011));e.looprpc=c;var D=O(_(3377));e.poolrpc=D;var U=O(_(3241));e.assetwalletrpc=U;var P=O(_(956));e.mintrpc=P;var L=O(_(4914));e.taprpc=L;var s=O(_(1877));e.universerpc=s},5312: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(_(6212),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"},6166:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},2199:(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"},5903: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(_(6166),e),t(_(2199),e)},6726:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},5374:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},6212:(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"},9021:(E,e)=>{var _,N,t,O,T,r,n,A,R,I,C,i,o,S,a,c,D,U,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",(U=e.CommitmentType||(e.CommitmentType={})).UNKNOWN_COMMITMENT_TYPE="UNKNOWN_COMMITMENT_TYPE",U.LEGACY="LEGACY",U.STATIC_REMOTE_KEY="STATIC_REMOTE_KEY",U.ANCHORS="ANCHORS",U.SCRIPT_ENFORCED_LEASE="SCRIPT_ENFORCED_LEASE",U.UNRECOGNIZED="UNRECOGNIZED",(D=e.Initiator||(e.Initiator={})).INITIATOR_UNKNOWN="INITIATOR_UNKNOWN",D.INITIATOR_LOCAL="INITIATOR_LOCAL",D.INITIATOR_REMOTE="INITIATOR_REMOTE",D.INITIATOR_BOTH="INITIATOR_BOTH",D.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",(i=e.PaymentFailureReason||(e.PaymentFailureReason={})).FAILURE_REASON_NONE="FAILURE_REASON_NONE",i.FAILURE_REASON_TIMEOUT="FAILURE_REASON_TIMEOUT",i.FAILURE_REASON_NO_ROUTE="FAILURE_REASON_NO_ROUTE",i.FAILURE_REASON_ERROR="FAILURE_REASON_ERROR",i.FAILURE_REASON_INCORRECT_PAYMENT_DETAILS="FAILURE_REASON_INCORRECT_PAYMENT_DETAILS",i.FAILURE_REASON_INSUFFICIENT_BALANCE="FAILURE_REASON_INSUFFICIENT_BALANCE",i.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",(I=e.UpdateFailure||(e.UpdateFailure={})).UPDATE_FAILURE_UNKNOWN="UPDATE_FAILURE_UNKNOWN",I.UPDATE_FAILURE_PENDING="UPDATE_FAILURE_PENDING",I.UPDATE_FAILURE_NOT_FOUND="UPDATE_FAILURE_NOT_FOUND",I.UPDATE_FAILURE_INTERNAL_ERR="UPDATE_FAILURE_INTERNAL_ERR",I.UPDATE_FAILURE_INVALID_PARAMETER="UPDATE_FAILURE_INVALID_PARAMETER",I.UNRECOGNIZED="UNRECOGNIZED",(R=e.ChannelCloseSummary_ClosureType||(e.ChannelCloseSummary_ClosureType={})).COOPERATIVE_CLOSE="COOPERATIVE_CLOSE",R.LOCAL_FORCE_CLOSE="LOCAL_FORCE_CLOSE",R.REMOTE_FORCE_CLOSE="REMOTE_FORCE_CLOSE",R.BREACH_CLOSE="BREACH_CLOSE",R.FUNDING_CANCELED="FUNDING_CANCELED",R.ABANDONED="ABANDONED",R.UNRECOGNIZED="UNRECOGNIZED",(A=e.Peer_SyncType||(e.Peer_SyncType={})).UNKNOWN_SYNC="UNKNOWN_SYNC",A.ACTIVE_SYNC="ACTIVE_SYNC",A.PASSIVE_SYNC="PASSIVE_SYNC",A.PINNED_SYNC="PINNED_SYNC",A.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"},4288:(E,e)=>{var _,N,t,O,T,r;Object.defineProperty(e,"__esModule",{value:!0}),e.HtlcEvent_EventType=e.MissionControlConfig_ProbabilityModel=e.ChanStatusAction=e.ResolveHoldForwardAction=e.PaymentState=e.FailureDetail=void 0,(r=e.FailureDetail||(e.FailureDetail={})).UNKNOWN="UNKNOWN",r.NO_DETAIL="NO_DETAIL",r.ONION_DECODE="ONION_DECODE",r.LINK_NOT_ELIGIBLE="LINK_NOT_ELIGIBLE",r.ON_CHAIN_TIMEOUT="ON_CHAIN_TIMEOUT",r.HTLC_EXCEEDS_MAX="HTLC_EXCEEDS_MAX",r.INSUFFICIENT_BALANCE="INSUFFICIENT_BALANCE",r.INCOMPLETE_FORWARD="INCOMPLETE_FORWARD",r.HTLC_ADD_FAILED="HTLC_ADD_FAILED",r.FORWARDS_DISABLED="FORWARDS_DISABLED",r.INVOICE_CANCELED="INVOICE_CANCELED",r.INVOICE_UNDERPAID="INVOICE_UNDERPAID",r.INVOICE_EXPIRY_TOO_SOON="INVOICE_EXPIRY_TOO_SOON",r.INVOICE_NOT_OPEN="INVOICE_NOT_OPEN",r.MPP_INVOICE_TIMEOUT="MPP_INVOICE_TIMEOUT",r.ADDRESS_MISMATCH="ADDRESS_MISMATCH",r.SET_TOTAL_MISMATCH="SET_TOTAL_MISMATCH",r.SET_TOTAL_TOO_LOW="SET_TOTAL_TOO_LOW",r.SET_OVERPAID="SET_OVERPAID",r.UNKNOWN_INVOICE="UNKNOWN_INVOICE",r.INVALID_KEYSEND="INVALID_KEYSEND",r.MPP_IN_PROGRESS="MPP_IN_PROGRESS",r.CIRCULAR_ROUTE="CIRCULAR_ROUTE",r.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",(t=e.ChanStatusAction||(e.ChanStatusAction={})).ENABLE="ENABLE",t.DISABLE="DISABLE",t.AUTO="AUTO",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.MissionControlConfig_ProbabilityModel||(e.MissionControlConfig_ProbabilityModel={})).APRIORI="APRIORI",N.BIMODAL="BIMODAL",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.HtlcEvent_EventType||(e.HtlcEvent_EventType={})).UNKNOWN="UNKNOWN",_.SEND="SEND",_.RECEIVE="RECEIVE",_.FORWARD="FORWARD",_.UNRECOGNIZED="UNRECOGNIZED"},885:(E,e)=>{var _,N;Object.defineProperty(e,"__esModule",{value:!0}),e.MuSig2Version=e.SignMethod=void 0,(N=e.SignMethod||(e.SignMethod={})).SIGN_METHOD_WITNESS_V0="SIGN_METHOD_WITNESS_V0",N.SIGN_METHOD_TAPROOT_KEY_SPEND_BIP0086="SIGN_METHOD_TAPROOT_KEY_SPEND_BIP0086",N.SIGN_METHOD_TAPROOT_KEY_SPEND="SIGN_METHOD_TAPROOT_KEY_SPEND",N.SIGN_METHOD_TAPROOT_SCRIPT_SPEND="SIGN_METHOD_TAPROOT_SCRIPT_SPEND",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.MuSig2Version||(e.MuSig2Version={})).MUSIG2_VERSION_UNDEFINED="MUSIG2_VERSION_UNDEFINED",_.MUSIG2_VERSION_V040="MUSIG2_VERSION_V040",_.MUSIG2_VERSION_V100RC2="MUSIG2_VERSION_V100RC2",_.UNRECOGNIZED="UNRECOGNIZED"},1213:(E,e)=>{var _,N,t;Object.defineProperty(e,"__esModule",{value:!0}),e.ChangeAddressType=e.WitnessType=e.AddressType=void 0,(t=e.AddressType||(e.AddressType={})).UNKNOWN="UNKNOWN",t.WITNESS_PUBKEY_HASH="WITNESS_PUBKEY_HASH",t.NESTED_WITNESS_PUBKEY_HASH="NESTED_WITNESS_PUBKEY_HASH",t.HYBRID_NESTED_WITNESS_PUBKEY_HASH="HYBRID_NESTED_WITNESS_PUBKEY_HASH",t.TAPROOT_PUBKEY="TAPROOT_PUBKEY",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.WitnessType||(e.WitnessType={})).UNKNOWN_WITNESS="UNKNOWN_WITNESS",N.COMMITMENT_TIME_LOCK="COMMITMENT_TIME_LOCK",N.COMMITMENT_NO_DELAY="COMMITMENT_NO_DELAY",N.COMMITMENT_REVOKE="COMMITMENT_REVOKE",N.HTLC_OFFERED_REVOKE="HTLC_OFFERED_REVOKE",N.HTLC_ACCEPTED_REVOKE="HTLC_ACCEPTED_REVOKE",N.HTLC_OFFERED_TIMEOUT_SECOND_LEVEL="HTLC_OFFERED_TIMEOUT_SECOND_LEVEL",N.HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL="HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL",N.HTLC_OFFERED_REMOTE_TIMEOUT="HTLC_OFFERED_REMOTE_TIMEOUT",N.HTLC_ACCEPTED_REMOTE_SUCCESS="HTLC_ACCEPTED_REMOTE_SUCCESS",N.HTLC_SECOND_LEVEL_REVOKE="HTLC_SECOND_LEVEL_REVOKE",N.WITNESS_KEY_HASH="WITNESS_KEY_HASH",N.NESTED_WITNESS_KEY_HASH="NESTED_WITNESS_KEY_HASH",N.COMMITMENT_ANCHOR="COMMITMENT_ANCHOR",N.COMMITMENT_NO_DELAY_TWEAKLESS="COMMITMENT_NO_DELAY_TWEAKLESS",N.COMMITMENT_TO_REMOTE_CONFIRMED="COMMITMENT_TO_REMOTE_CONFIRMED",N.HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_INPUT_CONFIRMED="HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_INPUT_CONFIRMED",N.HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_INPUT_CONFIRMED="HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_INPUT_CONFIRMED",N.LEASE_COMMITMENT_TIME_LOCK="LEASE_COMMITMENT_TIME_LOCK",N.LEASE_COMMITMENT_TO_REMOTE_CONFIRMED="LEASE_COMMITMENT_TO_REMOTE_CONFIRMED",N.LEASE_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL="LEASE_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL",N.LEASE_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL="LEASE_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL",N.TAPROOT_PUB_KEY_SPEND="TAPROOT_PUB_KEY_SPEND",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.ChangeAddressType||(e.ChangeAddressType={})).CHANGE_ADDRESS_TYPE_UNSPECIFIED="CHANGE_ADDRESS_TYPE_UNSPECIFIED",_.CHANGE_ADDRESS_TYPE_P2TR="CHANGE_ADDRESS_TYPE_P2TR",_.UNRECOGNIZED="UNRECOGNIZED"},7939:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},2482:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},9921:(E,e)=>{var _;Object.defineProperty(e,"__esModule",{value:!0}),e.PolicyType=void 0,(_=e.PolicyType||(e.PolicyType={})).LEGACY="LEGACY",_.ANCHOR="ANCHOR",_.UNRECOGNIZED="UNRECOGNIZED"},8452: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(_(9021),e),t(_(7939),e)},5598:(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"},9283:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},9011: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(_(5598),e),t(_(9283),e)},956: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(_(800),e)},9927:(E,e)=>{var _,N,t,O,T,r,n,A,R,I,C,i,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",(i=e.OrderChannelType||(e.OrderChannelType={})).ORDER_CHANNEL_TYPE_UNKNOWN="ORDER_CHANNEL_TYPE_UNKNOWN",i.ORDER_CHANNEL_TYPE_PEER_DEPENDENT="ORDER_CHANNEL_TYPE_PEER_DEPENDENT",i.ORDER_CHANNEL_TYPE_SCRIPT_ENFORCED="ORDER_CHANNEL_TYPE_SCRIPT_ENFORCED",i.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",(I=e.NodeTier||(e.NodeTier={})).TIER_DEFAULT="TIER_DEFAULT",I.TIER_0="TIER_0",I.TIER_1="TIER_1",I.UNRECOGNIZED="UNRECOGNIZED",(R=e.ChannelAnnouncementConstraints||(e.ChannelAnnouncementConstraints={})).ANNOUNCEMENT_NO_PREFERENCE="ANNOUNCEMENT_NO_PREFERENCE",R.ONLY_ANNOUNCED="ONLY_ANNOUNCED",R.ONLY_UNANNOUNCED="ONLY_UNANNOUNCED",R.UNRECOGNIZED="UNRECOGNIZED",(A=e.ChannelConfirmationConstraints||(e.ChannelConfirmationConstraints={})).CONFIRMATION_NO_PREFERENCE="CONFIRMATION_NO_PREFERENCE",A.ONLY_CONFIRMED="ONLY_CONFIRMED",A.ONLY_ZEROCONF="ONLY_ZEROCONF",A.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"},3961:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},8456:(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.ACCOUNT_VERSION_TAPROOT_V2="ACCOUNT_VERSION_TAPROOT_V2",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"},3377: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(_(9927),e),t(_(3961),e),t(_(8456),e)},1226: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(_(4288),e)},1644:(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"},assetwalletrpc:{AssetWallet:"assetwalletrpc.AssetWallet"},mintrpc:{Mint:"mintrpc.Mint"},taprpc:{TaprootAssets:"taprpc.TaprootAssets"},universerpc:{Universe:"universerpc.Universe"}},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.TrackPayments","routerrpc.Router.SubscribeHtlcEvents","routerrpc.Router.SendPayment","routerrpc.Router.TrackPayment","routerrpc.Router.HtlcInterceptor","looprpc.SwapClient.Monitor","poolrpc.ChannelAuctioneer.SubscribeBatchAuction","poolrpc.ChannelAuctioneer.SubscribeSidecar","poolrpc.HashMail.RecvStream","taprpc.TaprootAssets.SubscribeSendAssetEventNtfns"]},1207: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)},9825:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},800:(E,e)=>{var _;Object.defineProperty(e,"__esModule",{value:!0}),e.BatchState=void 0,(_=e.BatchState||(e.BatchState={})).BATCH_STATE_UNKNOWN="BATCH_STATE_UNKNOWN",_.BATCH_STATE_PEDNING="BATCH_STATE_PEDNING",_.BATCH_STATE_FROZEN="BATCH_STATE_FROZEN",_.BATCH_STATE_COMMITTED="BATCH_STATE_COMMITTED",_.BATCH_STATE_BROADCAST="BATCH_STATE_BROADCAST",_.BATCH_STATE_CONFIRMED="BATCH_STATE_CONFIRMED",_.BATCH_STATE_FINALIZED="BATCH_STATE_FINALIZED",_.BATCH_STATE_SEEDLING_CANCELLED="BATCH_STATE_SEEDLING_CANCELLED",_.BATCH_STATE_SPROUT_CANCELLED="BATCH_STATE_SPROUT_CANCELLED",_.UNRECOGNIZED="UNRECOGNIZED"},3827:(E,e)=>{var _,N,t,O;Object.defineProperty(e,"__esModule",{value:!0}),e.AddrEventStatus=e.OutputType=e.AssetMetaType=e.AssetType=void 0,(O=e.AssetType||(e.AssetType={})).NORMAL="NORMAL",O.COLLECTIBLE="COLLECTIBLE",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.AssetMetaType||(e.AssetMetaType={})).MTEA_TYPE_OPAQUE="MTEA_TYPE_OPAQUE",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.OutputType||(e.OutputType={})).OUTPUT_TYPE_SIMPLE="OUTPUT_TYPE_SIMPLE",N.OUTPUT_TYPE_SPLIT_ROOT="OUTPUT_TYPE_SPLIT_ROOT",N.OUTPUT_TYPE_PASSIVE_ASSETS_ONLY="OUTPUT_TYPE_PASSIVE_ASSETS_ONLY",N.OUTPUT_TYPE_PASSIVE_SPLIT_ROOT="OUTPUT_TYPE_PASSIVE_SPLIT_ROOT",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.AddrEventStatus||(e.AddrEventStatus={})).ADDR_EVENT_STATUS_UNKNOWN="ADDR_EVENT_STATUS_UNKNOWN",_.ADDR_EVENT_STATUS_TRANSACTION_DETECTED="ADDR_EVENT_STATUS_TRANSACTION_DETECTED",_.ADDR_EVENT_STATUS_TRANSACTION_CONFIRMED="ADDR_EVENT_STATUS_TRANSACTION_CONFIRMED",_.ADDR_EVENT_STATUS_PROOF_RECEIVED="ADDR_EVENT_STATUS_PROOF_RECEIVED",_.ADDR_EVENT_STATUS_COMPLETED="ADDR_EVENT_STATUS_COMPLETED",_.UNRECOGNIZED="UNRECOGNIZED"},4765:(E,e)=>{var _,N,t;Object.defineProperty(e,"__esModule",{value:!0}),e.AssetTypeFilter=e.AssetQuerySort=e.UniverseSyncMode=void 0,(t=e.UniverseSyncMode||(e.UniverseSyncMode={})).SYNC_ISSUANCE_ONLY="SYNC_ISSUANCE_ONLY",t.SYNC_FULL="SYNC_FULL",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.AssetQuerySort||(e.AssetQuerySort={})).SORT_BY_NONE="SORT_BY_NONE",N.SORT_BY_ASSET_NAME="SORT_BY_ASSET_NAME",N.SORT_BY_ASSET_ID="SORT_BY_ASSET_ID",N.SORT_BY_ASSET_TYPE="SORT_BY_ASSET_TYPE",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.AssetTypeFilter||(e.AssetTypeFilter={})).FILTER_ASSET_NONE="FILTER_ASSET_NONE",_.FILTER_ASSET_NORMAL="FILTER_ASSET_NORMAL",_.FILTER_ASSET_COLLECTIBLE="FILTER_ASSET_COLLECTIBLE",_.UNRECOGNIZED="UNRECOGNIZED"},4914: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(_(3827),e)},1877: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(_(4765),e)},9367: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(_(1213),e)},6412: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(_(2482),e)},3946: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(_(9921),e)},1848:(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}(8713)})()}));

@@ -14,3 +14,7 @@ import * as frdrpc from './frdrpc';

import * as poolrpc from './poolrpc';
export { frdrpc, litrpc, autopilotrpc, chainrpc, invoicesrpc, lnrpc, routerrpc, signrpc, walletrpc, watchtowerrpc, wtclientrpc, looprpc, poolrpc };
import * as assetwalletrpc from './assetwalletrpc';
import * as mintrpc from './mintrpc';
import * as taprpc from './taprpc';
import * as universerpc from './universerpc';
export { frdrpc, litrpc, autopilotrpc, chainrpc, invoicesrpc, lnrpc, routerrpc, signrpc, walletrpc, watchtowerrpc, wtclientrpc, looprpc, poolrpc, assetwalletrpc, mintrpc, taprpc, universerpc };
//# sourceMappingURL=index.d.ts.map

@@ -86,2 +86,63 @@ import type { Utxo, OutPoint, TransactionDetails } from '../lightning';

COMMITMENT_ANCHOR = "COMMITMENT_ANCHOR",
/**
* COMMITMENT_NO_DELAY_TWEAKLESS - A witness type that is similar to the COMMITMENT_NO_DELAY type,
* but it omits the tweak that randomizes the key we need to
* spend with a channel peer supplied set of randomness.
*/
COMMITMENT_NO_DELAY_TWEAKLESS = "COMMITMENT_NO_DELAY_TWEAKLESS",
/**
* COMMITMENT_TO_REMOTE_CONFIRMED - A witness type that allows us to spend our output on the counterparty's
* commitment transaction after a confirmation.
*/
COMMITMENT_TO_REMOTE_CONFIRMED = "COMMITMENT_TO_REMOTE_CONFIRMED",
/**
* HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_INPUT_CONFIRMED - A witness type that allows us to sweep an HTLC output that we extended
* to a party, but was never fulfilled. This _is_ the HTLC output directly
* on our commitment transaction, and the input to the second-level HTLC
* timeout transaction. It can only be spent after CLTV expiry, and
* commitment confirmation.
*/
HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_INPUT_CONFIRMED = "HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_INPUT_CONFIRMED",
/**
* HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_INPUT_CONFIRMED - A witness type that allows us to sweep an HTLC output that was offered
* to us, and for which we have a payment preimage. This _is_ the HTLC
* output directly on our commitment transaction, and the input to the
* second-level HTLC success transaction. It can only be spent after the
* commitment has confirmed.
*/
HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_INPUT_CONFIRMED = "HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_INPUT_CONFIRMED",
/**
* LEASE_COMMITMENT_TIME_LOCK - A witness type that allows us to spend our output on our local
* commitment transaction after a relative and absolute lock-time lockout as
* part of the script enforced lease commitment type.
*/
LEASE_COMMITMENT_TIME_LOCK = "LEASE_COMMITMENT_TIME_LOCK",
/**
* LEASE_COMMITMENT_TO_REMOTE_CONFIRMED - A witness type that allows us to spend our output on the counterparty's
* commitment transaction after a confirmation and absolute locktime as part
* of the script enforced lease commitment type.
*/
LEASE_COMMITMENT_TO_REMOTE_CONFIRMED = "LEASE_COMMITMENT_TO_REMOTE_CONFIRMED",
/**
* LEASE_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL - A witness type that allows us to sweep an HTLC output that we extended
* to a party, but was never fulfilled. This HTLC output isn't directly on
* the commitment transaction, but is the result of a confirmed second-level
* HTLC transaction. As a result, we can only spend this after a CSV delay
* and CLTV locktime as part of the script enforced lease commitment type.
*/
LEASE_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL = "LEASE_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL",
/**
* LEASE_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL - A witness type that allows us to sweep an HTLC output that was offered
* to us, and for which we have a payment preimage. This HTLC output isn't
* directly on our commitment transaction, but is the result of confirmed
* second-level HTLC transaction. As a result, we can only spend this after
* a CSV delay and CLTV locktime as part of the script enforced lease
* commitment type.
*/
LEASE_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL = "LEASE_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL",
/**
* TAPROOT_PUB_KEY_SPEND - A witness type that allows us to spend a regular p2tr output that's sent
* to an output which is under complete control of the backing wallet.
*/
TAPROOT_PUB_KEY_SPEND = "TAPROOT_PUB_KEY_SPEND",
UNRECOGNIZED = "UNRECOGNIZED"

@@ -88,0 +149,0 @@ }

@@ -33,2 +33,7 @@ export declare enum PolicyType {

includeSessions: boolean;
/**
* Whether to exclude exhausted sessions in the response info. This option
* is only meaningful if include_sessions is true.
*/
excludeExhaustedSessions: boolean;
}

@@ -67,2 +72,30 @@ export interface TowerSession {

addresses: string[];
/**
* Deprecated, use the active_session_candidate field under the
* correct identifier in the client_type map.
* Whether the watchtower is currently a candidate for new sessions.
*
* @deprecated
*/
activeSessionCandidate: boolean;
/**
* Deprecated, use the num_sessions field under the correct identifier
* in the client_type map.
* The number of sessions that have been negotiated with the watchtower.
*
* @deprecated
*/
numSessions: number;
/**
* Deprecated, use the sessions field under the correct identifier in the
* client_type map.
* The list of sessions that have been negotiated with the watchtower.
*
* @deprecated
*/
sessions: TowerSession[];
/** A list sessions held with the tower. */
sessionInfo: TowerSessionInfo[];
}
export interface TowerSessionInfo {
/** Whether the watchtower is currently a candidate for new sessions. */

@@ -74,2 +107,4 @@ activeSessionCandidate: boolean;

sessions: TowerSession[];
/** The session's policy type. */
policyType: PolicyType;
}

@@ -79,2 +114,7 @@ export interface ListTowersRequest {

includeSessions: boolean;
/**
* Whether to exclude exhausted sessions in the response info. This option
* is only meaningful if include_sessions is true.
*/
excludeExhaustedSessions: boolean;
}

@@ -81,0 +121,0 @@ export interface ListTowersResponse {

@@ -541,2 +541,34 @@ import type { RouteHint } from './swapserverrpc/common';

}
export interface LoopStats {
/** Number of currently pending swaps. */
pendingCount: string;
/** Number of succeeded swaps. */
successCount: string;
/** Number failed swaps. */
failCount: string;
/** The sum of all pending swap amounts. */
sumPendingAmt: string;
/** The sum of all succeeded swap amounts. */
sumSucceededAmt: string;
}
export interface GetInfoRequest {
}
export interface GetInfoResponse {
/** The current daemon version. */
version: string;
/** The network the daemon is running on. */
network: string;
/** Host and port of the loopd grpc server. */
rpcListen: string;
/** Host and port of the loopd rest server. */
restListen: string;
/** Loop's macaroon path that clients use to talk to the daemon. */
macaroonPath: string;
/** Loop's tls cert path */
tlsCertPath: string;
/** Statistics about loop outs. */
loopOutStats: LoopStats | undefined;
/** Statistics about loop ins. */
loopInStats: LoopStats | undefined;
}
export interface GetLiquidityParamsRequest {

@@ -651,2 +683,15 @@ }

autoloopBudgetLastRefresh: string;
/**
* Set to true to enable easy autoloop. If set, all channel/peer rules will be
* overridden and the client will automatically dispatch swaps in order to meet
* the configured local balance target size. Currently only loop out is
* supported, meaning that easy autoloop can only reduce the funds that are
* held as balance in channels.
*/
easyAutoloop: boolean;
/**
* The local balance target size, expressed in satoshis. This is used by easy
* autoloop to determine how much liquidity should be maintained in channels.
*/
easyAutoloopLocalTargetSat: string;
}

@@ -785,2 +830,7 @@ export interface LiquidityRule {

/**
* loop: `getinfo`
* GetInfo gets basic information about the loop daemon.
*/
getInfo(request?: DeepPartial<GetInfoRequest>): Promise<GetInfoResponse>;
/**
* loop: `getparams`

@@ -787,0 +837,0 @@ * GetLiquidityParams gets the parameters that the daemon's liquidity manager

@@ -47,4 +47,16 @@ export declare const serviceNames: {

};
assetwalletrpc: {
AssetWallet: string;
};
mintrpc: {
Mint: string;
};
taprpc: {
TaprootAssets: string;
};
universerpc: {
Universe: string;
};
};
export declare const subscriptionMethods: string[];
//# sourceMappingURL=schema.d.ts.map
{
"name": "@lightninglabs/lnc-core",
"version": "0.2.4-alpha",
"version": "0.2.5-alpha",
"description": "Type definitions and utilities for Lightning Node Connect",

@@ -8,7 +8,8 @@ "main": "./dist/index.js",

"config": {
"lnd_release_tag": "v0.16.0-beta",
"loop_release_tag": "v0.22.0-beta",
"pool_release_tag": "v0.6.2-beta",
"faraday_release_tag": "v0.2.9-alpha",
"lit_release_tag": "v0.9.0-alpha",
"lnd_release_tag": "v0.16.3-beta",
"loop_release_tag": "v0.24.1-beta",
"pool_release_tag": "v0.6.4-beta",
"faraday_release_tag": "v0.2.11-alpha",
"tapd_release_tag": "v0.2.0-lit-0",
"lit_release_tag": "v0.10.1-alpha",
"protoc_version": "21.9"

@@ -19,4 +20,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} ${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}",
"update-protos": "bash 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_tapd_release_tag} ${npm_package_config_lit_release_tag}",
"generate": "bash 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_tapd_release_tag} ${npm_package_config_lit_release_tag} ${npm_package_config_protoc_version}",
"prettier": "prettier --check '**/*.ts*'",

@@ -23,0 +24,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 too big to display

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc