diff --git a/proto/lnd/chainnotifier.client.ts b/proto/lnd/chainnotifier.client.ts index d76e5cd8..dba8dc1b 100644 --- a/proto/lnd/chainnotifier.client.ts +++ b/proto/lnd/chainnotifier.client.ts @@ -3,13 +3,13 @@ // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; -import { ChainNotifier } from "./chainnotifier"; -import type { BlockEpoch } from "./chainnotifier"; -import type { SpendEvent } from "./chainnotifier"; -import type { SpendRequest } from "./chainnotifier"; +import { ChainNotifier } from "./chainnotifier.js"; +import type { BlockEpoch } from "./chainnotifier.js"; +import type { SpendEvent } from "./chainnotifier.js"; +import type { SpendRequest } from "./chainnotifier.js"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; -import type { ConfEvent } from "./chainnotifier"; -import type { ConfRequest } from "./chainnotifier"; +import type { ConfEvent } from "./chainnotifier.js"; +import type { ConfRequest } from "./chainnotifier.js"; import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** diff --git a/proto/lnd/invoices.client.ts b/proto/lnd/invoices.client.ts index f4437d32..b529cca1 100644 --- a/proto/lnd/invoices.client.ts +++ b/proto/lnd/invoices.client.ts @@ -3,18 +3,18 @@ // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; -import { Invoices } from "./invoices"; -import type { LookupInvoiceMsg } from "./invoices"; -import type { SettleInvoiceResp } from "./invoices"; -import type { SettleInvoiceMsg } from "./invoices"; -import type { AddHoldInvoiceResp } from "./invoices"; -import type { AddHoldInvoiceRequest } from "./invoices"; -import type { CancelInvoiceResp } from "./invoices"; -import type { CancelInvoiceMsg } from "./invoices"; +import { Invoices } from "./invoices.js"; +import type { LookupInvoiceMsg } from "./invoices.js"; +import type { SettleInvoiceResp } from "./invoices.js"; +import type { SettleInvoiceMsg } from "./invoices.js"; +import type { AddHoldInvoiceResp } from "./invoices.js"; +import type { AddHoldInvoiceRequest } from "./invoices.js"; +import type { CancelInvoiceResp } from "./invoices.js"; +import type { CancelInvoiceMsg } from "./invoices.js"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; -import type { Invoice } from "./lightning"; -import type { SubscribeSingleInvoiceRequest } from "./invoices"; +import type { Invoice } from "./lightning.js"; +import type { SubscribeSingleInvoiceRequest } from "./invoices.js"; import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** diff --git a/proto/lnd/invoices.ts b/proto/lnd/invoices.ts index a94573dc..4155cf06 100644 --- a/proto/lnd/invoices.ts +++ b/proto/lnd/invoices.ts @@ -1,7 +1,7 @@ // @generated by protobuf-ts 2.8.1 // @generated from protobuf file "invoices.proto" (package "invoicesrpc", syntax proto3) // tslint:disable -import { Invoice } from "./lightning"; +import { Invoice } from "./lightning.js"; import { ServiceType } from "@protobuf-ts/runtime-rpc"; import type { BinaryWriteOptions } from "@protobuf-ts/runtime"; import type { IBinaryWriter } from "@protobuf-ts/runtime"; @@ -13,7 +13,7 @@ import type { PartialMessage } from "@protobuf-ts/runtime"; import { reflectionMergePartial } from "@protobuf-ts/runtime"; import { MESSAGE_TYPE } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime"; -import { RouteHint } from "./lightning"; +import { RouteHint } from "./lightning.js"; /** * @generated from protobuf message invoicesrpc.CancelInvoiceMsg */ diff --git a/proto/lnd/lightning.client.ts b/proto/lnd/lightning.client.ts index 0c3193df..746e7568 100644 --- a/proto/lnd/lightning.client.ts +++ b/proto/lnd/lightning.client.ts @@ -3,138 +3,153 @@ // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; -import { Lightning } from "./lightning"; -import type { LookupHtlcResolutionResponse } from "./lightning"; -import type { LookupHtlcResolutionRequest } from "./lightning"; -import type { ListAliasesResponse } from "./lightning"; -import type { ListAliasesRequest } from "./lightning"; -import type { CustomMessage } from "./lightning"; -import type { SubscribeCustomMessagesRequest } from "./lightning"; -import type { SendCustomMessageResponse } from "./lightning"; -import type { SendCustomMessageRequest } from "./lightning"; -import type { RPCMiddlewareRequest } from "./lightning"; -import type { RPCMiddlewareResponse } from "./lightning"; -import type { CheckMacPermResponse } from "./lightning"; -import type { CheckMacPermRequest } from "./lightning"; -import type { ListPermissionsResponse } from "./lightning"; -import type { ListPermissionsRequest } from "./lightning"; -import type { DeleteMacaroonIDResponse } from "./lightning"; -import type { DeleteMacaroonIDRequest } from "./lightning"; -import type { ListMacaroonIDsResponse } from "./lightning"; -import type { ListMacaroonIDsRequest } from "./lightning"; -import type { BakeMacaroonResponse } from "./lightning"; -import type { BakeMacaroonRequest } from "./lightning"; -import type { ChannelBackupSubscription } from "./lightning"; -import type { RestoreBackupResponse } from "./lightning"; -import type { RestoreChanBackupRequest } from "./lightning"; -import type { VerifyChanBackupResponse } from "./lightning"; -import type { ChanBackupSnapshot } from "./lightning"; -import type { ChanBackupExportRequest } from "./lightning"; -import type { ChannelBackup } from "./lightning"; -import type { ExportChannelBackupRequest } from "./lightning"; -import type { ForwardingHistoryResponse } from "./lightning"; -import type { ForwardingHistoryRequest } from "./lightning"; -import type { PolicyUpdateResponse } from "./lightning"; -import type { PolicyUpdateRequest } from "./lightning"; -import type { FeeReportResponse } from "./lightning"; -import type { FeeReportRequest } from "./lightning"; -import type { DebugLevelResponse } from "./lightning"; -import type { DebugLevelRequest } from "./lightning"; -import type { GraphTopologyUpdate } from "./lightning"; -import type { GraphTopologySubscription } from "./lightning"; -import type { StopResponse } from "./lightning"; -import type { StopRequest } from "./lightning"; -import type { NetworkInfo } from "./lightning"; -import type { NetworkInfoRequest } from "./lightning"; -import type { QueryRoutesResponse } from "./lightning"; -import type { QueryRoutesRequest } from "./lightning"; -import type { NodeInfo } from "./lightning"; -import type { NodeInfoRequest } from "./lightning"; -import type { ChannelEdge } from "./lightning"; -import type { ChanInfoRequest } from "./lightning"; -import type { NodeMetricsResponse } from "./lightning"; -import type { NodeMetricsRequest } from "./lightning"; -import type { ChannelGraph } from "./lightning"; -import type { ChannelGraphRequest } from "./lightning"; -import type { DeleteAllPaymentsResponse } from "./lightning"; -import type { DeleteAllPaymentsRequest } from "./lightning"; -import type { DeletePaymentResponse } from "./lightning"; -import type { DeletePaymentRequest } from "./lightning"; -import type { ListPaymentsResponse } from "./lightning"; -import type { ListPaymentsRequest } from "./lightning"; -import type { PayReq } from "./lightning"; -import type { PayReqString } from "./lightning"; -import type { InvoiceSubscription } from "./lightning"; -import type { PaymentHash } from "./lightning"; -import type { ListInvoiceResponse } from "./lightning"; -import type { ListInvoiceRequest } from "./lightning"; -import type { AddInvoiceResponse } from "./lightning"; -import type { Invoice } from "./lightning"; -import type { SendToRouteRequest } from "./lightning"; -import type { SendResponse } from "./lightning"; -import type { SendRequest } from "./lightning"; -import type { AbandonChannelResponse } from "./lightning"; -import type { AbandonChannelRequest } from "./lightning"; -import type { CloseStatusUpdate } from "./lightning"; -import type { CloseChannelRequest } from "./lightning"; -import type { ChannelAcceptRequest } from "./lightning"; -import type { ChannelAcceptResponse } from "./lightning"; +import { Lightning } from "./lightning.js"; +import type { LookupHtlcResolutionResponse } from "./lightning.js"; +import type { LookupHtlcResolutionRequest } from "./lightning.js"; +import type { ListAliasesResponse } from "./lightning.js"; +import type { ListAliasesRequest } from "./lightning.js"; +import type { CustomMessage } from "./lightning.js"; +import type { SubscribeCustomMessagesRequest } from "./lightning.js"; +import type { SendCustomMessageResponse } from "./lightning.js"; +import type { SendCustomMessageRequest } from "./lightning.js"; +import type { RPCMiddlewareRequest } from "./lightning.js"; +import type { RPCMiddlewareResponse } from "./lightning.js"; +import type { CheckMacPermResponse } from "./lightning.js"; +import type { CheckMacPermRequest } from "./lightning.js"; +import type { ListPermissionsResponse } from "./lightning.js"; +import type { ListPermissionsRequest } from "./lightning.js"; +import type { DeleteMacaroonIDResponse } from "./lightning.js"; +import type { DeleteMacaroonIDRequest } from "./lightning.js"; +import type { ListMacaroonIDsResponse } from "./lightning.js"; +import type { ListMacaroonIDsRequest } from "./lightning.js"; +import type { BakeMacaroonResponse } from "./lightning.js"; +import type { BakeMacaroonRequest } from "./lightning.js"; +import type { ChannelBackupSubscription } from "./lightning.js"; +import type { RestoreBackupResponse } from "./lightning.js"; +import type { RestoreChanBackupRequest } from "./lightning.js"; +import type { VerifyChanBackupResponse } from "./lightning.js"; +import type { ChanBackupSnapshot } from "./lightning.js"; +import type { ChanBackupExportRequest } from "./lightning.js"; +import type { ChannelBackup } from "./lightning.js"; +import type { ExportChannelBackupRequest } from "./lightning.js"; +import type { ForwardingHistoryResponse } from "./lightning.js"; +import type { ForwardingHistoryRequest } from "./lightning.js"; +import type { PolicyUpdateResponse } from "./lightning.js"; +import type { PolicyUpdateRequest } from "./lightning.js"; +import type { FeeReportResponse } from "./lightning.js"; +import type { FeeReportRequest } from "./lightning.js"; +import type { DebugLevelResponse } from "./lightning.js"; +import type { DebugLevelRequest } from "./lightning.js"; +import type { GraphTopologyUpdate } from "./lightning.js"; +import type { GraphTopologySubscription } from "./lightning.js"; +import type { StopResponse } from "./lightning.js"; +import type { StopRequest } from "./lightning.js"; +import type { NetworkInfo } from "./lightning.js"; +import type { NetworkInfoRequest } from "./lightning.js"; +import type { QueryRoutesResponse } from "./lightning.js"; +import type { QueryRoutesRequest } from "./lightning.js"; +import type { NodeInfo } from "./lightning.js"; +import type { NodeInfoRequest } from "./lightning.js"; +import type { ChannelEdge } from "./lightning.js"; +import type { ChanInfoRequest } from "./lightning.js"; +import type { NodeMetricsResponse } from "./lightning.js"; +import type { NodeMetricsRequest } from "./lightning.js"; +import type { ChannelGraph } from "./lightning.js"; +import type { ChannelGraphRequest } from "./lightning.js"; +import type { DeleteAllPaymentsResponse } from "./lightning.js"; +import type { DeleteAllPaymentsRequest } from "./lightning.js"; +import type { DeletePaymentResponse } from "./lightning.js"; +import type { DeletePaymentRequest } from "./lightning.js"; +import type { ListPaymentsResponse } from "./lightning.js"; +import type { ListPaymentsRequest } from "./lightning.js"; +import type { PayReq } from "./lightning.js"; +import type { PayReqString } from "./lightning.js"; +import type { InvoiceSubscription } from "./lightning.js"; +import type { PaymentHash } from "./lightning.js"; +import type { ListInvoiceResponse } from "./lightning.js"; +import type { ListInvoiceRequest } from "./lightning.js"; +import type { AddInvoiceResponse } from "./lightning.js"; +import type { Invoice } from "./lightning.js"; +import type { SendToRouteRequest } from "./lightning.js"; +import type { SendResponse } from "./lightning.js"; +import type { SendRequest } from "./lightning.js"; +import type { AbandonChannelResponse } from "./lightning.js"; +import type { AbandonChannelRequest } from "./lightning.js"; +import type { CloseStatusUpdate } from "./lightning.js"; +import type { CloseChannelRequest } from "./lightning.js"; +import type { ChannelAcceptRequest } from "./lightning.js"; +import type { ChannelAcceptResponse } from "./lightning.js"; import type { DuplexStreamingCall } from "@protobuf-ts/runtime-rpc"; -import type { FundingStateStepResp } from "./lightning"; -import type { FundingTransitionMsg } from "./lightning"; -import type { BatchOpenChannelResponse } from "./lightning"; -import type { BatchOpenChannelRequest } from "./lightning"; -import type { OpenStatusUpdate } from "./lightning"; -import type { ChannelPoint } from "./lightning"; -import type { OpenChannelRequest } from "./lightning"; -import type { ClosedChannelsResponse } from "./lightning"; -import type { ClosedChannelsRequest } from "./lightning"; -import type { ChannelEventUpdate } from "./lightning"; -import type { ChannelEventSubscription } from "./lightning"; -import type { ListChannelsResponse } from "./lightning"; -import type { ListChannelsRequest } from "./lightning"; -import type { PendingChannelsResponse } from "./lightning"; -import type { PendingChannelsRequest } from "./lightning"; -import type { GetRecoveryInfoResponse } from "./lightning"; -import type { GetRecoveryInfoRequest } from "./lightning"; -import type { GetDebugInfoResponse } from "./lightning"; -import type { GetDebugInfoRequest } from "./lightning"; -import type { GetInfoResponse } from "./lightning"; -import type { GetInfoRequest } from "./lightning"; -import type { PeerEvent } from "./lightning"; -import type { PeerEventSubscription } from "./lightning"; -import type { ListPeersResponse } from "./lightning"; -import type { ListPeersRequest } from "./lightning"; -import type { DisconnectPeerResponse } from "./lightning"; -import type { DisconnectPeerRequest } from "./lightning"; -import type { ConnectPeerResponse } from "./lightning"; -import type { ConnectPeerRequest } from "./lightning"; -import type { VerifyMessageResponse } from "./lightning"; -import type { VerifyMessageRequest } from "./lightning"; -import type { SignMessageResponse } from "./lightning"; -import type { SignMessageRequest } from "./lightning"; -import type { NewAddressResponse } from "./lightning"; -import type { NewAddressRequest } from "./lightning"; -import type { SendManyResponse } from "./lightning"; -import type { SendManyRequest } from "./lightning"; -import type { Transaction } from "./lightning"; +import type { FundingStateStepResp } from "./lightning.js"; +import type { FundingTransitionMsg } from "./lightning.js"; +import type { BatchOpenChannelResponse } from "./lightning.js"; +import type { BatchOpenChannelRequest } from "./lightning.js"; +import type { OpenStatusUpdate } from "./lightning.js"; +import type { ChannelPoint } from "./lightning.js"; +import type { OpenChannelRequest } from "./lightning.js"; +import type { ClosedChannelsResponse } from "./lightning.js"; +import type { ClosedChannelsRequest } from "./lightning.js"; +import type { ChannelEventUpdate } from "./lightning.js"; +import type { ChannelEventSubscription } from "./lightning.js"; +import type { ListChannelsResponse } from "./lightning.js"; +import type { ListChannelsRequest } from "./lightning.js"; +import type { PendingChannelsResponse } from "./lightning.js"; +import type { PendingChannelsRequest } from "./lightning.js"; +import type { GetRecoveryInfoResponse } from "./lightning.js"; +import type { GetRecoveryInfoRequest } from "./lightning.js"; +import type { GetDebugInfoResponse } from "./lightning.js"; +import type { GetDebugInfoRequest } from "./lightning.js"; +import type { GetInfoResponse } from "./lightning.js"; +import type { GetInfoRequest } from "./lightning.js"; +import type { PeerEvent } from "./lightning.js"; +import type { PeerEventSubscription } from "./lightning.js"; +import type { ListPeersResponse } from "./lightning.js"; +import type { ListPeersRequest } from "./lightning.js"; +import type { DisconnectPeerResponse } from "./lightning.js"; +import type { DisconnectPeerRequest } from "./lightning.js"; +import type { ConnectPeerResponse } from "./lightning.js"; +import type { ConnectPeerRequest } from "./lightning.js"; +import type { VerifyMessageResponse } from "./lightning.js"; +import type { VerifyMessageRequest } from "./lightning.js"; +import type { SignMessageResponse } from "./lightning.js"; +import type { SignMessageRequest } from "./lightning.js"; +import type { NewAddressResponse } from "./lightning.js"; +import type { NewAddressRequest } from "./lightning.js"; +import type { SendManyResponse } from "./lightning.js"; +import type { SendManyRequest } from "./lightning.js"; +import type { Transaction } from "./lightning.js"; import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc"; -import type { ListUnspentResponse } from "./lightning"; -import type { ListUnspentRequest } from "./lightning"; -import type { SendCoinsResponse } from "./lightning"; -import type { SendCoinsRequest } from "./lightning"; -import type { EstimateFeeResponse } from "./lightning"; -import type { EstimateFeeRequest } from "./lightning"; -import type { TransactionDetails } from "./lightning"; -import type { GetTransactionsRequest } from "./lightning"; -import type { ChannelBalanceResponse } from "./lightning"; -import type { ChannelBalanceRequest } from "./lightning"; +import type { ListUnspentResponse } from "./lightning.js"; +import type { ListUnspentRequest } from "./lightning.js"; +import type { SendCoinsResponse } from "./lightning.js"; +import type { SendCoinsRequest } from "./lightning.js"; +import type { EstimateFeeResponse } from "./lightning.js"; +import type { EstimateFeeRequest } from "./lightning.js"; +import type { TransactionDetails } from "./lightning.js"; +import type { GetTransactionsRequest } from "./lightning.js"; +import type { ChannelBalanceResponse } from "./lightning.js"; +import type { ChannelBalanceRequest } from "./lightning.js"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; -import type { WalletBalanceResponse } from "./lightning"; -import type { WalletBalanceRequest } from "./lightning"; +import type { WalletBalanceResponse } from "./lightning.js"; +import type { WalletBalanceRequest } from "./lightning.js"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; -// // Comments in this file will be directly parsed into the API // Documentation as descriptions of the associated method, message, or field. // These descriptions should go right above the definition of the object, and // can be in either block or // comment format. // // An RPC method can be matched to an lncli command by placing a line in the // beginning of the description in exactly the following format: // lncli: `methodname` // // Failure to specify the exact name of the command will cause documentation // generation to fail. // // More information on how exactly the gRPC documentation is generated from // this proto file can be found here: // https://github.com/lightninglabs/lightning-api +// +// Comments in this file will be directly parsed into the API +// Documentation as descriptions of the associated method, message, or field. +// These descriptions should go right above the definition of the object, and +// can be in either block or // comment format. +// +// An RPC method can be matched to an lncli command by placing a line in the +// beginning of the description in exactly the following format: +// lncli: `methodname` +// +// Failure to specify the exact name of the command will cause documentation +// generation to fail. +// +// More information on how exactly the gRPC documentation is generated from +// this proto file can be found here: +// https://github.com/lightninglabs/lightning-api /** * Lightning is the main RPC server of the daemon. @@ -310,7 +325,7 @@ export interface ILightningClient { * @generated from protobuf rpc: GetRecoveryInfo(lnrpc.GetRecoveryInfoRequest) returns (lnrpc.GetRecoveryInfoResponse); */ getRecoveryInfo(input: GetRecoveryInfoRequest, options?: RpcOptions): UnaryCall; - // TODO(roasbeef): merge with below with bool? + // TODO(roasbeef): merge with below with bool? /** * lncli: `pendingchannels` @@ -830,7 +845,22 @@ export interface ILightningClient { */ lookupHtlcResolution(input: LookupHtlcResolutionRequest, options?: RpcOptions): UnaryCall; } -// // Comments in this file will be directly parsed into the API // Documentation as descriptions of the associated method, message, or field. // These descriptions should go right above the definition of the object, and // can be in either block or // comment format. // // An RPC method can be matched to an lncli command by placing a line in the // beginning of the description in exactly the following format: // lncli: `methodname` // // Failure to specify the exact name of the command will cause documentation // generation to fail. // // More information on how exactly the gRPC documentation is generated from // this proto file can be found here: // https://github.com/lightninglabs/lightning-api +// +// Comments in this file will be directly parsed into the API +// Documentation as descriptions of the associated method, message, or field. +// These descriptions should go right above the definition of the object, and +// can be in either block or // comment format. +// +// An RPC method can be matched to an lncli command by placing a line in the +// beginning of the description in exactly the following format: +// lncli: `methodname` +// +// Failure to specify the exact name of the command will cause documentation +// generation to fail. +// +// More information on how exactly the gRPC documentation is generated from +// this proto file can be found here: +// https://github.com/lightninglabs/lightning-api /** * Lightning is the main RPC server of the daemon. @@ -1065,7 +1095,7 @@ export class LightningClient implements ILightningClient, ServiceInfo { const method = this.methods[17], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } - // TODO(roasbeef): merge with below with bool? + // TODO(roasbeef): merge with below with bool? /** * lncli: `pendingchannels` diff --git a/proto/lnd/router.client.ts b/proto/lnd/router.client.ts index fc85cc79..27722e38 100644 --- a/proto/lnd/router.client.ts +++ b/proto/lnd/router.client.ts @@ -3,40 +3,40 @@ // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; -import { Router } from "./router"; -import type { UpdateChanStatusResponse } from "./router"; -import type { UpdateChanStatusRequest } from "./router"; -import type { ForwardHtlcInterceptRequest } from "./router"; -import type { ForwardHtlcInterceptResponse } from "./router"; +import { Router } from "./router.js"; +import type { UpdateChanStatusResponse } from "./router.js"; +import type { UpdateChanStatusRequest } from "./router.js"; +import type { ForwardHtlcInterceptRequest } from "./router.js"; +import type { ForwardHtlcInterceptResponse } from "./router.js"; import type { DuplexStreamingCall } from "@protobuf-ts/runtime-rpc"; -import type { PaymentStatus } from "./router"; -import type { HtlcEvent } from "./router"; -import type { SubscribeHtlcEventsRequest } from "./router"; -import type { BuildRouteResponse } from "./router"; -import type { BuildRouteRequest } from "./router"; -import type { QueryProbabilityResponse } from "./router"; -import type { QueryProbabilityRequest } from "./router"; -import type { SetMissionControlConfigResponse } from "./router"; -import type { SetMissionControlConfigRequest } from "./router"; -import type { GetMissionControlConfigResponse } from "./router"; -import type { GetMissionControlConfigRequest } from "./router"; -import type { XImportMissionControlResponse } from "./router"; -import type { XImportMissionControlRequest } from "./router"; -import type { QueryMissionControlResponse } from "./router"; -import type { QueryMissionControlRequest } from "./router"; -import type { ResetMissionControlResponse } from "./router"; -import type { ResetMissionControlRequest } from "./router"; -import type { HTLCAttempt } from "./lightning"; -import type { SendToRouteResponse } from "./router"; -import type { SendToRouteRequest } from "./router"; -import type { RouteFeeResponse } from "./router"; -import type { RouteFeeRequest } from "./router"; +import type { PaymentStatus } from "./router.js"; +import type { HtlcEvent } from "./router.js"; +import type { SubscribeHtlcEventsRequest } from "./router.js"; +import type { BuildRouteResponse } from "./router.js"; +import type { BuildRouteRequest } from "./router.js"; +import type { QueryProbabilityResponse } from "./router.js"; +import type { QueryProbabilityRequest } from "./router.js"; +import type { SetMissionControlConfigResponse } from "./router.js"; +import type { SetMissionControlConfigRequest } from "./router.js"; +import type { GetMissionControlConfigResponse } from "./router.js"; +import type { GetMissionControlConfigRequest } from "./router.js"; +import type { XImportMissionControlResponse } from "./router.js"; +import type { XImportMissionControlRequest } from "./router.js"; +import type { QueryMissionControlResponse } from "./router.js"; +import type { QueryMissionControlRequest } from "./router.js"; +import type { ResetMissionControlResponse } from "./router.js"; +import type { ResetMissionControlRequest } from "./router.js"; +import type { HTLCAttempt } from "./lightning.js"; +import type { SendToRouteResponse } from "./router.js"; +import type { SendToRouteRequest } from "./router.js"; +import type { RouteFeeResponse } from "./router.js"; +import type { RouteFeeRequest } from "./router.js"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; -import type { TrackPaymentsRequest } from "./router"; -import type { TrackPaymentRequest } from "./router"; +import type { TrackPaymentsRequest } from "./router.js"; +import type { TrackPaymentRequest } from "./router.js"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; -import type { Payment } from "./lightning"; -import type { SendPaymentRequest } from "./router"; +import type { Payment } from "./lightning.js"; +import type { SendPaymentRequest } from "./router.js"; import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** diff --git a/proto/lnd/router.ts b/proto/lnd/router.ts index 2a52b054..edb624cd 100644 --- a/proto/lnd/router.ts +++ b/proto/lnd/router.ts @@ -1,7 +1,7 @@ // @generated by protobuf-ts 2.8.1 // @generated from protobuf file "router.proto" (package "routerrpc", syntax proto3) // tslint:disable -import { Payment } from "./lightning"; +import { Payment } from "./lightning.js"; import { ServiceType } from "@protobuf-ts/runtime-rpc"; import type { BinaryWriteOptions } from "@protobuf-ts/runtime"; import type { IBinaryWriter } from "@protobuf-ts/runtime"; @@ -13,13 +13,13 @@ import type { PartialMessage } from "@protobuf-ts/runtime"; import { reflectionMergePartial } from "@protobuf-ts/runtime"; import { MESSAGE_TYPE } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime"; -import { ChannelPoint } from "./lightning"; -import { HTLCAttempt } from "./lightning"; -import { Failure_FailureCode } from "./lightning"; -import { Failure } from "./lightning"; -import { Route } from "./lightning"; -import { FeatureBit } from "./lightning"; -import { RouteHint } from "./lightning"; +import { ChannelPoint } from "./lightning.js"; +import { HTLCAttempt } from "./lightning.js"; +import { Failure_FailureCode } from "./lightning.js"; +import { Failure } from "./lightning.js"; +import { Route } from "./lightning.js"; +import { FeatureBit } from "./lightning.js"; +import { RouteHint } from "./lightning.js"; /** * @generated from protobuf message routerrpc.SendPaymentRequest */ diff --git a/proto/lnd/signer.client.ts b/proto/lnd/signer.client.ts index 92ee85dd..8ce80d4c 100644 --- a/proto/lnd/signer.client.ts +++ b/proto/lnd/signer.client.ts @@ -3,29 +3,29 @@ // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; -import { Signer } from "./signer"; -import type { MuSig2CleanupResponse } from "./signer"; -import type { MuSig2CleanupRequest } from "./signer"; -import type { MuSig2CombineSigResponse } from "./signer"; -import type { MuSig2CombineSigRequest } from "./signer"; -import type { MuSig2SignResponse } from "./signer"; -import type { MuSig2SignRequest } from "./signer"; -import type { MuSig2RegisterNoncesResponse } from "./signer"; -import type { MuSig2RegisterNoncesRequest } from "./signer"; -import type { MuSig2SessionResponse } from "./signer"; -import type { MuSig2SessionRequest } from "./signer"; -import type { MuSig2CombineKeysResponse } from "./signer"; -import type { MuSig2CombineKeysRequest } from "./signer"; -import type { SharedKeyResponse } from "./signer"; -import type { SharedKeyRequest } from "./signer"; -import type { VerifyMessageResp } from "./signer"; -import type { VerifyMessageReq } from "./signer"; -import type { SignMessageResp } from "./signer"; -import type { SignMessageReq } from "./signer"; -import type { InputScriptResp } from "./signer"; +import { Signer } from "./signer.js"; +import type { MuSig2CleanupResponse } from "./signer.js"; +import type { MuSig2CleanupRequest } from "./signer.js"; +import type { MuSig2CombineSigResponse } from "./signer.js"; +import type { MuSig2CombineSigRequest } from "./signer.js"; +import type { MuSig2SignResponse } from "./signer.js"; +import type { MuSig2SignRequest } from "./signer.js"; +import type { MuSig2RegisterNoncesResponse } from "./signer.js"; +import type { MuSig2RegisterNoncesRequest } from "./signer.js"; +import type { MuSig2SessionResponse } from "./signer.js"; +import type { MuSig2SessionRequest } from "./signer.js"; +import type { MuSig2CombineKeysResponse } from "./signer.js"; +import type { MuSig2CombineKeysRequest } from "./signer.js"; +import type { SharedKeyResponse } from "./signer.js"; +import type { SharedKeyRequest } from "./signer.js"; +import type { VerifyMessageResp } from "./signer.js"; +import type { VerifyMessageReq } from "./signer.js"; +import type { SignMessageResp } from "./signer.js"; +import type { SignMessageReq } from "./signer.js"; +import type { InputScriptResp } from "./signer.js"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; -import type { SignResp } from "./signer"; -import type { SignReq } from "./signer"; +import type { SignResp } from "./signer.js"; +import type { SignReq } from "./signer.js"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** diff --git a/proto/lnd/walletkit.client.ts b/proto/lnd/walletkit.client.ts index f47734ab..f136b7af 100644 --- a/proto/lnd/walletkit.client.ts +++ b/proto/lnd/walletkit.client.ts @@ -3,62 +3,62 @@ // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; -import { WalletKit } from "./walletkit"; -import type { FinalizePsbtResponse } from "./walletkit"; -import type { FinalizePsbtRequest } from "./walletkit"; -import type { SignPsbtResponse } from "./walletkit"; -import type { SignPsbtRequest } from "./walletkit"; -import type { FundPsbtResponse } from "./walletkit"; -import type { FundPsbtRequest } from "./walletkit"; -import type { LabelTransactionResponse } from "./walletkit"; -import type { LabelTransactionRequest } from "./walletkit"; -import type { ListSweepsResponse } from "./walletkit"; -import type { ListSweepsRequest } from "./walletkit"; -import type { BumpForceCloseFeeResponse } from "./walletkit"; -import type { BumpForceCloseFeeRequest } from "./walletkit"; -import type { BumpFeeResponse } from "./walletkit"; -import type { BumpFeeRequest } from "./walletkit"; -import type { PendingSweepsResponse } from "./walletkit"; -import type { PendingSweepsRequest } from "./walletkit"; -import type { EstimateFeeResponse } from "./walletkit"; -import type { EstimateFeeRequest } from "./walletkit"; -import type { SendOutputsResponse } from "./walletkit"; -import type { SendOutputsRequest } from "./walletkit"; -import type { RemoveTransactionResponse } from "./walletkit"; -import type { PublishResponse } from "./walletkit"; -import type { Transaction as Transaction$ } from "./walletkit"; -import type { ImportTapscriptResponse } from "./walletkit"; -import type { ImportTapscriptRequest } from "./walletkit"; -import type { ImportPublicKeyResponse } from "./walletkit"; -import type { ImportPublicKeyRequest } from "./walletkit"; -import type { ImportAccountResponse } from "./walletkit"; -import type { ImportAccountRequest } from "./walletkit"; -import type { VerifyMessageWithAddrResponse } from "./walletkit"; -import type { VerifyMessageWithAddrRequest } from "./walletkit"; -import type { SignMessageWithAddrResponse } from "./walletkit"; -import type { SignMessageWithAddrRequest } from "./walletkit"; -import type { ListAddressesResponse } from "./walletkit"; -import type { ListAddressesRequest } from "./walletkit"; -import type { RequiredReserveResponse } from "./walletkit"; -import type { RequiredReserveRequest } from "./walletkit"; -import type { ListAccountsResponse } from "./walletkit"; -import type { ListAccountsRequest } from "./walletkit"; +import { WalletKit } from "./walletkit.js"; +import type { FinalizePsbtResponse } from "./walletkit.js"; +import type { FinalizePsbtRequest } from "./walletkit.js"; +import type { SignPsbtResponse } from "./walletkit.js"; +import type { SignPsbtRequest } from "./walletkit.js"; +import type { FundPsbtResponse } from "./walletkit.js"; +import type { FundPsbtRequest } from "./walletkit.js"; +import type { LabelTransactionResponse } from "./walletkit.js"; +import type { LabelTransactionRequest } from "./walletkit.js"; +import type { ListSweepsResponse } from "./walletkit.js"; +import type { ListSweepsRequest } from "./walletkit.js"; +import type { BumpForceCloseFeeResponse } from "./walletkit.js"; +import type { BumpForceCloseFeeRequest } from "./walletkit.js"; +import type { BumpFeeResponse } from "./walletkit.js"; +import type { BumpFeeRequest } from "./walletkit.js"; +import type { PendingSweepsResponse } from "./walletkit.js"; +import type { PendingSweepsRequest } from "./walletkit.js"; +import type { EstimateFeeResponse } from "./walletkit.js"; +import type { EstimateFeeRequest } from "./walletkit.js"; +import type { SendOutputsResponse } from "./walletkit.js"; +import type { SendOutputsRequest } from "./walletkit.js"; +import type { RemoveTransactionResponse } from "./walletkit.js"; +import type { PublishResponse } from "./walletkit.js"; +import type { Transaction as Transaction$ } from "./walletkit.js"; +import type { ImportTapscriptResponse } from "./walletkit.js"; +import type { ImportTapscriptRequest } from "./walletkit.js"; +import type { ImportPublicKeyResponse } from "./walletkit.js"; +import type { ImportPublicKeyRequest } from "./walletkit.js"; +import type { ImportAccountResponse } from "./walletkit.js"; +import type { ImportAccountRequest } from "./walletkit.js"; +import type { VerifyMessageWithAddrResponse } from "./walletkit.js"; +import type { VerifyMessageWithAddrRequest } from "./walletkit.js"; +import type { SignMessageWithAddrResponse } from "./walletkit.js"; +import type { SignMessageWithAddrRequest } from "./walletkit.js"; +import type { ListAddressesResponse } from "./walletkit.js"; +import type { ListAddressesRequest } from "./walletkit.js"; +import type { RequiredReserveResponse } from "./walletkit.js"; +import type { RequiredReserveRequest } from "./walletkit.js"; +import type { ListAccountsResponse } from "./walletkit.js"; +import type { ListAccountsRequest } from "./walletkit.js"; import type { Transaction } from "./lightning"; -import type { GetTransactionRequest } from "./walletkit"; -import type { AddrResponse } from "./walletkit"; -import type { AddrRequest } from "./walletkit"; -import type { KeyLocator } from "./signer"; -import type { KeyDescriptor } from "./signer"; -import type { KeyReq } from "./walletkit"; -import type { ListLeasesResponse } from "./walletkit"; -import type { ListLeasesRequest } from "./walletkit"; -import type { ReleaseOutputResponse } from "./walletkit"; -import type { ReleaseOutputRequest } from "./walletkit"; -import type { LeaseOutputResponse } from "./walletkit"; -import type { LeaseOutputRequest } from "./walletkit"; +import type { GetTransactionRequest } from "./walletkit.js"; +import type { AddrResponse } from "./walletkit.js"; +import type { AddrRequest } from "./walletkit.js"; +import type { KeyLocator } from "./signer.js"; +import type { KeyDescriptor } from "./signer.js"; +import type { KeyReq } from "./walletkit.js"; +import type { ListLeasesResponse } from "./walletkit.js"; +import type { ListLeasesRequest } from "./walletkit.js"; +import type { ReleaseOutputResponse } from "./walletkit.js"; +import type { ReleaseOutputRequest } from "./walletkit.js"; +import type { LeaseOutputResponse } from "./walletkit.js"; +import type { LeaseOutputRequest } from "./walletkit.js"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; -import type { ListUnspentResponse } from "./walletkit"; -import type { ListUnspentRequest } from "./walletkit"; +import type { ListUnspentResponse } from "./walletkit.js"; +import type { ListUnspentRequest } from "./walletkit.js"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; // diff --git a/proto/lnd/walletkit.ts b/proto/lnd/walletkit.ts index 18819bb7..dc895566 100644 --- a/proto/lnd/walletkit.ts +++ b/proto/lnd/walletkit.ts @@ -1,9 +1,9 @@ // @generated by protobuf-ts 2.8.1 // @generated from protobuf file "walletkit.proto" (package "walletrpc", syntax proto3) // tslint:disable -import { Transaction as Transaction$ } from "./lightning"; -import { KeyLocator } from "./signer"; -import { KeyDescriptor } from "./signer"; +import { Transaction as Transaction$ } from "./lightning.js"; +import { KeyLocator } from "./signer.js"; +import { KeyDescriptor } from "./signer.js"; import { ServiceType } from "@protobuf-ts/runtime-rpc"; import type { BinaryWriteOptions } from "@protobuf-ts/runtime"; import type { IBinaryWriter } from "@protobuf-ts/runtime"; @@ -15,12 +15,12 @@ import type { PartialMessage } from "@protobuf-ts/runtime"; import { reflectionMergePartial } from "@protobuf-ts/runtime"; import { MESSAGE_TYPE } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime"; -import { TransactionDetails } from "./lightning"; -import { ChannelPoint } from "./lightning"; -import { CoinSelectionStrategy } from "./lightning"; -import { TxOut } from "./signer"; -import { OutPoint } from "./lightning"; -import { Utxo } from "./lightning"; +import { TransactionDetails } from "./lightning.js"; +import { ChannelPoint } from "./lightning.js"; +import { CoinSelectionStrategy } from "./lightning.js"; +import { TxOut } from "./signer.js"; +import { OutPoint } from "./lightning.js"; +import { Utxo } from "./lightning.js"; /** * @generated from protobuf message walletrpc.ListUnspentRequest */ diff --git a/proto/lnd/walletunlocker.client.ts b/proto/lnd/walletunlocker.client.ts index ed94ca63..a3e3d7da 100644 --- a/proto/lnd/walletunlocker.client.ts +++ b/proto/lnd/walletunlocker.client.ts @@ -3,16 +3,16 @@ // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; -import { WalletUnlocker } from "./walletunlocker"; -import type { ChangePasswordResponse } from "./walletunlocker"; -import type { ChangePasswordRequest } from "./walletunlocker"; -import type { UnlockWalletResponse } from "./walletunlocker"; -import type { UnlockWalletRequest } from "./walletunlocker"; -import type { InitWalletResponse } from "./walletunlocker"; -import type { InitWalletRequest } from "./walletunlocker"; +import { WalletUnlocker } from "./walletunlocker.js"; +import type { ChangePasswordResponse } from "./walletunlocker.js"; +import type { ChangePasswordRequest } from "./walletunlocker.js"; +import type { UnlockWalletResponse } from "./walletunlocker.js"; +import type { UnlockWalletRequest } from "./walletunlocker.js"; +import type { InitWalletResponse } from "./walletunlocker.js"; +import type { InitWalletRequest } from "./walletunlocker.js"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; -import type { GenSeedResponse } from "./walletunlocker"; -import type { GenSeedRequest } from "./walletunlocker"; +import type { GenSeedResponse } from "./walletunlocker.js"; +import type { GenSeedRequest } from "./walletunlocker.js"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; // diff --git a/proto/lnd/walletunlocker.ts b/proto/lnd/walletunlocker.ts index 7851c675..a472c857 100644 --- a/proto/lnd/walletunlocker.ts +++ b/proto/lnd/walletunlocker.ts @@ -12,7 +12,7 @@ import type { PartialMessage } from "@protobuf-ts/runtime"; import { reflectionMergePartial } from "@protobuf-ts/runtime"; import { MESSAGE_TYPE } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime"; -import { ChanBackupSnapshot } from "./lightning"; +import { ChanBackupSnapshot } from "./lightning.js"; /** * @generated from protobuf message lnrpc.GenSeedRequest */